TradingView
shijithlal
Jul 21, 2020 3:05 PM

Magic CPR 

Nifty 50 IndexNSE

Description

This is not a simple CPR, this includes much more than a simple CPR. Typically a price action based trader use some other support and resistance combined with CPR and I am trying to combine all of them in one single indicator.
In the case of CPR this indicator supports only daily CPR but shows Weakly and Monthly pivot if you want on chart. Other than CPR, this indicator support,

1. Daily time frame Swing Low and High : Implemented, You have to set the number of days you have to consider calculating Swing high and Swing Low. yes this is not 100% automated but really useful.
2. Yesterday High
3. Yesterday Low
4. Today Open : Today Open and Yesterday Low / High will help you to see the gap.
5. Virgin CPR : Yes, I did not see any other indicator which shows Virgin CPR on your chart. This will draw virgin CPR if any virgin CPR exists in the last 6 days. I think people consider only last few days virgin CPR only.

Why This indicator

1. It is difficult for the trader to draw all the above drawings every day
2. Even if you want to use indicators to draw these, it is extremely difficult to configure and manage it in multiple indicators.
3. If you are using a free account you are limited with the number of indicators on the chart as well.
4. Most important, there is no other indicator draw virgin CPR for you
5. Typically people do not want the CPR and pivot data for older days, I provide an option to hide all older pivot data from chart
5. Even though Pivot can be calculated for the entire day, most of the pivots show pivot data till current time. In this indicator, the pivot data will be plotted to you for the entire day at 9:15 AM.

What I am expecting from you

1. Please let me know the feedback
2. Let me know if you are looking for any improvements
3. let me know if you find any bugs



Release Notes

Issue FIx :
CPR for 5th day and 6th day was showing in the chart as virgin CPR even though it is not. Fixed the issue.

Usability Improvements
It was designed only thinking dark theme in mind. Change that thought process.
Still default colors are for dark theme, but you can change the colors.
Resistance / Support and CPR you have two color configuration.
1. For older lines and today in-progress lines
2. For today pre defined lines.

Still looking for feedback from all users.

Release Notes

Lot of people use moving average also as a supporting indicator while using CPR. Add moving average also in this.

Fix bugs in the virgin CPR

Release Notes

Virgin CPR bug fix

Release Notes

As per feedback added below list of features

1. 2 Moving average support
2. Configure moving average (SMA, WMA , EMA)
3. Option to configure Swing High low timeframe
Comments
ahamed11195
Can i get a virgin cpr script
aoracle
i think you need to simplify whole script as its difficult to understand and implement.... however very good initiative .... i will suggest to see cpr by kgs for reference
shijithlal
@aoracle, Can you explain little more detail so that I can understand and fix the issues.
aniiket_shinde
@shijithlal, you added weekly and monthly pivot of only R1/2/3 and s1/2/3 but there no weekly and monthly pivot "PP" that's only drawback othe wise its hats off for you and your indicator......nice job
for refer CM_Pivot points _M-w-D- flitered by "ChrisMody"
asrr
Bahut sahi 👍
spiritedJaguar47847
Please add vwap.nice work. thanks 🙏
Anand2504
Pls add atleast 3 ema like 20,50,100 200 etc
abandonedBaby
Can CPR and pivots be calculated using extended hours for use on futures?
Ramaswamy_Arunachalam
Unable to change cpr colour. Please correct it. Since we are not able to use with white background. Thanks in advance
More