여러 순차 테스트 실행 - 페이지 3

 
RaptorUK :
알겠습니다. 최적화가 작동하고 있습니다. . . 설정 파일을 저장 하기 전에 최적화하려는 최적화 매개변수가 선택되어 있는지 확인하십시오. 그렇지 않은 경우 저널에 오류 메시지가 표시되어야 합니다. . . 나는 했다.

이제 작동합니다. 다른 EA 및 매개 변수 조합을 테스트하고 알려 드리겠습니다.

감사해요

 
michelino :

이제 작동합니다. 다른 EA 및 매개 변수 조합을 테스트하고 알려 드리겠습니다.

감사해요

그것을 듣고 기뻐 당신은 가장 환영합니다
 
RaptorUK :
반갑습니다. 가장 환영합니다.

모든 EA 및 매개변수 콤보에서 잘 작동합니다. 이제 여러 테스트를 수행하면서 밤새 작동하게 할 수 있습니다.

정말 감사합니다

 
michelino :

모든 EA 및 매개변수 콤보에서 잘 작동합니다. 이제 여러 테스트를 수행하면서 밤새 작동하게 할 수 있습니다.

정말 감사합니다

나중에 다른 사람들을 돕기 위해 샘플 파일을 게시할 수 있습니까? 감사해요.
 
angevoyageur :
나중에 다른 사람들을 돕기 위해 샘플 파일을 게시할 수 있습니까? 감사해요.

확실한:

다음은 내가 사용한 .ini 구성 파일입니다.

[Common]
Login=200..
Password=ce...
ProxyEnable=0
ProxyType=0
ProxyAddress=0
ProxyLogin=10
ProxyPassword=10
KeepPrivate=1
NewsEnable=1
CertInstall=1
 
[Charts]
ProfileLast=Euro
MaxBars=500000
PrintColor=0
SaveDeleted=1
 
[Experts]
AllowLiveTrading=1
AllowDllImport=1
Enabled=1
Account=1
Profile=1
 
[Objects]
ShowPropertiesOnCreate=0
SelectOneClick=0
MagnetSens=10

 
;+------------------------------------------------------------------------------
;| Start testing or optimization of the specified Expert Advisor                |
;+------------------------------------------------------------------------------
[Tester]
;--- The EA is located in terminal_data_directory\MQL5\Experts\MA_Delta_OHLC
Expert=MA_Delta_OHLC
;--- The EA start parameters are normally located in terminal_data_folder\  in this example I've created an apposite folder
ExpertParameters=sets/MA_Delta_OHLC_H1.set
;--- The symbol for testing/optimization
Symbol=EURUSD
;--- The timeframe for testing/optimization
Period=H1
;--- Initial deposit
Deposit=100000
;--- Leverage for testing
Leverage=1:100
;--- The "1 minute OHLC" mode
Model=1
;--- Execution of trade orders with a random delay
ExecutionMode=0
;--- Genetic optimization This is what triggers the error if it is set to anthing but 0
Optimization=1
;--- Optimization criterion - Maximum balance drawdown value
OptimizationCriterion=0
;--- Start and end dates of the testing range
FromDate=2012.01.01
ToDate=2013.08.20
;--- Custom mode of forward testing
ForwardMode=0
;--- Start date of forward testing
ForwardDate=2011.03.01
;--- A file with a report will be saved in Terminal/F7927...
Report=MA_Delta_OHLC-eurusd-full
;--- If the specified report already exists, it will be overwritten
ReplaceReport=0
;--- Set automatic terminal shutdown upon completion of testing/optimization
ShutdownTerminal=1

다중 최적화를 순서대로 실행하기 위한 .bat 파일(터미널 종료 = 1로 설정하는 것을 기억하십시오)

 "C:\Program Files\MetaTrader 5 - Alpari\terminal64.exe" /config:C:\Users\mike\Desktop\mt5terminal\mt5_test.ini
"C:\Program Files\MetaTrader 5 - Alpari\terminal64.exe" /config:C:\Users\mike\Desktop\mt5terminal\mt5_test_1.ini
"C:\Program Files\MetaTrader 5 - Alpari\terminal64.exe" /config:C:\Users\mike\Desktop\mt5terminal\mt5_test_2.ini
"C:\Program Files\MetaTrader 5 - Alpari\terminal64.exe" /config:C:\Users\mike\Desktop\mt5terminal\mt5_test_3.ini
"C:\Program Files\MetaTrader 5 - Alpari\terminal64.exe" /config:C:\Users\mike\Desktop\mt5terminal\mt5_test_4.ini
"C:\Program Files\MetaTrader 5 - Alpari\terminal64.exe" /config:C:\Users\mike\Desktop\mt5terminal\mt5_test_5.ini
"C:\Program Files\MetaTrader 5 - Alpari\terminal64.exe" /config:C:\Users\mike\Desktop\mt5terminal\mt5_test_6.ini
"C:\Program Files\MetaTrader 5 - Alpari\terminal64.exe" /config:C:\Users\mike\Desktop\mt5terminal\mt5_test_7.ini

EA 최적화를 위한 입력 매개변수를 포함하는 .set 파일 아래

입력 매개변수 = A || 나 || ㄷ || 디 || 예/아니요                       A=일반 테스트 값 B=최적화 시작 값 C=단계 증분 D=최적화 종료 값 Y/N = 최적화할 Y 매개변수 N = 최적화되지 않음

StopLoss= 0.01000000 || 0.01000000 || 0.01000 || 0.0200000 ||Y
trailPerc= 0.1 || 1.00000000 || 0.100000 || 10.000000 ||N
ATR_Period= 8 || 8 || 1 || 80 ||N
MA_Period= 5400 || 120 || 120 || 1200 ||Y
MA_Kind= 3 || 1 || 1 || 4 ||Y
Sigmas= 0.0 || 0.0 || 0.100000 || 0.4 ||Y
Lot= 1.00000000 || 1.00000000 || 0.100000 || 10.000000 ||N
EA_Magic= 12345 || 12345 || 1 || 123450 ||N
useTrail= false || false || 0 || true ||Y
closeAtCross= true || false || 0 || true ||Y
positionSizing= false || false || 0 || true ||N
deltaPeriod= 6000 || 50 || 1 || 500 ||N
 
나는 그것을 만들 때마다 새로운 종류의 구성 파일을 게시할 것입니다
 
michelino :
나는 그것을 만들 때마다 지금 일종의 구성 파일을 게시할 것입니다.
감사합니다.
 
angevoyageur :
감사합니다.

일괄 최적화를 위해 수학 계산 모드 를 시도하고 있습니다. 해야 한다

;--- The "1 minute OHLC" mode
Model= 1

~이다

;--- The "1 minute OHLC" mode
Model= 3

ini 파일에?... .bat 파일을 실행하면 mt5가 시작되고 종료됩니다.

Documentation on MQL5: Standard Constants, Enumerations and Structures / Environment State / Symbol Properties
Documentation on MQL5: Standard Constants, Enumerations and Structures / Environment State / Symbol Properties
  • www.mql5.com
Standard Constants, Enumerations and Structures / Environment State / Symbol Properties - Documentation on MQL5
 
c_rts :

일괄 최적화를 위해 수학 계산 모드 를 시도하고 있습니다. 해야 한다

~이다

ini 파일에?... .bat 파일을 실행하면 mt5가 시작되고 종료됩니다.

예, 3이어야 합니다. . .

모델 - 틱 생성 모드 (0 - "모든 틱", 1 - "1분 OHLC", 2 - "공개 가격만", 3 - "수학 계산").

. . . 수동으로 시도하면 수학 계산과 함께 작동합니까?

 
RaptorUK :

예, 3이어야 합니다. . .

모델 - 틱 생성 모드 (0 - "모든 틱", 1 - "1분 OHLC", 2 - "공개 가격만", 3 - "수학 계산").

. . . 수동으로 시도하면 수학 계산과 함께 작동합니까?

예, 작동합니다. 한 가지 확실하지 않은 것은 ini 파일에 Model=... 또는 Mode=...여야 한다는 것입니다.