Skip to content
All library documents

Go Indicator Strategy: Trading Bar Color Changes

Article MQL5 code base

Summary

This document describes an Expert Advisor that trades when the Go indicator changes color at a bar’s close. It opens a trade when the bars switch from red to green or green to red. The system relies on a compiled indicator file, and the article notes that a supporting library can help with brokers that have nonzero spreads and require stop-loss or take-profit settings when opening positions.

The document reports a test on GBPJPY hourly data for 2015, using the Expert Advisor’s default inputs and no stop loss or take profit. It includes references to chart examples and a results chart, but provides no numerical performance measures or explanation of the test methodology. The signal rule is described, but the indicator’s calculation, position sizing, exit details beyond the opposing color signal, and risk controls are not explained. The reported test therefore offers limited evidence for judging the strategy’s robustness or suitability for live trading.

Key ideas

  • The Expert Advisor generates a trade signal when the Go indicator changes color at a bar’s close.
  • The described backtest used GBPJPY hourly data for 2015 and default input settings.
  • Stop-loss and take-profit orders were omitted from the reported test.
  • The document does not provide performance statistics or enough testing detail to assess robustness.

Tags

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