fxDreema

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

    How do you block an EA reset?

    Questions & Answers
    4
    5
    961
    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.
    • michaemia
      michaemia last edited by

      I created a stop loss EA with the use of the ATR. Problem is whenever I have a current trade on CHART 1 with its current stop loss placed, opening CHART 2 resets CHART 1 SL with CHART 2 current ATR reading. (CHART 2 has no trade)

      PS: All blocks were tried "on chart" and "on trade" resulting to the same issue.

      How can I respectively have a trades' SL not changed until the trade is closed (or) when opening multiple tabs.

      Link: https://fxdreema.com/shared/yB7SUGE5c

      Incurable anime aficionado and uncertified trading analyst.

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

        you could restrict the EA to only modify stops when it has no stop in place.

        i.e. Condition: stop loss == 0

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

        michaemia 1 Reply Last reply Reply Quote 0
        • michaemia
          michaemia @roar last edited by

          @roar as mentioned before, the EA keeps affecting the current trade by changing its stop loss multiple times. I even tried to put a "off" block after stop loss has been placed but that's ignored when I opened a new chart or refresh the chart.

          Incurable anime aficionado and uncertified trading analyst.

          1 Reply Last reply Reply Quote 0
          • V
            varso last edited by

            Only idea
            What about to made variables like stoplost and put the value of ATR to this variables on open trade. Then this varibles use like Stoplost.
            I did it a lot that in some point i take the value of indicator and put it to variable.

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

              Use different magic numbers for different charts.

              (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
              D
              M
              X
              K
              E
              D
              M
              H

              20
              Online

              146.6k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors