Category Volatility  Published on 03/10/2021

cTrader Market Trading Clock

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.

DOWNLOAD THIS INDICATOR

 

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

cTrader Market Clock

* 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.

WATCH A VIDEO DEMONSTRATION

DOWNLOAD THIS INDICATOR

 

Contactinstant chat group
Websitehttps://clickalgo.com

ClickAlgo

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's avatar
ClickAlgo

Joined on 05.02.2015

  • Distribution: Free
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: ClickAlgo Software.algo
  • Rating: 4.38
  • Installs: 11642
  • Modified: 13/10/2021 09:54
Comments
Log in to add a comment.
LU
luckjust728 · 1 year ago

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.

AN
AnthonyJ68 · 6 years ago

sorry, I found your most current version and installed that - thank you; it's very much appreciated!

 

AN
AnthonyJ68 · 6 years ago

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?

ClickAlgo's avatar
ClickAlgo · 8 years ago

New feature added, will now send you an email a configurable number of minutes before the exchange opens.

ClickAlgo's avatar
ClickAlgo · 8 years ago

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.

ClickAlgo's avatar
ClickAlgo · 8 years ago

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 :-(

ClickAlgo's avatar
ClickAlgo · 8 years ago

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.

TRADER100D1M's avatar
TRADER100D1M · 9 years ago

Thank you and good weekend

ClickAlgo's avatar
ClickAlgo · 9 years ago

ok, will fix

TRADER100D1M's avatar
TRADER100D1M · 9 years ago

Good evening, I noticed that the clocks have moments that are overlapping one another emcima didigto

TRADER100D1M's avatar
TRADER100D1M · 9 years ago

thank you, once again you exceeded expectations, good for you and Business Success

ClickAlgo's avatar
ClickAlgo · 9 years ago

NEW FEATURE ADDED

  • option to show clocks opening times in your current timezone.
TRADER100D1M's avatar
TRADER100D1M · 9 years ago

very good success for you

TRADER100D1M's avatar
TRADER100D1M · 9 years ago

Thank you for sharing your knowledge

ClickAlgo's avatar
ClickAlgo · 9 years ago

Will do it on the next release, thank you for your feedback.

TRADER100D1M's avatar
TRADER100D1M · 9 years ago

good day, you could put option 24H ? PM AM 

digital clocks display the hour of the day in 24-hour format

 

NE
nealkaplan · 9 years ago

Thank you, I look forward to the current time option. 

ClickAlgo's avatar
ClickAlgo · 9 years ago

Hi Neal,

your right there is a bug when the exchange opens, the countdown remains, will fix.

ClickAlgo's avatar
ClickAlgo · 9 years ago

correction:, "when the value you specify is equal to or more then the amount of minutes"

I checked the clock countdown is working fine.

ClickAlgo's avatar
ClickAlgo · 9 years ago

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.

NE
nealkaplan · 9 years ago

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.

 

 

ClickAlgo's avatar
ClickAlgo · 9 years ago

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.

NE
nealkaplan · 9 years ago

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);

NE
nealkaplan · 9 years ago

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.

 

NE
nealkaplan · 9 years ago

Is there a way to download and install in ctrader live account?

ClickAlgo's avatar
ClickAlgo · 9 years ago

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
TRADER100D1M's avatar
TRADER100D1M · 9 years ago

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

ClickAlgo's avatar
ClickAlgo · 9 years ago

Update 28/03/2015:

  • Bug fixing and major code clean-up, easier to add additional exchanges.
ClickAlgo's avatar
ClickAlgo · 9 years ago

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.
ClickAlgo's avatar
ClickAlgo · 9 years ago

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.

8fold's avatar
8fold · 9 years ago

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!

ClickAlgo's avatar
ClickAlgo · 9 years ago

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.

8fold's avatar
8fold · 9 years ago

I get when building:

Error: Error occured during parsing project file: "HoursIns' is an unexpected token. The expected token is '=' Line2, position 60.'

8fold's avatar
8fold · 9 years ago

Paul, this is really nice! Will use it and let you know on possible improvement ideas / bugs / feedback.

Good luck trading!

 

 

Thank you!

ClickAlgo's avatar
ClickAlgo · 9 years ago

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.

ClickAlgo's avatar
ClickAlgo · 9 years ago

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.

ClickAlgo's avatar
ClickAlgo · 9 years ago

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.