Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4






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
 
Thread Tools Display Modes
  #501 (permalink)  
Old 12-12-2008, 10:13 AM
Junior Member
 
Join Date: Nov 2007
Posts: 1
solaris7 is on a distinguished road
Smile

Quote:
Originally Posted by barnix View Post
Script for generate
historical data in csv format.
AUDUSD CSV files m1 m5 h1 h4
eDisk.ro - File hosting | Gazduire gratuita pentru fisiere
EURCHF CSV files m1 m5 h1 h4
eDisk.ro - File hosting | Gazduire gratuita pentru fisiere
EURJPY CSV files m1 m5 h1 h4
eDisk.ro - File hosting | Gazduire gratuita pentru fisiere
EURUSD CSV files m1 m5 h1 h4
eDisk.ro - File hosting | Gazduire gratuita pentru fisiere
more historical data CSV format file can download from this url
neuraltrader - Google Code
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #502 (permalink)  
Old 12-13-2008, 09:35 AM
Senior Member
 
Join Date: Mar 2006
Posts: 1,064
barnix is on a distinguished road
betterea - Google Code

historical data in csv format.
FXDD
2005.01.10 - 2008.11.14

AUDUSD CSV files m1 m5 h1 h4
EURCHF CSV files m1 m5 h1 h4
EURJPY CSV files m1 m5 h1 h4
EURUSD CSV files m1 m5 h1 h4
GBPUSD CSV files m1 m5 h1 h4

Last edited by barnix; 12-13-2008 at 09:39 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #503 (permalink)  
Old 12-14-2008, 09:14 AM
Senior Member
 
Join Date: Mar 2006
Posts: 1,064
barnix is on a distinguished road
Creating SQLite3 database from csv files:
1.Export MT4 data to csv file. (script Close_toFile2.mq4)
2.Create SQLite3 database:
$ sqlite3 date4 <444.txt
3.Import csv files in SQLite3 tables:
$ sqlite3 date4 <444_add.txt
Attached Files
File Type: mq4 Close_to_File2.mq4 (3.4 KB, 35 views)
File Type: txt 444.txt (2.9 KB, 19 views)
File Type: txt 444_add.txt (1.2 KB, 19 views)

Last edited by barnix; 12-14-2008 at 09:19 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #504 (permalink)  
Old 12-14-2008, 02:46 PM
Senior Member
 
Join Date: Mar 2006
Posts: 1,064
barnix is on a distinguished road
Creating MySql database from csv files:
1.Export MT4 data to csv file. (script Close_toFile2.mq4)
2.Create MySql database:
$ mysqladmin --user='root' --password='botvos' create mt4data1
$ mysql --user='root' --password='botvos' mt4data1 < create1.txt
3.Import csv files in MySql tables:
$ mysqlimport --local --fields-terminated-by=',' --lines-terminated-by='\r\n' --user='root' --password='botvos' --delete --columns='time,open,low,high,close,volume' mt4data1 '/home/barnix/cpp/date2/eurusd/EURUSD240.csv'
Attached Files
File Type: txt cre1.txt (125 Bytes, 11 views)
File Type: txt create1.txt (12.6 KB, 11 views)
File Type: txt imp1.txt (4.2 KB, 10 views)

Last edited by barnix; 12-14-2008 at 03:34 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #505 (permalink)  
Old 12-15-2008, 06:21 AM
Senior Member
 
Join Date: Mar 2006
Posts: 1,064
barnix is on a distinguished road
FXDD Symbolset:
1.Copy forexall.set file to files directory
2.Run SymbolList_fromSet.mq4 script
SYMBOL, POINT, DIGITS, SPREAD, STOPLEVEL, LOTSIZE, TICKVALUE, TICKSIZE, SWAPLONG, SWAPSHORT, STARTING, EXPIRATION, TRADEALLOWED, MINLOT, LOTSTEP,MAXLOT,MARGININIT,MARGINMAINTENANCE, MARGINREQUIRED
USDCHF,0.0001,4,3,4,100000,8.54773912,0.0001,0,-4.95,0,0,1,0.01,0.01,50,0,0,500
GBPUSD,0.0001,4,4,4,100000,10,0.0001,3.4,-5.44,0,0,1,0.01,0.01,50,0,0,752.85
USDJPY,0.01,2,3,4,100000,10.98177026,0.01,-2.7,0,0,0,1,0.01,0.01,50,0,0,500
EURUSD,0.0001,4,2,4,100000,10,0.0001,3.14,-5.49,0,0,1,0.01,0.01,50,0,0,673.55
AUDUSD,0.0001,4,5,4,100000,10,0.0001,10,-14.62,0,0,1,0.01,0.01,50,0,0,333.7
USDCAD,0.0001,4,5,4,100000,8.10372771,0.0001,-6.3,3.15,0,0,1,0.01,0.01,50,0,0,500
EURCHF,0.0001,4,4,4,100000,8.54773912,0.0001,3.23,-8.6,0,0,1,0.01,0.01,50,0,0,673.5
EURGBP,0.0001,4,3,4,100000,15.053,0.0001,0,-2.08,0,0,1,0.01,0.01,50,0,0,673.5
EURJPY,0.01,2,5,4,100000,10.98177026,0.01,4.24,-7.8,0,0,1,0.01,0.01,50,0,0,673.5
EURCAD,0.0001,4,9,10,100000,8.10372771,0.0001,0,-4.2,0,0,1,0.01,0.01,50,0,0,673.5
EURAUD,0.0001,4,8,10,100000,6.669,0.0001,-8.92,3.98,0,0,1,0.01,0.01,50,0,0,673.5
GBPCHF,0.0001,4,9,10,100000,8.54773912,0.0001,2.36 ,-6.17,0,0,1,0.01,0.01,50,0,0,752.75
GBPJPY,0.01,2,9,4,100000,10.98177026,0.01,4.56,-7.87,0,0,1,0.01,0.01,50,0,0,752.75
CHFJPY,0.01,2,4,10,100000,10.98177026,0.01,-2.59,0,0,0,1,0.01,0.01,50,0,0,427.33

MARGINREQUIRED
You want to buy 100,000 Euros with a current price of 1.35 USD, and your broker requires a 1% margin.
Required Margin = 100,000 x 1.35 x 0.01 = $1,350.00 USD.
marginRequired = Lots * MarketInfo(Symbol(), MODE_MARGINREQUIRED);
Maximum Lot Size = AccountFreeMargin() / MARGINREQUIRED
TICKVALUE
Lot to lose 100 points= AccountFreeMargin() / 100 / TICKVALUE
Attached Files
File Type: set forexall.set (112 Bytes, 16 views)
File Type: mq4 SymbolList_fromSet.mq4 (3.6 KB, 28 views)
File Type: mq4 SymbolList_fromSet_mini.mq4 (3.6 KB, 26 views)

Last edited by barnix; 12-15-2008 at 11:13 AM. Reason: added th space as it is impossible to moderate - too long line. I am sorry.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #506 (permalink)  
Old 12-15-2008, 08:42 AM
Senior Member
 
Join Date: Mar 2006
Posts: 1,064
barnix is on a distinguished road
3.Import csv file to Mysql
a.)
Create tables Symbols_Normal and Symbols_Mini
mysql --user='root' --password='botvos' mt4data1 < create2.txt
b.)Import csv data
mysqlimport --local --verbose --fields-terminated-by=',' --lines-terminated-by='\r\n' --user='root' --password='botvos' --delete --columns='symbol, point, digits, spread, stoplevel, lotsize, tickvalue, ticksize, swaplong, swapshort, start, expiration, tradeallowed, minlot, lotstep, maxlot, margininit, marginmaintenance, marginrequired' mt4data1 '/home/barnix/cpp/date2/Symbols_Mini.csv'

Download MYSql database from:
http://code.google.com/p/betterea/downloads/list
Attached Files
File Type: txt cre2.txt (126 Bytes, 13 views)
File Type: txt imp2.txt (745 Bytes, 12 views)

Last edited by barnix; 12-15-2008 at 10:14 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #507 (permalink)  
Old 12-16-2008, 12:31 AM
Member
 
Join Date: Feb 2006
Posts: 81
odirlei is on a distinguished road
Hi Barna.

Are you still Forward testing your EA?

Regards.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #508 (permalink)  
Old 12-16-2008, 02:30 AM
Senior Member
 
Join Date: Mar 2006
Posts: 1,064
barnix is on a distinguished road
Quote:
Originally Posted by odirlei View Post
Hi Barna.

Are you still Forward testing your EA?

Regards.
No I stopped the forwrd test.
I have last results:
Attached Images
File Type: gif DetailedStatement.gif (6.9 KB, 673 views)
Attached Files
File Type: htm DetailedStatement.htm (123.0 KB, 20 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #509 (permalink)  
Old 12-16-2008, 06:50 PM
OnTheRoad's Avatar
Member
 
Join Date: Apr 2008
Posts: 53
OnTheRoad is on a distinguished road
Spaghetti Indicator !!! (28 Pair Relative Strength )

Hi Barna,
here is a link to my two Indicators, (Sentiment_all_v2 , Sentiment_Cpair_v2 )
set them as post1 on MIG demo, use TF1h , TF5m ,setting 5,2,2 , 144,
crossing white to 0 level in TF5m in direction of TF1h, good entry and exit,
notice, it needs powerfull pc,
OTR
regards.

Spaghetti Indicator !!! (28 Pair Relative Strength )
Attached Images
File Type: gif ej_m5_09.gif (24.6 KB, 626 views)
Attached Files
File Type: mq4 Sentiment_Cpair_v2.mq4 (9.0 KB, 78 views)
File Type: ex4 Sentiment_Cpair_v2.ex4 (7.3 KB, 47 views)
File Type: ex4 Sentiment_all_v2.ex4 (38.9 KB, 63 views)
File Type: mq4 Activity_indic_1.mq4 (5.3 KB, 68 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #510 (permalink)  
Old 12-17-2008, 08:30 AM
Senior Member
 
Join Date: Mar 2006
Posts: 1,064
barnix is on a distinguished road
Thank You. It is a great work.
Please see in your e-mail inbox my answer.

Quote:
Originally Posted by OnTheRoad View Post
Hi Barna,
here is a link to my two Indicators, (Sentiment_all_v2 , Sentiment_Cpair_v2 )
set them as post1 on MIG demo, use TF1h , TF5m ,setting 5,2,2 , 144,
crossing white to 0 level in TF5m in direction of TF1h, good entry and exit,
notice, it needs powerfull pc,
OTR
regards.

Spaghetti Indicator !!! (28 Pair Relative Strength )
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
better ea, neural network, svm forex, cache:Jtu9ppOwDvsJ:www.forex-tsd.com/expert-advisors-metatrader-4/11096-better-nn-ea-development.htm, better, nn ea, better ea development, forex better ea, cortex, forex, Better NN EA, better development, better NN development, wackena NN-EA, libsvm, ea better, kalman, auto-scalper, Forex Auto-Scalper, search, Abdul Rahman EA Forex, fapturbo, betterea, GaussPNN, neuro, MT4_FANN, Auto-Scalper.ex4, better nn, Matrix NN ea

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
BrainSystem: indicators development newdigital Brain Systems 58 08-22-2009 09:52 PM
Zigzag system development newdigital Indicators - Metatrader 3 14 05-20-2009 05:52 AM
StochThreshold | ... under development wibitiens Indicators - Metatrader 4 0 05-26-2007 03:26 AM
Brainwashing: system development newdigital Brain Systems 45 11-24-2006 12:55 PM
Help with simple EA idea development Spider4896 Metatrader 4 2 04-21-2006 02:23 PM


All times are GMT. The time now is 12:21 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.