Current Bar instead of Next bar

Forums ProRealTime English forum ProOrder support Current Bar instead of Next bar

Viewing 3 posts - 1 through 3 (of 3 total)
  • #32259
    bsj

    Hi All,

    I am looking the command for following:

    1. If my condition is meet, position should be open at current bar open value instead of next bar open value
    2. My position should be close at next bar close value instead of next bar open value. (EX: Sell at market nextbarclose. But this command is not working)

    Appreciate if anyone help me. Thanks in advanced.

     

    Regards

    BSJ

    #32306

    Hi BSJ

    Conditions are checked at the end of a bar and Trades entered / exit at the start of the next bar.

    So you can’t open at current bar open because conditions won’t be checked until end of current bar.

    So your conditions are checked at close[1] and trades executed at open[0].  0 being the current bar, 1 being previous bar.

    Hope that makes sense?

    GraHal

     

    1 user thanked author for this post.
    avatar bsj
    #32314

    I have the same problem, I was set previous bar low, it will only be in my next bar after the next bar sell, not in my first bar sell.

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login