[CP]Pivot Boss Floor Pivots with ATR Dilation and Dynamic LevelsINTRODUCTION:
Compared to all the Pivot Indicators available on Trading View Public Library, this Floor Pivots Indicator differentiates itself in two major original ways:
Dilates the Pivot Support/Resistance Levels into Support/Resistance Bands based on volatility
Displays the S/R Levels Dynamically , that is, only those levels will be shown that are close enough to the price resulting in much cleaner looking charts.
There were a few features whose logic I had figured out, but I could not implement them due Pine Script’s Limitation (they should really work on increasing Pine Script’s capacity instead of adding more and more features to the language in order to make it look ‘better’):
Showing multiple timeframe pivots at the same time (not possible due to Pine Script’s limitation on the ‘Max Number of Outputs’ )
Automatic Detection of highly profitable Double Hot Pivot Zones (DPZ), also due to the ‘Max Number of Outputs’ limit
GENERAL USER INPUTS:
Most of the settings are self-explanatory, however, a few of them need some explanation:
Show Floor Pivots Dynamically – This will turn ON the dynamic pivot levels, please note that this function will work ONLY IN INTRADAY timeframes.
Dynamic Pivot ATR Period – Period over which the ATR value is calculated to show the pivots dynamically.
ATR Threshold for Dynamic Floor Pivots – Simply put, the indicator will start displaying Pivot Levels if they fall within the 2*ATR distance (default value) of the price. You can increase this number if the volatility increases and vice-versa.
Use ATR to Dilate Intraday Pivot Levels – This will turn ON Floor Pivot Dilation, turning pivot ‘lines’ into ‘bands’ .
ATR Dilation Factor – This number decides the width of the Pivot bands. Larger this number, thicker the bands. Typically, high volatility stocks will require a higher number.
ATR Period – Same as Dynamic Pivot ATR Period, but for Pivot Level Dilation.
INDICATOR USAGE EXAMPLES:
This indicator works great in conjunction with my Pivot Boss Candlestick Scanner indicator.
There are a lot of optimizations I have done in the code, although it looks trivial at first glance, but it's fairly complex.
Feel free to use it and modify it as you wish.
Here are a few examples where the indicator has shown great entries and exits, with the default settings:
NIFTY 5m Chart
Reliance 5m Chart
Tesla 5m Chart
Bitcoin-USDT 15m Chart
FINAL WORDS:
Please understand that I have Cherry Picked the examples to showcase the capability of the indicator and its usage.
DO NOT conflate the accuracy of examples with the accuracy of this indicator.
Once you start using floor pivots, you will realize that a lot of days simply don’t give any high probability setups and you will simply sit out of the market and do nothing (which is a good thing).
If you really want to learn how to use Pivots, read the book ’Secrets of a Pivot Boss’ . This book can change your life.
Floorpivots
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.
Floor Pivots_DWMBasic Pivot points.
Script is easy to modify to personal requirements, and explained step-by-step on Kodify.com.
Original script credits: Kodify.com (kodify.net)