Bull Market Support Band (20w SMA, 21w EMA)
Mar 13, 2021

The Bull Market Support Band (20w SMA, 21w EMA) indicator provides a visual representation of historical support zones used to identify bull market regimes and potential trend continuation levels during market cycles.
Usage
The Usage section describes how the script can be used, focusing on identifying market sentiment and potential entry zones. This tool is primarily utilized to distinguish between bullish and bearish market phases based on the price relationship with the 20-week Simple Moving Average (SMA) and the 21-week Exponential Moving Average (EMA).
- Bull Market Confirmation: When price remains consistently above the band, the market is generally considered to be in a macro uptrend. Historically, assets like Bitcoin have used this band as a "floor" during 30-40% corrections within a larger bull cycle.
- Support Retests: Traders often look for price to bounce off the band as a high-probability entry point during an established uptrend.
- Trend Reversals: A decisive close below the band may indicate the end of a bull cycle or the beginning of a prolonged bearish phase.
The script is hardcoded to fetch weekly data, meaning the band will appear identical whether viewed on a Daily, 4-hour, or Weekly chart, allowing for precise entries on lower timeframes while maintaining a macro perspective.
Details
The script calculates two specific moving averages anchored to the weekly interval: a 20-period Simple Moving Average and a 21-period Exponential Moving Average. These specific lengths are widely recognized in technical analysis for their ability to track long-term momentum.
The implementation utilizes the request.security function to ensure that the moving averages are always calculated based on weekly closing prices, regardless of the chart's current resolution. This prevents the "repainting" of historical signals when viewed on higher timeframes and ensures consistency for multi-timeframe analysis. The area between the two averages is filled with a color-coded cloud to highlight the "support zone" rather than treating support as a single, thin line.
Settings
- SMA Length: Sets the period for the Simple Moving Average. The default is 20 weeks.
- EMA Length: Sets the period for the Exponential Moving Average. The default is 21 weeks.
- Band Fill: Toggles the visibility of the shaded area between the SMA and EMA plots.
FAQ
What is the significance of the 20w SMA and 21w EMA? These two moving averages act as a combined support zone that has historically caught major pullbacks in asset classes like cryptocurrencies and equities during long-term bull runs.
Can I use this indicator on a 15-minute or 1-hour chart? Yes. Because the script uses weekly data requests, the band will display the weekly 20/21 support levels on any timeframe you choose, providing a macro context for intraday trading.
How can I access the Bull Market Support Band (20w SMA, 21w EMA)? 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.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.