TradingView
bnh
3 lut 2017 22:15

Hershey's Portfolio Watch 

SPDR S&P 500 ETF TRUSTArca

Opis

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
Komentarze
leandre.tbc
Hello, I used your script with modifications for my portfolio.
The problem is : my stocks are in different currencies. Do you know how to automaticaly convert them in EUR?
Apparently I can use currency.EUR only with a strategy() and not with study()

I'm a total beginner. Could you help me?
420snoop
V useful
Więcej