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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Why does 4 hour bar close 1 hour later than daily bar? 6 replies

average true range for 1 hour and 4 hour charts 2 replies

X-1102 1 hour , 4 hour and daily Tf trades 7 replies

Create a verticle line at certain hour for every certain hour 16 replies

Looking for 1 hour Pivot lines Indicator 1 reply

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 3
Attachments: 4 Hour Pivot Indicator
Exit Attachments

4 Hour Pivot Indicator

  • Post #1
  • Quote
  • First Post: Oct 17, 2012 10:33am Oct 17, 2012 10:33am
  •  sean007
  • | Joined Jan 2009 | Status: Member | 46 Posts
Is there anyone out there who has a 4 hour pivot indicator with adjustable GMT offset. What I mean by a 4 hour pivot is the pivots calculated on a 4 hour period rather than a daily, weekly, monthly etc. I have attached one I found that should work fine but as you can see from the screenshot, it's not doing the calcualtion correctly. The dotted line is the pivot indicator and the magenta lines are where the pivots should be. Any help is greatly appreciated and I've attached the indicator in case anyone fancies looking at the code
Attached Image (click to enlarge)
Click to Enlarge

Name: 4 hour wd pivot.jpg
Size: 91 KB
Attached File
File Type: mq4 wa MTF pivot.mq4   7 KB | 599 downloads
Dream big, start small. Have it all
  • Post #2
  • Quote
  • Edited Oct 19, 2012 1:24am Oct 18, 2012 6:09am | Edited Oct 19, 2012 1:24am
  •  futurespec
  • Joined May 2011 | Status: If you think I'm mad, I must be mad | 1,058 Posts
Sean,
Was bored so threw this together for you.
(you can set your own period in hrs)
Any further amendments down to you.

HTH.

M.

Edit: Think original did not update with new bars so minor edit and re-attached
Attached File
File Type: mq4 Sean007 Pivot.mq4   3 KB | 866 downloads
If you think I'm mad, I must be mad
 
 
  • Post #3
  • Quote
  • Oct 22, 2012 9:55am Oct 22, 2012 9:55am
  •  sean007
  • | Joined Jan 2009 | Status: Member | 46 Posts
Thanks so much, didn't realise that I hadn't set up to be notified on replies so just seen your reply. Will check it out
Dream big, start small. Have it all
 
 
  • Post #4
  • Quote
  • Oct 24, 2012 9:00am Oct 24, 2012 9:00am
  •  sean007
  • | Joined Jan 2009 | Status: Member | 46 Posts
Works great so once again thanks for that Futurespec, really appreciate it. The only thing I would like to change is that instead of plotting the pivot lines over the time period it's calculated on, they are plotted in advance. For example the 4hour pivot lines from 8.00 to 12.00 currently plot starting at 8.00 and ending at 12.00. Of course they don't show until 12.00 because that's when the 4 hour period closes. It would be great if the lines plot from 12.00 until 16.00 because that's the time period the pivot is used for support and resistance levels. However even as is it's works fine.
Dream big, start small. Have it all
 
 
  • Post #5
  • Quote
  • Last Post: Dec 10, 2012 11:47am Dec 10, 2012 11:47am
  •  crazy5
  • | Joined Dec 2012 | Status: Member | 14 Posts
Quoting futurespec
Disliked
Sean,
Was bored so threw this together for you.
(you can set your own period in hrs)
Any further amendments down to you.

HTH.

M.

Edit: Think original did not update with new bars so minor edit and re-attached
Ignored

hmm looks great futurespec,

Although as i see it doesnt plot in advance with the current bars.

Anyway that can be manually done so its not much of an issue.

But i realised there were some problems.

THere were some days where there are 2 lines of each level.
Like 2 pp, 2 R1, 2 S1. Any idea why?

And also, do u think u can edit it to make it show the r2, r3, s2, s3 too?


ps- my ideal pivot indicator btw is that it can show hourly pivots, daily pivots and weekly pivots altogether of cos in different colors.
 
 
  • Platform Tech
  • /
  • 4 Hour Pivot Indicator
  • Reply to Thread
0 traders viewing now
Top of Page
Forex Factory Blog Updated: Alerting All Members
  • 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 / ©2022