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. Or for real strategies where a high position closing rate is required. Such a quick closing of a position after purchase can be implemented by configuring the trigger algorithms in the Triggers Master/Slave section of the strategy settings.
To do this, install:
TriggerKeyBuy = 33
TriggerKeysBL = 33
TriggerSecondsBL = 1
SellByTriggerBL = 33
After buying a coin in the Master trigger settings section, the parameter TriggerKeyBuy = 33 gives the key 33 upon purchase, which is also the key TriggerKeyBL = 33 for itself, and since the option “Sell position upon receipt of the BL trigger with key 33” (SellByTriggerBL = 33) is set in the same strategy, as soon as the strategy buys If he gets a coin, he’ll sell it right away.