;EA交易单独测试: 双向马丁加ATR_ADX, XAUUSD M1, 每个报价, 2025.07.02 - 2025.08.21 [Tester] Expert=双向马丁加ATR_ADX.ex5 Symbol=XAUUSD Period=M1 Optimization=0 Model=0 FromDate=2025.07.02 ToDate=2025.08.21 ForwardMode=0 Deposit=20000 Currency=USD ProfitInPips=0 Leverage=1000 ExecutionMode=228 OptimizationCriterion=0 Visual=0 [TesterInputs] ; === 基本设置 === Magic_Number=999002||999002||1||9990020||N EA_Comment=XAUUSD_Dual_Martin ; === 策略参数 === Initial_Lots=0.02||0.02||0.002000||0.200000||N Price_Threshold=0.4||0.4||0.040000||4.000000||N Martingale_Multiplier=1.5||1.5||0.150000||15.000000||N Profit_Target=6.0||6.0||0.600000||60.000000||N Profit_Protection_Ratio=0.9||0.9||0.090000||9.000000||N Enable_Long_Martin=true||false||0||true||N Enable_Short_Martin=true||false||0||true||N Use_Async_Close=true||false||0||true||N Async_Close_Max_Retries=1||1||1||10||N Async_Close_Retry_Seconds=1||1||1||10||N Async_Close_Timeout_Seconds=2||2||1||20||N ; === ATR设置 === ATR_Period=2||2||1||20||N ATR_Threshold=0.6||0.6||0.060000||6.000000||N ATR_Distance_Multiplier=0.9||0.9||0.090000||9.000000||N ; === ADX趋势过滤 === Enable_ADX_Filter=true||false||0||true||N ADX_Period=20||20||1||200||N ADX_Threshold=40.0||40.0||4.000000||400.000000||N ; === 时间过滤 === Enable_Time_Filter=false||false||0||true||N Trade_Start_Hour=6||6||1||60||N Trade_End_Hour=22||22||1||220||N ; === 风险控制 === Enable_Risk_Control=true||false||0||true||N Max_Add_Per_Bar=2||2||1||20||N Volatile_Bar_Threshold=8.0||8.0||0.800000||80.000000||N Volatile_Bar_Pause=3||3||1||30||N ; === 重启设置 === Restart_Delay_Seconds=1||1||1||10||N