Adjusting Trade Size from Recent Directional Losses in an MA Signal EA
Summary
This Expert Advisor pairs trend-change signals from an Iin_MA_Signal indicator with position sizing that responds to recent trade outcomes. Signals are acted on after a bar closes when the indicator shows a trend change. Buy and sell histories are evaluated separately: the system checks a configurable number of recent trades in that direction and compares the number of losses with a threshold. If the loss threshold is met, the next trade uses a smaller specified size; otherwise it uses the normal size. The example uses the last five directional trades and reduces size when at least three were losses, from 0.1 to 0.01 lot.
The note describes input parameters for the lookback, loss threshold, normal and reduced sizing, and lot or margin mode, alongside position closing and opening logic. It cites GBPJPY on the hourly chart for 2017 and says default settings without stops were used, but the text supplies no numerical performance results. The rule changes exposure after losses; it does not establish that the signal is profitable or that reducing size controls drawdown under changing market conditions.
Key ideas
- The EA generates trades when a moving-average signal indicates a trend change at bar close.
- Buy and sell trade histories are evaluated separately for sizing decisions.
- The example reduces the next trade size after three or more losses among the latest five trades in that direction.
- The page mentions a GBPJPY hourly test for 2017 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.