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 muchI 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.
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
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 sharingCurrency_Loader.mq4 is EA. Not a script.
I open this EA in MetaEditor and it is written the following:
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.
Currency_Loader.mq4 is EA. Not a script.
I open this EA in MetaEditor and it is written the following:
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;i know is not a script but the EA dont save me any CSV fille
is very strange
If it's EA, you will have to wait until ticks comes (market opens tonight)
If it's EA, you will have to wait until ticks comes (market opens tonight)
thanks i will waithing to see what happen
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
Try to comment "FirstLine", see below:
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);}
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
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