Indicators: Simple oscillator showing the difference between two Moving Averages

Simple oscillator showing the difference between two Moving Averages:

The indicator shows the difference between two Moving Averages in the form of a colored histogram drawn in a separate window.


Author: Scriptor

What's wrong with MACD?
Andrei Fandeev:
What's wrong with MACD?
Training material.
Artyom Trishkin:
Training material.
Artem, why is the MACD code not a training material? What's so special about it?
Andrei Fandeev:
Artem, why is the MACD code not a teaching material? What's so special about it?

Some people find it useful. This is not our category ;)