OPEN-SOURCE SCRIPT

Double Mcclellan Oscilator

Plots two Mcclellan Oscillators.

First MCO is plotted as the histogram using traditional n values of 19 and 39. Histogram is green when the oscillator is greater than 0.

Second MCO is plotted as the lime green and pink line. N values for the second oscillator should be lower than the first so that it has a shorter window length.

Advance/decline can be calculated using NYSE or NASDAQ stocks.

McClellan Oscillatormcclellanoscillator

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer