Candle Closing Time Remaining (CCTR) is an indicator which displays the remaining time for an open candle to be closed.
Candle Timer – indicator for MetaTrader 5 is a Metatrader 5 (MT5) indicator and the essence of the forex indicator is to transform the accumulated history data. Candle Timer – indicator for MetaTrader 5 provides for an opportunity to detect various peculiarities and patterns in price dynamics which are invisible to the naked eye. This is a Candle Countdown Timer Indicator, which shows you the remaining time of the present Candle in any Time Frame. It can be useful: When you find a Pattern or Signal to Buy/Sell according to your Technical Analysis, and you want to enter the Trade after closing of the Signal Candle, And when you.
Features
- Changeable color and size.
- Changeable location (Corners).
- Display server time (on OR off) [v2].
- Play an alert sound when the candle is going to close [v3].
- Clean code.
Screen Shots
The indicator will be shown as follows in the weekly time frame:
The indicator will be shown as follows in the top-left location:
Usability Tips
You can change the location of display time, by setting the location input field as follows:
- Set location 'Top-Left': to be displayed in comment in the top-left part of the chart.
- Set location 'Top-Right': to be displayed in the top-right part of the chart.
- Set location 'Bottom-Left': to be displayed in the bottom-left part of the chart.
- Set location 'Bottom-Right': to be displayed in the bottom-right part of the chart.
You can on or off server time displaying by setting displayServerTime as follows: [v2]
- Set 'On': display server time.
- Set 'Off': don't display server time.
You can on or off alert sound playing by setting playAlert as follows: [v3]
- Set 'On': play a sound when candle is going to close in less than 5 seconds.- set 'Off': don't play sound.
Also you can set your favorite sound as alert by enter it's name on customAlertSound: [v3]
- Note that, the file must be located in <terminal_directory<>>Sounds or its sub-directory. Only WAV files are played.
- If you leave the field empty, the default sound will be played.
Change log
- Display candle closing time remaining. [v1]
- Adding an input field to display server time. [v2]
- Play an alert sound when the candle is going to close. [v3]
- Change input types to readable strings. [v3]
- Shorten the name of the indicator in comments area. [v3]
MetaTrader 5 version: https://www.mql5.com/en/code/20185.
- First Post:Mar 10, 2013 11:52pmMar 10, 2013 11:52pm
Surely they are just timers that should run down evenly to candle end as each candle is supposed to run for a fixed time as chosen on a chart.
Why do the ones I have tried show jumpy count down times with a jump from 45secs to say 39secs in one go. To me it's a baffling and ridiculous situation when I need an accurate and even countdown for one reason or another.
I expect the answer I will get is based on the erratic movement of candles as they reflect the jumpy and uneven moving price action.
But I think a candle countdown timer should be on a separate but related to candle opening and closing only even timer system. My computer timer counts down in even and regular hours/minutes and seconds.
Thanks for your enlightenment.
Cheers, Larney
- Mar 11, 2013 12:00amMar 11, 2013 12:00am
- Joined Oct 2007|Status: Former institutional dogsbody|1,225 Posts
When the price updates again, the snapshot changes.
Personally I don't find this annoying. I just circumvent this by getting any third party Desktop time widget.
- Mar 11, 2013 12:45amMar 11, 2013 12:45am
- Joined Sep 2009|Status: Making Code While Making Pips|1,672 Posts
The best thing is to use a third party, timer.
- Mar 11, 2013 12:52amMar 11, 2013 12:52am
- Joined May 2007|Status: MT4/MT5 EAs/Indicators/Alerts coder|6,605 Posts
The best thing is to use a third party, timer.
- Mar 11, 2013 4:48amMar 11, 2013 4:48am
You make the indicator tick-independent using a loop which calculates the time every 1000 milliseconds.
Or you make it tick-independent using the windows api which creates a fake tick every 1000 milliseconds.
Maybe there are other tricks, but I don´t know them.
- Mar 11, 2013 5:03amMar 11, 2013 5:03am
- Joined May 2007|Status: MT4/MT5 EAs/Indicators/Alerts coder|6,605 Posts
You make the indicator tick-independent using a loop which calculates the time every 1000 milliseconds.
Or you make it tick-independent using the windows api which creates a fake tick every 1000 milliseconds.
Maybe there are other tricks, but I don´t know them.
- Mar 11, 2013 6:36amMar 11, 2013 6:36am
- Mar 11, 2013 6:38amMar 11, 2013 6:38am
- Mar 11, 2013 6:58amMar 11, 2013 6:58am
- Joined May 2007|Status: MT4/MT5 EAs/Indicators/Alerts coder|6,605 Posts
- Edited at 9:45amMar 11, 2013 7:38am |Editedat 9:45am
- |Commercial Member|Joined Aug 2010|269 Posts
Larney
Will print value into the upper-left corner.
- Oct 9, 2014 4:50pmOct 9, 2014 4:50pm
- Oct 30, 2014 8:46pmOct 30, 2014 8:46pm
Continuous candle countdown timer not dependent on ticks. New Candle alert available.
See FF - http://www.forexfactory.com/showthread.php?t=471321 - #Post 10
- Nov 23, 2014 6:24amNov 23, 2014 6:24am
- Nov 23, 2014 7:17amNov 23, 2014 7:17am
- Dec 10, 2014 1:25pmDec 10, 2014 1:25pm
- |Joined Nov 2012|Status: Junior Member|2 Posts
- Last Post:Aug 5, 2015 8:10amAug 5, 2015 8:10am
- |Joined Aug 2015|Status: Junior Member|2 Posts
Regards.
Mc