Hello everyone,
I hope you had an awesome year 2019 😉
I just looked up in the forum for the code of every pivots points. however, I was unable to find it…!
I’d like to get these formulas in order to test a strategy! Could someone tell me where I can find the formulas for the pivots point (cfd or cash it doesn’t matter!) in 4h/Day/Weekly/Monthly with all the intermediaries?
Thanks to al of you!
PS: Nicolas, if there’s already such an anwer can you give me th link? 😀
Good evening everyone,
Do you know why in the Following code I have a ppday which is good but my ppweek is at 0? I’ve tried different codes and I have no idea why…
// POINT PIVOT HEBDOMADAIRE
IF dayofweek < dayofweek[1] THEN
weekhigh = prevweekhigh
weeklow = prevweeklow
weekclose = prevweekclose
prevweekhigh = high
prevweeklow = low
ENDIF
prevweekhigh = max(prevweekhigh, high)
prevweeklow = min(prevweeklow, low)
prevweekclose = close
PPWeek = (weekhigh + weeklow + weekclose) / 3
// POINT PIVOT JOURNALIER
IF dayofweek = 1 THEN
dayhigh = DHigh(2)
daylow = DLow(2)
dayclose = DClose(2)
ENDIF
IF dayofweek >=2 and dayofweek < 6 THEN
dayhigh = DHigh(1)
daylow = DLow(1)
dayclose = DClose(1)
ENDIF
PPDay = (dayhigh + daylow + dayclose) / 3
RETURN PPWeek COLOURED(50,50,220) AS"Pivot Week", PPDay COLOURED (220,50,50) as "Point Pivot"
THANK YOU SO MUCH!
Thanks for your answers @Roberto and @Nicolas! However, have you just a simple way just to get at least the Montly and Weekly PP? I can’t find it within these pages… 🙁
Search box is your friend, don’t be shy!
Searching MONTHLY I got this link, among others;
https://www.prorealcode.com/prorealtime-indicators/daily-weekly-monthly-pivot-points/
Yes! Thanks Robero! I already seen this one and it could be perfect!!! However, I am not able to ue it or doing Something wrong as it did not show ANYTHING to me… I have no idea why, even by changing the mode to 0/1/2/3…
Haeyou any idea? Dos it works well for you?
Many thanks!
Did you apply it ON the price chart, rather than BELOW it?
You can do so by clicking on the upper left spanner of the price chart, then add that indicator you must have previously downloaded.
Line 95 returns all needed info.
Here is what I have…
Nothing showed up. ON te graph or Under..
Any idea Roberto?
Thanks 😀
I just tred on the DOW and it is the same for me, still Nothing… Does anything appeared on your side?
As you can see it works perfectly ON my chart (Daxj, 4h TF), and UNDER my chart.
I think it’s because you are using TICKS, try setting a 1000-tick chart with 100k units.
I did not test it, I am not sure it’ll work with ticks. check on both TICK and UNIT charts to spot any difference.
Thank you so much Roberto!
You’ve help was perfect 😀