Open range strategy

Hi Team,
Need your help to share the code for below scenario for streak.
I would like to do trade on when
*In 10 min candle chart
*mark first candle high & low
*if any of the next candles, I mean 2nd,3rd,4th … closes above the first candle high place buy order
*If any of the next candles, I mean 2nd,3rd,4th … closes below the first candle low place sell order
*Exit condition should be dma 5 crosses below the dma 20 for buy
*Exit condition should be dma 5 crosses above the dma 20 for sell

Regards,
Ram

1 Like

I don’t think it’s possible( as of now) to do it on streak. But you can implement these kind of strategies in amibroker.

Hi @ramachandra_choudki,

You can write algo-trading code for it by using KiteConnect API. It will be more easy if you are aware of it. Also add more indicators or custom logic wiht code.

If you like you can explore the KiteConnect API by following link,
https://kite.trade/

Thanks,
@shivdas_b

Hi @ramachandra_choudki! You can implement the strategy on streak.

Kindly backtest and check the conditions shown in the screenshot :slight_smile:

For any more queries, please write to us at [email protected]