TradingView
pranjalchaubey
26 Eki 2021 14:13

[CP]Pivot Boss Floor Pivots with ATR Dilation and Dynamic Levels 

Nifty 50 IndexNSE

Açıklama

INTRODUCTION:
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 [CP]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.

Sürüm Notları

UPDATE:
  • There was an unsightly graphic bug when plotting CPR, that has been fixed
  • Bonus Indicators


As most of the users here have a free version of TradingView, and based on some DMs that I have received, chose to add a few Bonus Indicators that people generally use in Day Trading:
  • Moving Averages x3 - You can individually choose them to be SMA/EMA/WMA/VWMA
  • Bollinger Band


I wanted to add a few more, but was hit by Pine Scripts limitation as usual (you can have only so many calls to 'Plot' function).
Moving Averages was the most common request, so we got that covered here.

Sürüm Notları

This new and shiny updated version of the script has an option for intraday timeframe pivots.
Namely, 1 Hour, 2 Hour and 4 Hour pivots.

Thanks to the TradingView user @GraceParis for making this request.
Yorumlar
usefulHunter4435
Please help me to get the arrow to come out or tell me how to set it up
pranjalchaubey
@usefulHunter4435, Those arrows are custom markings that I did myself on the chart to properly show the levels from which the price was reversing.
They also showcase how to use pivot indicators by the way.
They are not a part of this indicator.
sakilakhtar09
@pranjalchaubey, can we get pdh,pdl,pdc level
msir2762
Great indicator sir. if you dont focus on asthetics parts (like labels and fill) you can add some more outputs to the script and detect DPZ or GPZ hot zones. Identifying DPZ automatically looks very interesting.
pranjalchaubey
@msir2762, Thank you for your kind words. I tried all the permutations and combinations, but the Pine Script's limitations kept coming into my way and I just couldn't make it work unfortunately.
khoanguyen0504
nothing to show here, I using heikin ashi candle and using laptop and 5m chart, but not working
pranjalchaubey
@khoanguyen0504, The indicator is not supposed to work on Heikin Ashi candles. Please use the default candlesticks.
tendollarshipping
sir

today i checked with the nifty bank the support lines are redraw / repaint. how to get the non redraw signals. for bank nifty around am it show the support lines ( one minute chart) it disppears( support line disappears around pm . how we goabout this

awaiting for your reply
thanks
r.sadagopan
pranjalchaubey
@tendollarshipping, Support line disappeared at what time?
yashkasera96
Can you please help me understand the difference between - show next time period pivots on vs off. It some how shows proper pivot levels when its on and only shows pivot levels when the price is very close to it when its off.
Daha Fazla