Skip to content
All library documents

Combining Five Indicator Signals to Scale Trading Lots

Article MQL5 code base

Summary

This Expert Advisor combines five technical signal rules to adjust the starting trade size. The rules use ADX directional lines; a moving-average comparison with Stochastic; MACD level and signal-line comparisons; and a moving-average comparison with the direction of Parabolic SAR. When an individual rule signals a side, its lot amount is multiplied by a configurable signal ratio. If buy and sell signals occur together, both are disregarded. A buy opening signal also closes a sell position, and a sell opening signal closes a buy position.

The description outlines indicator conditions but supplies no backtest, instrument, timeframe, stop placement, or evidence of profitability. It also does not explain how multiple simultaneous signals combine beyond applying the ratio for each activated rule. Since the method scales exposure in response to technical signals, sizing behavior and drawdown risk require careful evaluation before use; the listed rules alone do not establish an edge.

Key ideas

  • The EA uses five rule sets based on ADX, moving averages, Stochastic, MACD, and Parabolic SAR.
  • Each activated rule multiplies the initial lot amount by a configurable ratio.
  • Simultaneous buy and sell signals are ignored.
  • An entry signal in one direction closes an open position in the opposite direction.
  • The description provides no performance evidence or detailed risk controls.

Tags

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