RobotFX curates the best open-source MetaTrader code to inspire your trading automation.
This is a modified version of ZigZag indicator that draws lines with different colors depending on the price movement direction.

Grid trading done right – try the robust Grid Expert Advisor for controlled risk. Details here.
Level up your trading with professional RobotFX expert advisors and indicators. Visit www.robotfx.org for proven MT4/MT5 tools.
57