SUMMARY: Standard Pivot (HLC3) with ATR leeway added to make it adaptive to market volatility.
DESCRIPTION: Adaptive Pivot is an indicator utilizing the simplicity of HLC3 Pivots as a turning point (and sometimes a trend indicator) while addressing it's fixed and inflexible nature.
Because the indicator is just a single line in the chart, the price may go near it but never touch it. Or it can go pass through it and never retest it again. In an attempt to lessen these from occurring, we can combine pivots with average true range (ATR). This is the specific formula I applied in this indicator:
This creates a kind of a range or cloud around the Pivot, making it possibly a more accurate indicator for market turning points.
ADJUSTABLE PARAMETERS: The usual ATR parameters are included in this indicator: >ATR_Length = input(14, title="ATR Length", minval=1) >ATR_Smoothing = input(title="ATR Smoothing", defval="RMA", options="RMA", "SMA", "EMA", "WMA")
Added to the usual ones is this: >ATR_Multiplier = input(1, title="ATR Multiplier", minval=0.1) which modifies the extent of the ATR (similar to Chandelier Exit) as it is added/subtracted from the pivot values.
Pivot’s timeframe is also adjustable: >Pivot_Timeframe = input("3M", title='Pivot Resolution') Note: I did not lock the type to input.resolution to allow for more possible timeframes.
OTHER PARAMETERS Indicator color will change to green when the open is above the HLC3 Pivot and change to red when the reverse is true.
Skrip sumber terbuka
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.