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>
This commit is contained in:
@@ -28,6 +28,11 @@ ATRMultiplier=2.5
|
||||
InpUseStopLoss=true
|
||||
StopLoss=1500
|
||||
|
||||
; === Trailing Stop ===
|
||||
InpUseTrailingStop=true
|
||||
InpTrailStart=1000
|
||||
InpTrailStop=500
|
||||
|
||||
; === Risk Management ===
|
||||
TRADE_RANGE=200
|
||||
LongLimit=0
|
||||
|
||||
Reference in New Issue
Block a user