Skip to content
All library documents

Nifty 50 Breakout Strategy with Bollinger Bands and Trend Filters

Article Strategy library · Author: theautotrading

Summary

This Pine Script excerpt describes an intraday breakout strategy configured around an Indian trading session and a selectable backtest date range. It defines Bollinger Bands, a short-period double exponential moving average, and VWAP. The visible signal logic combines a close above a prior high with an upper-band crossover and the DEMA being above VWAP for a long setup; the short-side setup begins with corresponding downside conditions. Session and date filters restrict when signals may occur, and the script exposes inputs for indicator settings and eligible weekdays.

The source ends partway through the sell condition, so order handling, exits, and the complete short-entry logic cannot be assessed. Although the page names the Nifty 50, the excerpt does not specify a symbol or provide a backtest report, performance results, or evidence that the parameters generalize. The listed indicator rules are therefore a strategy outline, not demonstrated trading efficacy.

Key ideas

  • The visible long setup combines a breakout above a prior high with an upper Bollinger Band crossover.
  • A DEMA and VWAP comparison acts as a directional filter in the shown conditions.
  • Session hours, dates, and weekday switches can constrain when signals are considered.
  • The source is truncated before the full short condition and trade management can be reviewed.
  • No performance evidence is included in the provided excerpt.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.