Start running EA at set times
|
|||
|
Hi I was wondering if anyone knows how to/ or where to find code that only starts running at certain times of the day. I'm trying to code it to start at 2am EST then stop at 2pm EST. I would be very grateful if anyone can help or point me to the right direction.
Here's the algorithm I came up with while (current time is 2am && current time is not 2pm) { do stuff... } I'm not sure how the while loop reference to the sever time as time would have to be perfect communication between client and server. (i think) a gitch could create a while(1) loop. Does anyone have a soln to this or an easier way to do it? Kind Regards Andrew |
![]() |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Have indicator running, need EA help | Bill R | System Coding | 3 | 10-08-2007 05:36 PM |
| How to start in forex | monann | Forex Beginners | 8 | 08-14-2007 11:25 PM |
| many pltaforms running in the same time | marcelo0 | MetaTrader and ZeroCode | 1 | 11-25-2006 08:17 PM |
| MT4 int start() loop varable import possible? | lowphat | MetaTrader and ZeroCode | 0 | 09-10-2006 11:31 PM |
| Facility to trade at different times for multiples | Rastarr | MetaTrader and ZeroCode | 5 | 06-15-2005 07:15 AM |
All times are GMT. The time now is 09:44 PM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now





a gitch could create a while(1) loop. 


Linear Mode


