christofferka

CryptoAlgo DCA / Accumulation

christofferka 已更新   
This is a Dollar Cost Average (DCA) / Accumulation strategy. Every time there is a long signal it will buy a fixed USD amount that you have specified in the settings and keep buying at the dips and corrections in the market. This strategy is low-risk, however it assumes you have a long time horizon of at least 2+ years. The longer your holding-period, the better your returns.

There is 3 different entry conditions you can choose from:
The first entry condition is bollinger bands. Bollinger bands is a set of trendlines plotted two standard deviations (positively and negatively) away from a simple moving average (SMA) of an assets price. Every time a candle closes below the lower trendline the strategy will buy.

The second entry condition is the Relative Strength Index (RSI). The RSI is a momentum indicator used in technical analysis that measures the magnitude of recent price changes to evaluate overbought or oversold conditions in the price of a stock or other asset. Every time the RSI is meaning oversold and goes below a point of your choosing the strategy will buy.

The third entry condition is based on pivot points and moving averages that will determine small term trend changes in the market and low price points. Every time there is a bullish trend reversal the strategy will buy.

All three of these entry conditions can be controlled by a higher timeframe RSI that will stop entries when the RSI is above a certain point where the market is overbought and not ideal for accumulation.

The take profits in this strategy is dynamic and will signal trend changes like the third entry condition by using pivot points and moving averages. Since this is a DCA/ Accumulation strategy and will accumulate for the long term it will only exit a small percentage of the accumulated position. This will ensure that you take profit as the asset is appreciating in price while keeping the majority of the position for greater profit in the future.

At the bottom right corner of the chart you will be able to see the key results of the DCA
The first reading is the Average amount USD that the strategy is investing on average every month. This value will help you identify the best settings for you and what USD amount the strategy should enter at the signals so that it stays below the amount you are willing to invest every month. Keep in mind that this is an average and that there will be a lot of deviation up or down based on where the market is going. If the market is having a correction the strategy will signal a lot more entries than when it is going up.

The second reading is the average profit per month. This is also an average and the result will go up exponentially from the starting point as the strategy accumulates and the market appreciates in price.

The third reading is the position average price. This is the average price all the accumulated USD in the asset.

The fourth reading is the total profit. This is the result of both the realised profit from taking profit and the accumulated usd amount left in the position.

The last reading is the performance score. This is a scoring system that i created that looks at the data from the readings and weighs it based on importance and then spits out a number that will help identify the best settings. The higher the number the better the performance, meaning more profit and better DCA.

When you have found the right settings you can insert the messages from your automatic trading platform at the bottom of the inputs and then create an alert with your unique webhook address along with the alert message below:

{{strategy.order.alert_message}}

You will be able to adjust all parameters in the settings.
Enjoy!
版本注释:
Small change in the performance score calculation in the table
仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请与christofferka联系以获取更多信息,或按照以下作者的说明进行操作。

在您100%信任脚本作者并了解脚本的工作原理之前,TradingView不建议您购买脚本并使用它。在很多情况下,您可以在我们的公共指标库中免费找到一个不错的开源替代品。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

作者的说明

此脚本的作者无法再授予对其的访问权限。请不要请求访问权限。

想在图表上使用此脚本?

警告:请阅读,然后再请求访问权限。