Need help in coding

I want to identify the 3rd candle of 5 min time frame , i.e 9:25 am to 9:30 am.

Basically my buy condition should be buy if it breaks high of 9:25 - 9:30 am candle or sell if it breaks the low.

Stoploss will be the high/low if sell/buy and target will be 1:1 ratio of the stop loss ( difference between high-low of candle).

How do I code it ?

Similar threads

Broker Special Offers

Intraday Higher Leverage

Save up to 90% in brokerage and get higher leverage for intraday trades.

Are you a day trader?