Each band is constructed from moving averages computed across user-defined timeframes, such as current chart, 5-minute, 30-minute, 4-hour, and daily intervals. Traders can select between Simple, Exponential, or Weighted Moving Averages, as well as adjust lengths, timeframes, and band fill colors for each layer. Higher timeframe values fetched via security calls update dynamically during open higher-timeframe bars, causing repainting on current intraday bars.
Multi-timeframe moving average band overlay
Selectable SMA, EMA, and WMA calculations
Independent timeframe, length, and color controls for 5 MA layers
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Enable
bool
true
ma1_enable
MA type
enum
MaType.ema
ma1_type
Length
int
34
ma1_len
Color
color
color.new(#FFD921,50)
ma1_color
Band Color
color
color.new(#FFD921,80)
ma1_band_color
Timeframe
timeframe
ma1_tf
Enable
bool
true
ma2_enable
MA type
enum
MaType.ema
ma2_type
Length
int
34
ma2_len
Color
color
color.new(#DDA059,50)
ma2_color
Band Color
color
color.new(#DDA059,80)
ma2_band_color
Timeframe
timeframe
5
ma2_tf
Show all 30 settings
Setting
Type
Default
Variable
Enable
bool
true
ma3_enable
MA type
enum
MaType.ema
ma3_type
Length
int
34
ma3_len
Color
color
color.new(#AA585B,50)
ma3_color
Band Color
color
color.new(#AA585B,80)
ma3_band_color
Timeframe
timeframe
30
ma3_tf
Enable
bool
true
ma4_enable
MA type
enum
MaType.ema
ma4_type
Length
int
34
ma4_len
Color
color
color.new(#B52121,50)
ma4_color
Band Color
color
color.new(#B52121,80)
ma4_band_color
Timeframe
timeframe
240
ma4_tf
Enable
bool
true
ma5_enable
MA type
enum
MaType.ema
ma5_type
Length
int
34
ma5_len
Color
color
color.new(#6B3710,50)
ma5_color
Band Color
color
color.new(#6B3710,80)
ma5_band_color
Timeframe
timeframe
D
ma5_tf
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
The Adaptive Laguerre Filter calculates a smoothed, dynamically adjusted trendline plotted directly on the main price chart. It dynamically adjusts its damping factor (alpha) based on recent price range variations and median percentile calculations over a spec
This script plots three moving averages on the price chart: a fast EMA or SMA with 10 periods, a slow EMA or SMA with 20 periods, and a trend EMA or SMA with 100 periods. It signals trend changes by drawing a white cross when the fast moving average crosses ab
This indicator plots four customizable moving averages directly on the main price chart using default lengths of 3, 8, 21, and 50 periods. It fills the space between adjacent averages in green or maroon depending on trend alignment. Additionally, it computes B
This indicator plots three exponential moving averages and ATR volatility envelopes on the price chart. It compares the fast and slow EMAs to shade a trend ribbon and marks confirmed upward and downward crossovers with triangle labels. Settings change the thre
Donald SPX - Options Trading is an overlay indicator designed for intraday SPX analysis. It plots a 200-period Weighted Moving Average (WMA) on the price chart while evaluating multi-timeframe market structure across Daily, 15-minute, 5-minute, and 2-minute ba
This indicator computes moving average and RSI bias signals across the current timeframe and four higher timeframes. It sums biases from the MA and RSI to derive an overall bullish or bearish signal. The results appear in a configurable table that displays eac