OPEN-SOURCE SCRIPT

BTC DCA AHR999 Strategy

324

This is an easy to understand and perform DCA strategy, based on the AHR999 indicator.

The initial strategy is based on the AHR999 indicator script from discountry, that is with this script transformed into a TV strategy:
ahr999 Index


The logic is pretty simple:
  • we do a DCA buy every week (in the code it is set on monday)
  • we do a small DCA buy, as long as AHR999 < 1.2 (signaling moderate BTC price)
  • we do a big DCA buy, as long as AHR < 0.45 (signaling undervalued BTC price)
  • we skip buys, as long as AHR > 1.2 (signaling overvalued BTC price)


Values for "small DCA buy" and "big DCA buy" can be adjusted, aswell as timeframe, we want the backtest for and a scale factor, to show the AHR999 indicator in the plot, aswell as the spent capital and the net worth of the accumulated BTC.

The scale factor of the plot can be varied, depending on the timeframe and input capital you are using (recommendation is to use a scale factor to be able to see the AHR999 indicator itself on the chart in a meaningful way).

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.