GuruprasadMeduri

CPR by GuruprasadMeduri

This script will allow to add CPR with Standard Pivot ad 9 levels of support and 9 levels of resistance lines. It has CPR , 3 levels of Day-wise pivots , 3 levels of Weekly pivots and 3 Levels of Monthly Pivots . All the Support and resistance levels can be enabled / disabled from settings. It will allow to select multiple combinations of support and resistance levels across 3 levels at any of the 3 time-frames individually and combined.

These number of combinations will allow user to visualize the charts with desired pivot support & resistance levels on all or any of the 3 time frames.

For Ease of access, listed few points on how the script works..

- CPR and day-wise level 1 & 2 (S1, R1, S2 R2) enabled by default and can be changed from settings
- Day-wise Level 3 (S3 & L3) can be enabled from settings
- Weekly 3 levels and Monthly 3 levels can be enabled from settings
- CPR & pivot levels colored in blue lines
- All support levels colored in Green
- All resistance levels Colored in Red
- Day-wise pivot , support & resistance are straight lines
- Weekly pivot , support & resistance are cross (+) lines
- Weekly pivot , support & resistance are circle (o) lines
- Any combinations can be selected from stettings-> Inputs & style


// - This is an iterative development. Will add more features due course of time. Suggestions are always welcomed!!
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Comments

Awesome!
How about creating a scanner for 5-10 stocks and run it every 5-10 mins to check if it has crossed S1/R1?
+6 Reply
GuruprasadMeduri UnknownUnicorn6577682
@UnknownUnicorn6577682, Thanks for your response. I am not sure if we can apply a script to Screener. I never tried. I will check this.
Reply
UnknownUnicorn6577682 GuruprasadMeduri
@GuruprasadMeduri, please! It will be awesome to trade in all such stocks :D
+1 Reply
Thanks Guruprasad its Super!! I was looking for the same for free.. Since I dont have subscription for tradingview.. You made my day boss!!
+3 Reply
@SVELURI, Thank you. That is encouraging.
+1 Reply
How do I add this cpr signal to zerodha/trading view no explanation
+2 Reply
@Apsrandy, Public library scripts developed on Tradingview platform cannot be added onto Zerodha integrated tradingview charts, unless Zerodha allows it.
Reply
Thanks for sharing this. Can u please addin the Previous Day / Week HIGH< LOW< CLOSE also please in this. I'll not need to add in another script to do the same and will save me space for one extra script in free version of Trading View that supports only 3 indicators.
+2 Reply
GuruprasadMeduri harmeet9000
@harmeet9000, Thanks for your response. I will try to add this.
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out