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 | Difference

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:

  1. The difference between Open and Close;
  2. The difference between High and Low.

It has two parameters:

  • Period - calculation period;
  • Calculation method - select one of the two available calculation methods.

MetaTrader Experts, Indicators, Scripts and Libraries

Fig.1 The High/Low mode

MetaTrader Experts, Indicators, Scripts and Libraries

Fig.2 The Open/Close mode

19885

Best MetaTrader Indicators + Profitable Expert Advisors