McClellan Oscillator & Summation Index coding MT4

 
Luca82:
Hi everyone! can you code these indicators in MT4 and share? You can read about them in the following links.McClellan oscillator - Wikipedia, the free encyclopedia or McClellan Oscillator Definition | Investopedia

It can not be calculated in metatrader

Metatrader brokers just rarely have data related to stocks, and even when they have some stock data, it can hardly be treated as a representative sample that could be used to calculate usable values of McClellan oscillator

 

Here is one I came across on fxcodebase. I have got no clue how it works and don't use it either. But I post it here for anybody interested.

mcclellan_oscillator.mq4

Files:
Reason: