stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

TradeClock
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4598
Page 1 of 2
Author:  renexxxx [ Sat Feb 06, 2016 5:01 am ]
Post subject:  TradeClock

Here is a little indicator that shows the current (local PC) time on an analog clock, and displays the selected trading session times that have been set with the 'tradingHours' parameter.

It looks like this:
Capture.PNG

Hope this is useful for someone.

Edit:
In this week's wrup Steve suggested that the TradeClock could be used to display Forex Market hours. Technically this was not the case as it was meant to display the trading times you want your EA to be trading (using the trade-filter if present in the EA settings). However, I altered the code (of TradeClock) slightly so that it can be configured to display the various Forex Market sessions. Trouble is that the market hours of different sessions overlap each other ... that's why I have created concentric circles within the clock to show which market is currently open:
Capture.PNG
You can configure 5 different market sessions, with the parameters: Session#Name, Session#Hours and Session#Color (# represents the digits 1-5). The Hours is a comma-separated string of on (+) and off (-) times, in ascending order. Eg. if for your timezone, Sydney opens at 23:00 and closes the next day at 08:00, you would enter: "+0:00,-8:00,+23:00,-24:00". I hope this makes sense. The defaults of the session times have been set for GMT+10 (my timezone in Queensland), with both New York and Europe in their respective winter times (i.e. no DST active). Questions about the time will be deleted. Refer to forexmarkethours if you are unsure.

For the market session functionality, download TradeClock2.

Have fun.
Author:  xfactornos [ Sat Feb 06, 2016 5:02 pm ]
Post subject:  TradeClock

This is really neat, thanks for sharing!
Author:  SteveHopwood [ Sat Feb 06, 2016 11:38 pm ]
Post subject:  TradeClock

I remember the struggle I had to work out which markets were open, back in my early days. I have added a link to this to my wrup tomorrow night.

:xm:
Author:  Wavegarrick [ Sun Feb 07, 2016 7:40 am ]
Post subject:  TradeClock

Thanks for this Rene looks nice on my Chart :good:
Author:  Raj4x [ Mon Feb 08, 2016 8:10 am ]
Post subject:  TradeClock

Very handy and useful tool for every trader. Thanks for sharing! :cheer: :cheer: :cheer:
Author:  skinner36 [ Sat May 06, 2017 6:06 am ]
Post subject:  TradeClock

Very nice indeed. A couple of things would make it perfect for me.

1. Have an input parameter to take allow server or local time
2. Be able to have two clocks displayed at the same time side by side.

Nevertheless, still an excellent tool and very handy indeed

Cheers,

John
Author:  greeny [ Mon May 08, 2017 6:15 am ]
Post subject:  TradeClock

hi reene i have this error message,
Screenshot_2.jpg
Screenshot_1.jpg
Author:  MeBannedCretin [ Wed Sep 12, 2018 1:35 pm ]
Post subject:  TradeClock

Hello sir,
please give me some coding sample, how this kind of indicator can make, is this some image of clock or built in function. i m new in this forum and also in mql4 programming.
Author:  The_Snowman [ Sun Jan 13, 2019 10:13 pm ]
Post subject:  TradeClock

to correlate all markets or check the settings of any time related indicators or EAs, I have always used
http://www.timeanddate.com
set up a personal clock with the markets you wish to monitor, include Reykjavik as it is GMT all year long

never again will daylights savings in any country ever confuse you again, good luck

here is the weekly open at 5 pm New York
2019-01-14_8-06-00.jpg
Author:  renexxxx [ Sun Jan 13, 2019 10:25 pm ]
Post subject:  TradeClock

The_Snowman » Mon Jan 14, 2019 8:13 am wrote:to correlate all markets or check the settings of any time related indicators or EAs, I have always used
http://www.timeanddate.com
Good idea!

You could add to this list a "Global Prime"-clock (or at least the clock of your favorite broker).

René
All times are UTC Page 1 of 2