The indicator draws on the price chart a simple ZigZag, for which you need to specify only the step value. A break point is added when the length of the ZigZag leg (step) is exceeded.
The indicator provides two possible options for specifying the step:
The indicator has two input parameters:

Fig.1 H4, step in points: 800 points

Fig.2 H4, step in percentage: 50%
Translated from Russian by MetaQuotes Ltd.
Original code: /ru/code/20055
ATRR
ATR Ratio shows a ratio of two ATRs.
ChannelInd
The indicator displays on the chart the previous trading day's channel.