OPEN-SOURCE SCRIPT

DCA After Downtrend (by BHD_Trade_Bot)

The purpose of the strategy is to identify the end of a short-term downtrend. So that you can easily to DCA certain amount of money for each month.


ENTRY
The buy orders are placed on a monthly basis for assets at the end of a short-term downtrend:
- Each month condition: In 1-hour time frame, each month has 240 candles
- The end of short-term downtrend condition: use MACD for less delay


CLOSE
The sell orders are placed when:
- Is last bar


The strategy use $1000 and trading fee is 0.1% for each order.

Pro tip: The 1-hour time frame for TSLA has the best results on average:
- Total spent: $1000 x 85 = $85,000
- Total profit: $790,556
DCAdowntrendExponential Moving Average (EMA)Moving Average Convergence / Divergence (MACD)uptrend

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer