OPEN-SOURCE SCRIPT

Percentile Nearest Rank Rainbow Overlay (PNRV)

已更新
The Percentile Nearest Rank Rainbow Overlay (PNRV) is an indicator for the TradingView platform that aims to visualize the ranking of a given source data within its own percentile range.

The PNRV indicator takes a single input, "src", which is the source data that the indicator will operate on. This input can be any series of data, such as stock prices, volume, or any other numerical data.

The indicator then maps the values of the src data onto a gradient of 60 colors, ranging from blue to green to yellow, with each color representing a percentile range. For example, values in the 0th percentile will be represented by a deep blue color, while values in the 50th percentile will be represented by a yellow color.

The PNRV indicator is designed to be overlaid on top of a chart, with the color of each data point representing its percentile ranking within the src data. This allows traders to easily identify trends and patterns within the data, as well as to compare the relative strength or weakness of different securities.

One potential use case for the PNRV indicator is in identifying potential overbought or oversold conditions in a stock or other security. For example, if the PNRV indicator shows that a stock's price is consistently ranking in the upper percentiles, this could be a sign that the stock is overbought and may be due for a correction. Conversely, if the PNRV indicator shows that a stock's price is consistently ranking in the lower percentiles, this could be a sign that the stock is undervalued and may be a good buying opportunity.

Overall, the PNRV indicator is a useful tool for traders looking to quickly and easily visualize the ranking of a given data series within its own percentile range.
版本注释
lol fixed default length
版本注释
added source
Bands and Channels

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明