PROTECTED SOURCE SCRIPT

Wunder DCA Bot

Updated
The bot is based on the DCA system.

1. DCA is the investment method in which you buy a certain portion of the asset after the determined price deviation.

2. For entry, we evaluate the maximum and minimum levels for a given period that you can adjust in the script. The bot enters when price rebound from the specified levels.

3. For the exit, the bot will use the take profit percentage that you will specify in settings.
It is also possible to choose how the take profit is calculated either from the average entry price or from the entry order (first order).

4. DCA uses the following settings:
- Base order Volume: Volume of your first order on entry signal
- Subsequent orders volume: The volume of all subsequent orders except the first
- DCA orders count: This parameter will determine how many entries your overall strategy will have. For example: If you will put 3, that will mean that including your initial position you will have 2 additional orders.

- DCA order price deviation:
This is the value in % which determines the deviation of the additional entries from the entry price. Example: If you go long and the price of the asset is 100$ and you put an order price deviation of 1% that will mean that the first additional entry will occur when the price will drop by 1%, and the second entry will be triggered when the overall price will drop by 2% (as the interval between the first and the second additional entry will be 1%).

- DCA Order Volume Multiplier:
This parameter will determine the amount that you put into each additional position. If this parameter is equal to 1 that means that each additional entry will be equal to the initial amount. The extra volume will be added to your position from the second DCA entry. Example: Your initial position was 10$ and your Volume Multiplier is set to 2. When you reach your 1st DCA target your additional order will have the same volume of 10$. When you reach your 2nd DCA target your additional order will be 20$ (previous position volume * multiplier). Your 3rd DCA target will place the order of 40$.

- DCA order price Deviation Multiplier:
This value will increase the price deviation between each additional entry. It is calculated as the price deviation multiplied by the deviation multiplier. For example: if you enter long at the price 100$ and have a price deviation of 1% with the price deviation multiplier of 2 that will mean that the first additional entry will occur when the price will drop to 99$ however the second will occur when the price will go to 97$. The third additional position will be entered at 94$

5. For full automation of the bot, you should set your comments to the input in the bot settings in the "LONG" and "SHORT" fields. You also need to create an alert signal and set a Webhook to send signals.

IMPORTANT!!!

1. Position calculation should take into account several factors: your deposit, leverage, the number of DCA orders, the distance to the last DCA order;
2. When choosing leverage, it is important to correctly calculate the possible drawdown. If you set a high leverage value, then liquidation awaits and the bot will not be able to take profits and will exit the position ahead of time;
3. The size of the position must be determined in accordance with all risks and take into account the size of your deposit;
4. This DCA Bot is able to earn consistently with the correct calculated money management.
Release Notes
Fixed internal visual errors
Release Notes
Added additional indicator (MACD) as an entry point for the first order. If you would like us to add any other indicators for entry please comment below.
Release Notes
Updating MACD settings
Release Notes
Added additional indicator (Bollinger Bands) as an entry point for the first order.
Release Notes
- Fixed an error with incorrect calculation of DCA levels using the deviation multiplier.
- Changed activation conditions for extra orders from activation at closing to activation by touching DCA levels.
Release Notes
1. Added an additional indicator (VWRSI) as an entry point for the first order. VWRSI - Volume Weighted Relative Strength Index, which is the most accurate version of the classic RSI. This tool allows you to identify consolidated market phases and the ranges of exits from them, thereby providing greater accuracy than the classic RSI
2. Added the ability to use the percentage change in price as an entry point for the first order. For example, if the asset falls by 10% for a specified number of bars, the first DCA order will be opened.
3. Fixed visual bugs
Release Notes
1. Fixed a calculation bug when using the deviation multiplier.
2. Fixed bug with incorrect calculation of indexes for extra orders
3. Added an additional entry condition as an entry point for the first order - "ASAP" (As Soon As Possible) Trades are opened as soon as we are not in a trade. This mode works only in Trade direction “LONG” or “SHORT”
4. Added “Show Extra Order Line” function for visualization of DCA order levels.

Attention! For the most correct display of calculations and backtest it is recommended to use the script on the 1 min timeframe.
Bands and ChannelsbotcryptobotDCAmultitimeframePine utilitiessignalstradingbottradingrobotwunderbitwunderbit_tradingwundertrading

Protected script

This script is published closed-source and you may privately use it freely.

Want to use this script on a chart?


Also on:

Disclaimer