fxDreema

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

    Move SL of second position to breakeven when first position hits TP

    Questions & Answers
    2
    4
    489
    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.
    • S
      Subotai last edited by

      Hello everyone, fxDreema beginner here. As it says in the title, I would like to make my EA move the SL of a second trade to breakeven when the first trade hits TP. How would i go about it? How could i also make it so that the trailing stop of the second trade is the same size as was the trade's stop loss? The stoploss of the second trade is based on ATR. Thanks to everyone in advance.

      1 Reply Last reply Reply Quote 0
      • S
        Subotai last edited by Subotai

        I think i managed to solve the question of how to move stop loss to breakeven after tp. I therefore need help only with the question of how to make the trailing stop the same as was the stop loss of the trade. The stop loss is based on ATR.
        EDIT:If I understand correctly, i could do that by copying the candle ID of the first trade candle into the trailing stop... if I'm not mistaken that is done with variables? How can I do that?

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

          @subotai Not sure I fully understand you. You opened two buy trades and both have the same SL level, based on the ATR. Then the SL of first one is moved to break even, right? The second still holds its own SL, if I understand it correctly. So what's your issue exactly?

          (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
          • S
            Subotai last edited by

            Thank you for your comment. Luckily I managed to make it work once i learned the magic of variables.

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

            Online Users

            W
            C

            6
            Online

            146.8k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors