88 lines
6.7 KiB
INI
88 lines
6.7 KiB
INI
;EA交易单独测试: 双趋势对冲, XAUUSD M5, 每个报价, 2025.06.01 - 2025.09.01
|
|
[Tester]
|
|
Expert=双趋势对冲.ex5
|
|
Symbol=XAUUSD
|
|
Period=M5
|
|
Optimization=0
|
|
Model=0
|
|
FromDate=2025.06.01
|
|
ToDate=2025.09.01
|
|
ForwardMode=0
|
|
Deposit=24000
|
|
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
|
|
; === 多空马丁订单备注设置 ===
|
|
Long_Martin_Comment=Long_Martin
|
|
Short_Martin_Comment=Short_Martin
|
|
; === 策略参数 ===
|
|
Initial_Lots=0.03||0.03||0.003000||0.300000||N
|
|
Price_Threshold=0.5||0.5||0.050000||5.000000||N
|
|
Martingale_Multiplier=1.5||1.5||0.150000||15.000000||N
|
|
Profit_Target=3.5||3.5||0.350000||35.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=30.0||30.0||3.000000||300.000000||N
|
|
; === DEMA风险控制 ===
|
|
Enable_DEMA_Risk_Control=true||false||0||true||N
|
|
DEMA_Short_Period=30||30||1||300||N
|
|
DEMA_Long_Period=120||120||1||1200||N
|
|
DEMA_Risk_Lot_Threshold=0.9||0.9||0.090000||9.000000||N
|
|
DEMA_Difference_Threshold=0.01||0.01||0.001000||0.100000||N
|
|
Enable_DEMA_Status_Log=true||false||0||true||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
|
|
; === 上升趋势组设置 ===
|
|
Enable_Uptrend_Group=true||false||0||true||N
|
|
Uptrend_Group_Comment=Uptrend_Group
|
|
Uptrend_Group_Max_Orders=5||5||1||50||N
|
|
Uptrend_Group_Add_Distance=0.5||0.5||0.050000||5.000000||N
|
|
Uptrend_Group_Lot_Multiplier=1.5||1.5||0.150000||15.000000||N
|
|
Uptrend_Group_Hedge_Profit_Threshold=250.0||250.0||25.000000||2500.000000||N
|
|
Uptrend_DI_Diff_Threshold=10.0||10.0||1.000000||100.000000||N
|
|
Uptrend_Group_Price_Offset=5.0||5.0||0.500000||50.000000||N
|
|
Uptrend_Group_Profit_Target=250.0||250.0||25.000000||2500.000000||N
|
|
Uptrend_Group_Profit_Protection_Ratio=0.3||0.3||0.030000||3.000000||N
|
|
; === 趋势组布林带监控 ===
|
|
Enable_Uptrend_BBands=true||false||0||true||N
|
|
Uptrend_BBands_Period=20||20||1||200||N
|
|
Uptrend_BBands_Deviation=2.0||2.0||0.200000||20.000000||N
|
|
; === 下降趋势组设置 ===
|
|
Enable_Downtrend_Group=false||false||0||true||N
|
|
Downtrend_Group_Comment=Downtrend_Group
|
|
Downtrend_Group_Max_Orders=5||5||1||50||N
|
|
Downtrend_Group_Add_Distance=0.5||0.5||0.050000||5.000000||N
|
|
Downtrend_Group_Lot_Multiplier=1.5||1.5||0.150000||15.000000||N
|
|
Downtrend_DI_Diff_Threshold=10.0||10.0||1.000000||100.000000||N
|
|
Downtrend_Group_Price_Offset=5.0||5.0||0.500000||50.000000||N
|
|
Downtrend_Group_Profit_Target=300.0||300.0||30.000000||3000.000000||N
|
|
Downtrend_Group_Profit_Protection_Ratio=0.1||0.1||0.010000||1.000000||N
|
|
Downtrend_Group_Hedge_Profit_Threshold=250.0||250.0||25.000000||2500.000000||N
|