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 Expert Advisor | Spread Informer

MetaTrader Experts, Indicators, Scripts and Libraries

This EA collects information about the spread and shows the statistics on the chart.

When the EA ends its working, it prints all statistics to the Journal, which can be useful for the Strategy Tester. For example, if you want to know all information about the spread of historical data in the tester for a certain period.

Input Parameters

  • 'Max. Spread' parameter value in points, for example: 1.12001 - 1.12000 = 1 point.
    When the current spread exceeds this value there will be an Alert.
    If the parameter value = 0, this function does not work.
  • 'Minimum Alert Interval (in seconds)' - after the Alert, the next Alert will not be earlier than specified in this parameter.

Version History

v.1.01
- New input parameter is 'Minimum Alert Interval (in seconds)'. After the Alert, the next Alert will not be earlier than specified in this parameter.

v.1.02
-  Added information about the current spread.

33120