Candle Breakout

Viewing 1 post (of 1 total)
  • #64786

    Hello

    I’m trying to adapt some code (that incorporates ATR based risk management) in order to backtest a strategy that picks a certain H4 candle (in this case 1200 candle) and then buys/sells the break of that candle and then holds the position for 1 bar (or period) and then closes out the position. I’m not sure of the command/code to achieve this, but have started as below.

    It’s a very simple strategy that just trades the break of the signal candle and then closes the trade on the close of the entry candle period (so in effect only holds trade open for 1 candle length). It should only trade once per 24hr period.

    Many thanks in advance

Viewing 1 post (of 1 total)

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