All indicators

BBSR Extreme Strategy

Apr 11, 2024

Static chart image
SignalsMoving AveragesTrailing-StopVolatility

The BBSR Extreme Strategy indicator is a comprehensive trend-reversal tool that combines Bollinger Bands, Jurik Moving Average (JMA), and Average True Range (ATR) to identify mean-reversion opportunities with automated risk management.

Usage

The Usage section describes how the script can be used to identify market entries and manage active positions through dynamic exits.

Entry Signals

  • Bullish Entry: A long signal is generated when the price closes back above the lower Bollinger Band after having been below it, provided the JMA trend is sloping upward.
  • Bearish Entry: A short signal is generated when the price closes back below the upper Bollinger Band after having been above it, provided the JMA trend is sloping downward.

Risk Management and Exits

The strategy employs a dynamic exit system based on the Average True Range (ATR).

  • Trailing Stop: Once a position is opened, a stop-loss level is calculated at a user-defined distance (ATR Multiplier) from the entry price.
  • Take Profit: A profit target is established using a separate ATR multiplier to capture price swings toward the opposite band or beyond.
  • Visual Tracking: The script plots active stop-loss and take-profit levels on the chart only when a position is active, allowing for clear trade monitoring.

Details

The BBSR Extreme Strategy integrates three core concepts to filter price action:

  1. Bollinger Bands: Used to identify "extreme" price levels. Entries are only considered when price "re-enters" the bands, signaling a potential exhaustion of the current move.
  2. Jurik Moving Average (JMA): This serves as a sophisticated trend filter. By requiring the JMA to slope in the direction of the trade, the strategy avoids counter-trend entries during strong parabolic moves.
  3. Volatility-Based Exits: Rather than using fixed percentages, the strategy uses ATR. This ensures that stop-losses and profit targets adapt to current market volatility, tightening in quiet markets and widening during high-volatility periods.

Settings

JMA

  • Length: The lookback period for the Jurik Moving Average calculation.
  • Phase: Adjusts the lag and overshoot of the JMA.
  • Power: Controls the sensitivity of the JMA calculation.
  • Source: The price data used for the JMA (e.g., Close, Open, HL2).

Bollinger Bands

  • Source: The price data used for the BB calculation.
  • Offset: Shifts the Bollinger Bands forward or backward in time.
  • Bollinger Band Length: The lookback period for the basis SMA.
  • StdDev: The multiplier for the standard deviation, determining the width of the bands.

Trailing Stop

  • ATR Length: The lookback period used to calculate the Average True Range.
  • ATR Multiplier for Stop: Determines the distance of the stop-loss from the entry price.
  • ATR Multiplier for Profit: Determines the distance of the take-profit target from the entry price.

FAQ

How do I interpret the colors on the JMA? The JMA changes color based on its slope: green indicates an upward trend (bullish filter), while red indicates a downward trend (bearish filter).

Can I use this for backtesting? Yes, this script is written as a "strategy" in Pine Script, which means performance metrics like Net Profit and Drawdown will automatically appear in the Strategy Tester tab on your platform.

How do I get access to the BBSR Extreme Strategy? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.