can anyone pls write the code for streak zerodha it would be helpful for me thanx in advance
BUY CONDITIONDS (Time Frame 15minutes)
- The last candle of the previuos day Must be near the SMA 89 and the slope of the SMA must be pointing towrds up
- The candle must be bullish candle (either of the first 2 candles)
- The bullish candle must cross SMA line from below and close above
- Buy when breakout occurs at the high of the crossing bullish candle
sl must be lowest low of the two candles
tgt 2 times the difference between highest high and lowest low of the 2 candles