fxDreema

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

    modification to "once per bar" block?

    Questions & Answers
    1
    1
    366
    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
      Jnmr1 last edited by

      Hello,
      I was wondering if it would be possible to modify the "once per bar" block in the mql5 side of Fxdreema so that there is an option for it to only pass at the opening of the bar?
      The problem I'm having is if the terminal is restarted before the next block is created, I get a duplicate trade because the "once per bar" block passes again (once at the creation of the block, and again whenever the terminal is restarted).
      I'm pretty sure I can do what I want with multiple time filters. But that would further complicate an already complex EA.

      thank you
      James

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

      Online Users

      C
      N
      D
      P
      K
      K
      W
      A
      A
      E

      18
      Online

      146.8k
      Users

      22.4k
      Topics

      122.6k
      Posts

      Powered by NodeBB Forums | Contributors