Here is an indicator that shows the pivots according to the formula used by J.F Carter in his book “Dominate Trading”.
The color of the pivots can be configured to your own taste.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
// Pivots JF Carter // J.J.P. // Diciembre 2018. DefParam DrawOnLastBarOnly = true if day <> day[1] then startbar = barindex endif Pv=(high+low + close)/3 Rs1=2*pv-low Rs2=pv+(high-low) Rs3=Rs1 + (high-low) Ss1=2*pv-high Ss2=pv-(high-low) Ss3=Ss1-(high-low) //r=255 //g=255 //b=255 drawtext(" Pv-#pv#",startbar,pv,Dialog,Standard,10) coloured(r,g,b) drawtext(" R1-#Rs1#",startbar,rs1,Dialog,Standard,10) coloured(r,g,b) drawtext(" R2-#Rs2#",startbar,rs2,Dialog,Standard,10) coloured(r,g,b) drawtext(" R3-#Rs3#",startbar,rs3,Dialog,Standard,10) coloured(r,g,b) drawtext(" S1-#ss1#",startbar,ss1,Dialog,Standard,10) coloured(r,g,b) drawtext(" S2-#ss2#",startbar,ss2,Dialog,Standard,10) coloured(r,g,b) drawtext(" S3-#Ss3#",startbar,Ss3,Dialog,Standard,10) coloured(r,g,b) return |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :
Filename : download the ITF files
How to import ITF files into ProRealTime platform?
PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials