Better NN EA development - page 20 1...131415161718192021222324252627...87 New comment barnix 2008.05.16 08:56 #191 Prediction model for SVM or PNN Files: untitled26.gif 22 kb barnix 2008.05.16 09:38 #192 The run.bat command lines: SET C=%1 ====>C value for SVM SET gamma=%2 ====>gamma value for SVM SET symbol=%3 ====>symbol used SET dir=%4 ====>input files directory SET sig=%5 ====>signal number SET bars=%6 ====>nr of bars (not used) SET direxe=%7 ====>svm program dir SET dirprd=%8 ====>output file dir (prediction dir) SET dirout=%9 ====>working dir IF NOT EXIST %dir%\train%sig% md %dir%\train%sig% IF NOT EXIST %dir%\test%sig% md %dir%\test%sig% IF NOT EXIST %dir%\s%sig% md %dir%\s%sig% IF NOT EXIST %dirout%\scale%sig% md %dirout%\scale%sig% IF NOT EXIST %dirout%\model%sig% md %dirout%\model%sig% IF NOT EXIST %dirprd%\pred%sig% md %dirprd%\pred%sig% %direxe%\svmscale.exe -s %dirout%\scale%sig%\%symbol%.rg %dir%\train%sig%\%symbol% >%dirout%\scale%sig%\%symbol%.libsvm xcopy %dir%\test%sig%\%symbol%.t %dirprd%\pred%sig% /y xcopy %dir%\test%sig%\%symbol%.cl %dirprd%\pred%sig% /y xcopy %dir%\test%sig%\%symbol%.fw %dirprd%\pred%sig% /y %direxe%\svmscale.exe -r %dirout%\scale%sig%\%symbol%.rg %dir%\test%sig%\%symbol% > %dir%\test%sig%\%symbol%.libsvm %direxe%\svmtrain.exe -c %C% -g %gamma% %dirout%\scale%sig%\%symbol%.libsvm %dirout%\model%sig%\%symbol%.mod %direxe%\svmpred.exe %dir%\test%sig%\%symbol%.libsvm %dirout%\model%sig%\%symbol%.mod %dirprd%\pred%sig%\%symbol%.prd HELP !!!! convert an New MetaTrader 4 Client Solution for Wine users DaTrader 2008.05.16 15:18 #193 I believe it is asking for the following files that are not created or not there; cl.libsvm.t cl.libsvm.cl cl.libsvm.fw [Deleted] 2008.05.16 18:31 #194 DaTrader:I believe it is asking for the following files that are not created or not there; cl.libsvm.t cl.libsvm.cl cl.libsvm.fw Hi Barnix, The file b4_dd_3.bat calls the run.bat file . Where do you find the files cl.libsvm.t cl.libsvm.cl cl.libsvm.fw or how do you create them. I could not find this files or how do you create them. Also can you post the code for the Better_M2 indicators that you posted the screenshot earlier. Thank you so much for your great work. i am really greatful and thankful The Murrey Math Trading XO_Method REVISED Optimization Result Different From [Deleted] 2008.05.16 19:01 #195 barnix:The run.bat command lines: SET C=%1 ====>C value for SVM SET gamma=%2 ====>gamma value for SVM SET symbol=%3 ====>symbol used SET dir=%4 ====>input files directory SET sig=%5 ====>signal number SET bars=%6 ====>nr of bars (not used) SET direxe=%7 ====>svm program dir SET dirprd=%8 ====>output file dir (prediction dir) SET dirout=%9 ====>working dir IF NOT EXIST %dir%\train%sig% md %dir%\train%sig% IF NOT EXIST %dir%\test%sig% md %dir%\test%sig% IF NOT EXIST %dir%\s%sig% md %dir%\s%sig% IF NOT EXIST %dirout%\scale%sig% md %dirout%\scale%sig% IF NOT EXIST %dirout%\model%sig% md %dirout%\model%sig% IF NOT EXIST %dirprd%\pred%sig% md %dirprd%\pred%sig% %direxe%\svmscale.exe -s %dirout%\scale%sig%\%symbol%.rg %dir%\train%sig%\%symbol% >%dirout%\scale%sig%\%symbol%.libsvm xcopy %dir%\test%sig%\%symbol%.t %dirprd%\pred%sig% /y xcopy %dir%\test%sig%\%symbol%.cl %dirprd%\pred%sig% /y xcopy %dir%\test%sig%\%symbol%.fw %dirprd%\pred%sig% /y %direxe%\svmscale.exe -r %dirout%\scale%sig%\%symbol%.rg %dir%\test%sig%\%symbol% > %dir%\test%sig%\%symbol%.libsvm %direxe%\svmtrain.exe -c %C% -g %gamma% %dirout%\scale%sig%\%symbol%.libsvm %dirout%\model%sig%\%symbol%.mod %direxe%\svmpred.exe %dir%\test%sig%\%symbol%.libsvm %dirout%\model%sig%\%symbol%.mod %dirprd%\pred%sig%\%symbol%.prd Hi Barnix, b4_dd_3.bat calls run.bat . Do i have to manually edit the run.bat to input the values for the SET e.g SET C=%1 ====>C value for SVM e.g 1 SET gamma=%2 ====>gamma value for SVM e.g 0.2 SET symbol=%3 ====>symbol used e.g EURUSD SET dir=%4 ====>input files directory e.g C:\svmlib3\input SET sig=%5 ====>signal number e.g 5 SET bars=%6 ====>nr of bars (not used) e.g 500 SET direxe=%7 ====>svm program dir e.g C:\svmlib3 SET dirprd=%8 ====>output file dir (prediction dir) e.g C:\svmlib3\predoutput SET dirout=%9 ====>working dir e.g C:\svmlib3\output if you can explain that would be great . Please can you also post the Indicators code for the Better_Ma2 moving average indicators that you posted the screenshot earlier Thank you very much strategy tester input help How to create rank How to create rank [Deleted] 2008.05.16 19:04 #196 barnix:Better indicators. Hi Barnix, Please can you post the indicator code for Better Indocators Better_MA2c Thank you very much for the Great work [Deleted] 2008.05.16 19:13 #197 thank you barnix and superluz for the stuff you posted. I found it is good learning material, I hope to be able to return the favor. barnix 2008.05.16 19:33 #198 Generating input files for SVM: If (extern bool Ramdisk = false) then generate input files in MT4 file directory else generate input files on ramdisk Files: 5_bar_sig.mq4 3 kb 5_bar_svm_input.mq4 12 kb gfiles.mqh 1 kb mtguru1_1.zip 15 kb [Deleted] 2008.05.16 20:58 #199 barnix:Generating input files for SVM: If (extern bool Ramdisk = false) then generate input files in MT4 file directory else generate input files on ramdisk Hi Barnix, Thank you very much for the SVM indicator i really do appreciate it for the Great work your are doing to the forum . Thank you once again. Please can you also post the Better_MA2c Indicators code Thank you very much aegis 2008.05.16 21:03 #200 How do you know that these are exactly the same indicators/parameters that Better uses? 1...131415161718192021222324252627...87 New comment
Prediction model for SVM or PNN
The run.bat command lines:
SET C=%1 ====>C value for SVM
SET gamma=%2 ====>gamma value for SVM
SET symbol=%3 ====>symbol used
SET dir=%4 ====>input files directory
SET sig=%5 ====>signal number
SET bars=%6 ====>nr of bars (not used)
SET direxe=%7 ====>svm program dir
SET dirprd=%8 ====>output file dir (prediction dir)
SET dirout=%9 ====>working dir
IF NOT EXIST %dir%\train%sig% md %dir%\train%sig%
IF NOT EXIST %dir%\test%sig% md %dir%\test%sig%
IF NOT EXIST %dir%\s%sig% md %dir%\s%sig%
IF NOT EXIST %dirout%\scale%sig% md %dirout%\scale%sig%
IF NOT EXIST %dirout%\model%sig% md %dirout%\model%sig%
IF NOT EXIST %dirprd%\pred%sig% md %dirprd%\pred%sig%
%direxe%\svmscale.exe -s %dirout%\scale%sig%\%symbol%.rg %dir%\train%sig%\%symbol% >%dirout%\scale%sig%\%symbol%.libsvm
xcopy %dir%\test%sig%\%symbol%.t %dirprd%\pred%sig% /y
xcopy %dir%\test%sig%\%symbol%.cl %dirprd%\pred%sig% /y
xcopy %dir%\test%sig%\%symbol%.fw %dirprd%\pred%sig% /y
%direxe%\svmscale.exe -r %dirout%\scale%sig%\%symbol%.rg %dir%\test%sig%\%symbol% > %dir%\test%sig%\%symbol%.libsvm
%direxe%\svmtrain.exe -c %C% -g %gamma% %dirout%\scale%sig%\%symbol%.libsvm %dirout%\model%sig%\%symbol%.mod
%direxe%\svmpred.exe %dir%\test%sig%\%symbol%.libsvm %dirout%\model%sig%\%symbol%.mod %dirprd%\pred%sig%\%symbol%.prd
I believe it is asking for the following files that are not created or not there;
cl.libsvm.t
cl.libsvm.cl
cl.libsvm.fw
I believe it is asking for the following files that are not created or not there;
cl.libsvm.t
cl.libsvm.cl
cl.libsvm.fwHi Barnix,
The file b4_dd_3.bat calls the run.bat file . Where do you find the files
cl.libsvm.t
cl.libsvm.cl
cl.libsvm.fw
or how do you create them. I could not find this files or how do you create them.
Also can you post the code for the Better_M2 indicators that you posted the screenshot earlier.
Thank you so much for your great work. i am really greatful and thankful
The run.bat command lines:
SET C=%1 ====>C value for SVM
SET gamma=%2 ====>gamma value for SVM
SET symbol=%3 ====>symbol used
SET dir=%4 ====>input files directory
SET sig=%5 ====>signal number
SET bars=%6 ====>nr of bars (not used)
SET direxe=%7 ====>svm program dir
SET dirprd=%8 ====>output file dir (prediction dir)
SET dirout=%9 ====>working dir
IF NOT EXIST %dir%\train%sig% md %dir%\train%sig%
IF NOT EXIST %dir%\test%sig% md %dir%\test%sig%
IF NOT EXIST %dir%\s%sig% md %dir%\s%sig%
IF NOT EXIST %dirout%\scale%sig% md %dirout%\scale%sig%
IF NOT EXIST %dirout%\model%sig% md %dirout%\model%sig%
IF NOT EXIST %dirprd%\pred%sig% md %dirprd%\pred%sig%
%direxe%\svmscale.exe -s %dirout%\scale%sig%\%symbol%.rg %dir%\train%sig%\%symbol% >%dirout%\scale%sig%\%symbol%.libsvm
xcopy %dir%\test%sig%\%symbol%.t %dirprd%\pred%sig% /y
xcopy %dir%\test%sig%\%symbol%.cl %dirprd%\pred%sig% /y
xcopy %dir%\test%sig%\%symbol%.fw %dirprd%\pred%sig% /y
%direxe%\svmscale.exe -r %dirout%\scale%sig%\%symbol%.rg %dir%\test%sig%\%symbol% > %dir%\test%sig%\%symbol%.libsvm
%direxe%\svmtrain.exe -c %C% -g %gamma% %dirout%\scale%sig%\%symbol%.libsvm %dirout%\model%sig%\%symbol%.mod
%direxe%\svmpred.exe %dir%\test%sig%\%symbol%.libsvm %dirout%\model%sig%\%symbol%.mod %dirprd%\pred%sig%\%symbol%.prdHi Barnix,
b4_dd_3.bat calls run.bat . Do i have to manually edit the run.bat to input the values for the SET e.g
SET C=%1 ====>C value for SVM e.g 1
SET gamma=%2 ====>gamma value for SVM e.g 0.2
SET symbol=%3 ====>symbol used e.g EURUSD
SET dir=%4 ====>input files directory e.g C:\svmlib3\input
SET sig=%5 ====>signal number e.g 5
SET bars=%6 ====>nr of bars (not used) e.g 500
SET direxe=%7 ====>svm program dir e.g C:\svmlib3
SET dirprd=%8 ====>output file dir (prediction dir) e.g C:\svmlib3\predoutput
SET dirout=%9 ====>working dir e.g C:\svmlib3\output
if you can explain that would be great .
Please can you also post the Indicators code for the Better_Ma2 moving average indicators that you posted the screenshot earlier
Thank you very much
Better indicators.
Hi Barnix,
Please can you post the indicator code for Better Indocators Better_MA2c
Thank you very much for the Great work
thank you barnix and superluz for the stuff you posted.
I found it is good learning material,
I hope to be able to return the favor.
Generating input files for SVM:
If (extern bool Ramdisk = false) then
generate input files in MT4 file directory
else
generate input files on ramdisk
Generating input files for SVM:
If (extern bool Ramdisk = false) then
generate input files in MT4 file directory
else
generate input files on ramdiskHi Barnix,
Thank you very much for the SVM indicator i really do appreciate it for the Great work your are doing to the forum . Thank you once again.
Please can you also post the Better_MA2c Indicators code
Thank you very much
How do you know that these are exactly the same indicators/parameters that Better uses?