Skip to main content

DCA (Martingale) Bot - Trailing Mode

Contents Martingale + Smart trade? Why do you need the Martingale bot (trailing Mode)? Martingale Bot (Trailing Mode) Parameters Setting H...

Contents

Martingale + Smart trade?

When you first see the Martingale Bot (Trailing Mode), it might feel unfamiliar or confusing. The Martingale Bot (Trailing Mode) is a combination of the Martingale Bot and the Smart Trade Bot. First of all, you can take a look at our tutorials for the Martingale Bot (Standard Mode) and the Smart Trade Bot below:

After reading these two tutorials, I believe you’ll have a deeper understanding of both the Martingale Bot (Standard Mode) and the Smart Trade Bot. At that point, you might start to wonder: Why combine the Smart Trade function with the Martingale Bot (Standard Mode)?

Why do you need the Martingale bot (Trailing Mode)?

The volatility in the crypto space is much greater than in traditional finance, making it easy for prices to exceed your original expectations. When setting up a Martingale bot, you need to first anticipate the price volatility in order to determine the appropriate ratio for covering positions with each drop.

However, if the price drops too much, it may fall below the last Martingale safety order, leading to an unrealized loss. On the other hand, if the price suddenly rises, the bot may sell at a relatively low price, missing out on potential profits from a strong upward trend. The Martingale Bot's trailing mode can effectively solve this pain point. Martingale Bot trailing mode can solve such a pain point very well

For example:

We want to trade the DOGE/USDT pair using the Martingale bot (Standard Mode), setting both the price scale and take profit ratio at 1%. According to the K-line chart below, the bot performs well in the first half, capturing profits in a volatile market. However, in the latter half—highlighted in red—DOGE experienced a sharp decline following a sudden spike triggered by an announcement from Elon Musk. In such a market, the standard Martingale bot became temporarily trapped. It eventually closed positions with only a 1% profit, missing the opportunity to capitalize on the larger trend.

By using the Martingale trailing mode, we can achieve better timing for both buying and selling. For example, if we set the price scale and take profit ratio to 1%, and enable trailing mode with a 0.5% trailing ratio, the bot's behavior changes significantly. When the price drops enough to trigger the trailing buy, the bot will continue monitoring the price movement, wait for it to reach a local low, and then place a buy order once the price rebounds by 0.5%.

Similarly, when the price rises enough to trigger the trailing sell, the bot will track the upward trend, wait until the price reaches a local high, and then sell the position after a 0.5% pullback. This allows the bot to better capture profits from price swings. The performance is illustrated in the following two images:

Therefore, the actual performance is as shown in the pictures below:

As shown, the returns from a Martingale Bot (Standard Mode) are significantly lower than those from the Martingale Bot (Trailing Mode), and its ability to manage risk is also weaker in comparison.

While the Martingale Bot (Trailing Mode) is better suited for highly volatile cryptocurrencies, it can be more challenging to configure and manage. Choosing an effective trailing ratio requires extensive experience and, in many cases, professional backtesting. To help you gain a deeper understanding, let us introduce the meaning of each specific parameter below.

Martingale Bot (Trailing Mode) Parameters Setting

The trailing mode is designed for experienced traders, and as such, no AI-generated parameters are available within this mode. Traders are expected to have their insights into the assets they trade and carefully configure each parameter based on their strategy.

Customize Setting

Below is a detailed explanation of each parameter:

  • Price deviation (Price scale) Settings: The bot uses the price scale to average down the entry cost within each deal. By adjusting the price scale, the bot has a better chance of entering positions at more favorable prices for each safety order. There are two key parameters under price scale settings:

    • Price deviation (Price scale): This defines the percentage drop required before the bot places the next safety order using a trailing buy order type.

    • Max Rebound Rate: Once the price has dropped by the Price Scale Rate, the bot activates a trailing buy and monitors the price movement. It will wait for the price to hit a local low and then rebound by the Max. Rebound Rate before executing the safety order.

This approach allows the bot to avoid premature entries and potentially catch better buying opportunities during volatile market conditions.

  • Investment: This refers to the total amount allocated to the bot. In trailing mode, the bot uses market orders to execute trades, which can lead to higher slippage, especially with larger investments. To minimize this risk, we’ve set certain limitations when using this mode. Each bot is limited to a maximum investment range of $2,000 to $10,000 USDT, depending on the asset pair. It only supports trading pairs with USD or USDT as the quote currency, with the exception of ETH/BTC, which is also supported.

  • Signal: You can select a signal to trigger the start of each round, determining when the first order is placed. This may help improve the win rate for each round. Please refer to the DCA (Martingale) Bot Signals article to learn more about this feature.

  • Volume scale: How many times is the amount of this time compared to the previous time when the position is replenished. For example, if you choose 1.5 times, the investment amount for each safety order is 1, 1.5, 2.25…

  • Safety orders: In each round, the bot evenly divides the investment into multiple parts to buy the dips. The Martingale Bot uses an increasing order size strategy—buying the dips with 1 part of the funds, then 1 share, 2 shares, 4 shares, 8 shares, 16 shares, 32 shares, and so on—to execute the subsequent orders.

  • Trigger price (optional): The bot will be activated when the price reaches the trigger price, which can be set either above or below the current market price.

  • Price range: The bot will not start a new round if the current price is outside the defined price range. Once this range is exceeded, no further purchases will be made—regardless of whether the price rises or falls. This parameter is primarily designed to prevent the bot from buying at high levels after a sudden price surge followed by a correction, which could lead to the position being trapped.

DIY

Please refer to the "DCA (Martingale) Bot - DIY" article to understand the parameter settings in DIY mode.

How to Set Up a Martingale Bot (Trailing Mode)?

To get started, simply follow the tutorials on Pionex Martingale (Trailing Mode) strategy and create your first Martingale Bot today.

In APP:

Step 1: Open the Pionex app and click on [Bot] - [Create] - [Spot] and then select [Trailing DCA] Bot.

Step 2: Choose your desired cryptocurrency pair, then click [Customize]. Input your desired price scale parameters and take profit parameters, then enter the investment amount. Finally, click [Create], followed by [Confirm], to successfully set up your bot.

On the Web:

Currently, this bot is not available on the Pionex website. Once it becomes available, we will provide the creation steps.

Please get in touch with Pionex Support if you have any other questions.

Did this answer your question?