MGTG

3Commas Visible DCA Strategy

MGTG Mis à jour   
This strategy consists of the following elements and can all be set by the user.

1. Entry by moving average cross.
1) Selection of moving average line.
- SMA(Simple Moving Average)
- EMA(Exponential Moving Average)
- HMA(Hull Moving Average)
2) Selection of Cross over / Cross under


2. Add Entry by DCA(Dollar Cost Averaging)
- A DCA strategy is the practice of investing into a currency at preset intervals to reduce the entry price of a position over time and mitigate volatility risk.

For example,
Base Order = 10 Dollar at Price 100%
Safety Order1 = 20 Dollar at Price 90%
Safety Order2 = 40 Dollar at Price 80%

Average Price => Price 80~90%
thereby getting a better average price for your position and greatly reducing risks from the consequences of volatility.


3. Target Price and Stop Loss.
1) Target Price : Realize profits at % set from the average unit price.
2) Stop Loss : Stop Loss % set from the last safety order.

You can easily find out what's related by changing the setting value after setting the strategy.



This strategy has the following Good characteristics.

1. It informs you of the assets required according to DCA settings.
If you are short of assets, a warning sign will appear.

2. Amount of assets invested in each long entry and long entry close.

3. Visibility of the lowest purchase price line and DCA purchase location according to DCA setting.

easily check the values set in the backtest.
I hope it will help you. Thank you.
Notes de version:
Bug fixed
Notes de version:
bug_fixed : about safety order
Notes de version:
safety order fixed

Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?