OPEN-SOURCE SCRIPT
Asset Performance

This indicator calculates actual changes in the asset value, based on the assumption that changes in the dollar value are correlated with changes in the dollar index.
The calculation begins by converting the asset price to dollars. It is then multiplied by the dollar index. This value itself has no inherent meaning, but changes in this value reflect actual changes in the asset value.
SETTINGS
Bars
The calculation starts from the number of bars back.
Assets for comparison
Optional. Any 6 assets for comparison.
Enabling the ADJ on the chart will display the value including dividends.
The calculation begins by converting the asset price to dollars. It is then multiplied by the dollar index. This value itself has no inherent meaning, but changes in this value reflect actual changes in the asset value.
SETTINGS
Bars
The calculation starts from the number of bars back.
Assets for comparison
Optional. Any 6 assets for comparison.
Enabling the ADJ on the chart will display the value including dividends.
Open-source script
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.
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.
Open-source script
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.
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.