InpMaxDrawdownPct | double | 10.0 | Max equity drawdown from peak (%) |
|---|
InpMaxLossStreak | int | 0 | Lock after N consecutive losing closes today |
|---|
InpMaxTradesPerDay | int | 0 | Max trades opened per day |
|---|
InpMaxPositions | int | 3 | Max open positions + pending orders |
|---|
InpMaxOpenRiskPct | double | 0.0 | Max total open risk (% of balance) |
|---|
InpLockAction | ENUM_LOCK_ACTION | LOCK_SOFT | Action when a limit is hit |
|---|
InpUseHours | bool | false | Use trading hours filter |
|---|
InpStartHour | int | 8 | Trading start hour (server time) |
|---|
InpEndHour | int | 20 | Trading end hour (server time) |
|---|
InpMaxSpread | int | 0 | Max spread (points, 0 = off) |
|---|
InpNewsLevel | ENUM_NEWS_LEVEL | NEWS_OFF | News filter (MT5 economic calendar) |
|---|
InpNewsBefore | int | 30 | Block minutes before news |
|---|
InpNewsAfter | int | 30 | Block minutes after news |
|---|
InpUseBE | bool | true | Auto break-even |
|---|
InpBETrigger | int | 200 | Break-even trigger (points of profit) |
|---|
InpBEOffset | int | 20 | Break-even offset (points) |
|---|
InpUseTrail | bool | true | Auto trailing stop |
|---|
InpTrailStart | int | 300 | Trailing start (points of profit) |
|---|
InpTrailDist | int | 150 | Trailing distance (points) |
|---|
InpTrailStep | int | 20 | Trailing step (points) |
|---|
InpPartialPct | double | 50.0 | Partial close (% of volume) |
|---|
InpPopupAlerts | bool | true | Popup alert when a limit is hit |
|---|
InpPushAlerts | bool | false | Push notification to mobile |
|---|
InpMagic | ulong | 20260512 | Magic number |
|---|
InpSlippage | int | 20 | Max slippage (points) |
|---|
InpManageAllMagic | bool | false | Manage trades of all magics on this symbol |
|---|
InpPanelX | int | 15 | Panel X |
|---|
InpPanelY | int | 25 | Panel Y |
|---|