• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 12:44am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 12:44am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Average session range, session candle indicators 4 replies

World News and a World Clock to keep time 29 replies

Cool Time And Date Zone Website and Time Zone Converter. :) 3 replies

Forex Clock: Live Feed Session Times. 12 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 47
Attachments: New very cool CandleTime and session time Clock indicators
Exit Attachments
Tags: New very cool CandleTime and session time Clock indicators
Cancel

New very cool CandleTime and session time Clock indicators

  • Last Post
  •  
  • 1 45Page 678 10
  • 1 5Page 67 10
  •  
  • Post #101
  • Quote
  • Jan 9, 2012 7:48am Jan 9, 2012 7:48am
  •  aquaart
  • | Joined Nov 2008 | Status: Tech Analyst- Right 50% of the time | 528 Posts
Thanks again Kent,

My pc got taken over by some virus, had to re-install everything, glad that your indicators were still available here.

Cheers
Josh
 
 
  • Post #102
  • Quote
  • Jan 10, 2012 1:08am Jan 10, 2012 1:08am
  •  pips4life
  • Joined Apr 2007 | Status: Member | 874 Posts
Quoting aquaart
Disliked
Thanks again Kent,

My pc got taken over by some virus, had to re-install everything, glad that your indicators were still available here.

Cheers
Josh
Ignored

Hi Josh,

Yeah, there's some really nasty viruses going around that make it near impossible to recover your files without a huge amount of effort. Usually it's better to just reformat and reload O/S and programs from scratch. BUT, you've got to have backups of your personal files! Get yourself an external disk, and take the precaution.

Anyway, with respect to my indicators, the latest versions are going to stay posted AFAIK. You can always grab the latest of each from post #1 of my various threads.

To everyone else who said thanks, you're also welcome.

Kent
 
 
  • Post #103
  • Quote
  • Edited 6:36pm Mar 14, 2012 6:03pm | Edited 6:36pm
  •  bullocks
  • | Joined Dec 2011 | Status: Member | 2 Posts
Thx a LOT! This tool is massive!

Now, i have some noob questions: on what time zone are set open/close hours? Local? Or broker?

Then most important, is there any way to save the settings so that if i place the indicator on a new chart i can set it like it was in the old one?

[EDIT] LOL i've just discovered a new world called metaeditor.... and that answers both of my utterly noobish questions!
 
 
  • Post #104
  • Quote
  • Edited 12:57am Apr 25, 2012 12:53am | Edited 12:57am
  •  Ozefex
  • | Joined Feb 2012 | Status: Member | 136 Posts
Pips4life,

Firstly, What a great indicator! A lot of very useful info in one place.

One issue I had was that anything related to AUDNZD (spread, range, etc.) was shown in "points" rather than "pips" for a 5 digit broker, ie. a spread of 23.5 was shown as 235, etc.

I only know as much about programing as I can copy from someone else, so I had to search & guess at the function that accounted for the 5 digit data.

As a result, I amended the following to correctly show data for a pair containing "NZD":

|| StringFind(symbol,"EUR",0) >= 0
|| StringFind(symbol,"GBP",0) >= 0
|| StringFind(symbol,"CAD",0) >= 0
|| StringFind(symbol,"NZD",0) >= 0
// **NZD ADDED BY "Ozefex" 25TH APRIL 2012

Also thought this function could be changed so common currencies do not need to be named to display correctly in 5 digits but don't know how to do it. My revision now works okay for my purposes.

Another thing, can you tell be if there is any significant diffence between "Average Range" (as in ADR, etc.) and the common "Average True Range" (ATR) oscillator? **Just noted the previous reference to ATR so I will read that first**

Regards,
Ozefex
Still learning - No guarantees...
 
 
  • Post #105
  • Quote
  • Apr 25, 2012 9:06am Apr 25, 2012 9:06am
  •  fork
  • | Joined Apr 2012 | Status: Junior Member | 1 Post
Please excuse this post if it's not in the right spot...my first post ever.

I was wondering if there was a script/indicator out there that could display whatever timezone you wanted via the crosshair cursor?

So wherever your crosshair was it would show local time instead of your brokers time....make in configurable of course.

I wish I could code, but thought I would ask.

Thanks
Fork
 
 
  • Post #106
  • Quote
  • Apr 26, 2012 12:17pm Apr 26, 2012 12:17pm
  •  culik_gpl
  • | Joined Apr 2012 | Status: Ordinary Player | 80 Posts
A very nice sharing. But, how could I move it to the right side? I have a free space there.
i am a beginner, so one pair is enough
 
 
  • Post #107
  • Quote
  • Apr 27, 2012 5:34am Apr 27, 2012 5:34am
  •  culik_gpl
  • | Joined Apr 2012 | Status: Ordinary Player | 80 Posts
Sorry, I did it. Thanks
i am a beginner, so one pair is enough
 
 
  • Post #108
  • Quote
  • May 2, 2012 11:38pm May 2, 2012 11:38pm
  •  fxworldwide
  • | Joined Dec 2008 | Status: Member | 51 Posts
Hey Kent,

Have been using P4lclock for a year or two. Just did a comparison between New York time and P4lclock Time using the website www.worldtimezone.net/index24.php.

I see difference of 1 hour. What am I doing wrong. It used to be accurate before. I know ur a good developer so I have been double checking my stuff but do not see a problem on my side. Tell me I am doing something wrong.....thks for a great tool has been very helpful of the past years.

FXWW.
 
 
  • Post #109
  • Quote
  • Edited 12:12am May 3, 2012 12:03am | Edited 12:12am
  •  Ozefex
  • | Joined Feb 2012 | Status: Member | 136 Posts
Quoting fxworldwide
Disliked
Hey Kent,

Have been using P4lclock for a year or two. Just did a comparison between New York time and P4lclock Time using the website www.worldtimezone.net/index24.php.

I see difference of 1 hour. What am I doing wrong. It used to be accurate before. I know ur a good developer so I have been double checking my stuff but do not see a problem on my side. Tell me I am doing something wrong.....thks for a great tool has been very helpful of the past years.

FXWW.
Ignored
I did an update just recently & I believe my version is running the correct times for the major locations (NY is currently on Daylight Saving Time).

I also made the following mod:

if (! custommode) return(point);
else
{
if (symbol == "NOKJPY" || symbol == "SEKJPY" || symbol == "GBPDKK"
|| symbol == "GBPNOK" || symbol == "USDSKK" || symbol == "XAG") point = Point; // These are 0.001 on BroCo.
else if (StringFind(symbol,"JPY",3) == 3 || symbol == "XAUUSD") point = 0.01; // ***JPY, XAUUSD
//
// **Delected hardcoding for standard 5 decimal place pairs - "Ozefex" 25TH APRIL 2012.
// **Unless a pair is listed above as different, it does not require special mention.
//
else
point = 0.0001;

This related to the calculation of spread & range for pairs pairs other than JPY & Gold.

Check the attached and adjust to your broker time (mine is set at +2 GMT).

Have this set to display down one line from the top right corner (to allow indication of EA's). Think I coded this as default but can be changed when you apply it or by modifying code.

I also changed some location names, eg. China to Singapore, & something to Frankfurt....(my preference).

I'm not a programmer by the way - just looking & learning. Hope this helps.

Great tool!

Regards,
Ozefex
Attached File(s)
File Type: mq4 P4L Clock Rev1.mq4   100 KB | 1,223 downloads
Still learning - No guarantees...
 
 
  • Post #110
  • Quote
  • May 3, 2012 8:10pm May 3, 2012 8:10pm
  •  fxworldwide
  • | Joined Dec 2008 | Status: Member | 51 Posts
Ozefex

Thks for ur quick response and help. I finally found why P4L version was not working....it was my fault....my Daylight savings time on Windows 7.0 was set to auto adjust, but in my country we ignore DST.

All is now Ok using P4L version.

Again thks for ur help.

FXWW
 
 
  • Post #111
  • Quote
  • Oct 8, 2012 12:50pm Oct 8, 2012 12:50pm
  •  tim777
  • | Joined Feb 2012 | Status: Member | 2 Posts
Sir,

This is a great indicator. Could you please make one change for me? When I increase the font size or type, the arrow with two dashes sometimes touches the candle. Could you remove the arrow and two dashes and allow a parameter to add just spaces? I increase the size for my middle-aged eyes.
 
 
  • Post #112
  • Quote
  • Oct 8, 2012 6:11pm Oct 8, 2012 6:11pm
  •  pips4life
  • Joined Apr 2007 | Status: Member | 874 Posts
Quoting tim777
Disliked
Sir,

This is a great indicator. Could you please make one change for me? When I increase the font size or type, the arrow with two dashes sometimes touches the candle. Could you remove the arrow and two dashes and allow a parameter to add just spaces? I increase the size for my middle-aged eyes.
Ignored
Hi Tim,

Glad you like the functionality. While some of the edits could be done that make a bigger font work a little better, there is no one-size-fits-all solution that has occurred to me, and my schedule is such that I won't be making any edits to it in the near future, but you are welcome to muck around with it and experiment.

The only reason the issue is difficult to fix is that MT4 Text objects only allow the reference point to exist at the Top-Center of the text. Hence, I am using fixed-width fonts, and using leading spaces at the left of the text in order to shift the actual visible text further to the right. It would be easy to further shift the text with leading spaces but for the fact that MT4 only supports about 62 characters of text after which it trunctates it. Last I checked in the code, for *some* possible conditions (i.e. higher timeframes with
"WAIT4BAR"), I think I'm already up against that limit, so it will begin to truncate the text. (A previous version did in fact truncate the text so I eliminated some spaces for that; I don't recall how much leeway there still is, if any).

Shift the text origin a few "bars" to the right doesn't really help because the width of a bar as displayed varies drastically if zoomed way in or way out. It might look great at one zoom, and be completely wrong at another zoom.

If MT4 Texts supported "Top-Left" or "Bottom-Left" justification, it would be trivial to fix; unfortunately MT4 does not. (It does support these for Labels, but not Texts, and Labels cannot serve the same purpose in this code).

I use reading glasses too. So, I use >= 22" screens, and carefully choose the right prescription in progressive lenses that will sharpen the focus with a trivial tilt of my head up or down.

Good luck,
Kent
 
 
  • Post #113
  • Quote
  • Oct 17, 2012 10:46am Oct 17, 2012 10:46am
  •  maniakos
  • | Joined Apr 2012 | Status: Junior Member | 2 Posts
First I would like to thank you for this nice indi but I have one question: is there a possibility that the time will be updated automatically without price moving? On 1min chart is normal that price didn't move for few sec and then the countdown stop and resume again after price move further.
Or this is by design and it's not possible to do that?
 
 
  • Post #114
  • Quote
  • Nov 11, 2012 8:11pm Nov 11, 2012 8:11pm
  •  Mezzy
  • | Joined Nov 2012 | Status: Member | 182 Posts
I love this little clock.

I was wondering though, would it be possible, or anyone with the know how to add a CCI monitor for the 15m timeframe?
I would LOVE that I like to keep my charts clean, and would rather have just a number to watch than a squiggly line over my MACD.

I included an attachment for clarification, thanks for providing this great indicator.
Attached Image (click to enlarge)
Click to Enlarge

Name: interface.jpg
Size: 107 KB
 
 
  • Post #115
  • Quote
  • Edited 3:32pm Dec 5, 2012 1:22pm | Edited 3:32pm
  •  global3
  • | Joined Jul 2008 | Status: Member | 124 Posts
Can anyone tell me where I can find an indicator that shows the times the different trading sessions open in broker time and/or in local time? I saw it in a screenshot of a chart. Below is what it looks like near the top of a chart. Zachery's idea to add another column to the right with "Close in X h X m" or "Open in X h X m" times is even better than having a separate indicator.


Attached Image
 
 
  • Post #116
  • Quote
  • Dec 5, 2012 1:28pm Dec 5, 2012 1:28pm
  •  zackery
  • Joined Nov 2011 | Status: Member | 701 Posts
Quoting pips4life
Disliked
Hi Tim,

Glad you like the functionality. While some of the edits could be done that make a bigger font work a little better, there is no one-size-fits-all solution that has occurred to me, and my schedule is such that I won't be making any edits to it in the near future, but you are welcome to muck around with it and experiment.

The only reason the issue is difficult to fix is that MT4 Text objects only allow the reference point to exist at the Top-Center of the text. Hence, I am using fixed-width fonts, and using leading spaces at the left...
Ignored
@pips4life:
Glad that you do some very fine coding here.That's great.

Is it possible to make an addition to the right of the Indicator-Panel:

- If a Market is still OPEN than please code: "Close in X h X m"

and

- If a Market is still CLOSED than please code: "Open in X h X m"

Thanks for your effort.

Greeds Zack
 
 
  • Post #117
  • Quote
  • Dec 5, 2012 3:55pm Dec 5, 2012 3:55pm
  •  pips4life
  • Joined Apr 2007 | Status: Member | 874 Posts
Quoting maniakos
Disliked
First I would like to thank you for this nice indi but I have one question: is there a possibility that the time will be updated automatically without price moving? On 1min chart is normal that price didn't move for few sec and then the countdown stop and resume again after price move further.
Or this is by design and it's not possible to do that?
Ignored
The clock is an indicator, and as such, it only executes one time through whenever there is a tick. There's no way to put it into a loop, and no way to force it to execute every second, for example. Therefore, the clock only updates irregularly. Best I can do.


Quoting Mezzy
Disliked
I love this little clock.

I was wondering though, would it be possible, or anyone with the know how to add a CCI monitor for the 15m timeframe?
I would LOVE that I like to keep my charts clean, and would rather have just a number to watch than a squiggly line over my MACD.

I included an attachment for clarification, thanks for providing this great indicator.
Ignored
It is of course possible to add CCI or other indicators but it's a custom job. I've no plans to update this indy for now, but I'll make a note of it for future consideration. No promises if-or-when...

Quoting global3
Disliked
Can anyone tell me where I can find an indicator that shows the times the different trading sessions open in broker time and/or in local time? I saw it in a screenshot of a chart. Below is what it looks like near the top of a chart. Zachery's idea to add another column to the right with "Close in X h X m" or "Open in X h X m" times is even better than having a separate indicator.
Ignored

Global3, your (first) image doesn't show up. (I now see your image after your edit). That said, the Clock already displays each market zone's "local" time. The clock assumes that all local markets are open from 08:00 to 17:00, with two exceptions: Sydney is 07:00-16:00, and Tokyo is 09:00-18:00.

I don't find it difficult, myself, to look at each market time and mentally know that it's coming up on "08:00", or "17:00", the two times of greatest interest. It's a bit clumsier to mentally translate whatever "time until open/close" into a broker time, but its not of high value to me.

To add for every timezone the notes "Close in X h X m" and "Open in X h X m" that you and Zack suggest would take coding effort, take up additional screen space, and add quite a bit of chart clutter IMO. Since market open/close times are mainly 08:00 and 17:00 which can be easily observed manually, I'm not inclined to put this on my list of future enhancements, but anyone is welcome to make any coding changes they desire.
 
 
  • Post #118
  • Quote
  • Dec 5, 2012 8:33pm Dec 5, 2012 8:33pm
  •  global3
  • | Joined Jul 2008 | Status: Member | 124 Posts
You are right pips4life, it's really not necessary. Thanks for your explanation.
 
 
  • Post #119
  • Quote
  • Jun 4, 2013 5:32am Jun 4, 2013 5:32am
  •  v.thodda
  • | Joined May 2013 | Status: Member | 2 Posts
Hi Pips,

Nice indicators. Here's an updated list of the exchange market opening time for different countries. Maybe you can consider to update the indicator.

Just some thoughts:

- Frankfurt is the main Exchange for Germany and Euro, so why not replace Berlin to Frankfurt for the P4L Clock.
- Why not include Zurich,Switzerland as well.
Attached File(s)
File Type: docx Stock Exchange time.docx   18 KB | 343 downloads
 
 
  • Post #120
  • Quote
  • Jun 11, 2013 5:56am Jun 11, 2013 5:56am
  •  v.thodda
  • | Joined May 2013 | Status: Member | 2 Posts
Sorry pips, it looks like I have messed up with the file I have uploaded. Here's the correct one.

Sry again about that.
Attached File(s)
File Type: docx Stock Exchange time.docx   18 KB | 797 downloads
 
 
  • Platform Tech
  • /
  • New very cool CandleTime and session time Clock indicators
  • Reply to Thread
    • 1 45Page 678 10
    • 1 5Page 67 10
0 traders viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023