Skip to content
All library documents

Trading Colored XD-RangeSwitch Arrows with a Direction Mode

Article MQL5 code base

Summary

This Expert Advisor uses colored arrows from the XD-RangeSwitch indicator to make trading decisions. The described input controls whether trades follow the arrow direction or take the opposite direction. The document also notes that a supporting library can accommodate brokers with nonzero spreads and can set stop loss and take profit when opening a position.

The example cites historical testing on EURUSD four-hour bars for 2013 and refers to a chart of test results and deal history. It provides no numerical performance measures, detailed entry or exit rules beyond the arrow-direction choice, or assessment of costs and risk. The strategy depends on a separately compiled indicator, and the brief description is insufficient to reproduce or independently evaluate the full system.

Key ideas

  • The system bases trade decisions on colored signals from the XD-RangeSwitch indicator.
  • A direction setting determines whether trades follow or oppose the indicator arrows.
  • A supporting library is described as handling nonzero spreads and entry-time stop loss or take profit settings.
  • The document references a historical EURUSD four-hour test from 2013 but gives no numerical results.
  • The Expert Advisor requires the compiled indicator to operate.

Tags

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