shijithlal

Magic CPR

shijithlal Updated   
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
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?