//@version=5
indicator(title="Chaikin Oscillator", shorttitle="Chaikin Osc", format=format.volume, timeframe="", timeframe_gaps=true)
var cumVol = 0.
cumVol += nz(volume)
if barstate.islast and cumVol == 0
runtime.error("No volume is provided by the data vendor.")
short = input.int(3, minval=1, title="Fast Length")
long = input.int(10, minval=1, title="Slow Length")
osc = ta.ema(ta.accdist, short) - ta.ema(ta.accdist, long)
plot(osc, title="Chaikin Oscillator", color=#EC407A)
hline(0, title="Zero", color=#787B86, linestyle=hline.style_dashed)
Overview
Chaikin Oscillator measures the difference between the short and long period exponential moving averages of the Accumulation Distribution Oscillator. The indicator plots the oscillator values in a separate pane. Traders use it to identify momentum divergences and potential reversals by watching when the oscillator crosses the zero line or deviates from price action. The main settings let users change the fast and slow lengths for the moving averages. It draws on a separate pane as a volume based oscillator. There are no entry or exit rules so it serves as a technical analysis tool without automatic signals.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Fast Length
int
3
short
Slow Length
int
10
long
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.
Calculates the standard Money Flow Index (MFI) oscillator alongside an exponential moving average signal line in a separate pane. The script visually highlights trend conditions through dynamic ribbon filling, optional difference histogram bars, and overbought
This indicator measures directional momentum by evaluating candlestick body proportions and volume over a user-defined lookback window. It computes the ratio of candle body to total range, weights the cumulative value by volume and absolute body size, and dete
This indicator builds an aggregate oscillator in a separate pane. It scales open, high, low, close, and volume into a 0 to 1 range, then averages scaled readings from MACD, a MACD histogram, RSI, stochastic, CCI, momentum, OBV, a directional index, volume-weig
This indicator calculates the Bill Williams Market Facilitation Index as the high-low range divided by volume, or zero when volume is zero. It compares the index and volume with the previous bar and assigns one of four zones: green for both rising, fade for bo
PPO ATR Bands plots a percentage price oscillator in a separate pane. It compares a Hull average of typical price with a volume-weighted exponential average of Parabolic SAR, then scales three true-range bands around the slow average into matching oscillator l
Calculates the Chaikin Oscillator by taking the difference between a fast exponential moving average and a slow exponential moving average of the Accumulation/Distribution line. It plots the resulting line in a separate pane alongside a dashed zero reference l