TradingView
CatalaniCD
Aug 31, 2021 4:32 AM

Portfolio Index 

SPDR S&P 500 ETF TRUSTArca

Description

Portfolio Index Indicator

Compare a selected asset against a 3 assets portfolio.

Inputs :
- Equity : Default 10000, Initial capital for the portfolio
- %Holding : % of Holding for each Portfolio Element
- Asset in the chart as compared asset

Output :
- Delta between selected asset and portfolio

Release Notes

Portfolio Index Indicator

Compare a selected asset against a 3 assets portfolio.

Inputs :
- Equity : Default 10000, Initial capital for the portfolio
- %Holding : % of Holding for each Portfolio Element
- Asset in the chart as compared asset

Output :
- Delta between selected asset and portfolio
Comments
Oh-Veni-Vidi-Vici-
Hello, very nice contribution, how can I include to the code the individual time frame for each stock to have a more realistic approach to the performance of the portfolio?
More