yes
int start(){
while(IsStopped() == false){
... your ea code
...Sleep( sleepTime);
}
return(0);
}
ivango wrote >>
I want to make an expert that writes price data at specific time intervals, but so far, it only loops when a new tick of data comes in. Is there any way that it will loop constantly keeping track of the time, and then write data, like every five mintues, for a five mintue chart, etc.?
Snag with that is 'the data' you have could be out of date unless you do a RefreshRates()

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I want to make an expert that writes price data at specific time intervals, but so far, it only loops when a new tick of data comes in. Is there any way that it will loop constantly keeping track of the time, and then write data, like every five mintues, for a five mintue chart, etc.?