OPEN-SOURCE SCRIPT

Weighted percentile nearest rank histogram (WPNRH)

2 115
Original script
Weighted percentile nearest rank


I tried to visualize what percentile the price is at as a column chart. It isnt as good as it could possibly be Im sure, but I could only fit in steps of 10 due to processing limits. Due to the flawed way I am attempting this there are some times gaps in the data. To fix this I added a gap fill feature that just takes the last known value and transfers it over to current.

I hope you enjoy!
Notes de version
Major speedup, added gradient color options, increased resolution and added a resolution selector, default lookback is larger now that we can have a larger lookback, added smoothing. Enjoy!

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.