MetaTrader 5 / Indicateurs
Difference - indicateur pour MetaTrader 5
5421
The Difference indicator shows the difference between the current prices and prices as of N periods ago.
It can show the difference in two modes:
- The difference between Open and Close;
- The difference between High and Low.
It has two parameters:
- Period - calculation period;
- Calculation method - select one of the two available calculation methods.

Fig.1 The High/Low mode

Fig.2 The Open/Close mode
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/19885