255 righe
5,2 KiB
INI
255 righe
5,2 KiB
INI
|
|
;+------------------------------------------------------------------+
|
||
|
|
;| ForexTrader_v3_MultiStrategy_Production.ini |
|
||
|
|
;| Strategy Tester Configuration |
|
||
|
|
;| Production-Ready Multi-Strategy Portfolio EA Testing Setup |
|
||
|
|
;+------------------------------------------------------------------+
|
||
|
|
|
||
|
|
; This file is used by MetaTrader 5 Strategy Tester for optimization
|
||
|
|
; and multi-symbol testing of the v3 Multi-Strategy Production EA
|
||
|
|
; This is the ADVANCED version for experienced traders
|
||
|
|
|
||
|
|
[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 and cross pairs for multi-strategy testing
|
||
|
|
; Format: Symbol=SymbolName
|
||
|
|
Symbol1=EURUSD
|
||
|
|
Symbol2=GBPUSD
|
||
|
|
Symbol3=USDJPY
|
||
|
|
Symbol4=AUDUSD
|
||
|
|
Symbol5=USDCHF
|
||
|
|
Symbol6=NZDUSD
|
||
|
|
Symbol7=USDCAD
|
||
|
|
Symbol8=EURJPY
|
||
|
|
Symbol9=GBPJPY
|
||
|
|
Symbol10=EURGBP
|
||
|
|
Symbol11=AUDJPY
|
||
|
|
|
||
|
|
[Timeframes]
|
||
|
|
; Multi-timeframe analysis timeframes
|
||
|
|
; Format: Period=TimeframeValue (1=M1, 5=M5, 15=M15, 30=M30, 60=H1, 240=H4, 1440=D1)
|
||
|
|
; The EA internally analyzes M15, M30, H1 for multi-timeframe confirmation
|
||
|
|
Period1=15
|
||
|
|
Period2=30
|
||
|
|
Period3=60
|
||
|
|
|
||
|
|
[Parameters]
|
||
|
|
; Strategy Settings
|
||
|
|
UseAdaptiveMA=true
|
||
|
|
FastMA_Period=10
|
||
|
|
SlowMA_Period=50
|
||
|
|
MA_Method=1
|
||
|
|
MA_Price=0
|
||
|
|
|
||
|
|
; Multi-Strategy Configuration
|
||
|
|
UseMAStrategy=true
|
||
|
|
UseRSIStrategy=true
|
||
|
|
UseBBStrategy=true
|
||
|
|
UseMACDStrategy=true
|
||
|
|
MinSignalScore=2
|
||
|
|
RequireAllTimeframesAlign=false
|
||
|
|
|
||
|
|
; RSI Strategy
|
||
|
|
RSI_Period=14
|
||
|
|
RSI_Overbought=70
|
||
|
|
RSI_Oversold=30
|
||
|
|
RSI_Price=0
|
||
|
|
|
||
|
|
; Bollinger Bands Strategy
|
||
|
|
BB_Period=20
|
||
|
|
BB_Deviation=2.0
|
||
|
|
BB_AppliedPrice=0
|
||
|
|
|
||
|
|
; MACD Strategy
|
||
|
|
MACD_FastEMA=12
|
||
|
|
MACD_SlowEMA=26
|
||
|
|
MACD_Signal=9
|
||
|
|
MACD_Price=0
|
||
|
|
|
||
|
|
; Multi-Timeframe Settings
|
||
|
|
UseMultiTimeframe=true
|
||
|
|
TimeFrame1=15
|
||
|
|
TimeFrame2=30
|
||
|
|
TimeFrame3=60
|
||
|
|
|
||
|
|
; 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
|
||
|
|
UsePortfolioRisk=true
|
||
|
|
PortfolioMaxRiskPercent=6.0
|
||
|
|
|
||
|
|
; Position Management
|
||
|
|
UseTrailingStop=true
|
||
|
|
TrailingStopPips=30.0
|
||
|
|
TrailingStepPips=5.0
|
||
|
|
TrailingActivationPips=20.0
|
||
|
|
UseBreakeven=true
|
||
|
|
BreakevenTriggerPips=20.0
|
||
|
|
BreakevenOffsetPips=2.0
|
||
|
|
UsePartialTP=true
|
||
|
|
PartialTPPercent=50.0
|
||
|
|
PartialTPPips=40.0
|
||
|
|
|
||
|
|
; Money Management
|
||
|
|
MaxLotSize=10.0
|
||
|
|
MinLotSize=0.01
|
||
|
|
UseFixedLot=false
|
||
|
|
FixedLotSize=0.1
|
||
|
|
|
||
|
|
; Trading Controls
|
||
|
|
CooldownMinutes=15
|
||
|
|
SeparateCooldownByDirection=true
|
||
|
|
MaxDailyTrades=15
|
||
|
|
MaxConcurrentPositions=4
|
||
|
|
UseTradingHours=false
|
||
|
|
StartHour=8
|
||
|
|
EndHour=20
|
||
|
|
|
||
|
|
; Session Filters
|
||
|
|
UseLondonSession=true
|
||
|
|
UseNewYorkSession=true
|
||
|
|
UseAsianSession=false
|
||
|
|
|
||
|
|
; Advanced Settings
|
||
|
|
MagicNumber=123459
|
||
|
|
TradeComment=ForexTrader_v3_Multi
|
||
|
|
Slippage=30
|
||
|
|
MaxRetries=3
|
||
|
|
RetryDelayMs=1000
|
||
|
|
|
||
|
|
[Optimization]
|
||
|
|
; Optimization ranges for multi-strategy EA
|
||
|
|
; Format: ParamName_Start=value, ParamName_Stop=value, ParamName_Step=value
|
||
|
|
|
||
|
|
; Strategy weights
|
||
|
|
MinSignalScore_Start=1
|
||
|
|
MinSignalScore_Stop=3
|
||
|
|
MinSignalScore_Step=1
|
||
|
|
|
||
|
|
; MA Strategy
|
||
|
|
FastMA_Period_Start=8
|
||
|
|
FastMA_Period_Stop=15
|
||
|
|
FastMA_Period_Step=1
|
||
|
|
|
||
|
|
SlowMA_Period_Start=40
|
||
|
|
SlowMA_Period_Stop=60
|
||
|
|
SlowMA_Period_Step=5
|
||
|
|
|
||
|
|
; RSI Strategy
|
||
|
|
RSI_Period_Start=10
|
||
|
|
RSI_Period_Stop=20
|
||
|
|
RSI_Period_Step=2
|
||
|
|
|
||
|
|
RSI_Overbought_Start=65
|
||
|
|
RSI_Overbought_Stop=75
|
||
|
|
RSI_Overbought_Step=5
|
||
|
|
|
||
|
|
RSI_Oversold_Start=25
|
||
|
|
RSI_Oversold_Stop=35
|
||
|
|
RSI_Oversold_Step=5
|
||
|
|
|
||
|
|
; BB Strategy
|
||
|
|
BB_Period_Start=15
|
||
|
|
BB_Period_Stop=25
|
||
|
|
BB_Period_Step=5
|
||
|
|
|
||
|
|
BB_Deviation_Start=1.5
|
||
|
|
BB_Deviation_Stop=2.5
|
||
|
|
BB_Deviation_Step=0.5
|
||
|
|
|
||
|
|
; MACD Strategy
|
||
|
|
MACD_FastEMA_Start=10
|
||
|
|
MACD_FastEMA_Stop=15
|
||
|
|
MACD_FastEMA_Step=1
|
||
|
|
|
||
|
|
MACD_SlowEMA_Start=20
|
||
|
|
MACD_SlowEMA_Stop=30
|
||
|
|
MACD_SlowEMA_Step=2
|
||
|
|
|
||
|
|
; Filters
|
||
|
|
ADX_Minimum_Start=18.0
|
||
|
|
ADX_Minimum_Stop=25.0
|
||
|
|
ADX_Minimum_Step=1.0
|
||
|
|
|
||
|
|
; Risk Management
|
||
|
|
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
|
||
|
|
|
||
|
|
PortfolioMaxRiskPercent_Start=4.0
|
||
|
|
PortfolioMaxRiskPercent_Stop=8.0
|
||
|
|
PortfolioMaxRiskPercent_Step=1.0
|
||
|
|
|
||
|
|
; Position Management
|
||
|
|
MaxConcurrentPositions_Start=2
|
||
|
|
MaxConcurrentPositions_Stop=5
|
||
|
|
MaxConcurrentPositions_Step=1
|
||
|
|
|
||
|
|
TrailingStopPips_Start=25.0
|
||
|
|
TrailingStopPips_Stop=40.0
|
||
|
|
TrailingStopPips_Step=5.0
|
||
|
|
|
||
|
|
PartialTPPips_Start=30.0
|
||
|
|
PartialTPPips_Stop=50.0
|
||
|
|
PartialTPPips_Step=5.0
|
||
|
|
|
||
|
|
[Genetic]
|
||
|
|
; Genetic algorithm parameters for optimization
|
||
|
|
Generations=150
|
||
|
|
Population=150
|
||
|
|
|
||
|
|
[Notes]
|
||
|
|
; Multi-Strategy Production EA Testing Notes:
|
||
|
|
; - This EA combines 4 trading strategies with signal scoring
|
||
|
|
; - Test with conservative settings first
|
||
|
|
; - Minimum 6 months backtest recommended
|
||
|
|
; - Minimum 1 month forward test on demo before live
|
||
|
|
; - Monitor portfolio risk and correlation
|
||
|
|
; - Use preset file: Config/ForexTrader_v3_Multi_Moderate.set
|
||
|
|
; - Suitable for experienced traders only
|
||
|
|
; - Can handle multiple positions across different strategies
|