Based on TimeZones.mq4, this indicator plots in a graphical manner London, NewYork, Sydney and Tokyo sessions. At the bottom local time is displayed.
Inspired also on forexmarkethours.com
Check the time offsets with: timeanddate.com/worldclock/
H_ForexMarketHours (mirror)
Parameters
Clocks: Show or not local times for different sessions.
Offset_LON: Offset for London.
Offset_NY: Offset for New York.
Offset_SYD: Offset for Sydney.
Offset_TOK: Offset for Tokio.
Offset_LCL: Offset for local time.
Font_Type: Font for labels.
Font_Size: Size for labels.
Color_LON: Color for London.
Color_NY: Color for New York.
Color_SYD: Color for Sydney.
Color_TOK: Color for Tokio.
Color_LCL: Color for local time.
v1.04
+----------------------------------------------------------------------------------------------------+
History:
Posted: June 3rd 2013
Updated: June 4th 2013: small error with labels fixed
Updated: June 5th 2013: added clocks
Updated: June 6th 2013: small error with plotting when server is between 00:00-01:00 fixed
Updated: June 11th 2013: plotting error when other indicators (sub windows) are loaded fixed
Updated: June 17th 2013: clock format fixed (24:00 is now 00:00)
Updated: March 9th 2014: Compiled in MetaEditor5, code optimized, fixed plotting issues.
Inspired also on forexmarkethours.com
Check the time offsets with: timeanddate.com/worldclock/
H_ForexMarketHours (mirror)
Parameters
Clocks: Show or not local times for different sessions.
Offset_LON: Offset for London.
Offset_NY: Offset for New York.
Offset_SYD: Offset for Sydney.
Offset_TOK: Offset for Tokio.
Offset_LCL: Offset for local time.
Font_Type: Font for labels.
Font_Size: Size for labels.
Color_LON: Color for London.
Color_NY: Color for New York.
Color_SYD: Color for Sydney.
Color_TOK: Color for Tokio.
Color_LCL: Color for local time.
v1.04
+----------------------------------------------------------------------------------------------------+
History:
Posted: June 3rd 2013
Updated: June 4th 2013: small error with labels fixed
Updated: June 5th 2013: added clocks
Updated: June 6th 2013: small error with plotting when server is between 00:00-01:00 fixed
Updated: June 11th 2013: plotting error when other indicators (sub windows) are loaded fixed
Updated: June 17th 2013: clock format fixed (24:00 is now 00:00)
Updated: March 9th 2014: Compiled in MetaEditor5, code optimized, fixed plotting issues.