Exit next bar.

  • This topic has 4 replies, 3 voices, and was last updated 7 years ago by avatarWing.
Viewing 5 posts - 1 through 5 (of 5 total)
  • #26726

    Hi.

    Could i get help with the code for “exit position next bar, i.e exit after one bar.

    #26750

     

    #26771

    Thanks for reply.

    Sell at market makes it 0 bars i want one bar, buy at close if close is = to low. Sell at close next bar. enter at close of bar exit at close of next bar.

    #26810

    Bonjour

    Ne serait ce que pour ne pas avoir de 0 bar dans les backtest ce serait pas mal!!    mais on attend??

    Madrosat

    #26821

    See this previous thread. It has the code you need: https://www.prorealcode.com/topic/time-limit-2/

    1 user thanked author for this post.
Viewing 5 posts - 1 through 5 (of 5 total)

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