New free code from MQL5: indicators, EAs, and scripts for traders.
Good old Moving Average drawn using DRAW_SECTION style is a usual mean to draw ZigZag. Time Frame on which it is calculated can be set in input parameters. That is why such an unusual style of drawing is used.

Fig.1 the iMa_HTF indicator
Protect profits effectively with the smart Trailing Stop Expert Advisor. Advanced trailing options for MT4/MT5. See it in action.
Complement community code with advanced automation from RobotFX.
1091