Some useful notes here from Metatrader MT4 or MT5 in MQL. Here are some zig zag hints on how to build this:
Zig Zag is the key
https://www.mql5.com/en/articles/2774NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!