How does the SellSpread algorithm work in the MoonBot terminal to adjust the Sell order, which is configured in the strategies on the “Sell Order / SellSpread” tab?

: Strategy settings

In the MoonBot terminal, on the Sell Order / SellSpread tab, you can configure the algorithm for adjusting the Sell order to the price of the last shot (stick).
If the SellSpread algorithm is active, then after the purchase of the coin, an interval of 5 seconds is used to analyze the price of placing a Sell order, during which the price of the shot stick is searched and a Sell order is placed for the price of the last stick. To work out a SellSpread, 1 shooting stick is enough, that is, as such, the price spread (several shooting sticks in a row) is not searched for, if there is more than 1 shooting stick in the interval of 5 seconds, then the Sell order is placed under the last one.

The SellSpread algorithm also has a built-in attempt to take into account the price trend. If the trend is confidently determined, the log will contain an entry like: Trend: X%. If it was not possible to confidently determine the price trend, then the log will contain an entry like: Trend 0%.