Transform ERMT 6.8 from a full trading system into a Pure Management EA that exclusively manages and exits positions, regardless of their origin. Architecture Overview Core Philosophy No Entry Logic: Remove all trade entry capabilities Universal Management: Manage ALL positions on the chart Origin Agnostic: Treat all trades equally regardless of source Risk First: Focus on preservation of capital Exit Optimization: Smart exit strategies based on market conditions Summary & Next Steps What We've Created PositionManager.mqh - A completely new module that replaces TradeManager for pure position management ERMT_PME.mq5 - Simplified main EA file with 70% less code complexity Comprehensive Roadmap - 8-week implementation plan with clear milestones Key Architectural Changes Removed Components ❌ Entry system completely eliminated ❌ Entry signals and strategy selection ❌ Trade opening functionality ❌ Entry parameter complexity Enhanced Components ✅ Universal position d
61 lines
4.7 KiB
Text
61 lines
4.7 KiB
Text
; saved automatically on 2025.09.22 10:55:32
|
|
; this file contains last used input parameters for testing/optimizing ERMT_6.8 expert advisor
|
|
;
|
|
; === Risk Management ===
|
|
InpMaxRiskPerTrade=2.0||2.0||0.200000||20.000000||N
|
|
InpMaxDailyLoss=6.0||6.0||0.600000||60.000000||N
|
|
InpMaxDrawdown=20.0||20.0||2.000000||200.000000||N
|
|
InpMaxPositions=3||3||1||30||N
|
|
InpRiskRewardMin=1.5||1.5||0.150000||15.000000||N
|
|
; === Position Management ===
|
|
InpSizingMethod=1||0||0||5||N
|
|
InpFixedLotSize=0.1||0.1||0.010000||1.000000||N
|
|
InpATRMultiplierSL=2.0||2.0||0.200000||20.000000||N
|
|
InpATRMultiplierTP=3.0||3.0||0.300000||30.000000||N
|
|
InpTPMethod=2||0||0||5||N
|
|
InpTPRatio=2.0||2.0||0.200000||20.000000||N
|
|
; === External Trade Management ===
|
|
InpManageExternal=false||false||0||true||N
|
|
InpExternalMode=1||0||0||3||N
|
|
InpExternalRiskLimit=5.0||5.0||0.500000||50.000000||N
|
|
InpApplyTrailingExternal=true||false||0||true||N
|
|
; === Trailing Stop Settings ===
|
|
InpTrailingMethod=3||0||0||7||N
|
|
InpTrailStart=30.0||30.0||3.000000||300.000000||N
|
|
InpTrailStep=10.0||10.0||1.000000||100.000000||N
|
|
InpTrailDistance=20.0||20.0||2.000000||200.000000||N
|
|
InpMoveToBreakeven=true||false||0||true||N
|
|
InpBreakevenTrigger=20.0||20.0||2.000000||200.000000||N
|
|
InpBreakevenOffset=2.0||2.0||0.200000||20.000000||N
|
|
; === Trading Settings ===
|
|
InpMagicNumber=68000||68000||1||680000||N
|
|
InpComment=ERMT_v6.8
|
|
InpSlippage=3.0||3.0||0.300000||30.000000||N
|
|
InpTradeOnNewBar=false||false||0||true||N
|
|
InpAllowHedging=true||false||0||true||N
|
|
InpCloseOnOpposite=true||false||0||true||N
|
|
; === Technical Settings ===
|
|
InpATRPeriod=14||14||1||140||N
|
|
InpRSIPeriod=14||14||1||140||N
|
|
InpMAPeriod=20||20||1||200||N
|
|
InpMAMethod=1||0||0||3||N
|
|
InpBBDeviation=2.0||2.0||0.200000||20.000000||N
|
|
InpBBPeriod=20||20||1||200||N
|
|
; === Trading Hours ===
|
|
InpUseTradeHours=false||false||0||true||N
|
|
InpStartHour=8||8||1||80||N
|
|
InpEndHour=20||20||1||200||N
|
|
InpFridayClose=true||false||0||true||N
|
|
InpFridayCloseHour=20||20||1||200||N
|
|
; === Dashboard Settings ===
|
|
InpShowDashboard=true||false||0||true||N
|
|
InpDashboardX=20||20||1||200||N
|
|
InpDashboardY=50||50||1||500||N
|
|
InpDashboardColor=0
|
|
InpDashboardBgColor=3329434
|
|
InpDashboardFontSize=9||9||1||90||N
|
|
; === Logging Settings ===
|
|
InpLogLevel=1||0||0||4||N
|
|
InpSaveLog=true||false||0||true||N
|
|
InpEmailAlerts=false||false||0||true||N
|
|
InpPushAlerts=true||false||0||true||N
|