There is a price for the currency, the bot follows the price, if the price rises by a certain percentage over a certain time (for example, by 2% in 30 seconds), a buy signal is triggered based on the specified parameters and a stop-loss is simultaneously set.