OPEN-SOURCE SCRIPT
DCA Accumulator

DCA Accumulator is a portfolio tracking indicator designed to help visualize a dollar-cost averaging plan on the currently selected chart symbol.
The script calculates scheduled purchases based on user-defined settings such as total capital, target number of buys, start date, buy frequency, and buy timing. The DCA amount is automatically calculated from the capital deployed divided by the target number of buys.
The indicator tracks:
* Number of completed buys
* Purchase date
* Purchase price
* Amount invested per buy
* Shares accumulated
* Total invested capital
* Average cost
* Current estimated position value
* Unrealized profit or loss
This tool is intended for planning, tracking, and educational analysis only. It does not generate buy or sell signals, does not predict future price movement, and does not guarantee any outcome. Values are based on chart data and the selected settings, so results may vary depending on symbol, timeframe, available history, and market conditions.
Past performance and historical chart behavior do not guarantee future results. This indicator should be used as one part of a broader research and risk management process, not as financial advice or a recommendation to buy, sell, or hold any asset.
The script calculates scheduled purchases based on user-defined settings such as total capital, target number of buys, start date, buy frequency, and buy timing. The DCA amount is automatically calculated from the capital deployed divided by the target number of buys.
The indicator tracks:
* Number of completed buys
* Purchase date
* Purchase price
* Amount invested per buy
* Shares accumulated
* Total invested capital
* Average cost
* Current estimated position value
* Unrealized profit or loss
This tool is intended for planning, tracking, and educational analysis only. It does not generate buy or sell signals, does not predict future price movement, and does not guarantee any outcome. Values are based on chart data and the selected settings, so results may vary depending on symbol, timeframe, available history, and market conditions.
Past performance and historical chart behavior do not guarantee future results. This indicator should be used as one part of a broader research and risk management process, not as financial advice or a recommendation to buy, sell, or hold any asset.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Independent market structure tools and educational chart analysis for learning and review only. Not financial advice.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Independent market structure tools and educational chart analysis for learning and review only. Not financial advice.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.