Forex



Go Back   Forex Trading > Downloads > Tools and utilities
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-19-2006, 07:55 AM
leutzuro's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 318
leutzuro is on a distinguished road
Please Script request

Hello coders
If is posible to code a script to save me all data what i have avaiable on my metatrader4
for example i open eur/usd 4H chart i put the script and to save me data for eur/usd on CSV format fille and to update evry 4H
If i put the script on 5M timeframe to be update evry 5 min and so on for all timeframe or pair where i put the script
Thanks Very much
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
  #2 (permalink)  
Old 03-19-2006, 10:09 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,058
Blog Entries: 241
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by leutzuro
Hello coders
If is posible to code a script to save me all data what i have avaiable on my metatrader4
for example i open eur/usd 4H chart i put the script and to save me data for eur/usd on CSV format fille and to update evry 4H
If i put the script on 5M timeframe to be update evry 5 min and so on for all timeframe or pair where i put the script
Thanks Very much
I do not know it is fully identical to your idea or not but I found the folowing:
- OutQuotings.mq4 is script to download the data for selected period into the file;
- Currency_Loader.mq4 is EA.
Attached Files
File Type: mq4 OutQuotings.mq4 (2.5 KB, 54 views)
File Type: mq4 Currency_Loader.mq4 (28.3 KB, 60 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
  #3 (permalink)  
Old 03-19-2006, 04:23 PM
leutzuro's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 318
leutzuro is on a distinguished road
Quote:
Originally Posted by newdigital
I do not know it is fully identical to your idea or not but I found the folowing:
- OutQuotings.mq4 is script to download the data for selected period into the file;
- Currency_Loader.mq4 is EA.
OutQuotings.mq4 works but i dont know if make update evry hour or minutes, depends what timeframe i use
i will test when the market is open

Currency_Loader.mq4 i really dont know what doing because dont save any fille or somethink like this

any help?
thanks for sharing
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
  #4 (permalink)  
Old 03-19-2006, 04:51 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,058
Blog Entries: 241
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by leutzuro
OutQuotings.mq4 works but i dont know if make update evry hour or minutes, depends what timeframe i use
i will test when the market is open

Currency_Loader.mq4 i really dont know what doing because dont save any fille or somethink like this

any help?
thanks for sharing
Currency_Loader.mq4 is EA. Not a script.
I open this EA in MetaEditor and it is written the following:

Code:
extern int  BarsMin=100; // Minimal number bars in history which might be loaded into files.
extern int MaxBarsInFile = 20000; // Max Bars for loading into file.
extern int FrequencyUpdate = 60; // this value identify frequency update for files in sec.
extern bool LoadM1  = false;       //Timeframes of securities which data will be loaded onto File if True       
extern bool LoadM5  = false;
extern bool LoadM15 = false;
extern bool LoadM30 = false;
extern bool LoadH1  = false;
extern bool LoadH4  = false;
extern bool LoadD1  = false;
extern bool LoadW1  = false;
extern bool LoadMN  = false;
extern bool AllowInfo = True;
extern bool AllowLogFile = True;
As I understand from the code this EA is storing the data to csv file and probably updating as well.
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
  #5 (permalink)  
Old 03-19-2006, 05:19 PM
leutzuro's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 318
leutzuro is on a distinguished road
Quote:
Originally Posted by newdigital
Currency_Loader.mq4 is EA. Not a script.
I open this EA in MetaEditor and it is written the following:

Code:
extern int  BarsMin=100; // Minimal number bars in history which might be loaded into files.
extern int MaxBarsInFile = 20000; // Max Bars for loading into file.
extern int FrequencyUpdate = 60; // this value identify frequency update for files in sec.
extern bool LoadM1  = false;       //Timeframes of securities which data will be loaded onto File if True       
extern bool LoadM5  = false;
extern bool LoadM15 = false;
extern bool LoadM30 = false;
extern bool LoadH1  = false;
extern bool LoadH4  = false;
extern bool LoadD1  = false;
extern bool LoadW1  = false;
extern bool LoadMN  = false;
extern bool AllowInfo = True;
extern bool AllowLogFile = True;
As I understand from the code this EA is storing the data to csv file and probably updating as well.
i know is not a script but the EA dont save me any CSV fille
is very strange
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
  #6 (permalink)  
Old 03-19-2006, 05:24 PM
beerhunter's Avatar
Member
 
Join Date: Nov 2005
Posts: 43
beerhunter is on a distinguished road
If it's EA, you will have to wait until ticks comes (market opens tonight)
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
  #7 (permalink)  
Old 03-19-2006, 05:44 PM
leutzuro's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 318
leutzuro is on a distinguished road
Quote:
Originally Posted by beerhunter
If it's EA, you will have to wait until ticks comes (market opens tonight)
thanks i will waithing to see what happen
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
  #8 (permalink)  
Old 03-20-2006, 09:01 AM
leutzuro's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 318
leutzuro is on a distinguished road
the Currency_Loader.mq4 EA do a great joob but on the first line of the CSV fille i have this "Date" "Time" "Open" "High" "Low" "Close" "Volume"
is posible to modify the EA to dont show me this
i need the CSV fille to start directly with the right line
2006.02.15,23:00,0.8547,0.8557,0.8545,0.8554,118

thanks and i hope you understand what i mean
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
  #9 (permalink)  
Old 03-20-2006, 09:28 AM
beerhunter's Avatar
Member
 
Join Date: Nov 2005
Posts: 43
beerhunter is on a distinguished road
Try to comment "FirstLine", see below:

PHP Code:
int init(){//1
x="\"";
x2="\\";
iDigits=MarketInfo(Symbol(),MODE_DIGITS);
FilePatch "Export_History"+x2+Symbol()+x2
FileNameM1 FilePatch+Symbol()+"_"+"M1"+".csv"
FileNameM5 FilePatch+Symbol()+"_"+"M5"+".csv"
FileNameM15 FilePatch+Symbol()+"_"+"M15"+".csv"
FileNameM30 FilePatch+Symbol()+"_"+"M30"+".csv"
FileNameH1 FilePatch+Symbol()+"_"+"H1"+".csv"
FileNameH4 FilePatch+Symbol()+"_"+"H4"+".csv"
FileNameD1 FilePatch+Symbol()+"_"+"D1"+".csv"
FileNameW1 FilePatch+Symbol()+"_"+"W1"+".csv"
FileNameMN FilePatch+Symbol()+"_"+"MN"+".csv"
//FirstLine =  ""+x+"Date"+x+" "+x+"Time"+x+" "+x+"Open"+x+" "+x+"High"+x+" "+x+"Low"+x+" "+x+"Close"+x+" "+x+"Volume"+x;
ct=CurTime()+61;
return(
0);} 
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


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Hedge position- script request SloForeX Martingale/Average Cost and Hedging 9 09-19-2009 09:02 PM
Script Programming Request MNFX Metatrader 4 2 02-13-2007 05:11 PM
T/p S/L ....script hitman Metatrader 4 5 12-14-2006 10:37 PM
Script halfasleep General Discussion 4 12-01-2006 03:44 PM


All times are GMT. The time now is 04:27 PM.



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