All indicators

Bollinger Bands and SMA Channel Buy and Sell

Jun 12, 2023

Static chart image
SignalsChannelsMoving AveragesVolatility

The Bollinger Bands and SMA Channel Buy and Sell indicator combines the volatility tracking of Bollinger Bands with a trend-following SMA-based SSL channel to identify potential entry points in the market. By filtering price crossovers through a secondary trend mechanism, the tool aims to simplify technical analysis and provide clear visual buy and sell signals on the chart.

Usage

The Usage section focuses on interpreting the convergence of price action, the Bollinger Band basis line, and the SMA channel state.

  • Buy Signals: A "BUY" label is generated when the price closes above the Bollinger Band basis (middle line) while the SMA Channel is in an "Up" state (indicated by the green line being the primary boundary).
  • Sell Signals: A "SELL" label is generated when the price crosses below the Bollinger Band basis line while the SMA channel is in a "Down" state.
  • Trend Identification: The SMA Channel acts as a trend filter; when the price stays above the high-based SMA, the channel remains green, signaling bullish momentum. Conversely, when the price breaks below the low-based SMA, it turns red.

Details

The script integrates two primary technical analysis concepts:

  1. Bollinger Bands: Uses a Simple Moving Average (SMA) as a basis and adds/subtracts standard deviations to create a volatility envelope. The middle basis line serves as a dynamic pivot point for price action.
  2. SSL Channel (SMA-based): Based on concepts popularized by Erwin Beckers, this channel calculates moving averages of the highs and lows over a specific period. It switches its "Up" or "Down" state based on whether the source price crosses these boundaries, effectively creating a trailing trend baseline.

Settings

Bollinger Bands

  • Bollinger Band Length: The lookback period for the basis SMA and standard deviation (Default: 20).
  • Bollinger Band Source: The price data used for the calculation (Default: Close).
  • Bollinger Band StdDev: The multiplier for the volatility bands (Default: 2.0).
  • Show Basis/Upper/Lower: Toggle switches to control the visibility of individual Bollinger Band components.

SMA Channel

  • SMA Length: The lookback period used for calculating the high and low moving averages (Default: 10).
  • SMA Source: The price data used to trigger channel flips (Default: Close).
  • Show SMA Down/Up: Toggles for the red and green channel lines.
  • Show SMA Fill: Toggles the background color between the SMA channel lines.

FAQ

How do I use the Buy and Sell signals effectively?

While the signals provide automated entry points, they are best used in confluence with higher time frame analysis or other technical indicators to confirm market context.

Can I adjust the sensitivity of the signals?

Yes, decreasing the SMA Length or Bollinger Band Length will make the indicator more responsive to price changes, while increasing them will filter out more market noise.

How do I access Bollinger Bands and SMA Channel Buy and Sell?

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.