Files
mql-trading-bots/bo-eurchf.set
T
garfieldandClaude Sonnet 4.6 0175a6edff Add trailing stop to BO EA v5.1 — all 17 presets enabled
ApplyTrailingStop() runs every 5s on open positions: activates after
1000 pts (100 pips) of profit, trails SL 500 pts (50 pips) behind price.
SL only moves in the profitable direction, never backwards.

New inputs: InpUseTrailingStop, InpTrailStart, InpTrailStop (all presets
set to true/1000/500). EA version bumped 5.0 → 5.1.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-02 02:44:24 -04:00

65 lines
1.4 KiB
Plaintext

; === OrdersEA_Smart_Grid_BO - EURCHF ===
; Historically low-volatility pair — BO only fires on genuine regime breaks
; Timeframe: H1
; WARNING: SNB surprise interventions can produce 500+ pt moves instantly
; BO with SL is safer than Grid for this pair during intervention events
; === Grid / BO Settings ===
UseAutoPivots=true
InpManualHigh=0
InpManualLow=0
Entry=10
TP=1000
Lots=1.00
MaxLevels=2
; === Range Filters ===
UseRSIFilter=false
RSIPeriod=14
RSILower=40
RSIUpper=60
UseADXFilter=true
ADXPeriod=14
ADXMax=20
UseATRFilter=true
ATRPeriod=14
ATRMultiplier=1.2
; === Stop Loss (especially important here — SNB events are catastrophic without it) ===
InpUseStopLoss=true
StopLoss=200
; === Trailing Stop ===
InpUseTrailingStop=true
InpTrailStart=1000
InpTrailStop=500
; === Risk Management ===
TRADE_RANGE=40
LongLimit=0
ShortLimit=0
GetOut=N
OpenNewTrades=Y
TakeProfitLevelPercent=0
TakeProfitLevelDollarAmount=0
EquityFactorPercent=0
LotsFactorPercent=0
BaseEquity=10000
Master=false
DiagnosticModeOn=false
InpMaxDailyDrawdown=2.0
InpMaxWeeklyDrawdown=5.0
; === Weekend Protection ===
InpCloseBeforeWeekend=true
InpWeekendCloseHour=17
InpCancelPendingBeforeWeekend=true
; === EA Settings ===
MagicNum=444010
; === Session Notes ===
; Low daily range — BO will fire rarely, only on real breakout events
; SNB quarterly assessments: use GetOut=A before each one
; DO NOT run overnight without SL — 2015 CHF event removed 20% in seconds