Skip to content
All library documents

Trading Histogram Color Changes with SR-RateIndicator Signals

Article MQL5 code base

Summary

This document describes an Expert Advisor that trades when the SR-RateIndicator histogram changes color at a bar’s close. A shift from dark to bright pink or lime marks entry into an overbought or oversold zone and triggers a signal. The EA requires the compiled indicator file in the platform’s indicators folder. A supporting library is mentioned for compatibility with brokers that charge a spread and for setting stop loss and take profit when opening positions.

The document says the EA was tested on EURUSD at the 12-hour timeframe over 2017, using default inputs and without stop loss or take profit. It refers to charts of example trades and test results, but provides no numerical performance measures or analysis of risk, costs, or robustness. The color-change rule is explained, but the supplied text does not specify how trades are closed or how the indicator’s thresholds are calculated, so the test description alone is insufficient to assess the strategy’s overall quality.

Key ideas

  • A signal occurs at bar close when the histogram changes into a bright pink or lime state.
  • The color change indicates that the indicator has entered an overbought or oversold zone.
  • The EA depends on the compiled indicator being installed in the platform’s indicators directory.
  • The cited test used EURUSD on a 12-hour chart during 2017, with default settings and no stop loss or take profit.
  • The provided description does not give numerical performance statistics or explain the full exit logic.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.