Files
mql-trading-bots/bo-major.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

63 lines
1.4 KiB
Plaintext

; === OrdersEA_Smart_Grid_BO - Major Pairs Template ===
; Strategy: Breakout — buy above resistance, sell below support
; Best for: EURUSD, GBPUSD, AUDUSD, USDJPY
; Timeframe: H1
; Activates when ADX > 25 (trending) and price breaks grid boundary
; === Grid / BO Settings ===
UseAutoPivots=true
InpManualHigh=0
InpManualLow=0
Entry=20
TP=2000
Lots=1.00
MaxLevels=3
; === Range Filters (inverted logic in BO: low ADXMax = quick trend detection) ===
UseRSIFilter=false
RSIPeriod=14
RSILower=40
RSIUpper=60
UseADXFilter=true
ADXPeriod=14
ADXMax=25
UseATRFilter=true
ATRPeriod=14
ATRMultiplier=1.5
; === Stop Loss (mandatory for breakout) ===
InpUseStopLoss=true
StopLoss=300
; === Trailing Stop ===
InpUseTrailingStop=true
InpTrailStart=1000
InpTrailStop=500
; === Risk Management ===
TRADE_RANGE=60
LongLimit=0
ShortLimit=0
GetOut=N
OpenNewTrades=Y
TakeProfitLevelPercent=0
TakeProfitLevelDollarAmount=0
EquityFactorPercent=0
LotsFactorPercent=0
BaseEquity=10000
Master=false
DiagnosticModeOn=false
InpMaxDailyDrawdown=3.0
InpMaxWeeklyDrawdown=7.0
; === Weekend Protection ===
InpCloseBeforeWeekend=true
InpWeekendCloseHour=17
InpCancelPendingBeforeWeekend=true
; === Session Notes ===
; BO fires on breakout of daily pivot range (ATR-scaled)
; Best: London open (07:00-09:00 GMT), NY open (13:30-15:00 GMT)
; Avoid: Low-volume overnight sessions (Asia)
; SL should be below GridHigh for buys, above GridLow for sells