Skip to content
All library documents

A Color-Changing Stochastic Oscillator Expert Advisor

Article MQL5 code base

Summary

This document describes an Expert Advisor that trades signals from the ColorZerolagStochs oscillator. A signal is generated at bar close when the indicator's cloud changes color. The EA requires the compiled indicator to be installed in the platform's indicators folder, and an auxiliary library supports use with brokers offering nonzero spreads and allows stop-loss and take-profit settings when opening positions.

The cited example tests the default EA settings on USDJPY at the four-hour interval during 2013. The described test did not use stop loss or take profit, and the document supplies no numerical performance statistics or analysis of robustness. It therefore explains the signal trigger and a historical test setup, but does not establish profitability or show how the oscillator behaves across other markets, timeframes, or risk settings.

Key ideas

  • The Expert Advisor uses signals from the ColorZerolagStochs oscillator.
  • A trade signal occurs at bar close when the indicator cloud changes color.
  • An auxiliary library supports nonzero-spread brokers and optional stop-loss and take-profit settings.
  • The cited historical test used default inputs on USDJPY four-hour data in 2013.
  • The test omitted stop loss and take profit, and no performance statistics are given.

Tags

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