InpTrailStepPoints | double | 100 | SL trail distance kept behind price (points) |
|---|
InpTPPoints | double | 0 | Fixed TP distance (points); 0 = disabled, trailing SL exits |
|---|
InpUseATRSpikeFilter | bool | false | Skip new setups when ATR is spiking well above its recent baseline. Tested worse in a real-tick A/B (profit $294 vs $318 |
|---|
InpMaxATRRatio | double | 1.5 | Current ATR must be <= baseline * this to allow a new setup |
|---|
InpATRBaselineBars | int | 20 | Bars averaged (on InpRangeTF) to build the ATR baseline |
|---|
InpUseTrendFilter | bool | false | Trend-aligned trades trail looser, so they hold longer for bigger profit (tested worse: -46% profit, 8x drawdown - kept |
|---|
InpTrendMAPeriod | int | 50 | MA period (computed on InpRangeTF) that defines the trend |
|---|
InpTrendHoldMultiplier | double | 2.5 | Trend-aligned trades trail at InpTrailStepPoints * this (wider = holds longer) |
|---|
InpUseRiskSizing | bool | true | Size lots by % equity risk instead of fixed lot - REQUIRED when porting to a broker with a different contract size (this |
|---|
InpRiskPercent | double | 0.5 | Risk % of equity per trade (used when InpUseRiskSizing = true) |
|---|
InpLotSize | double | 0.01 | Fixed lot size (used only if InpUseRiskSizing = false, or as fallback if risk sizing fails) |
|---|
InpSlippagePoints | int | 20 | Max slippage (points) |
|---|
InpMagic | int | 20260716 | EA magic number |
|---|
InpPendingExpiryMin | int | 240 | Pending order expiry, minutes (0 = GTC) |
|---|
InpAllowLong | bool | true | Allow long (buy stop) setups |
|---|
InpAllowShort | bool | true | Allow short (sell stop) setups |
|---|
InpUseDailyLimit | bool | true | Stop arming new setups once today's P/L hits either limit below (open positions still managed/trailed) |
|---|
InpDailyProfitTargetPct | double | 0 | Stop new trades once daily P/L >= this % of day-start balance (0 = disabled) |
|---|
InpDailyMaxLossPct | double | 2.0 | Stop new trades once daily P/L <= -this % of day-start balance (0 = disabled) |
|---|
InpTradeMonday | bool | true | Allow new setups on Monday |
|---|
InpTradeTuesday | bool | true | Allow new setups on Tuesday |
|---|
InpTradeWednesday | bool | true | Allow new setups on Wednesday |
|---|
InpTradeThursday | bool | true | Allow new setups on Thursday |
|---|
InpTradeFriday | bool | true | Allow new setups on Friday |
|---|
InpTradeSaturday | bool | false | Allow new setups on Saturday |
|---|
InpTradeSunday | bool | false | Allow new setups on Sunday |
|---|
InpHolidayDates | string | | Comma-separated dates to skip entirely, format YYYY.MM.DD (e.g. "2026.12.25,2026.01.01") |
|---|
InpUseNewsFilter | bool | true | Skip new setups around high-impact economic calendar events (uses MQL5's built-in Calendar - works in live/demo; in the |
|---|