Skip to content
All library documents

Dual Indicator Trading with Loss-Triggered Position Sizing

Article MQL5 code base

Summary

This expert advisor combines two independent trading systems, one using BrainTrend2 and the other AbsolutelyNoLagLWMA. Each system generates a trade signal when a bar closes and its indicator shows a trend-color change. Position size is adjusted separately for each system and trade direction according to recent outcomes: after a configured count of losing trades, the next position uses a smaller deposit share; otherwise, it uses the normal share. The example inputs set the loss trigger at two trades and show different sizing values for the two systems.

The document says its illustrated test used default inputs with stops and identifies a GBPJPY six-hour test over 2016, but the actual performance figures are not included in the text. It does not establish that the indicators predict future returns or that reducing size after losses improves results. The approach depends on the referenced indicators being available and leaves broader risk controls and validation details unspecified.

Key ideas

  • Two indicator systems independently signal trades when a bar closes and the indicator color marks a trend change.
  • Each system adjusts trade size based on recent losses in the same direction.
  • The example reduces the position’s deposit share after two consecutive directional losses.
  • The document names a GBPJPY six-hour test over 2016 but provides no numerical results in the text.

Tags

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