TradingView
Daveatt
29 Jan 2020 pukul 12.39

BEST Dollar Cost Average 

Bitcoin / United States DollarCoinbase

Huraian

Hello traders

This is an upgraded version of my Dollar Cost Average (Data Window) script

1 - What is Dollar-Cost Averaging ( DCA )?

Dollar-Cost Averaging is a strategy that allows an investor to buy the same dollar amount of investment at regular intervals. The purchases occur regardless of the asset's price.
I hope you're hungry because that one is a biggie and gave me a few headaches. Happy that it's getting out of my way finally and I can offer it

🔸 This indicator will analyze for the defined date range, how a dollar-cost average ( DCA ) method would have performed (green panel) versus investing all the hard earnt money at the beginning (orange panel)
=> green versus orange

2- What's on the menu today?

My indicator works with all asset classes and with the daily/weekly/monthly inputs.

⚠️⚠️⚠️ However, results are only visible on the DAILY timeframe chart

As always, let's review quickly the different fields so that you'll understand how to use it (and I won't get spammed with questions in DM ^^)
🔸 Use current resolution: if checked will use the resolution of the chart
🔸 The timeframe used for DCA: different timeframe to be used if Use current resolution is unchecked
🔸 Amount invested in your local currency: The amount in Fiat money that will be invested at each period selected above
🔸 Starting Date
🔸 Ending Date

🔹 The script screenshot shows a DCA with 100 USD invested daily from 01.01.2017 to 01.28.2020

3- Bonus (DATA WINDOW)

🔸 Please check this screenshot to understand what you're supposed to see: Data window
And a
effectively

4 - Specifications used

I got the idea from this website dcabtc.com and the result shown by this website and my indicator are very interesting in general and for your own trading
The formula used for the DCA calculation is the one from the Investopedia website.

Best regards and best of luck
Dave

Nota Keluaran

- republishing without the emojis. The emojis broke the whole script since yesterday 30.01 - Sorry for that, not my fault :)
Komen
PineCoders
Daveatt
@PineCoders, Thanks a lot :)
Mahmoudsabeh
Hi its not working
Simeon_Jack
Seriously Great work putting this together! I've always been curious how much outperformance you could actually get with DCA on various instruments and this makes it so easy to check across different assets to understand how DCA would have changed returns compared to "timing" the market.
Daveatt
@Simeon_Jack, I appreciate your comment
Makes us think about our trading performance and reflect a lot indeed in case the holding PF outperforms the trading PF
Zentrader9
Really nice work... great way to teach basic investing strategies and then model to see if/when DCA performs.
Daveatt
@Zentrader9, DCA is one of the best investment strategy
For very bullish assets, investing at the beginning always look more profitable. But this doesn't account for "broker hack", "scam wick", etc
cryptoandstock1
Great tool - thank you so much for sharing. Just one question: I tried to check different time frames in the past to make some comparisons. It looks like when the To-Date is before 2012, the script is not working. Do you have a solution for this? No problem if not - just if there is an easy fix it would help me out a lot.
JoshuaMcGowan
this thing is next level sir.
Daveatt
Lebih