INVITE-ONLY SCRIPT

CryptoAlgo DCA / Accumulation

已更新
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
multitimeframe

僅限邀請腳本

僅限作者授權的用戶訪問此腳本,並且通常需要付費。您可以將其增加到收藏腳本中,但是只有在向作者請求並獲得許可之後,才能使用它。 請聯繫christofferka以了解更多信息,或按照下面作者的說明進行操作。

TradingView 不建議購買並使用此腳本,除非您 100% 信任其作者並了解腳本的工作原理。在許多情況下,您可以在我們的社群腳本中免費找到良好的開源替代方案。

作者的說明

.

想在圖表上使用此腳本?

警告:請閱讀,然後再請求訪問權限。

免責聲明