PARAMETER GUIDE
Alpha FX https://www.mql5.com/en/market/product/193941
Complete description of all settings
| Recommendation: The default values are the ones used on the live account. Only change parameters if you understand the consequences. |
A — Strategy
| Panel default: true On-chart panel showing EA status, spread, balance and P&L. |
| PanelScale default: 0 (= auto) Size of the on-chart panel. Leave at 0 for automatic scaling, or set a value to enlarge or shrink it on high-resolution screens. |
| Magic default: 1 Identifier of the EA's trades. Use a different number for each EA running on the same account. |
| OrderComment default: Alpha Tag shown in the order history. |
| TakeProfit, pips default: 200 Take profit of the entry. |
| StopLoss, pips default: 265 Baseline protective stop. With the ATR stop enabled the working stop is derived from current volatility, and this value serves as the safety reference. |
| MaxSpread, points default: 200 Entries are skipped while the spread is higher. Keep it above your broker's real Gold spread, otherwise the EA never opens a trade. |
B — Lot Sizing
| FixedLot default: 0 (= auto) Manual lot for the entry. Any value above 0 overrides risk-based sizing. Leave at 0 to use the RiskPercent model. |
| UseRiskPercent default: true Automatic position sizing from the account balance and the stop distance. |
| RiskPercent default: 3 Risk of a single trade as a percentage of balance. The lot is calculated so that the distance to the stop equals this share of the account. |
|
C — Trailing Stop
| UseTrailing default: true Once a trade moves into profit, the stop follows the price to lock in gains. |
| TrailActivation, pips default: 20 Profit distance at which trailing starts. |
| TrailFrom, pips default: 100 Distance the stop keeps behind the current price. |
| TrailStep, pips default: 35 Minimum improvement before the stop is moved again. |
| UseStickyBE default: false Optional break-even module. When the trade reaches the activation distance, the stop is moved to the entry price plus an offset and stays there. Off by default. |
| StickyBE_Activate, pips default: 25 Profit distance at which the stop is moved to break-even. |
| StickyBE_Offset, pips default: 3 Distance kept beyond the entry price, so the trade covers spread and commission when the break-even stop is hit. |
D — ATR Stop
| The working stop adapts to current volatility instead of using one fixed distance. Enabled by default. |
| UseAtrStop default: true Derives the stop from ATR. With this off, the fixed StopLoss value is used instead. |
| AtrStopPeriod default: 19 Number of bars used in the ATR calculation. |
| AtrStopTF default: H4 Timeframe the ATR is read from. Lower timeframes give a tighter and more reactive stop, higher ones a wider and steadier stop. |
| AtrStopMult default: 2 ATR multiplier. The stop is placed this many ATR values away from the entry, so a higher number means a wider stop and a smaller lot at the same RiskPercent. |
| AtrStopNoFloor default: true Removes the minimum limit on the ATR stop, so in quiet markets the stop is allowed to sit closer than the fixed StopLoss value. Set it to false to keep StopLoss as a lower bound. |
E — Recovery
| UseDebtRecovery default: true After a losing trade the size of the next position is adjusted to work off the previous loss instead of returning straight to base risk. Recovery can span more than one trade if the loss is not covered by the first of them. As soon as the loss is covered, sizing returns to normal and the next trade is opened at base risk again. Positions are never stacked — the EA holds one trade at a time and only the size of the following entry changes. Set it to false and every trade is sized at constant risk. |
| RecoveryMultX default: 2 Limits how far recovery sizing can go: the recovering position is capped at this multiple of the normal lot. Lower values recover more slowly and keep the size closer to base risk. |
Alpha EA · XAUUSD D1 · Asian session range breakout
https://www.mql5.com/en/market/product/193941


