Automaticaly update Windows clock

Studies that have been contributed to the community by other users. If you’ve got something useful to share, that’s great!
faraz
Posts: 144
Joined: 25 Feb 2011
Has thanked: 26 times
Been thanked: 57 times

Automaticaly update Windows clock

Postby faraz » 10 May 2014

Hello,

If your strategy is using time for example to Exit all orders 5 seconds before market close. Then your computer clock must be accurate.

a) This free clock update utility can make things easier for you. One issue if it get error it will stop next syncronization
http://www.worldtimeserver.com/atomic-clock/

b) So solution is use force full Synchronization even if we get error in our previous sync. Make a batch file and run it

Code: Select all

net stop w32time
w32tm /unregister
w32tm /register
net start w32time
w32tm /config /manualpeerlist:"time.nist.gov time.windows.com timeserver1.upenn.edu timeserver2.upenn.edu timeserver3.upenn.edu pool.ntp.org time-nw.nist.gov time-a.nist.gov time-b.nist.gov time-a.timefreq.bldrdoc.gov time-b.timefreq.bldrdoc.gov time-c.timefreq.bldrdoc.gov utcnist.colorado.edu utcnist2.colorado.edu nist1-chi.ustiming.org nist1-lv.ustiming.org nist1-ny.ustiming.org nisttime.carsoncity.k12.mi.us" /syncfromflags:manual /update
ping -n 30 127.0.0.1
W32TM /query /status
c) Or make scheduled task for "w32tm /resync" to do it automatically
http://www.pretentiousname.com/timesync/
http://www.makeuseof.com/tag/synchronis ... windows-7/
http://www.ali-inc.com/technical/196-sy ... often.html

Successful Trading.....

Thanks

Return to “User Contributed Studies and Indicator Library”