Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Simple oscillator

Theory:

The indicator was created as an experiment. The experiment was how simple one oscillator can get and still be usable. And it turned out that it is enough to sum prices in a certain way to produce an oscillator.

The result:

All in all, it takes one line of code to produce an oscillator that is fairly good for showing trends.

Usage:

You can use color changes of the slope for short term trend assessment or zero crosses longer term trend assessment.

MetaTrader Experts, Indicators, Scripts and Libraries

22766