DrZy

Urika Relative Price

The Urika Relative Price (URP) indicator is designed to compare the current price of an asset to an average of previous closing prices. It aims to show whether the current price is above or below the historical average and whether it's increasing or decreasing relative to that average. URP is more focused on the relationship between the current price and its historical context.

Calculation:
URP calculates the difference between the current price and the average of previous prices. It uses this difference to create a histogram that can be green (if the current price is higher than the historical average) or red (if it's lower). The color lightens if the current bar is shorter than the previous bar, providing additional visual information.

Open-source script

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.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?