Experts: Time sync FORTS

 

Time sync FORTS:

The Expert Advisor synchronizes the local computer time in the interval from 9:50 to 9:59 (before the beginning of the morning session) with the MetaTrader 5 FORTS server time.

Author: prostotrader

 

Ping should have been divided by 2

Basement fix

Added

It is very desirable that in the Market Overview the current

RTS, Si, BR futures

Added

V1.01

Futures are added automatically

BR futures are set manually

Added

It is better to install the Expert Advisor on low-liquid fmutures, such as

URKA-3.17, CU-3.17, UUAH-3.17

Files:
 
Version 1.03
Files:
 

Version 1.04

Added day clearing

Files:
 

Version 1.05

Removed manual entry of BR symbol (for unnecessary)

Now, the Expert Advisor can work continuously for 3 months

Synchronisation occurs on the first trade

2017.01.26 10:00:00.000 Time_sync_forts (URKA-3.17,H1)  Local time sync is done. Symbol = RTS-3.17 Sync hour = 10 Sync min = 0 Sync sec = 0 Sync ms = 0
2017.01.26 14:05:00.005 Time_sync_forts (URKA-3.17,H1)  Local time sync is done. Symbol = RTS-3.17 Sync hour = 14 Sync min = 5 Sync sec = 0 Sync ms = 5
Files:
 

V1.07

Added evening clearing

Files:
 
prostotrader:

V1.07

Added evening clearing

Tell prostotrader, what do you need time synchronisation for?
 
Sergey Chalyshev:
Tell me prostotrader, what do you need time synchronisation for?

Just dabbling :)

And seriously, because of the discrepancy between local time and server time,

orders sent (for example) by local time at 10:00:03 are rejected.

because Market closed :(

Latest version

Files:
 

V1.09 (last, no more)

Files:
 
prostotrader:

V1.09 (last one, no more)

Have you updated the code in the publication?
 
Rashid Umarov:
Did you update the code in the publication?
Updated