Put the EA n a loop, and it is no longer dependent upon ticks (after it gets the first one to start).
Use TimeLocal() inside the loop for timing.
while (IsStopped() == false){
... your code
Sleep(1000);
}
return(0);
}
I thought about something like that but wasn't sure how to accomplish it..
thanks so much..
thanks so much..
OH.. one other question.. Why do you suggest I use time local? Does this mean I
need to also check local time for placing the orders?
thanks
d
thanks
d
dwt1020:
OH.. one other question.. Why do you suggest I use time local? Does this mean I need to also check local time for placing the orders?
thanks
d
OH.. one other question.. Why do you suggest I use time local? Does this mean I need to also check local time for placing the orders?
thanks
d
TimeServer() gives the time of the last tick, which you weren't happy with.
OH NEVER MIND.. I HAD A BRAIN FART.. I FIGURED IT OUT..
thanks so much..
d
thanks so much..
d
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
Is besides writing a trade time window, is there a way around this? Perhaps someone else has already written an EA like this I can use as a template..
Thanks in Advance
David