fxDreema

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

    EA opens new trades even when one is already running

    Questions & Answers
    3
    7
    26
    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.
    • W
      Wangui89 last edited by

      Hello! I’m building an EA where entries can be triggered by either a trend filter cross or an EMA cross.

      It should open only one trade (or trade set) open at a time.
      If a buy trade is active from one condition, no other condition (trend filter or EMA cross) should open a new one until that trade fully closes.

      My current issue:
      Even with “No position” or “Check positions count == 0” blocks placed before both entry paths, the EA sometimes still opens a new trade when another is already running. It doesn’t matter if it came from the other signal logic (trend or EMA).

      Could someone please look at my structure so I can solve this issue, Ty! Here is the link:https://fxdreema.com/shared/HHCSf5j0b

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

        You need to use a 'no position' block on top of each branch tree opening a trade so that as soon as any of them opens a trade no other branch will.

        (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
        • W
          Wangui89 last edited by

          I have added the no position block, its working perfectly at first then mid backtest its opening 4 positions at once, from the same entry logic, what could i be missing? I have tried adding once per bar too but its not fixing it. Here is the link; https://fxdreema.com/shared/AFpEB4rGd

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

            once per bar should be on top after time filter block

            https://entrepreneurstart.pw | https://www.mql5.com/en/users/byens8199

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

              @Wangui89 No, this is not where I said. Those 'once per bar' blocks need to be position here:

              01.png

              (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
              • W
                Wangui89 last edited by

                Thank you, it has worked!!

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

                  You're welcome.

                  (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 1
                  • 1 / 1
                  • First post
                    Last post

                  Online Users

                  E
                  A
                  P
                  V
                  T
                  R
                  M
                  G
                  H
                  J

                  20
                  Online

                  146.6k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors