MGTG

3Commas Visible DCA Strategy

MGTG Aktualisiert   
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.
Versionshinweise:
Bug fixed
Versionshinweise:
bug_fixed : about safety order
Versionshinweise:
safety order fixed

Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?