Files
conversation-history/2026-04-07-confluence-ea-atr-fix.md

2.0 KiB

Session: 2026-04-07 - Confluence EA ATR/ADX Fix Applied

Participants

Session Overview

Applied fixes to all Confluence EA .set files to restore trading activity after identifying zero trades since Apr 5 due to overly restrictive ATR/ADX thresholds.


Problem Identified (from prior session)

ATR thresholds were set to 0.8% (1.0% for XAU) - far above typical H1 ATR values (0.25-0.55%). This blocked all trades silently because:

  1. ATR thresholds too high → all signals blocked
  2. Ranging market detection applied 1.5x multiplier → thresholds became ~1.2%
  3. Debug mode was off → no filter block messages in log

Changes Applied

ATR & ADX Thresholds Restored

Pair Old ATR New ATR Old ADX New ADX
EURUSD 0.8% 0.3% 22 18
USDJPY 0.8% 0.3% 22 18
GBPUSD 0.8% 0.4% 24 20
USDCHF 0.8% 0.3% 28 22
NZDUSD 0.8% 0.35% 22 18
USDCAD 0.8% 0.35% 24 20
EURJPY 0.8% 0.4% 24 20
XAUUSD 1.0% 0.7% 24 20
GBPJPY 0.8% 0.4% 22 20

Debug Mode Enabled

Enabled InpDebugMode=true on all pairs to see filter block messages in MT5 journal.

Files Updated

  • /home/garfield/mql-trading-bots/confluence-*.set (9 files)
  • Copied to ~/mt5-docker/config/.wine/drive_c/Program Files/MetaTrader 5/MQL5/Presets/

Verification

  • All EAs reinitialized at ~14:52-14:56 on Apr 7
  • Logs confirm "Volatility Filter: ON" and "ADX Filter: ON"
  • User reloaded .set files on all MT5 charts

Session Files Modified

  • conversation-history/2026-04-07-confluence-ea-diagnosis.md - Prior session (diagnosis)
  • conversation-history/2026-04-07-confluence-ea-atr-fix.md - This session (fix applied)

Session Status: COMPLETED