Forex
Google

Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (94) Thread Tools Display Modes
  #191 (permalink)  
Old 05-16-2008, 08:14 AM
barnix barnix is offline
Senior Member
 
Join Date: Mar 2006
Posts: 696
barnix is on a distinguished road
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

Last edited by barnix : 05-16-2008 at 09:38 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #192 (permalink)  
Old 05-16-2008, 08:38 AM
barnix barnix is offline
Senior Member
 
Join Date: Mar 2006
Posts: 696
barnix is on a distinguished road
5 bar indicator
Attached Images
File Type: gif untitled25.gif (12.9 KB, 611 views)
Attached Files
File Type: mq4 5_bar.mq4 (2.6 KB, 129 views)
File Type: mq4 5_bar_.mq4 (2.6 KB, 114 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #193 (permalink)  
Old 05-16-2008, 08:56 AM
barnix barnix is offline
Senior Member
 
Join Date: Mar 2006
Posts: 696
barnix is on a distinguished road
Prediction model for SVM or PNN
Attached Images
File Type: gif untitled26.gif (21.3 KB, 610 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #194 (permalink)  
Old 05-16-2008, 03:18 PM
DaTrader DaTrader is offline
Junior Member
 
Join Date: Aug 2007
Posts: 3
DaTrader is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #195 (permalink)  
Old 05-16-2008, 06:31 PM
progressapama's Avatar
progressapama progressapama is offline
Junior Member
 
Join Date: Apr 2008
Posts: 25
progressapama is on a distinguished road
Quote:
Originally Posted by DaTrader View Post
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #196 (permalink)  
Old 05-16-2008, 06:58 PM
progressapama's Avatar
progressapama progressapama is offline
Junior Member
 
Join Date: Apr 2008
Posts: 25
progressapama is on a distinguished road
Quote:
Originally Posted by barnix View Post
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

Last edited by progressapama : 05-16-2008 at 07:01 PM. Reason: forgot attachment
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #197 (permalink)  
Old 05-16-2008, 07:04 PM
progressapama's Avatar
progressapama progressapama is offline
Junior Member
 
Join Date: Apr 2008
Posts: 25
progressapama is on a distinguished road
Quote:
Originally Posted by barnix View Post
Better indicators.
Hi Barnix,

Please can you post the indicator code for Better Indocators Better_MA2c

Thank you very much for the Great work
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #198 (permalink)  
Old 05-16-2008, 07:13 PM
elitecamper's Avatar
elitecamper elitecamper is offline
Senior Member
 
Join Date: May 2007
Posts: 132
elitecamper is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #199 (permalink)  
Old 05-16-2008, 07:31 PM
barnix barnix is offline
Senior Member
 
Join Date: Mar 2006
Posts: 696
barnix is on a distinguished road
Generating input files for SVM:
If (extern bool Ramdisk = false) then
generate input files in MT4 file directory
else
generate input files on ramdisk
Attached Files
File Type: mq4 5_bar_sig.mq4 (2.6 KB, 109 views)
File Type: mq4 5_bar_SVM_input.mq4 (12.0 KB, 124 views)
File Type: mqh gFiles.mqh (923 Bytes, 93 views)
File Type: zip mtguru1.zip (14.4 KB, 117 views)

Last edited by barnix : 05-16-2008 at 07:33 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #200 (permalink)  
Old 05-16-2008, 08:58 PM
progressapama's Avatar
progressapama progressapama is offline
Junior Member
 
Join Date: Apr 2008
Posts: 25
progressapama is on a distinguished road
Quote:
Originally Posted by barnix View Post
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/expert-advisors-metatrader-4/11096-better-nn-ea-development.html
Posted By For Type Date
Profile Better - Automated Trading Championship 2007 This thread Refback 07-14-2008 11:59 AM
פורום - STRATEGY BANK This thread Refback 07-14-2008 10:19 AM
Профиль Better - Automated Trading Championship 2007 This thread Refback 07-13-2008 08:48 AM
Bogie-NN-v8 (William Boatright - Wackena) | Facebook This thread Refback 07-12-2008 07:05 AM
:: Ķ - Better's EA - Զ״ھ This thread Refback 07-07-2008 02:32 AM
国外有人在研究PNN(神经EA)有点看不懂 - 「外汇交易」 - 『火线投资论坛』 外汇,外汇入门,外汇论坛,外汇社区,外汇保证金,外汇交易,投资,投资论坛,A股,股票 This thread Refback 07-01-2008 06:04 PM
פורום - STRATEGY BANK Post #41 Refback 06-28-2008 09:59 PM
:: Ķ - Better's EA - Զ״ھ This thread Refback 06-26-2008 12:41 PM
פורום - STRATEGY BANK This thread Refback 06-19-2008 12:03 PM
פורום - STRATEGY BANK Post #41 Refback 06-19-2008 10:43 AM
Forex Otomatik Islem Mekanizmalar - hisse.net : Ekonomi ve Borsa Forumu Post #18 Refback 06-18-2008 03:06 PM
Комментарии - Automated Trading Championship 2007 This thread Refback 06-16-2008 06:54 PM
Fraktale , Sieci neuronowe ,Algorytmy genetyczne... This thread Refback 06-06-2008 12:41 PM
:: Ķ - Better's EA - Զ״ھ This thread Refback 06-06-2008 12:44 AM
DELPHI与热动 - 频道预览 - 抓虾 This thread Refback 06-05-2008 08:24 PM
Профиль Better - 2007自动交易锦标赛 This thread Refback 05-23-2008 10:58 PM
Profile better - Automated Trading Championship 2007 This thread Refback 05-18-2008 12:21 PM
Профиль Better - Automated Trading Championship 2007 This thread Refback 05-12-2008 05:14 PM
Better's EA - Զ״ھ - This thread Refback 05-06-2008 03:56 AM
svm dll(Example for testing the svm dll) й˹ܴҵзֲ - ˹||Ŵ㷨|ģʽʶ|Ӿ|ҵ|Ŀ This thread Refback 05-01-2008 06:31 AM
Profile Better - Automated Trading Championship 2007 This thread Refback 04-14-2008 04:18 PM
EAForex :: View topic - Combo NN This thread Refback 04-14-2008 07:14 AM
Comments - Automated Trading Championship 2007 This thread Refback 03-30-2008 07:25 AM
Sieci neuronowe na giedzie Forex - system, dyskusja This thread Refback 03-23-2008 01:59 PM
svm dll(Example for testing the svm dll) й˹ܴҵзֲ - ˹||Ŵ㷨|ģʽʶ|Ӿ|ҵ|Ŀ This thread Refback 03-14-2008 09:24 AM
פורום - STRATEGY BANK This thread Refback 03-08-2008 06:05 PM
国外有人在研究PNN(神经EA)有点看不懂 - 「外汇交易」 - 『火线投资论坛』 外汇,外汇入门,外汇论坛,外汇社区,外汇保证金,外汇交易,投资,投资论坛,A股,股票 This thread Refback 03-02-2008 04:09 AM
Профиль Better - 2007自动交易锦标赛 This thread Refback 02-19-2008 02:36 AM
Комментарии - Automated Trading Championship 2007 This thread Refback 02-11-2008 09:25 AM
国外有人在 究PNN(神经EA)有点看不懂 - 「外汇交易」 - 『火线投资论坛』 外汇,外汇入门,外汇论坛,外汇社区,外汇保证金,外汇交易,投资,投资论坛,A股,股票 This thread Refback 02-10-2008 09:06 AM
פורום - STRATEGY BANK This thread Refback 01-29-2008 05:12 PM
Automated Trading Profit: The Automated Trading Championship 2007 Is Over! This thread Refback 01-29-2008 04:19 PM
Comments - Automated Trading Championship 2007 This thread Refback 01-27-2008 04:22 PM
פורום - STRATEGY BANK This thread Refback 01-26-2008 08:04 PM
Profile Better - Automated Trading Championship 2007 This thread Refback 01-25-2008 01:36 PM
Profile Better - Automated Trading Championship 2007 This thread Refback 01-25-2008 01:36 PM
Профиль Better - Automated Trading Championship 2007 This thread Refback 01-24-2008 12:12 PM
Profile Better - Automated Trading Championship 2007 This thread Refback 01-16-2008 01:33 PM
国外有人在研究PNN(神经EA)有点看不懂 - 「外汇交易」 - 『火线投资论坛』 外汇,外汇入门,外汇论坛,外汇社区,外汇保证金,外汇交易,投资,投资论坛,A股,股票 This thread Refback 01-16-2008 05:51 AM
国外有人在研究PNN(神经EA)有点看不懂 - 「外汇交易」 - 『火线投资论坛』 外汇,外汇入门,外汇论坛,外汇社区,外汇保证金,外汇交易,投资,投资论坛,A股,股票 This thread Refback 01-15-2008 08:10 PM
国外有人在研究PNN(神经EA)有点看不懂 - 「外汇交易」 - 『火线投资论坛』 外汇,外汇入门,外汇论坛,外汇社区,外汇保证金,外汇交易,投资,投资论坛,A股,股票 This thread Refback 01-12-2008 04:02 PM
国外有人在研究PNN(神经EA)有点看不懂 - 「外汇交易」 - 『火线投资论坛』 外汇,外汇入门,外汇论坛,外汇社区,外汇保证金,外汇交易,投资,投资论坛,A股,股票 This thread Refback 01-11-2008 10:59 PM
国外有人在研究PNN(神经EA)有点看不懂 - 「外汇交易」 - 『火线