WIP: 6+ weeks of uncommitted EA development and preset tuning
Confluence EA (v1.16 → v1.20): - Per-EA realized P&L tracking via history deals - Weekly drawdown protection - Warmup bars, pivot cache, state persistence - Point-scaled pivot thresholds, ranging ATR factor - Market filling mode helper per symbol Grid EA (v3.1 → v4.1): - Adaptive filters, adaptive entry, spread filter - Session filter, breakeven, correlation caps, range drift - Profit protection (stop-after-profit, cycle reports) - Edge cleanup v5.0 — close wrong-side positions outside grid - Master one-shot shutdown, grid state persistence Presets: - Fix GetOut=Y shutdown bug on 4 grid presets - Relax ADXMax 18→40, widen RSI 20/80 across grid presets - Standardize daily drawdown 3%→5%, add weekly 10% - Increase grid lots 0.01→0.03 - Normalize confluence ATR thresholds per pair - Add XAGUSD, EURCHF, EURGBP, AUDNZD presets Docs & DevOps: - April 23 audit files (preset mismatch, code review, checklist) - n8n workflow and validation infrastructure updates - AI agent analyses in notes/ Known issues carried forward: - Shared drawdown budget contamination (both EAs) - Confluence ranging-market threshold inversion - Older grid presets missing v4.1 safety controls
This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
; === OrdersEA_Smart_Grid - EURCHF Settings ===
|
||||
; EURCHF Grid - Mean-reversion king, very tight spreads
|
||||
; Timeframe: H1
|
||||
; Best for: Asian session, low-volatility ranging
|
||||
; Why add: Historically range-bound; classic mean-reversion behaviour
|
||||
; WARNING: SNB intervention risk (see 2015 peg removal). Use lower risk.
|
||||
|
||||
; === Grid Settings ===
|
||||
UseAutoPivots=true
|
||||
InpManualHigh=0
|
||||
InpManualLow=0
|
||||
Entry=10
|
||||
TP=18
|
||||
Lots=0.03
|
||||
MaxLevels=10
|
||||
|
||||
; === Adaptive Entry (v4.1) ===
|
||||
InpAdaptiveEntry=false
|
||||
InpEntryATRFactor=0.5
|
||||
|
||||
; === Range Filters ===
|
||||
UseRSIFilter=true
|
||||
RSIPeriod=14
|
||||
RSILower=20
|
||||
RSIUpper=80
|
||||
UseADXFilter=true
|
||||
ADXPeriod=14
|
||||
ADXMax=40
|
||||
UseATRFilter=true
|
||||
ATRPeriod=14
|
||||
ATRMultiplier=1.1
|
||||
|
||||
; === Adaptive Filters (v4.1) ===
|
||||
InpRelaxFilterAfterDays=3
|
||||
InpRelaxADXFactor=1.3
|
||||
InpRelaxLotFactor=0.5
|
||||
|
||||
; === Spread Filter (v4.1) ===
|
||||
InpMaxSpreadPoints=18
|
||||
|
||||
; === Stop Loss (v4.1) ===
|
||||
InpUseStopLoss=false
|
||||
StopLoss=300
|
||||
|
||||
; === Session Filter (v4.1) - STRONGLY RECOMMENDED ===
|
||||
InpUseSessionFilter=true
|
||||
InpSessionStartHour=1
|
||||
InpSessionEndHour=10
|
||||
|
||||
; === Breakeven (v4.1) ===
|
||||
InpUseBreakeven=false
|
||||
InpBreakevenBufferPoints=5
|
||||
|
||||
; === Correlation Cap (v4.1) ===
|
||||
InpMaxLongSymbols=5
|
||||
InpMaxShortSymbols=5
|
||||
|
||||
; === Range Drift (v4.1) ===
|
||||
InpRangeDriftEnable=false
|
||||
InpMoveRangeTrigger=200
|
||||
|
||||
; === Risk Management ===
|
||||
TRADE_RANGE=45
|
||||
LongLimit=0
|
||||
ShortLimit=0
|
||||
GetOut=N
|
||||
OpenNewTrades=Y
|
||||
TakeProfitLevelPercent=50
|
||||
TakeProfitLevelDollarAmount=1200
|
||||
EquityFactorPercent=0
|
||||
LotsFactorPercent=0
|
||||
BaseEquity=10000
|
||||
Master=false
|
||||
DiagnosticModeOn=false
|
||||
InpMaxDailyDrawdown=3.0
|
||||
InpMaxWeeklyDrawdown=6.0
|
||||
|
||||
; === Profit Protection (v4.1) ===
|
||||
InpStopAfterProfit=false
|
||||
InpCycleReport=true
|
||||
|
||||
; === Weekend Protection ===
|
||||
InpCloseBeforeWeekend=true
|
||||
InpWeekendCloseHour=17
|
||||
InpCancelPendingBeforeWeekend=true
|
||||
|
||||
; === EA Settings ===
|
||||
MagicNum=333016
|
||||
|
||||
; === CRITICAL WARNING ===
|
||||
; SNB removed EURCHF peg in 2015 causing 20%+ moves in minutes.
|
||||
; Grid + no SL = catastrophic during intervention.
|
||||
; RECOMMENDATION: Set InpUseStopLoss=true and StopLoss=200 if running overnight.
|
||||
; Monitor SNB announcements. Consider GetOut=A before SNB press conferences.
|
||||
|
||||
; === Session Notes ===
|
||||
; BEST: Asia session (01:00-10:00 broker time) — EURCHF barely moves
|
||||
; AVOID: SNB quarterly assessments, US session during risk-off
|
||||
; TIP: This pair can go days with < 15 pip range — perfect for grids.
|
||||
Reference in New Issue
Block a user