fxDreema

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

    Trade on close of the bar, every tick

    Bug Reports
    2
    2
    438
    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.
    • V
      vprcapital last edited by

      Hey,

      i have found a mistake in the program.

      It should be possible to choose OnBar.
      The problem is if i choose a buy order on Close of the bar > MA the ea executes the trade just after the price crosses. I just want the order after the bar closes on chart.

      Is that possible?

      Regards

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

        There is a block called "Once per bar" and this block can pass 1 time per bar. Put it before or after the condition and the result will be different. There is no such thing as "on close of the bar", but if you have "Once per bar" on top level, it will detect when a new bar is created, it will pass on the first tick of the new bar. In "Condition" you can always set Candle ID to 1, 2, 3... or anything else to work with the previous candles.

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

        Online Users

        O
        M
        M
        S
        E
        F
        E
        T
        S

        18
        Online

        146.9k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors