The ZigZag indicator draws rays, thus showing "significant" movement.
Mode parameter is the indicator work mode:
Not redrawing, if the up ray occurred, then last down ray won't change its low extremum. And appeared up ray will update its high extremum.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/1165
The 2pbIdealXOSMA indicator represents the MACD histogram based on the 2pbIdeal1MA and 2pbIdeal3MA indicators.Exp_2pbIdealMA
The Exp_2pbIdealMA indicator is based on the crossing of two Moving Averages. A signal to perform a deal is formed at bar closing if there is crossing of a fast 2pbIdeal1MA Moving Average with a slow 2pbIdeal3MA Moving Average