All indicators

MA Bollinger Bands + RSI

Jan 12, 2022

Static chart image
SignalsOscillatorsTime BasedMoney ManagementMoving AveragesVolatility

The MA Bollinger Bands + RSI indicator provides a comprehensive trading strategy that combines mean reversion principles with momentum filtering to identify potential trend reversals. By integrating volatility-adjusted boundaries with RSI neutral line crossovers, the script aims to capture high-probability entries while filtering out periods of extreme or stagnant market volatility.

Usage

The strategy generates signals based on the interaction between price action, Bollinger Bands, and RSI momentum:

  • Long Signals: Occur when the price crosses over the lower Bollinger Band while the RSI has crossed above its neutral level (default 50) within a specified lookback period.
  • Short Signals: Occur when the price crosses under the upper Bollinger Band while the RSI has crossed below its neutral level within the specified lookback.

The script includes built-in volatility filters to prevent trading during "volatility extremes"—situations where the Bollinger Band width is significantly higher or lower than its historical average. Users can toggle these filters to avoid "choppy" low-volatility markets or "exhausted" high-volatility spikes.

Details

This tool utilizes several core technical analysis components:

  • Moving Average Selection: Users can choose between SMA, EMA, WMA, VWMA, or HMA as the basis for the Bollinger Bands.
  • RSI Momentum Filtering: Rather than using overbought/oversold levels, this script looks for momentum shifts across the neutral line to confirm price recovery from the band extremities.
  • Trade Management: The strategy includes options for fixed Take Profit, Stop Loss, and an ATR-based Trailing Stop to manage open positions dynamically.
  • Time/Date Filtering: Integrated filters allow users to restrict trade execution to specific dates or trading sessions (e.g., London or New York sessions).

Settings

Trade Parameters

  • Long/Short Trades: Toggle specific trade directions.
  • Risk Management: Options for Take Profit, Stop Loss, and ATR-based Trailing Stops.
  • ATR Mult / Length: Controls the distance and sensitivity of the automated stop levels.
  • Risk:Reward: Sets the target profit relative to the initial risk.

Volatility Filters

  • High/Low Volatility: Enable or disable filters for extreme volatility.
  • Volatility Factor: Adjusts the sensitivity of the volatility extreme detection.
  • Volatility Visuals: Displays the volatility thresholds on the chart for transparency.

Indicators

  • MA Type/Length: Configures the central moving average for the bands.
  • BB Mult/Length: Adjusts the standard deviation width and lookback for the bands.
  • RSI Lookback/Neutral: Defines the RSI calculation period and the crossover threshold.

FAQ

How do I interpret the signals?

A green background or label typically indicates a long entry condition met (Price > Lower Band + RSI Bullish), while red indicates a short entry (Price < Upper Band + RSI Bearish), provided volatility filters are not active.

Can I change the type of Moving Average used?

Yes, the script allows you to choose between five different Moving Average types (SMA, EMA, WMA, VWMA, HMA) to suit different market conditions and preferences.

How can I access this tool?

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.