Published för 3 år sedan • 5 minute read

PR: RevenueBot Service Adds Trailing Stop For Binance Futures, USDS-M And COIN-M Bots

Trailing Stop: The Basics

Trailing stop (another name is trailing tail profit) is used to maximize income and is a substitute for the classic limited-take-profit order. This mechanism relies on deferring the take profit warrant immediately after opening a position. Instead, it waits for the best price to get more income by tracking the price change. When placing a trailing stop order, the concept of a stop price appears, this is the price when the position is closed.

The stop price is initially separated from the trailing stop activation price by a specified percentage of deviation and will change in the direction of increasing revenue following the current price on the exchange. As a result of this trailing stop mechanism, the position will be closed by a market order when the price will be the most advantageous for the whole time of the tracking, and then turned in the opposite direction by the percentage of deviation.

How does this work?

The trailing stop mechanism has two settings:

Activation price (configuring the bot “Profit %”). This will be the price at which the trailing stop mechanism will be activated, the first stop price will be determined and tracking of further price changes will begin.

Percentage of deviation (configuring the bot “Percentage of deviation”). Sets the lift of the stop price. When the current price on the exchange continues to go in the direction of increasing the profit, then the price stop also changes, following the current price by a percentage of the deviation. But this process is not infinite, and when the current price on the exchange unfolds and goes down in the direction of lowering the profit margin, at some point the price of the stop will become equal, at that moment the order on the market will work and the position will close.

Thus, if after the bot opening the price goes in the direction of the profits then when the activation price is reached, the bot on the exchange will place the order trailing_stop_market. The function of this order is then fully transferred to the control of the Binance Exchange. The Exchange begins to monitor price changes.

For the LONG algorithm - when the maximum price is reached and the price is then reversed on the set percentage of rejection, the exchange will send a market order for the sale, the position will be closed.

For the SHORT algorithm - if the minimum price is reached and the price is then reversed on the set percentage of rejection, the exchange will send a purchase order, the position will be closed.

Once such an order is activated, the bot will calculate profit at the average price of the order operation and complete the current cycle of work.

Understanding Trailing Stop Mechanism with an example

Let’s take a look at how Trailing Stop works with the example of the BTC/USD trade pair. Suppose we opened the LONG position, bought the 1BTC at the price of 10000USD. When the position was opened, the trailing order was placed with the activation price of 5%, with the percentage of deviation at 1%. The following table shows how the trailing stop will work.

Price of BTC

Stop Price

Trailing stop state

Comment

$10300

not specified

Trailing stop is not active

the price rose but did not reach 5% to activate the trailing stop mechanism

$10500

$10395

Trailing stop is active

the price reached 5%, mechanism activated, price of stop. 10500-1%=10395

$10400

$10395

Trailing stop is active

The price decreased but did not reach the stop price to complete the tracking mechanism with orders on the market. The price of the stop does not change.

$10500

$10395

Trailing stop is active

The price increased but did not update maximum, so the stop price also does not change.

$10600

$10494

Trailing stop is active

The price has increased and has updated at most since the start of the tracking, the price of the stop is pulled up behind. 10600-1%=10494

$10800

$10692

Trailing stop is active

The price has increased and has again updated the maximum since the start of the tracking, the stop price is pulled up again. 10800-1%=10692

$10700

$10692

Trailing stop is active

The price decreased but did not reach the stop price to complete the tracking mechanism with an order on the market. The price of the stop does not change.

$11000

$10890

Trailing stop is active

The price has increased and has again updated the maximum since the start of the tracking, the price of the stop is pulled up again. 11000-1%=10890

$10900

$10890

Trailing stop is active

The price decreased but did not reach the stop price to complete the tracking mechanism with an order on the market. The price of the stop does not change.

$10600

$10890

Stop-loss triggered

the price has been further reduced and the price of the stop is lower, a market order is triggered and the position is closed at an average price of approximately $10700

The example in the table shows a possible price change on the exchange where the position closed at a price of $10,700, which is a profit of 7% and it is higher than if we just used a limit take profit order with a target profit of 3%.

Enabling Trailing Stop

Enable trailing stop functionality to create/edit bot:

  1. In the basic settings set the desired percentage of profit «Profit (%)», which will be the price of activation of trailing foot.
  2. Activate the "Trailing Stop" checkbox.
  3. Set the "Deviation percentage".

Trailing Stop Mechanism: Recommendations

The trailing stop mechanism can increase revenue when the price has gone to the side of profit and continues this movement, but you need to understand that using this mechanism you can miss the only opportunity to get a profit in the current cycle of the bot, since the current price after reaching the activation price of the trailing stop can go in the opposite direction, resulting in a loss, although using the usual limit take profit, the order we could get a profit here.

If you have decided to use a trailing stop mechanism, we recommend setting the price of the activation mechanism «Profit (%)» a little more than used for the usual limit to take profit order.

Choose the percentage of deviation to be in profit when executing a trailing stop, if the current price on the exchange after reaching the activation price changes in the direction of loss.

This is not the whole list of features of RevenueBot service, more details about the offered services can be found on the official website.

***

DISCLAIMER

The views, the opinions and the positions expressed in this press release are those of the author alone and do not necessarily represent those of https://www.cryptowisser.com/ or any company or individual affiliated with https://www.cryptowisser.com/. We do not guarantee the accuracy, completeness or validity of any statements made within this press release. We accept no liability for any errors, omissions or representations. The copyright of this content belongs to the author. Any liability with regards to infringement of intellectual property rights also remains with them.

Kommentarer

Inga kommentarer än... Sätt igång konversationen!