Newbie; Pivot point Indicator
Forums › ProRealTime English forum › ProBuilder support › Newbie; Pivot point Indicator
- This topic has 10 replies, 2 voices, and was last updated 6 years ago by Nicolas.
Tagged: pivot points
-
-
12/06/2018 at 4:37 AM #8638512/06/2018 at 8:03 AM #86388
The camarilla pivot points indicator is here: camarilla pivot points
But you want to define yourself the daily Close, High and Low? and not take the “official” ones?
12/06/2018 at 8:29 AM #8639412/06/2018 at 9:42 AM #86402Sure, just add your own prices in the myH,myL and myC variables in the code:
12345678910111213141516171819REM Camarilla Pivot PointsmyH = 12653myL = 11698myC = 11800PP = myC//PP = Previous Day's CloseR1 = ((myH-myL) * 1.1)/12+myCRR2 = ((myH-myL)*1.1)/6+myC // Note: RR2 is used instead of R2 since R2 is the symbol for "R squared" in probuilder language.R3 = ((myH-myL)*1.1)/4+myCR4 = ((myH-myL)*1.1)/2+myCS1 = myC-((myH-myL)*1.1)/12S2 = myC-((myH-myL)*1.1)/6S3 = myC-((myH-myL)*1.1)/4S4 = myC-((myH-myL)*1.1)/2RETURN PP COLOURED(0,0,0) AS "CAMA PP" , R1 COLOURED(155,155,155) AS "CAMA R1" , RR2 COLOURED(0,0,255) AS "CAMA R2" , R3 COLOURED(0,180,0) AS "CAMA R3" , R4 COLOURED(255,0,0) AS "CAMA R4" , S1 COLOURED(155,155,155) AS "CAMA S1" , S2 COLOURED(0,0,255) AS "CAMA S2" , S3 COLOURED(0,180,0) AS "CAMA S3" , S4 COLOURED(255,0,0) AS "CAMA S4"1 user thanked author for this post.
12/06/2018 at 11:16 AM #86415Thanks again Nicolas!
just a bit of tweaking to the calculations needed but works great.
How do i make this attache to each chart? at the moment when i put in the prices H,L,C for the EUR/USD and open another chart the same prices are there?
Cheers
12/06/2018 at 11:23 AM #8641712/06/2018 at 11:51 AM #86426Yep, I see where i went wrong now. See the attachment which shows how i tried using the variables.
I’ve also attached it here if anyone else wants it.
Working great, Thank you for your time!
Cheers
Add Variables
myH = High
myL = Low
myC = ClosePivot levels - based on H,L,C12345678910111213PP = (myH+myL+myC)/3//PP = Pivot pointR1 = (2*PP)-myLRR2 = PP+myH-myL // Note: RR2 is used instead of R2 since R2 is the symbol for "R squared" in probuilder language.R3 = myH+2*(PP-myL)R4 = (myH-myL)*1.1/2+myCS1 = (2*PP)-myHS2 = PP-myH+myLS3 = myL-2*(myH-PP)S4 = myC-(myH-myL)*1.1/2RETURN myH COLOURED(0,0,0) AS "HIGH" , myl COLOURED(0,0,0) AS "LOW" , myC COLOURED(0,0,0) AS "CLOSE" , PP COLOURED(0,0,0) AS "PP" , R1 COLOURED(0,0,255) AS "R1" , RR2 COLOURED(0,0,255) AS "R2" , R3 COLOURED(0,0,255) AS "R3" , R4 COLOURED(0,128,0) AS "CBOL" , S1 COLOURED(255,0,0) AS "S1" , S2 COLOURED(255,0,0) AS "S2" , S3 COLOURED(255,0,0) AS "S3" , S4 COLOURED(0,128,0) AS "CBOS"12/09/2018 at 4:42 PM #8661712/10/2018 at 9:48 AM #8666012/10/2018 at 10:21 AM #8666612/10/2018 at 10:37 AM #86668 -
AuthorPosts
Find exclusive trading pro-tools on