fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    HOW OPEN BUY OR SELL MORE THAN ONE?

    Questions & Answers
    5
    15
    5250
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mashna1364 last edited by mashna1364

      I want EA when open a buy or sell Stay in position until next signal (open buy or sell) Without having to close before signals buy or sell.
      now only open one buy and one sell.
      https://fxdreema.com/shared/YavzsOhlb

      0_1546557391583_Capture.JPG

      1 Reply Last reply Reply Quote 0
      • J
        josecortesllobat last edited by

        Try to add a value in the "Pips to rise/fall" field.

        0_1546583937021_82af27f7-6177-4241-9a00-639d2582c35d-image.png

        1 Reply Last reply Reply Quote 0
        • M
          mashna1364 last edited by mashna1364

          i add pips to rise but not working , only one buy and sell.i need in per the signal will happen open a buy or sell Without closing the past signals.

          1 Reply Last reply Reply Quote 0
          • M
            mashna1364 last edited by mashna1364

            i have this problem in many indicator for example :MACD
            i want when main line of MACD above 0 open buy and when under 0 open a sell Without closing the past signals.but not working .only open a buy and sell.
            https://fxdreema.com/shared/77yECPyOd

            1 Reply Last reply Reply Quote 0
            • J
              josecortesllobat last edited by josecortesllobat

              Could you share the indicato'rs mql file?

              What you want is that EA opens a trade each time any of the conditions is true, right? I mean: if buy/sell trade exists and condition to go long/short is true, open a new position.

              M 1 Reply Last reply Reply Quote 0
              • M
                mashna1364 @josecortesllobat last edited by

                @josecortesllobat
                Yes its right.
                i want use orginal MT4 indicator and no repaint ex : MACD or Ichimoku ...

                1 Reply Last reply Reply Quote 0
                • J
                  josecortesllobat last edited by

                  0_1546625443439_b0eeb8d6-548f-4978-8157-38f4a5359185-image.png

                  If you want to open a new position when the condition to go in is true regardless there is a trade running, you can't start the project with a "No trade" block.

                  0_1546626078978_018c86d8-4bca-4e72-8168-c0a145310b23-image.png

                  0_1546626319685_4fd63214-7f7f-4258-a258-583630ce563b-image.png

                  But I am not sure if this behavior is what you are looking for because, as for example, if the MACD stays above 0 for each candle/tick, you will get a new trade for each new bar/tick.

                  D 2 Replies Last reply Reply Quote 0
                  • M
                    mashna1364 last edited by mashna1364

                    thanks you. but this is not what I want...
                    I do not want take sell or buy in per candle.

                    please see this screenshot...
                    https://fxdreema.com/shared/UwsAC6Pjd
                    0_1546627129444_1.JPG

                    when close past signals work correctly but i want without closing the past signals.

                    0_1546627869051_2.JPG

                    1 Reply Last reply Reply Quote 0
                    • J
                      josecortesllobat last edited by

                      So, looking at your screenshot, I think that what you want is to open buys when MACD crosses above (x>) 0 and sells when MACD crosses below (x<) 0, right?

                      Your conditions in the builder states to open trades when MACD > 0 (buy) &/or MACD < 0 (sell).

                      0_1546633760846_2241e378-fb74-4173-be43-f14dcc52b6d5-image.png

                      0_1546634278466_07217fc8-be16-456e-838c-ce6708ccb08b-image.png

                      That condition is true while the MACD is above or below 0. So the EA will open trades for each time that the conditions are true.

                      This could work if it is what you are trying to get

                      0_1546634367564_f2804fc5-d45d-49dc-949b-64d33531f222-image.png

                      0_1546634635867_f81e0f20-30c8-449f-9ea3-ff90b20f2beb-image.png

                      1 Reply Last reply Reply Quote 1
                      • M
                        mashna1364 last edited by

                        wowwwww,thanks you man.thankssssssss

                        1 Reply Last reply Reply Quote 0
                        • R
                          Ra'ees last edited by

                          @josecortesllobat I want macd to buy once when above 0 line and sell once when bellow 0.. i tried exactly what you suggested in this post. but my macd still reacts to buy and sell based on the signal line. Can you please help me? I need the exact same requirements as @mashna1364 but on my side I dont seem to be getting any luck. could you make the same thing and send me a link to the project please?

                          1 Reply Last reply Reply Quote 0
                          • J
                            josecortesllobat last edited by

                            0_1597469974229_e35cf739-e8ac-487c-80a2-08536b6cab24-image.png

                            AlphaOmega 1 Reply Last reply Reply Quote 0
                            • AlphaOmega
                              AlphaOmega @josecortesllobat last edited by

                              @josecortesllobat You should have been a university teacher seriously.... You explain everything so clearly and precise that even me that has nothing to do with project can understand exactly what you teach... My respect and appreciation to you.. Thank you

                              1 Reply Last reply Reply Quote 1
                              • D
                                DONGOCO @josecortesllobat last edited by DONGOCO

                                @josecortesllobat please and can you send me the mq4 and mq5 of this code. I like the Please

                                http://fxdreema.com/forum/post/25168

                                1 Reply Last reply Reply Quote 0
                                • D
                                  DONGOCO @josecortesllobat last edited by DONGOCO

                                  @josecortesllobat The ea in this post I mean please...

                                  http://fxdreema.com/forum/post/25168

                                  1 Reply Last reply Reply Quote 0
                                  • 1 / 1
                                  • First post
                                    Last post

                                  Online Users

                                  C
                                  S
                                  P
                                  T
                                  I
                                  B
                                  A
                                  H
                                  E

                                  19
                                  Online

                                  146.7k
                                  Users

                                  22.4k
                                  Topics

                                  122.6k
                                  Posts

                                  Powered by NodeBB Forums | Contributors