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:
2026-05-12 09:02:25 -04:00
parent b9b4e2b22b
commit 0894d18db4
72 changed files with 3869 additions and 1416 deletions
Regular → Executable
+12 -15
View File
@@ -3,14 +3,14 @@
; Timeframe: H1
; === Confluence Settings ===
InpMinConfluence=1 ; REDUCED: Only 1 signal needed (was 2)
InpMinStrength=0.60 ; RELAXED: Lower threshold for more trades
InpRequireAllAgree=false ; CHANGED: Allow conflicting signals if one side dominates
InpMinConfluence=1
InpMinStrength=0.60
InpRequireAllAgree=false
; === Risk Management ===
InpLotSize=0.01
InpUseRiskPercent=true
InpRiskPercent=0.8 ; Slightly lower risk for more frequent trades
InpRiskPercent=1.5
InpStopLoss=100
InpTakeProfit=200
InpUseTrailingStop=true
@@ -18,23 +18,20 @@ InpTrailingStart=50
InpTrailingStop=30
InpTrailingStep=10
InpMaxPositions=3
InpMaxDailyDrawdown=3.0
InpMaxDailyDrawdown=5.0
InpMaxWeeklyDrawdown=10.0
; === Weekend Protection ===
InpCloseBeforeWeekend=true
InpWeekendCloseHour=17
; === Filters (RELAXED) ===
InpUseTrendFilter=false ; DISABLED: Don't filter by trend
; === Filters (TIGHTER for ranging) ===
InpUseTrendFilter=false
InpTrendMAPeriod=50
InpUseVolatilityFilter=false ; DISABLED: Trade all volatility conditions
InpUseVolatilityFilter=true
InpATRPeriod=14
InpMinATRPercent=0.3
InpUseADXFilter=false ; DISABLED: Don't require ADX confirmation
InpUseADXFilter=true
InpADXPeriod=14
InpMinADX=20.0
InpMinADX=18.0
; === EA Settings ===
InpMagicNumber=777777
InpSlippage=3
InpDebugMode=true ; ENABLED: See why trades fire or don't fire
InpDebugMode=true