CPR - Central Pivot Range (by Alex L.)CPR or Central Pivot Range is a tool for identifying a trend, its volatility and its future targets for the price levels (in up or down directions).
What this indicator offers:
- Main purpose of this indicator is to display levels of support/resistance in a given trend as potentially good levels of entering into position or existing from a position. Entry levels are RED, resistance levels are in GREEN.
- You have the ability to view daily, weekly, monthly pivot levels, depending on what kind of trader you are.
- Unique to this indicator - you have the ability to view YEARLY pivot levels.
- Unique to this indicator - you have the "Pivots History" option to either show all history or just the recent piriod to make your chart clean of "noise".
- Unique to this indicator - you can view "future" pivot levels based on current price.
- You have the ability to view "future pivots" which can be useful as entry or exit levels for the current trend.
- You have the ability to view one, two, three or four pivor levels concurrently depending on how much information you want on your chart.
- You have the option to use "Compact View" to further reduce "noise" and make your chart event more clean.
- Open source.
Some guidelines:
- When current Central Pivot Range is higher than previous Central Pivot Range then the stock is in an uptrend and vice versa.
- Wide Central Pivot Range usually means the stock is in a "sideways trend" and volatility is low.
- Tight Central Pivot Range usually means the stock has a very low volatility and is about to explode (up or down). Switching to a higher timeframe can often give hints to what direction the stock is likely to go.
Default settings:
- Pivot Levels : "Two Pivot Levels"
- Filter/Hide Pivots: "Hide Pivot+BC+TC"
- Pivots History: "Few Months Back"
'V' Show Monthly Pivots
'V' Show Future Pivots
Calculations of pivot levels formula is according to book "Secrets of a Pivot Boss" by Franklin O. Ochoa.
Quote from the book: "The way to make money is to make it. The way to make big money is to be right at exactly the right time."
Open source.
Enjoy!
Ochoa
Dynamic Pivot Box for Month and YearThe basic idea of the ‘Dynamic Pivot Box’ is to show only the Pivots that are closer to the Price. This is, the nearest pivots acting as support and resistance; thus hiding all other pivots which are further away from the price and also hiding the pivots from previous periods… Pivots will be hidden until price breaks out from the current box and moves to the next one. Hopefully, with this change you can focus more on the actual price action/ price patterns on the chart rather than on several/ noisy lines on the screen.
**Please note that the recommended use for this indicator is on the daily or higher timeframes if you want to see Year pivots... Monthly pivots can be still seen on the hourly chart, but I am afraid that lower timeframes will not plot the indicator properly.**
The Pivots are taken from Frank Ochoa’s book ‘Secrets of a Pivot Boss’, so if you are not familiar with them, I would recommend you to first take a look at the theory behind them.
The Pivots in this indicator are divided in two groups: ‘Standard pivot’ and ‘Camarilla’ pivots.; and then this latter is group is divided in two also: the ‘Main Camarilla’ and ‘Regular Camarilla pivot’. You can select which groups of pivots are taken into account for the ‘Dynamic Pivot Box’.
If you decide to select all Three Groups: ‘Standard Pivot’, ‘Main Camarilla’ and ‘Regular Camarilla pivot’ you will see ALWAYS 4 pivots surrounding the price. My recommendation is to select only ‘Standard Pivot’ and ‘Main Camarilla’ so that you see only between 2-3 pivots on the screen. This recommended view is actually the default settings.
In addition, if you want to further reduce noise from the chart, you can unselect the ‘Lines’ option within the SETTINGS/ STYLE menu.
What you see on the chart/sample is actually this indicator plotted twice:
1. Year Pivots which have the default settings and are shown as white ines
2. Month Pivots have also the default settings BUT I also selected the option ‘Previous Pivots’ to show the pivots from previous period , and also I unselected the ‘Lines’ options as mentioned above to reduce noise.
You are more than welcome to enhance the current version, my only ask is to please share the enhanced version back with the community. I wish I could make amends or modify the current version myself but I actually just came up with the idea and I paid a coder in Fiverr to develop it.
Camarilla Pivots (D,W,M) Secrets of a Pivot BossPrimarily for equities as no provision has been made to control the timing at which the open close high low are determined, indeed, I see no straightforward mechanism to do so in Pinescript.
Development aided by: but with the entirely different calculations presented in "Secrets of a Pivot Boss" by Franklin Ochoa. And far cleaner and less-redundant code.
To trade the indicator, watch the H3,H4,H5 and L3,L4,L5 bars. There are two built-in strategies. Depending on pivot width, sell at H3 and buy at L3 with stop at H4/L4 or above. For strongly trending environments: buy at H4, cover at H5--similarly for downtrends.