Skip to content
All library documents

Three ColorX2MA Systems with Loss-Triggered Position Scaling

Article MQL5 code base

Summary

This Expert Advisor combines three independent systems that trade when a ColorX2MA_Digit indicator changes color at a bar close, signaling a trend change. Each system can be enabled or disabled separately and manages its own long and short entries. Position size is reduced after a configurable number of consecutive losing trades in the same direction and returns to the normal size when that loss condition is no longer met. The example settings illustrate smaller sizing after two losses and a larger base size otherwise.

The document says the systems are best configured one at a time for evaluation and notes that the compiled indicator must be installed for the EA to work. It refers to tests on GBPJPY across several higher timeframes during 2016, but provides no readable performance figures or risk-adjusted analysis in the supplied text. The loss-triggered sizing rule changes exposure after losses; it does not itself establish that the indicator has predictive value or that drawdowns are controlled.

Key ideas

  • The EA contains three separately configurable systems based on ColorX2MA_Digit color changes at bar close.
  • Each system can open long or short trades and adjusts position size based on recent losses in that direction.
  • A configurable loss threshold switches the next trade to a smaller volume.
  • The required compiled indicator must be installed for the EA to operate.
  • The described GBPJPY tests lack performance details in the supplied document, so efficacy cannot be assessed.

Tags

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