Search for movements without rollbacks (analysis of ticks).
Idea of the algorithm: search for the moment when the price consistently increases/decreases for multiple ticks in a row ("" parameter) without rollbacks. It is compared with the price.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/17162
Alligator - Expert Advisor for MetaTrader 5. Trading based on indicators: iAlligator (Alligator), iFractals (Fractals). Martingale.Straddle&Trail
Straddle&Trail - Expert Advisor for MetaTrader 5.