170 lines
3.7 KiB
INI
170 lines
3.7 KiB
INI
|
|
;+------------------------------------------------------------------+
|
||
|
|
;| ForexTrader_v3_Production.ini |
|
||
|
|
;| Strategy Tester Configuration |
|
||
|
|
;| Production-Ready Single-Pair EA Testing Setup |
|
||
|
|
;+------------------------------------------------------------------+
|
||
|
|
|
||
|
|
; This file is used by MetaTrader 5 Strategy Tester for optimization
|
||
|
|
; and multi-symbol testing of the v3 Production EA
|
||
|
|
; This is the RECOMMENDED version for live trading
|
||
|
|
|
||
|
|
[Tester]
|
||
|
|
; Test mode: 0=Every tick, 1=1 minute OHLC, 2=Open prices only, 3=Math calculations
|
||
|
|
Model=0
|
||
|
|
|
||
|
|
; Testing period - Extended for production validation
|
||
|
|
FromDate=2023.01.01
|
||
|
|
ToDate=2024.06.01
|
||
|
|
|
||
|
|
; Forward testing period (recommended for production testing)
|
||
|
|
ForwardMode=1
|
||
|
|
ForwardDate=2023.10.01
|
||
|
|
|
||
|
|
; Initial deposit
|
||
|
|
Deposit=10000.00
|
||
|
|
Currency=USD
|
||
|
|
|
||
|
|
; Leverage
|
||
|
|
Leverage=100
|
||
|
|
|
||
|
|
; Optimization mode: 0=Disabled, 1=Slow complete, 2=Fast genetic, 3=All symbols
|
||
|
|
OptimizationMode=0
|
||
|
|
|
||
|
|
[Symbols]
|
||
|
|
; Major currency pairs for testing (best spreads and liquidity)
|
||
|
|
; Format: Symbol=SymbolName
|
||
|
|
Symbol1=EURUSD
|
||
|
|
Symbol2=GBPUSD
|
||
|
|
Symbol3=USDJPY
|
||
|
|
Symbol4=AUDUSD
|
||
|
|
Symbol5=USDCHF
|
||
|
|
Symbol6=NZDUSD
|
||
|
|
Symbol7=USDCAD
|
||
|
|
|
||
|
|
[Timeframes]
|
||
|
|
; Recommended timeframes for v3 Production EA
|
||
|
|
; Format: Period=TimeframeValue (1=M1, 5=M5, 15=M15, 30=M30, 60=H1, 240=H4, 1440=D1)
|
||
|
|
Period1=30
|
||
|
|
Period2=60
|
||
|
|
Period3=240
|
||
|
|
|
||
|
|
[Parameters]
|
||
|
|
; Strategy Settings
|
||
|
|
UseAdaptiveMA=true
|
||
|
|
FastMA_Period=10
|
||
|
|
SlowMA_Period=50
|
||
|
|
KAMA_Period=14
|
||
|
|
KAMA_FastEMA=2
|
||
|
|
KAMA_SlowEMA=30
|
||
|
|
MA_Method=1
|
||
|
|
MA_Price=0
|
||
|
|
|
||
|
|
; Signal Filters
|
||
|
|
UseADXFilter=true
|
||
|
|
ADX_Period=14
|
||
|
|
ADX_Minimum=20.0
|
||
|
|
UseATRFilter=true
|
||
|
|
ATR_Period=14
|
||
|
|
ATR_MinimumPips=10.0
|
||
|
|
ATR_MaximumPips=100.0
|
||
|
|
MA_SlopeMinimum=5.0
|
||
|
|
MA_DistanceMinimum=3.0
|
||
|
|
|
||
|
|
; Risk Management
|
||
|
|
RiskPercent=2.0
|
||
|
|
StopLossPips=40.0
|
||
|
|
TakeProfitPips=80.0
|
||
|
|
UseDynamicSLTP=true
|
||
|
|
ATR_SL_Multiplier=2.0
|
||
|
|
ATR_TP_Multiplier=4.0
|
||
|
|
MaxDrawdownPercent=30.0
|
||
|
|
MaxSpreadPips=5.0
|
||
|
|
|
||
|
|
; Position Management
|
||
|
|
UseTrailingStop=true
|
||
|
|
TrailingStopPips=30.0
|
||
|
|
TrailingStepPips=5.0
|
||
|
|
TrailingActivationPips=20.0
|
||
|
|
UseBreakeven=true
|
||
|
|
BreakevenTriggerPips=20.0
|
||
|
|
BreakevenOffsetPips=2.0
|
||
|
|
|
||
|
|
; Money Management
|
||
|
|
MaxLotSize=10.0
|
||
|
|
MinLotSize=0.01
|
||
|
|
UseFixedLot=false
|
||
|
|
FixedLotSize=0.1
|
||
|
|
|
||
|
|
; Trading Controls
|
||
|
|
CooldownMinutes=15
|
||
|
|
SeparateCooldownByDirection=true
|
||
|
|
MaxDailyTrades=10
|
||
|
|
MaxConcurrentPositions=1
|
||
|
|
UseTradingHours=false
|
||
|
|
StartHour=8
|
||
|
|
EndHour=20
|
||
|
|
|
||
|
|
; Advanced Settings
|
||
|
|
MagicNumber=123456
|
||
|
|
TradeComment=ForexTrader_v3
|
||
|
|
Slippage=30
|
||
|
|
MaxRetries=3
|
||
|
|
RetryDelayMs=1000
|
||
|
|
|
||
|
|
[Optimization]
|
||
|
|
; Conservative optimization ranges for production EA
|
||
|
|
; Format: ParamName_Start=value, ParamName_Stop=value, ParamName_Step=value
|
||
|
|
|
||
|
|
; Strategy optimization
|
||
|
|
FastMA_Period_Start=8
|
||
|
|
FastMA_Period_Stop=15
|
||
|
|
FastMA_Period_Step=1
|
||
|
|
|
||
|
|
SlowMA_Period_Start=40
|
||
|
|
SlowMA_Period_Stop=60
|
||
|
|
SlowMA_Period_Step=5
|
||
|
|
|
||
|
|
ADX_Minimum_Start=18.0
|
||
|
|
ADX_Minimum_Stop=25.0
|
||
|
|
ADX_Minimum_Step=1.0
|
||
|
|
|
||
|
|
; Risk optimization
|
||
|
|
StopLossPips_Start=30.0
|
||
|
|
StopLossPips_Stop=50.0
|
||
|
|
StopLossPips_Step=5.0
|
||
|
|
|
||
|
|
TakeProfitPips_Start=60.0
|
||
|
|
TakeProfitPips_Stop=100.0
|
||
|
|
TakeProfitPips_Step=10.0
|
||
|
|
|
||
|
|
RiskPercent_Start=1.0
|
||
|
|
RiskPercent_Stop=2.5
|
||
|
|
RiskPercent_Step=0.25
|
||
|
|
|
||
|
|
; Trailing stop optimization
|
||
|
|
TrailingStopPips_Start=25.0
|
||
|
|
TrailingStopPips_Stop=40.0
|
||
|
|
TrailingStopPips_Step=5.0
|
||
|
|
|
||
|
|
TrailingActivationPips_Start=15.0
|
||
|
|
TrailingActivationPips_Stop=25.0
|
||
|
|
TrailingActivationPips_Step=5.0
|
||
|
|
|
||
|
|
; Position management
|
||
|
|
MaxConcurrentPositions_Start=1
|
||
|
|
MaxConcurrentPositions_Stop=2
|
||
|
|
MaxConcurrentPositions_Step=1
|
||
|
|
|
||
|
|
[Genetic]
|
||
|
|
; Genetic algorithm parameters for optimization
|
||
|
|
Generations=100
|
||
|
|
Population=100
|
||
|
|
|
||
|
|
[Notes]
|
||
|
|
; Production EA Testing Notes:
|
||
|
|
; - This EA has all critical flaws fixed
|
||
|
|
; - Test with conservative settings first
|
||
|
|
; - Minimum 6 months backtest recommended
|
||
|
|
; - Minimum 1 month forward test on demo before live
|
||
|
|
; - Monitor drawdown carefully
|
||
|
|
; - Use preset files from Config/ folder for quick setup
|