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.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.
🏆 [бесплатная реклама] Рейтинг трейдеров криптовалют: