Users can choose from eight moving average types, including SMA, EMA, WMA, Hull MA, VWMA, RMA, TEMA, and Tillson T3. The script provides custom color-coding based on the fast moving average slope or its position relative to the slow moving average, alongside visual background fill options between both lines. Built-in alerts trigger on slope direction changes or crossover events between the fast and slow moving averages.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Fast MA TimeFrame
timeframe
res1
Fast MA Length
int
20
fast_ma_len
Fast MA Source
source
close
src1
Fast MA Offset
int
0
fast_ma_off
Fast MA Type
string
SMA
fast_ma_source
Fast MA Tilson T3 Factor
float
.7
fast_factorT3
Show Slow MA?
bool
false
show_slow_ma
Slow MA TimeFrame
timeframe
res2
Slow MA Length
int
50
slow_ma_len
Slow MA Source
source
close
src2
Slow MA Offset
int
0
slow_ma_off
Slow MA Type
string
SMA
slow_ma_source
Show all 28 settings
Setting
Type
Default
Variable
Slow MA Tilson T3 Factor
float
.7
slow_factorT3
Fast MA
color
#2962FF
fast_ma_col
Slow MA
color
#FF6D00
slow_ma_col
Fast MA Width
int
3
fast_ma_wid
Slow MA Width
int
3
slow_ma_wid
Change Fast MA Color Based On Slope?
bool
false
show_fast_ma_cc
Color Smoothing
int
2
fast_ma_smooth
Bull Col
color
color.new(color.green, 0)
bullish_col
Bear Col
color
color.new(color.red, 0)
bearish_col
Change Fast MA Color Above/Below Slow MA?
bool
false
show_fast_ma_tr
Show Fill?
bool
true
show_fill
Transparency
int
50
fill_transp
Fast MA Slope Bull
bool
false
alert_Slope_Bull
Fast MA Slope Bear
bool
false
alert_Slope_Bear
Fast MA Cross Bull
bool
false
alert_Cross_Bull
Fast MA Cross Bear
bool
false
alert_Cross_Bear
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