Hi Eveyone...

I can not program in MQL but came across a great program Forex Generator which helps you to
create EA's and Indicators. I am busy trying to create an EA using the generator however the
system that I am trying to automate relies (among other things) on the use of ZigZag.

My system requires my to sell only when the price is higher than the last 2 upward peaks/swings
of the ZigZag. I was wondering if there was anyway to incorporate ZigZags into an EA due to the
fact that they re-paint etc ? The program I am using to generate my EA allows the importing of
custom code or blocks, is there anyone that could tell me how to incorporate ZigZag into an EA ?

Thanks in advance for any help !