OPEN-SOURCE SCRIPT

Hershey's Portfolio Watch

Thanks to user rwestbury for the idea!
Watch the profit in dollars of your portfolio in REAL TIME, love it!
Put this in a window that doesn't change often, for it takes long to initially load.
I use it in my window where I monitor the US index SPY.
Edit and add as many symbols as you want below, you should be able to figure it out.
Just add symbol, number of shares and price.
I'll improve on this later, like trim the code down with function calls, etc.

Good trading!
Brian Hershey
portfolioprofits

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer