Julien-PH

DCA Simulator

Julien-PH Updated   
---- EN ----
OBJECTIVE:

The aim of this indicator is to simulate the average acquisition price during a DCA from any date, any asset, any amount.
Useful for realizing that short-term volatility is not a problem when taking a long-term view, as only the fundamentals of the asset matter.

USAGE:
The indicator does not seek to reproduce tools to give you the size of your bag or what your absolute profit is. It should be used agnostically to the DCA amount, it allows you to identify whether starting from a date what your average purchase price and therefore whether you are currently in profit or not in relation to the current price.
You can also use it to compare assets against each other, which offers the best ROI via DCA.

NOTES:
The average price of the DCA will always be lower than the simple average price.

---- FR ----
OBJECTIF :

L'objectif de cette indicateur est de simuler le prix moyen d'acquisition lors d'un DCA à partir de n'importe quelle date, n'importe quel actif, peu importe le montant.
Utile pour se rendre compte que la volatilité court terme n'est pas un problème lors d'une vision long terme, seul compte le fondamental de l'actif.

USAGE :
L'indicateur ne cherche pas à reproduire des outils pour vous donner la taille de votre bag ou quel est votre profit absolu. Il doit être utilisé de manière agnostique au montant du DCA, il permet d'identifier si en commençant d'une date quel votre prix moyen d'achat et donc si vous êtes actuellement en profit ou pas par rapport au prix actuel.
Vous pouvez aussi vous en servir pour comparer des actifs entre eux, lequel offre le meilleur ROI via DCA.

NOTES :
L'on peut constater que le prix moyen du DCA sera systématiquement plus bas que la moyenne simple du prix
Release Notes:
Fix issue when there's too much bar history
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?