Open-source scriptindicator/v1
Chaikin Oscillator
Measure momentum in the Accumulation Distribution Line with fast and slow exponential averages.
#chaikin#money-flow#volume
Description
The Chaikin Oscillator subtracts a slower exponential average of the Accumulation Distribution Line from a faster one. The zero-centered result highlights changes in volume-flow momentum and can be compared with price for confirmation or divergence.
Open-source script. Everyone can inspect the source code, use the script on a chart, and save an editable copy.
Release notes
Version history · 1 published version
Version 1CurrentChart updatedChaikin Oscillator · Aug 31, 2026
Source codempl-2.0View sourceHide source
indicator("Chaikin Oscillator", { overlay: false });
const fastLength = input.int("Fast Length", 3, { min: 1, max: 200 });
const slowLength = input.int("Slow Length", 10, { min: 2, max: 500 });
const adl = accdist();
const fast = ema(adl, fastLength);
const slow = ema(adl, slowLength);
const line = fast.map((v, i) => v - slow[i]);
plot(line, { title: "Chaikin Oscillator", color: "#2962ff", lineWidth: 2 });
hline(0, { title: "Zero", color: "#78909c", style: "dotted" });
Community discussion
0 comments
No comments yet. Start the discussion.