fxDreema

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

    Once per bar

    Questions & Answers
    3
    3
    1120
    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.
    • B
      BlueMoon last edited by

      Currently as soon as I start my EA everything under "Once per bar" will execute immediately.
      I want all blocks under "Once per bar" to execute only on next bar.

      How do I stop it from running it immediately and wait for next bar to appear?

      1 Reply Last reply Reply Quote 0
      • K
        keanzoe last edited by

        You mean "once per trade"? otherwise you need specify the condition of the next bar. or maybe can tell us what exactly that u need.

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

          https://fxdreema.com/shared/EmCNQTnbd
          This should help, it counts the bars and condition passes when the count is above 1

          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

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

          Online Users

          S
          M
          H
          S
          J
          P
          B
          H

          18
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors