Buy banknifty on first candle of the day

Hi Streak Team,

I want strategy to buy banknifty options on first bearish or bullish 1 min candle of the day. Volume should be increasing at the same time.

@Streak can you.

You need to specify what is the trigger for buy/sell. After the first 1min bearish or bullish candle forms, then what?
How will you compare the volume of a single 1 min candle? what is the reference volume of volume comparison?

Open price of next candle should be higher than close of first candle. In parellel Volume in 5 min candle should be above 20 ma.

( One strict condition It should buy trade before 9:17 AM else should not trigger )