PROTECTED SOURCE SCRIPT
Aggiornato Dollar Cost Average [lorencip]

This indicator shows the return of a dollar cost average strategy.
The 4 values in the output are:
This first version works with cryptocurrencies and currencies, it's not accurate for stocks (it "purchases" decimals of a share/stock).
Lorenzo Cipriani

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
Note di rilascio
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.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.