fxDreema

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

    how set stop lose at the opening price of the previous position?

    Questions & Answers
    3
    16
    554
    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.
    • B
      bacharchoura1 last edited by

      helo all freinds
      this is a very simple EA , it opens an initial buy and sell trade and the EA must open a new trade when the initial trade arrives a cetain profit limit called "delta ff" as a variable.
      my problem is this :
      how set stop lose of a 2nd position at the opening price of the previous position opened in the same direction..?
      this is the project link: https://fxdreema.com/shared/TtMjhfHpe
      sure of your help ..tks
      rgds
      bachar

      in god we trust

      1 Reply Last reply Reply Quote 0
      • jstap
        jstap last edited by

        pink for each trade or for each closed trade - buy/sell block with the SL got from a loop

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

        1 Reply Last reply Reply Quote 0
        • B
          bacharchoura1 last edited by

          thank you Mr Jstap for your help
          you say: "pink for each trade or for each closed trade - buy/sell block with the SL got from a loop" , kindly try to specify exactly if i have to add other blockes!! where ? or if i have to change connections..? which one and how ? i did try in toooo many modes but i do not succeed ...
          what i need is : "to put for the 2nd trade a SL same of the opening price of the previous trade made in the same direction"...!!
          this is the project link did not change : https://fxdreema.com/shared/TtMjhfHpe
          pls help

          in god we trust

          1 Reply Last reply Reply Quote 0
          • jstap
            jstap last edited by

            image.png

            Learn fxDreema Without the Wait!

            My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

            The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

            Don’t miss out

            Click here➡️ https://mybook.to/fxDreema to get your copy today!

            Enjoy! 😊

            1 Reply Last reply Reply Quote 0
            • B
              bacharchoura1 last edited by

              MR JSTAP : YOU ARE GREATE , I DO NOT KNOW HOW TO THANK YOU...
              THANK YOU

              in god we trust

              1 Reply Last reply Reply Quote 0
              • jstap
                jstap last edited by

                You are welcome

                Learn fxDreema Without the Wait!

                My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                Don’t miss out

                Click here➡️ https://mybook.to/fxDreema to get your copy today!

                Enjoy! 😊

                1 Reply Last reply Reply Quote 0
                • B
                  bacharchoura1 last edited by

                  good day,
                  i did exactly as you instructed above, unfortunately the EA still do not put a stop loss for the new trade equal to the opening price of the previous trade made in the same direction..!!

                  hear is the EA made as per your instruction : https://fxdreema.com/shared/8oEhjwW3c

                  kindly tell me what is wrong ? how to solve t his problem...tks.
                  pls see how the EA do not put the SL ...!!!!.....tks

                  834cda92-bdc7-48e1-babb-711d1d47ad84-image.png

                  Kind regards

                  in god we trust

                  l'andorrà 1 Reply Last reply Reply Quote 0
                  • l'andorrà
                    l'andorrà @bacharchoura1 last edited by

                    @bacharchoura1 You can store the value on a variable and use immedietely before opening the trade. This is an example for buys:

                    01.png

                    You will have to replivate it for sells with a different variable, of course.

                    (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                    (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                    (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                    1 Reply Last reply Reply Quote 0
                    • B
                      bacharchoura1 last edited by

                      Dear Mr Landorra
                      As you can see I did as you instructed but unfortunately the EA stopped opening even the 2nd trade…!!! Rather than the 3rd …!!!
                      Pls note that the EA must work exactly as following:
                      1- Open a first buy and first sell trade.
                      2- If the first trade (buy or sell) go in profit for the variable value “DELTAFF” in dollar , the EA must open a 2nd trade in the same direction of the wining trade and put a stop lose at the opening price of the first trade…
                      And so on…to continue opening a next trads in the same direction of the previous winning trade and put the previous wining trade open price as a stop loss for the next one.

                      Pls Mr Landorra, have a look at the EA as I modified according to your instruction and tell me how to make it work properly, tks.
                      this is the link for the modified EA : https://fxdreema.com/shared/aSlb88rKc
                      kind regards
                      bachar

                      in god we trust

                      1 Reply Last reply Reply Quote 0
                      • l'andorrà
                        l'andorrà last edited by

                        You need to remove the additional 'For each position' blocks 12267, 12269, 12271 and 12273, as you already modified those on top. Then you need to change the option selected on all pink 'pips away from open price' blocks from its current 'custom (price fraction)' to 'fixed value' instead.

                        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                        1 Reply Last reply Reply Quote 0
                        • B
                          bacharchoura1 last edited by

                          Dear Mr L'andorra
                          this is the link of the EA modified exactly as per your instruction : https://fxdreema.com/shared/U1dzRunvd
                          as you can see from the below emage , the EA do not open the 2nd nor the 3rd trade even thought the "DELTAFF" did arrive several times (also pls consider that latter i will add up to 100 trades..!!).

                          PLS HELP ME , HOW I CAN MAKE IT OPEN NEW TRADES ONE BY ONE A "DELTAFF" PRICE DISTANCE...!!!
                          THANK YOU
                          845aaadb-d8fb-4ad8-b2a1-9b0ac5b5287f-image.png
                          pls help...tks
                          rgds
                          bachar

                          in god we trust

                          1 Reply Last reply Reply Quote 0
                          • B
                            bacharchoura1 last edited by

                            GOOD DAY
                            KINDLY TRY TO ANSWER ME.. THANK YOU

                            in god we trust

                            1 Reply Last reply Reply Quote 0
                            • l'andorrà
                              l'andorrà last edited by

                              Is this the whole project or just part of it?

                              (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                              (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                              (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                              1 Reply Last reply Reply Quote 0
                              • B
                                bacharchoura1 last edited by

                                Dear Mr l’andorra
                                The only missed part is the exit part , below is the complete project:
                                1- Open a first buy and first sell trade on the EA start.
                                2- If the first trade (buy or sell) go in profit for the variable (and optimizable ) amount of “DELTAFF” in dollar ; then the EA must open the 2nd trade in the same direction of the wining trade and put a stop lose at the opening price of the first trade…
                                And so on… the EA must continue opening a next trade in the same direction of the previous winning trade and put the previous wining trade open price as a stop loss for the next one.
                                3- Exit :
                                -the EA must close all buy trades if the stop loss of the last open BUY trade is triggered
                                And
                                -the EA must close all sell trades if the stop loss of the last opened SELL trade is triggered
                                PLS HELP, TKS

                                in god we trust

                                1 Reply Last reply Reply Quote 0
                                • B
                                  bacharchoura1 last edited by

                                  good morning ,hope you can replay telling me as detailed as possible, tks

                                  in god we trust

                                  1 Reply Last reply Reply Quote 0
                                  • l'andorrà
                                    l'andorrà last edited by

                                    If my suggestions don't work the reason must be somewhere else in the srtucture. If I can't see it, I cannot be more helpful, sorry. Your current loginc is correct and should work.

                                    (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                                    (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                                    (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

                                    Online Users

                                    E
                                    J
                                    T
                                    J

                                    16
                                    Online

                                    146.7k
                                    Users

                                    22.4k
                                    Topics

                                    122.6k
                                    Posts

                                    Powered by NodeBB Forums | Contributors