stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

H4 rolling pivot point ?
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=292
Page 1 of 1
Author:  Gamma_gallus [ Mon Jan 23, 2012 2:26 am ]
Post subject:  H4 rolling pivot point ?

Hello !

Do you know, by chance, where I could find a rolling pivot point indi ((H+L+Close)/3) calculated based on the last H4 bar ?
(redrawn and re-calculated every H4 bar)
This gives a good flavour of the market sentiment.

On FF there's one (post 5), but when i drop it onto the chart, I'm quite disappointed by what I see (channel like)..
http://www.forexfactory.com/showthread.php?p=5144858

Ideally I'd just like to see a one line drawn on the chart.

Thx
Gamma
Author:  gaheitman [ Mon Jan 23, 2012 7:10 am ]
Post subject:  Re: H4 rolling pivot point ?

Gamma_gallus wrote:Hello !

Do you know, by chance, where I could find a rolling pivot point indi ((H+L+Close)/3) calculated based on the last H4 bar ?
(redrawn and re-calculated every H4 bar)
This gives a good flavour of the market sentiment.

On FF there's one (post 5), but when i drop it onto the chart, I'm quite disappointed by what I see (channel like)..
http://www.forexfactory.com/showthread.php?p=5144858

Ideally I'd just like to see a one line drawn on the chart.

Thx
Gamma
Are you looking to just have a single horizontal bar or do you want it valid historically. If the latter you could always change the color on the lines you don't want to see or edit the code and change this section:

Code: Select all

	SetIndexStyle(0,DRAW_LINE,STYLE_SOLID);
	SetIndexStyle(1,DRAW_LINE,STYLE_DOT);
	SetIndexStyle(2,DRAW_LINE,STYLE_DOT);
	SetIndexStyle(3,DRAW_LINE,STYLE_SOLID);
	SetIndexStyle(4,DRAW_LINE,STYLE_DOT);
	SetIndexStyle(5,DRAW_LINE,STYLE_DOT);
	SetIndexStyle(6,DRAW_LINE,STYLE_SOLID);
to this:

Code: Select all

	SetIndexStyle(0,DRAW_NONE);
	SetIndexStyle(1,DRAW_NONE);
	SetIndexStyle(2,DRAW_NONE);
	SetIndexStyle(3,DRAW_LINE,STYLE_SOLID);
	SetIndexStyle(4,DRAW_NONE);
	SetIndexStyle(5,DRAW_NONE);
	SetIndexStyle(6,DRAW_NONE);
and this section:

Code: Select all

			drawLabel("R3",R3,Lime);
			drawLabel("R2",R2,Green);
			drawLabel("R1",R1,DarkGreen);
			drawLabel("PP",P, Blue);
			drawLabel("S1",S1,Maroon);
			drawLabel("S2",S2,Crimson);
			drawLabel("S3",S3,Red);
to this:

Code: Select all

//			drawLabel("R3",R3,Lime);
//			drawLabel("R2",R2,Green);
//			drawLabel("R1",R1,DarkGreen);
			drawLabel("PP",P, Blue);
//			drawLabel("S1",S1,Maroon);
//			drawLabel("S2",S2,Crimson);
//			drawLabel("S3",S3,Red);
George
Author:  Gamma_gallus [ Mon Jan 23, 2012 1:42 pm ]
Post subject:  Re: H4 rolling pivot point ?

Hi George,

Thanks a lot, indeed I'm just looking at a single horizontal line, with no special need for the history.
I'll update the code as per your suggestions, thank you very much for your help :)

Gamma
Author:  ewinner [ Mon Jan 23, 2012 2:00 pm ]
Post subject:  Re: H4 rolling pivot point ?

Hi Gamma,

I just modified one of my indicators to do what you need.


Cheers

Mark
Author:  Gamma_gallus [ Mon Jan 23, 2012 2:03 pm ]
Post subject:  Re: H4 rolling pivot point ?

ewinner wrote:Hi Gamma,

I just modified one of my indicators to do what you need.


Cheers

Mark

Really nice Mark, many thanks, works like a charm !

Gamma
Author:  ewinner [ Mon Jan 23, 2012 2:07 pm ]
Post subject:  Re: H4 rolling pivot point ?

Your welcome :D

Mark
Author:  nicoacademia [ Tue Jul 16, 2013 4:07 pm ]
Post subject:  Re: H4 rolling pivot point ?

ewinner wrote:Your welcome :D

Mark
Hi Mark,

i downloaded this three day rolling pivot point indicator

but it keeps updating during the trading day hogging cpu power

would it be possible to help n aid me by correcting its code?

thanks in advance~

:mrgreen:
Author:  123Reverse [ Wed Jul 17, 2013 12:51 am ]
Post subject:  Re: H4 rolling pivot point ?

I'm thinking history would just be a sma, (hlc)/3, p1.

However ewinner's pivot line is good for using on a different t/f chart. Thanks ewinner.
All times are UTC Page 1 of 1