Algorithm for calculation:

Recommendations:
Translated from Russian by MetaQuotes Ltd.
Original code: /ru/code/1133
High Low Flat Channel
Defines the boundaries of flat channel based on bars extremums
Exp_BuySell
The trading system based on the signals taken from the BuySell semaphore, signal, trend indicator
iWPR_HTF
Larry Williams' the Percent Range indicator drawn in the zigzag form. The indicator can be calculated and set in a fixed timeframe.
iAlligator_HTF
The Alligator of Bill Williams drawn in the zigzag form. The indicator can be calculated and set in a fixed timeframe.