Trading Strategies

Browse Pine Script trading strategies with full code, backtesting guides, and performance data.

Available Strategies

  • EMA Crossover Strategy — Classic trend-following strategy using fast and slow EMA crossovers with an optional 200 EMA trend filter.
  • Supertrend Strategy — ATR-based trailing stop strategy that flips direction when price crosses the Supertrend line.
  • Opening Range Breakout — Captures initial session volatility by trading breakouts from the first N minutes' high/low range.
  • Simple DAX RSI Strategy — A long-only RSI momentum strategy for the DAX that buys strength rather than fading it, with true fixed-cash risk sizing.
  • Simple NAS Bollinger Bands® Breakout Strategy — A long-only Bollinger Bands® breakout strategy for the NASDAQ that uses band expansion as a momentum entry, not as a mean-reversion signal.