lorencip

Dollar Cost Average [lorencip]

lorencip Zaktualizowano   
This indicator shows the return of a dollar cost average strategy.
The 4 values in the output are:
  • the amount of the investment
  • the number of items purchased for that symbol
  • the total value of the items purchased
  • the result of the investment in percentage
This first version works with cryptocurrencies and currencies, it's not accurate for stocks (it "purchases" decimals of a share/stock).

Lorenzo Cipriani

Informacje o Wersji:
New version of the script now works also for stocks in a more accurate way. It calculates dividends and add them to the total of the profits.
The script, automatically recognizes if it's applied to a stock or crypto symbol.
Skrypt chroniony
Ten skrypt został opublikowany z zamkniętym kodem źródłowym i możesz z niego dowolnie korzystać. Możesz go dodać do ulubionych, żeby używać go na wykresie. Nie możesz przeglądać ani modyfikować jego kodu źródłowego.
Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?