2 positions types are used. Fast and slow. The period for fast and slow user specifies separately. For example for quick: if the price is higher than the highest price in the last 10 candles, then open a long position using a stop order. If the price is below the lowest price in the last 20 candles, then close the long position. In the same way for a short position and also for slow positions.
[реклама] Рейтинг трейдеров криптовалют: https://tradeprofile.net/rating