In this article we will see how to create an accumulation strategy bot in 4 simple steps.
The strategy takes advantage of the volatility of the market. It will buy several times when the price is low, and sell everything when the total bought volume is in profit. Instead of using a stop loss and selling in loss when the price drops, the strategy will buy more and wait until price climbs back up. We are kind of trading time against losses.
In my examples I will not use a stop loss because I do not want to sell in loss, but note that the indicator has a stop loss feature too.
To prevent buying at the top or in a bear market and staying stuck for too long in a trade, the indicator comes with several filters such as a trend filter, volume or RSI filter.
Here is how a strategy typically looks like:
This step is optional, because I am sharing pre-configured strategies in my discord server that you can copy and use/edit for yourself.
When backtesting, the goal is to play around with the indicator settings until we are satisfied with the backtest results.
The backtest panel will give additional information to the strategy tester.
We mainly want to look at the profit % or net profit, the Avg # Days in trades - which is the average number of days a trade takes, the Max # Days in deal - the maximum number of days a trade took.
For this tutorial, I will be using this strategy:
If you are subscribed, you can directly copy the chart using this link: https://www.tradingview.com/chart/mXVoDgau/
The backtest parameters are the following:
The strategy has a required initial capital of 10 000 USDT. It will buy using 1000 USDT up to 10 times, and sell everything on take profit.
You could lower these amounts to fit your needs. Simply note that the minimum order size on Binance is around 10 USDT.
Once you can see your Binance account balances, it means your are successfully set up.
You can now create a bot by clicking the "create bot" button.
Create your bot like the following: select the pair, in our example, SANDUSDT.
Set the quantity. Important: make sure to use "quote" currency.
Give your bot a name and click save.
Now that we created our bot, nothing will happen yet. In "your bots" list, click "edit" to open the bot page.
We need to use two alert messages. One for buying using 1000 USDT. One for selling everything.
The buy message is the first one on the list: "Buy Message (Market)"
The sell message is the third one on the list: "Sell 100% Message (Market)"
Open the indicator settings.
Copy and paste the two alert messages like this:
In the "Long Entry" text field, paste the buy message.
In the "Long Take Profit" text field, paste the sell message.
The strategy requires one single alert to create.
Click "Add alert on Cyatophilum Accumulation Strategy".
It will open a popup window.
IMPORTANT: Switch the condition to "alert() function calls only". Set the webhook url to "https://blockchainfiesta.com/tradingview_signal/listener.php"
Give your alert a name.
You are done!
I recommend to save your chart layout. If at any time you want change an indicator setting, you have to delete the alert and create it again. The alert save the indicator configuration at the moment you create it, an alert is basically a copy snapshot of the indicator.
Written by Cyatophilum - Created 6 months ago - Last edited today
Hello and welcome to this tutorial.We are going to backtest 3 commas DCA bots using ...
In this article we will see how to create an accumulation strategy bot in 4 simple steps. Require ...
It is now possible to automate your trading using the indicators and Binance. I used Binance API to ...
Until now we have been struggling with two versions of each indicator in order to do two specific th ...