TradingView
Wunderbit
2022년 10월 6일 오후 2시 40분

Wunder DCA Bot 

Bitcoin / USD TetherFTX

설명

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.

릴리즈 노트

Fixed internal visual errors

릴리즈 노트

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.

릴리즈 노트

Updating MACD settings

릴리즈 노트

Added additional indicator (Bollinger Bands) as an entry point for the first order.

릴리즈 노트

- 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.
코멘트
AlgoFrost
I dont understand why did you do $ value of entry orders instead of %? I imagine people would love to use or backtest % value instead of fixed dollar value?
onisich2504
+
Wunderbit
@Manycaekz, The functionality completely duplicates the functionality from WunderTrading DCA. The volume of entry into the first order of the position and the first DCA order are the same. You need to calculate the position amount manually. Also, the volume in dollars allows you to set the volume taking into account the leverage.
The functionality completely duplicates the functionality from WunderTrading DCA. The volume of entry into the first order of the position and the first DCA order are the same. You need to calculate the position amount manually. Also, the volume in dollars allows you to set the volume taking into account the leverage.
AlgoFrost
@Wunderbit, That's not what i was asking...the point of the DCA is to scale up as you trade no? So % of PFL is more beneficial to people in my opinion, rather than fixed dollar amount. Also, leverage using a DCA bot? I guess people really want to get shrekt lol.
Wunderbit
@Manycaekz, We will review this functionality and try to implement it in future updates.
maxoost
@Manycaekz, you use % in dca, you gonna have a bad time. Example 1 bot uses 50$ of your initial 500$. Second bot will have different %. If you add more bots it becomes chaos, totally uncontolable. Imagine winnig bot that got lowest $% wins and biggest bot looses. Ur in shit
Gabogabo03
Hi I like the strategy. I think some of backtests are good for some coins. but I cant see any long close or short close comment entry place . How will the bot close positions?. thanks
udaymehta911
@Gabogabo03, hi are the entry closes and additional entries working for you without adding any custom comments?
Gabogabo03
@udaymehta911, hi I didnt use this strategy yet
Alex_eth
It seriously need stop loss function because it will stuck somewhere and trade will never complete if it doesn't reach take profit and it will eat whole capital. Please add stop loss in the script so we can backtest accordingly. Thanks in advance.
더보기