Key Moving Averages displays standard daily moving averages, weekly trends, or intraday averages depending on the active timeframe. The 200-period simple moving average dynamically shifts color based on On-Balance Volume momentum relative to its 50-period average. Additional features include an Average Daily Range percentage label, close-to-EMA21 ratio tracking, inside bar highlights, Bollinger Bands, and a volatility squeeze detector.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Plot MA5
bool
false
plot5
Plot MA10
bool
false
plot10
Plot EMA21
bool
true
plot20
Plot MA50
bool
true
plot50
Plot MA200
bool
true
plot200
Display close/ema21 ratio
bool
true
show21ratio
Display ADR%
bool
false
showADR
ADR length
int
20
Length
Plot Bollinger Band
bool
false
plotBB
Open: Hours a Day
float
6.5
openHours
Plot DMA5
bool
true
plotD5
Plot EMA65
bool
true
plot65
Show all 32 settings
Setting
Type
Default
Variable
Plot short Weekly MA
bool
true
plotW10
Plot long Weekly MA
bool
true
plotW40
Short Weekly MA
int
10
shortWeeklyMA
Long Weekly MA
int
30
longWeeklyMA
Show Inside Bar
bool
true
show_inside_bar
Inside Bars Color
color
color.yellow
color_line
Color transparency
int
90
transp
Line width
int
1
line_width
Show Rate of Change Divergence
bool
true
show_roc
ROC Length 1
int
10
roc_len1
ROC Length 2
int
30
roc_len2
Show Squeeze
bool
true
show_squeeze
BB source
source
close
bb_src
BB Length
int
20
length
BB MultFactor
float
2.0
mult
KC source
source
hlc3
kc_src
KC Length
int
20
lengthKC
KC MultFactor
float
1.0
multKC
Show High Volatility
bool
true
show_high_volatility
Show Holy Grail
bool
true
show_holy_grail
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.
This indicator plots Bollinger Bands and smoothed HAMA candles on the price chart. It builds each candle from separate moving averages of open, high, low and close, using selectable EMA, SMA or WMA lengths. A simple moving average forms the band basis, and an
Calculates adaptive arithmetic candles by blending price data with Kaufman Efficiency Ratio smoothing and a linear regression anchor. It measures trend health using a zero-to-hundred Quality Score derived from market efficiency, regression slope, and normalize
Candle Filters is an overlay indicator that marks bullish and bearish engulfing candles on the price chart. A bullish signal requires a prior down candle whose body is engulfed by the current candle near a swing low, while a bearish signal does the reverse nea
This indicator identifies bullish and bearish engulfing candlestick patterns directly on the price chart. To refine signal quality, it provides three optional filters: an ATR filter to cap maximum candle size relative to volatility, a swing high or low filter
The Hampel Filter indicator identifies and filters out price outliers to smooth price data directly on the main chart. It calculates the rolling median and Median Absolute Deviation (MAD) of the chosen source series over a specified length. When a data point e
This overlay indicator plots a Supertrend from an ATR length and factor, four exponential moving averages, and a selectable VWAP or TWAP taken from a chosen timeframe on the price chart. It also shows MACD and stochastic with adjustable lengths, smoothing, ver