>> Pivot range <<

 

the pivot range's simple but effective ,

pivot = ( high + low + close ) / 3 ,

the range two lines are calculated like that,

range = ( high - low ) / 2 ,

1st line ( above the pivot ) = pivot + range ,

2nd line ( below the pivot ) = pivot - range ,

at the next chart i draw all the lines manualy cause i'm not good programer with MQL , so can anybody help me programing this so it gives the same results as seen on the chart ,

i use the weekly data ( high ,low ,close ) to calculate the pivot range

 

Weekly_Ranges

kappari:
the pivot range's simple but effective ,

pivot = ( high + low + close ) / 3 ,

the range two lines are calculated like that,

range = ( high - low ) / 2 ,

1st line ( above the pivot ) = pivot + range ,

2nd line ( below the pivot ) = pivot - range ,

at the next chart i draw all the lines manualy cause i'm not good programer with MQL , so can anybody help me programing this so it gives the same results as seen on the chart ,

i use the weekly data ( high ,low ,close ) to calculate the pivot range

Hi kappari,

Try this one also. I don't know where I got it from.

Hope it's useful.

Files:
 

Please what are the rules of this method?

 
cja:
Try this it might do what you want but it only shows the current week. weekly_range.mq4

Thanks alot for your quick response cja , your indicator reverse the idea ,

but i think that the historical pivot range 've an important value ,

so i hope you find a way to compute them ,

i attached here the camarilla historical MQL so it might inspire you to the right way programming historical pivot range ,

good luck

 
ibadah:
Hi kappari,

Try this one also. I don't know where I got it from.

Hope it's useful.

that's the one i was searching for thanks alot ibadah

 

Indicator

kappari:
Thanks alot for your quick response cja , your indicator reverse the idea ,

but i think that the historical pivot range 've an important value ,

so i hope you find a way to compute them ,

i attached here the camarilla historical MQL so it might inspire you to the right way programming historical pivot range ,

good luck

Here is exactly as your screenshot shows, i rewrote the indicator and found the line of code i was missing to make it a WEEKLY period.

cja

weekly_pivot_range.mq4

Files:
 
cja

What can i say for a great programmer like you except thanks alot ,

that's exactly what i wanted ,

keep one your great efforts ,

God bless you
 

Kappari & CJA great job

i will put the indicator under test for the next weeks as i trade harmonic & divergence

Regards

 
FarewellDesire:
Kappari & CJA great job

i will put the indicator under test for the next weeks as i trade harmonic & divergence

Regards

Hi FarewellDesire ,

Please try to read fisher's book " The logical trader " , then make your decision about how to use Pivot range ,

for me i'll never trade any method or indicator before learing from author himself by reading his books , visiting his web site ...

so i hope you too

good luck

 

The Logical Trader by Mark Fisher is a must.. Explains much of what you see in hans123.

 
eddalton:
The Logical Trader by Mark Fisher is a must.. Explains much of what you see in hans123.

What do you mean, i can't undersatand you, please explain