fxDreema

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

    Filter to wait 1 bar after a trade has closed before opening a new trade?

    Questions & Answers
    3
    6
    866
    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.
    • J
      jjtrader last edited by

      Hello,
      I have several conditions in my EA and one of them is a simple MA cross. My problem is that sometimes when the price straddles the MA, I have a lot of bad trades. Can I create a filter to wait at least 1 bar before opening a new trade after another trade has closed on the same pair?

      0_1650575283634_c68cb9d7-3541-40e9-b2ab-fc22749481f8-image.png

      I have searched around and see time filters (e.g. wait x minutes) but none based on current bar time. Here is a simple project - can anyone suggest an additional block or custom code as a solution?

      https://fxdreema.com/shared/7svbKLf1d

      Thank you so much you smart people! 🙂

      #skipabar

      l'andorrĂ  1 Reply Last reply Reply Quote 0
      • l'andorrĂ 
        l'andorrĂ  @jjtrader last edited by

        @jjtrader You can add this blocks immediately above your 'buy now' block:

        0_1650617177387_01.png

        Then you will have to mirror it for your sells trades. In this example I requested the EA to search for the last closed trade and then chack that it cas closed at least 120 seconds ago. You can adjust that time as required.

        (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.

        J 1 Reply Last reply Reply Quote 2
        • B
          biztet last edited by

          How aboud using Candle ID = 2, to skip 1 candle after the signal.

          J 1 Reply Last reply Reply Quote 0
          • J
            jjtrader @l'andorrĂ  last edited by

            @l-andorrĂ  Thanks! I will try this setting the time to be equal to the chart timeframe. (so it = 1 bar). I was just hoping to be able to use "# bars" rather than time since I work with Renko charts as well and they are not time based.

            Thanks again, I always appreciate your help. 🙂

            JJ

            l'andorrĂ  1 Reply Last reply Reply Quote 0
            • J
              jjtrader @biztet last edited by

              @biztet Hi! Thank you for your suggestion. I thought about that, but I don't want to delay all entries, only those triggered right after a previous close.

              Thanks for the suggestion though 🙂

              1 Reply Last reply Reply Quote 0
              • l'andorrĂ 
                l'andorrĂ  @jjtrader last edited by

                @jjtrader 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 0
                • 1 / 1
                • First post
                  Last post

                Online Users

                E
                D
                O
                A
                J
                M
                R
                F

                28
                Online

                146.6k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors