The indicator determinants when an asset price is getting higher or lower by comparing the previous price highs and lows to the current price.
In case current HL2 exceeds the previous HL2 HIGH then the columns will turn green.
In case current HL2 fails the previous HL2 LOW then the columns will turn red.
The trick here is that the trend CONTINUES to show the greens and reds, until a reversal happens to the opposite side.
This can be used to determinate trends and reversals.
Note: Bar colors are disabled by default.
You can set the lookback period at the indicator settings as well as the asset source ( HL2 ,CLOSE, etc..). default is HL2
Quote that i like: “It is impossible to produce superior performance unless you do something different from the majority.” – John Templeton
Enjoy and like if you like :)
'Close' is now default source input (of course you can change to HL2 or others).
Length was changed to 13 from 17.
Updated indicator description in script.
You can change 'High Source' and 'Low Source' to different values, like both HL2.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.
Premium Pivot Points Algo Indicator: https://www.tradingview.com/script/LFBaHNuA-Pivot-Points-Algo/