"Sell Order" Tab
“Sell order” Tab Parameters
-
AutoSell: YES/NO checkbox.
If YES is selected, a Sell order will be automatically placed after the coin is purchased.
If NO is selected, no Sell order will be placed after the purchase, and all acquired coins will accumulate on your balance.
⚠️ Note: this parameter appears in the strategy settings only for spot trading and only in “Expert mode” (the MoonBot.ini file must contain ExpertMode=1); -
SellPrice: field for specifying the sell price at which the Sell order will be placed, as a percentage of the purchase price;
-
SellDelay: field for specifying the waiting time in milliseconds before placing the Sell order;
-
SplitPiece: field for specifying the portion of the Sell order in percent (from 0 to 50) that will be separated from the main Sell order. If 0, not used. If the SplitPiece parameter is set to a value other than zero, an additional option Split Piece X% appears in the context menu of the Sell order placed on the chart. Clicking this option separates a portion from the Sell order (for a Sell order placed by a manual strategy where this parameter is set; if SplitPiece = 0 in the manual strategy, the Split Piece X% option will not appear in the context menu).For example, when SplitPiece = 25, separating 25% of the Sell order works as follows: the separated 25% portion of the Sell order is placed 1% below the main Sell order if it is positioned high. If, at the time of separation, the SellPrice is less than 1% above the purchase price, the distance between the orders becomes smaller accordingly, so that the separated portion does not immediately enter the opposite order book and close right after being separated from the main Sell order;
-
UseMarketStop: YES/NO checkbox.
If YES is selected, use the exchange stop. Depending on whether the Sell order is placed above or below the current price, it will be placed either as a take-profit (regular limit above price) or as a stop (conditional market stop below price). A stop and take-profit cannot exist simultaneously. The MarketStopLevel parameter defines the initial stop price. This parameter is used only in the Manual strategy; -
MarketStopLevel: field for specifying the initial exchange stop price when UseMarketStop = YES. This parameter is used only in the Manual strategy;
-
SellPriceAbsolute: YES/NO checkbox.
If YES is selected, SellPrice is treated as an absolute value (for example, $1).
If NO is selected, SellPrice is treated as a percentage of the ASK price (for example, 1%). This parameter is used only in the NewListing strategy; -
SellFromAssets: YES/NO checkbox.
If YES is selected, the strategy will sell coins from the balance.
If NO is selected, the strategy will not sell coins from the balance. This parameter is used only in the NewListing strategy; -
SellQuantity: field for specifying the number of coins to sell from the balance (for example, 1000 coins). If the value is set to “0”, all coins from the balance will be sold. This parameter is used only in the NewListing strategy;
-
PriceDownTimer: field for specifying the time in fractional seconds after which the Auto decrease Sell order function is activated. If 0, not applied. If not 0, after the specified time the Sell order will begin to decrease according to the parameters defined below;
-
PriceDownDelay: field for specifying the time in fractional seconds between each step of decreasing the Sell order. After a purchase, a Sell order is placed and we initially wait for the price to reach it. If this does not happen, the Auto decrease Sell order function is activated once the PriceDownTimer expires. The Sell order is then decreased for the first time; after the PriceDownDelay interval expires, it is decreased again, and so on, until a buyer is found or the minimum allowed level (PriceDownAllowedDrop) is reached;
-
PriceDownPercent: field for specifying the percentage step by which the Sell order is decreased at each PriceDownDelay interval;
-
PriceDownRelative: YES/NO checkbox.
If YES is selected, the percentage is calculated relative to the difference between the current Sell and Buy orders.
If NO is selected, the percentage is calculated from the absolute price.
Example 1: SellPrice = 1 (%), PriceDownRelative = YES, PriceDownPercent = 0.2 (%).After the PriceDownTimer expires, the Sell order will decrease from 1% to 0.998%, according to the formula: 1% - 1/100 * 0.2% = 0.998%.
Example 2: SellPrice = 1 (%), PriceDownRelative = NO, PriceDownPercent = 0.2 (%).After the PriceDownTimer expires, the Sell order will decrease from 1% to 0.8%, according to the formula: 1% - 0.2% = 0.8%; -
PriceDownAllowedDrop: field for specifying the minimum allowed level in percent from the purchase price to which the Sell order may be decreased. For example, if PriceDownAllowedDrop = 0.5 (%), the Sell order will gradually decrease down to 0.5% above the purchase price and will not decrease further;
-
UseScalpingMode: YES/NO checkbox.
If YES is selected and if SellPrice is set below 1%, scalping mode will be used, in which the strategy may place a Sell order up to 2% above the purchase price depending on large limit orders in the ASK order book. This works similarly to the Place sell order under the wall option in Settings → Main; -
SellByFilters: field for specifying the time in whole seconds after purchase, after which the position may be sold when exiting the filter boundaries (except EMA filters in the CustomEMA parameter on the Filters → Base tab, whose conditions do not trigger selling). If 0, not applied;
-
SellByCustomEMA: field for specifying one or more formulas which, when satisfied, activate selling of the position.
⚠️ Important! Unlike the formulas in the CustomEMA parameter on the Filters → Base tab, selling is triggered when the EMA conditions in SellByCustomEMA are met, not when exiting them
Example: If SellByCustomEMA = EMA(3s,1s)>1, it means “Sell the position on growth when the average price 1 second ago exceeds the average price 3 seconds ago by more than 1%.”; -
SellEMADelay: field for specifying the delay time in whole seconds before selling the position after the EMA formula conditions in SellByCustomEMA are triggered;
-
SellEMACheckEnter: YES/NO checkbox.
If YES is selected, check the EMA filter and formulas in the CustomEMA parameter on the Filters → Base tab before buying. If the condition is met, do not buy in order to avoid immediately selling the position; -
SellLevelDelay: field for specifying the delay time in whole seconds before moving the Sell order to a fixed level. If 0, never move;
-
SellLevelDelayNext: field for specifying the time in whole seconds after which the next Sell order adjustment will be made according to the SellLevel parameters. The first Sell order adjustment occurs after SellLevelDelay seconds; starting from the second adjustment, the interval is SellLevelDelayNext. If SellLevelDelayNext = 0, all adjustments are made at the SellLevelDelay interval;
-
SellLevelWorkTime: field for specifying the time in whole seconds during which the SellLevel Sell order management algorithm operates. After this time expires, the Sell order will no longer be adjusted. If 0, not applied;
-
SellLevelTime: field for specifying the time in whole seconds over which the maximum price (level) is calculated for adjusting the Sell order to that level plus or minus SellLevelAdjust percent. If 0, the order is not adjusted;
-
SellLevelCount: field for specifying the number of Sell order adjustments according to the SellLevel settings. The Sell order will be adjusted every SellLevelDelay seconds;
-
SellLevelAdjust: field for specifying the percentage adjustment of the price to which the Sell order will be moved.Example: the coin was bought at 100, SellLevelDelay = 60 (sec), SellLevelTime = 3600 (sec), SellLevelAdjust = -1. In this case, 60 seconds after purchase, the maximum price over the last 3600 seconds will be calculated, for example 120, and the Sell order will be moved to 120 - 1% = 118.8;
-
SellLevelRelative: YES/NO checkbox.
If YES is selected, move the Sell order by the relative percentage from SellLevelAdjust calculated between the purchase price and the maximum price over SellLevelTime seconds.
Example: -
SellLevelDelay = 5 (sec) — after 5 seconds the Sell order will be adjusted
-
SellLevelDelayNext = 3 (sec) — then every 3 seconds further attempts will be made
-
SellLevelWorkTime = 300 (sec) — after 300 seconds the SellLevel algorithm stops
-
SellLevelTime = 3600 (sec) — the maximum price over the last 3600 seconds (1 hour) is calculated
-
SellLevelCount = 3 — three attempts to adjust the Sell order
-
SellLevelAdjust = 50 (%) — the Sell order is moved to 50% between the purchase price and the maximum price over 3600 seconds (1 hour)
-
SellLevelRelative = YES — use relative adjustment between the purchase price and the maximum price over 3600 seconds (1 hour)
-
SellLevelAllowedDrop = 0.5 (%) — the level below which the Sell order cannot be moved by the SellLevel algorithm (cannot be negative when SellLevelRelative = YES, and can be negative when SellLevelRelative = NO).
With these settings, if you need to move the Sell order: -
“to double the distance of the hourly maximum” — SellLevelAdjust = 200 (%)
-
“exactly to the hourly maximum” — SellLevelAdjust = 100 (%)
-
“under the hourly maximum wall, i.e., 1% below it” — SellLevelAdjust = 99 (%)
-
“to half of the hourly maximum” — SellLevelAdjust = 50 (%)
-
“to 10% of the hourly maximum” — SellLevelAdjust = 10 (%)
-
“to 5% of the hourly maximum” — SellLevelAdjust = 5 (%).
-
SellLevelAllowedDrop: field for specifying the minimum allowed level in percent from the purchase price to which the Sell order may be adjusted by the SellLevel algorithm.