Strategy
Momentum and breakout, in one ruleset.
The bot scores NIFTY spot bars for directional CE/PE option buying. It does not contain separate mean reversion, short option or multi leg strategies.
| Stage | Implemented rule |
|---|---|
| Breakout | Donchian channel, previous day high or low, and opening range high or low. |
| Trend | EMA 20/50 alignment, EMA 200 position and VWAP direction. |
| Momentum | ADX threshold plus RSI and rate of change confirmation. |
| Participation | ATR expansion and a timestamp-aligned NIFTY futures-volume proxy support live confirmation; NIFTY index bars have no traded volume. |
| Direction | A qualifying bullish score produces a CE candidate; a bearish score produces a PE candidate. |
| Timing | The default entry window is 09:30 to 14:45. The backtest enters at the next bar open. |
Default score threshold: 75. With zero or unavailable volume, the volume condition cannot confirm a signal.