| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Quote:
anyway 1st you need to know the server time then convert it to the gmt time and use the iTime(Symbol(),PERIOD_D1,0) as a reference , it's the 00:00 O'clock of the server time if server time is on gmt +2 then only allow to trade only after iTime(Symbol(),PERIOD_D1,0)+(10*60*60) like if(CurTime()>iTime(Symbol(),PERIOD_D1,0)+(10*60*60 )) { OrderSend(.....); } ------------- hope it helps |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Market hour | svirgo | Metatrader 4 | 2 | 05-14-2007 05:48 AM |
| Hour buy and sell EA | jyrik | Expert Advisors - Metatrader 4 | 0 | 12-12-2006 02:40 PM |
| 4 hour data | fxdk | Metatrader 4 | 2 | 05-02-2006 02:22 PM |
| How to use Hour() function | Maury74 | Questions | 3 | 12-28-2005 01:35 PM |
| 24 hour devider | Audio | Metatrader 4 | 9 | 12-05-2005 02:56 PM |