fxDreema

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

    Once per bar after signal

    Questions & Answers
    2
    6
    1785
    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.
    • C
      cfabian last edited by

      Hello,
      If need a crossover to validate my entry signals (fresh crossover, meaning in candle -1, recently closed), and then want to activate the once per bar, how should this be configured and connected? My guess is that if the EA has "once per bar" connected to the "crossover condition", it may cause errors or wont work as after say 2,3,4 candles, all of them will be apart from the crossing candle, thus that crossing is not candle -1 anymore.

      I thought of using a larger "cross width" value, but then it wont respect the need of having a fresh crossover, and could enter in late trades.

      Thanks for your help

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

        Don't change cross width if you don't understand it.

        This is the example about Once per bar and how it can be connected with Condition, it also contains description - https://fxdreema.com/demo/mt4-once-per-bar

        1 Reply Last reply Reply Quote 0
        • C
          cfabian last edited by

          Thank you... but still not clear to me...

          For example, how to set up that only after a fresh cross happens (closed bars, meaning cross in candle -1), then it starts to place trades once per candle? Not in the middle of the run, but when it starts a new "crossing cycle"?

          Thanks

          __Don't change cross width if you don't understand it.

          This is the example about Once per bar and how it can be connected with Condition, it also contains description - https://fxdreema.com/demo/mt4-once-per-bar[/quote:143wfbmy]

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

            I don't understand this "crossing cycle". If you want to do something on each candle after crossover until the next opposite crossover comes, you know, you don't even care about crossovers. If MAx crosses MAy above, then until the next opposite crossover you can be sure that MAx is > MAy. So you can just use > or <

            1 Reply Last reply Reply Quote 0
            • C
              cfabian last edited by

              By cycle I mean from start to end of the crossover, but my only valid signal is the crossover (closed candle). If I use > or < it will be a permanent signal during the whole cycle, while I only need fresh signals right after crossing. Once per bar for 5 bars right after crossing. Not in the middle of the cycle.

              Thanks

              __I don't understand this "crossing cycle". If you want to do something on each candle after crossover until the next opposite crossover comes, you know, you don't even care about crossovers. If MAx crosses MAy above, then until the next opposite crossover you can be sure that MAx is > MAy. So you can just use > or <[/quote:oit0s6ug]

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

                https://fxdreema.com/shared/hyvOISJ8e ?

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

                Online Users

                B
                K
                A
                S

                15
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors