Description
TRADING HOURS OF MAJOR STOCK EXCHANGES
The cTrader Market Trading Clock displays the global trading hours (trading sessions) for each of the 7 major stock exchanges in the world used by cTrader, configurable to show or hide, markets that are currently open, the opening and closing times, alarm bell when market opens and a countdown timer when market is about to open.
How will this help with my trading?
The useful feature of this indicator is to highlight volatility, when Frankfurt, London & New York overlap and are open at the same time you see high volatile movement in the EURUSD for example.
All Features Selected (actual exchange opening times.)
You can choose between your local timezone opening and closing times for the exchanges or the actual local times for New York, London etc.
Athens UTC(+02:00) Example
You can also show/hide the location label which is displayed on the left of the screen.
You are able to select either your local timezone or the actual local times of the exchanges with the parameter below, you don't need to configure anything just select "YES" for show my timezone.
Show My TimeZone? (YES) (NO)
You can set the media file path to a sound file which plays a recording of the NY stock exchange opening bell or any other sound of your choice.
Option to see when each stock exchange is about to start trading, this is displayed below the actual local time of the clocks.
INDICATOR PARAMETERS
* Alert market opens: how many minutes left till market opens, a countdown timer will be displayed under the clock.
CURRENT FEATURES
- Date and time order from left to right, so that closed markets are on the left of the highlighted open markets and markets about to open are on the right.
- Show clock in your current timezone or the local exchange timezone.
- Sends an email (x) minutes before an exchange opens.
- User-defined colours for the open and closed clocks to suit your background colour.
- Option to turn on/off sound for alarm
- A user-defined sound when the market opens, this can be any file located on your computer, so you can use a real exchange bell sound.
- Show or hide the timezone location label.
- Optional display of opening times for each of the exchanges.
- Clocks show the market closed message with all clocks in a closed state at the weekend.
- Option to display closing times.
- Option to display an alert when the market is about to open with a countdown timer.
- FxPro Midnight Inactivity message, trading stops for 5 minutes.
- Easier to add additional exchanges.
- Display 24hr clock option
* Use this Indicator with the Scalpers Buddy /algos/indicators/show/705 to manage volatility when an exchange opens.
Default Clock View - showing exchanges open, closed and when they open next in minutes.
Markets Closed for the Weekend
Markets Showing Opening Times
Alternative Background Colour
Global Exchange Clock Hours
(local time and deviation of local time zone from UTC)
The market opening and closing times, position and display order can be modified in the exchange creation section (Initialization)
cTrader Font Resizing Issue
Please be aware that if you change the font size on cTrader it will cause issues with displaying the clock correctly.
FXPro Customers Note: They currently halt trading for 5 minutes each night at midnight (Cyprus Time), as this is the time that the daily trading session finishes for their Liquidity Providers. At this time each night, the Liquidity Providers carry out their own daily reconciliations and withdraw their pricing for a very short period of time while this is carried out. Due to this temporary withdrawal of liquidity we see a widening of our spreads and a reduction in the liquidity available for their clients, in order to prevent their clients being affected by these abnormal market conditions they prefer to suspend trading until 00:05 when the Liquidity Providers have all returned pricing.
Sample New York Stock Market Open Bell
https://drive.google.com/open?id=0BwYhDOZlukMMYWxydzN3aElfT28&authuser=0
Sample Ship Bell
https://drive.google.com/open?id=0BwYhDOZlukMMQkR6eXhDcllydFk&authuser=0
* Just copy the file into a folder on your device and add that path to the Media File Path in the indicators parameters input field.
Contact: instant chat group
Website: https://clickalgo.com
Twitter | Facebook | YouTube | Pinterest | LinkedIn
using System;
using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;
using System.Windows.Forms;
using System.Threading;
namespace cAlgo
{
[Indicator(IsOverlay = false, TimeZone = TimeZones.UTC, AccessRights = AccessRights.FullAccess)]
public class ClickAlgoSoftware : Indicator
{
private static Mutex dialogMutex = new Mutex();
private static bool dialogIsShownOnce = false;
protected override void Initialize()
{
ShowDialogBox();
}
public override void Calculate(int index)
{
// Calculate value at specified index
// Result[index] = ...
}
public static void ShowDialogBox()
{
dialogMutex.WaitOne();
if (dialogIsShownOnce)
return;
var ret = MessageBox.Show("It is not possible to download the software from the cTDN website.\nWould you like to visit us at ClickAlgo.com where you can download it?", "Downloading...", MessageBoxButtons.YesNo, MessageBoxIcon.Information);
if (ret == DialogResult.Yes)
{
System.Diagnostics.Process.Start("http://clickalgo.com/ctrader-market-trading-clock");
}
dialogIsShownOnce = true;
dialogMutex.ReleaseMutex();
}
}
}
ClickAlgo
Joined on 05.02.2015
- Distribution: Free
- Language: C#
- Trading platform: cTrader Automate
- File name: ClickAlgo Software.algo
- Rating: 4.38
- Installs: 11656
- Modified: 13/10/2021 09:54
Comments
sorry, I found your most current version and installed that - thank you; it's very much appreciated!
When I install I get a warning saying it wants to take over all Access Rights, and am then given the option to Allow or Disallow - what is this?
New feature added, will now send you an email a configurable number of minutes before the exchange opens.
All,
With CT new text re-sizing feature, the clock will be effected and messed up. If you want to use it you will need to keep the text size standard.
Hi Conno,
I just checked and it works fine with me.
Download the indicator again in-case you have an older version, if you still have problems, send me an email with a screen shot of your problem and who your broker is.
contact@calgo4u.com
Also if you like the clock please vote for it, does it really only deserve 2.5 :-(
Hi Conno,
Thanks for letting me know, I will try and fix it this week.
if you want to give me your email I will ping you when its done. else check back next week.
Paul.
Thank you and good weekend
ok, will fix
Good evening, I noticed that the clocks have moments that are overlapping one another emcima didigto
thank you, once again you exceeded expectations, good for you and Business Success
NEW FEATURE ADDED
- option to show clocks opening times in your current timezone.
very good success for you
Thank you for sharing your knowledge
Will do it on the next release, thank you for your feedback.
good day, you could put option 24H ? PM AM
digital clocks display the hour of the day in 24-hour format
Thank you, I look forward to the current time option.
Hi Neal,
your right there is a bug when the exchange opens, the countdown remains, will fix.
correction:, "when the value you specify is equal to or more then the amount of minutes"
I checked the clock countdown is working fine.
Hi Neal,
Thanks for your feedback on this indicator, the clocks will currently only show local time for each of the exchanges location, I will release another version with a parameter option for the user to choose he clocks to be shown in their own local time or the time of the exchange, come back in a week and I will try and get it done by then.
The only countdown that occurs is when you set the "Alert market opens (mins)" parameter, when the value you specify is equal to or less then the amount of minutes until the market closes the timer will be displayed below current time or opening time, I will check to make sure it works ok.
Paul.
Hi Paul, I reinstalled the clock. I'm PST so I wanted the opening/closing times to reflect California time (PST). I can work with New York however.
One thing I noticed is the clock isn't counting down unless i reopen the chart again. Am I missing a setting.
I really like this cbot and want to be able to use it correctly.
Hi,
What is it you are trying to do?
The clocks are already setup to display the local time for the country, this is the actual current time now in New York, London etc, you should not need to change anything, unless you wish to add another clock, would you like to add another clock?
Paul.
Sorry, to make this Eastern Standard Time, why is this not correct? Thank you.
// create clock entities. * CHANGE CLOCK TIMES HERE *
Exchange exchange = new Exchange(ExchangeName.Wellington);
exchange.TimeZone = TimeZoneInfo.FindSystemTimeZoneById("New Zealand Eastern Standard Time");
exchange.OpeningTime = "08:00:00";
exchange.ClosingTime = "17:00:00";
exchange.LabelFormat = "{0,-134}";
exchange.TimeFormat = "\n{0,-131}";
exchange.DisplayOrder = 1;
marketClocks.Exchanges.Add(exchange);
exchange = new Exchange(ExchangeName.Sydney);
exchange.TimeZone = TimeZoneInfo.FindSystemTimeZoneById("AUS Eastern Standard Time");
exchange.OpeningTime = "09:00:00";
exchange.ClosingTime = "16:30:00";
exchange.LabelFormat = "{0,-79}";
exchange.TimeFormat = "\n{0,-80}";
exchange.DisplayOrder = 2;
marketClocks.Exchanges.Add(exchange);
exchange = new Exchange(ExchangeName.Tokyo);
exchange.TimeZone = TimeZoneInfo.FindSystemTimeZoneById("Tokyo Eastern Standard Time");
exchange.OpeningTime = "09:00:00";
exchange.ClosingTime = "17:30:00";
exchange.LabelFormat = "{0,-29}";
exchange.TimeFormat = "\n{0,-31}";
exchange.DisplayOrder = 3;
marketClocks.Exchanges.Add(exchange);
exchange = new Exchange(ExchangeName.Singapore);
exchange.TimeZone = TimeZoneInfo.FindSystemTimeZoneById("Singapore Eastern Standard Time");
exchange.OpeningTime = "09:00:00";
exchange.ClosingTime = "17:00:00";
exchange.LabelFormat = "{0,33}";
exchange.TimeFormat = "\n{0,31}";
exchange.DisplayOrder = 4;
marketClocks.Exchanges.Add(exchange);
exchange = new Exchange(ExchangeName.Frankfurt);
exchange.TimeZone = TimeZoneInfo.FindSystemTimeZoneById("W. Europe Eastern Standard Time");
exchange.OpeningTime = "08:00:00";
exchange.ClosingTime = "17:00:00";
exchange.LabelFormat = "{0,82}";
exchange.TimeFormat = "\n{0,80}";
exchange.DisplayOrder = 5;
marketClocks.Exchanges.Add(exchange);
exchange = new Exchange(ExchangeName.London);
exchange.TimeZone = TimeZoneInfo.FindSystemTimeZoneById("GMT Eastern Standard Time");
exchange.OpeningTime = "08:00:00";
exchange.ClosingTime = "17:00:00";
exchange.LabelFormat = "{0,127}";
exchange.TimeFormat = "\n{0,128}";
exchange.DisplayOrder = 6;
marketClocks.Exchanges.Add(exchange);
exchange = new Exchange(ExchangeName.NewYork);
exchange.TimeZone = TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time");
exchange.OpeningTime = "08:00:00";
exchange.ClosingTime = "17:00:00";
exchange.LabelFormat = "{0,175}";
exchange.TimeFormat = "\n{0,175}";
exchange.DisplayOrder = 7;
marketClocks.Exchanges.Add(exchange);
I figured out how to install in Ctrader, thank you. Now to change the time zone do you have to open it in CAlgo or can the time zone be adjusted in Ctrader.
Is there a way to download and install in ctrader live account?
Update 10/04/2015:
- Bug fixed if opening time includes minutes, showing of minutes left to open were incorrect.
- Bug fixed showing Monday as next opening time on a Friday
thank you, the indicator is very good and very useful.
here in Brazil we do business in the morning schedule for the Brasilia time starts at 3:00 and finish around 13:00 there is not a specific schedule what I use most is to pay attention to candlelstick sign on graph of 1 hour and 4 hours always looking the direction of graphic diary
Update 28/03/2015:
- Bug fixing and major code clean-up, easier to add additional exchanges.
Update 24/03/2015: New features added for version 1.1
- Default opening and closing times as per cTraders trading hours.
- Code refactoring(clean-up) for future scalability.
- Show closing times.
- Countdown timer for specified time before market opens
- Re-align exchanges (spaces) between them.
Hi,
The procedure to install any algorithm is to download it from cTDN and run it, it will install on your device for use, what spotware have done is to restrict what programmers can do to your computer when they develop cbots or indicators. So they are pretty safe to use, else any programmer can hack into your system and spotware will have to discontinue traders writing their own cbots etc.
In the code you will see this:
[Indicator(IsOverlay = true, AccessRights = AccessRights.None)]
AccessRights set to none, means the program has no rights to do anything to your computer, if this was set to Full Rights then a warning would tell you when you attempt to install that the program.
Any algorithm that you download and install from cDTN should have AccessRights.None
So don't worry the code is perfectly safe on your machine thanks to cAlgo framework restricting any possible damage.
The copy and paste code is for developers who wish to modify the existing code, the strange characters at the start of the code appears and I don't know why.
have fun with the indicator and do not hesitate to contact me if you have any further problems at paul(dot)hayes.it@gmail.com , just replace the (dot) with a full stop.
Hi Paul,
First to answer your questions:
1. Windows 8.1
2. I did not try to load the indicator, i copied the source code (using the button on this page) then created a new indicator in cAlgo. The error was received when tried to build the code. I suggest you repaste the code (for instance, on the first line there are some random ascii caracters, though i don't think they cause the error)
3. Did not modify the code
4. What do you mean?
Today, I just downloaded the prebuilt indicator (after checking your profile, I concluded you are trustworthy :) ) and installed. Then looked on the source code :) as was building fine this time :).
It looks elegant, I put it on one of my charts, will further test and let you know if I come with more ideas.
Thank you!
Hi 8fold,
That's an interesting error, there is no variable or file by that name in the source code, could you give more information.
1. what operating system are you using
2. are you getting error when loading the indicator?
3. have you changed any values in the source code?
4. what are your user properties.
Thanks.
I get when building:
Error: Error occured during parsing project file: "HoursIns' is an unexpected token. The expected token is '=' Line2, position 60.'
Paul, this is really nice! Will use it and let you know on possible improvement ideas / bugs / feedback.
Good luck trading!
Thank you!
Update 13/03/2015: Bug fix, indicator was showing markets Closed when the first exchange closed on a Friday and not all of them, the current download corrects the problem.
I have now configured the indicator to use trading session times which are taken from the official web sites, these show when trading actually takes place and does not include pre-opening where no orders are taken.
I have some discrepancy between the trading hours I am finding on each of the exchanges websites and what CTrader uses, I would not mind some help on what times would be best for Forex trading.
Thanks.
This can be very helpful in doing business and preparing projects. I also use stock content, especially stock images. I needed bathroom images and found the options I needed. Thanks to this, I was able to prepare everything in the best way.