Exit conditions should be length of the previous candle

My strategy target should be the Length of the previous candle ( -1 ) of the entry candle ( 0 )
(difference between high and low of candle)

How to create this in Streak ???

@Streak can you help, please?

For this, you can use the Signal candle and the Trade candle function. Refer to the below conditions

The conditions will trigger an exit when the close of the candle is higher than the height of the signal candle i.e. candle in which your conditions are met from the opening of your entry candle.

Note that Streak uses OHLC (Open, High, Low, Close) data to check your entry-exit conditions. As the OHLC data is only available after the close of the candle, your alerts will be generated after the close of the candle matching your conditions(i.e. open of the next candle).

In the back test the start time of the candle on which your conditions are matched is shown in the entry trigger, and the opening price of the next candle is considered as the entry price. Which is the Trade candle Open in the above conditions.

However in the live market the entry price will depend on when you act on the alert and the volatility in the scrip, etc.

The Signal candle - Is defined as the candle matching your entry conditions. Your entry trigger happens after the close of this candle. Refer: Indicators - Streak Help

Trade candle - Is defined as the candle that you enter the trade-in. Refer: Indicators - Streak Help

1 Like