For some algorithms in the MoonBot terminal, it is required to try to close it as quickly as possible after buying a coin, for example, when using emulator strategies that should give a trigger key to launch another real strategy, but at the same time leave the date and time of the trigger in the emulator report for subsequent analysis of the initial detection. Such a quick closing of a position after purchase can be achieved by configuring the comparison algorithm of the EMA formulas in the Sell Order section of the strategy settings.
To do this, install:
SellByCustomEMA = EMA(5m,1)>-1000
SellEMADelay = 0
SellEMACheckEnter = NO
In this case, immediately after the purchase, the verification algorithm for the formula EMA(5m,1)>-1000 will start, a condition that is always met, after which the PanicSell algorithm will be activated and the position will be quickly closed.