Please, read the below requirements. After that delete this text and write the description of your script.
Requirements to subject area, size and form of materials to be published:
What ideas is the code based on and how can the indications be interpreted? Describe the external variables used. If you submit an Expert Advisor, it is recommended to name the most suitable symbol and timeframe.If you submit an include file (#include), it is necessary to specify its purposes (for trailing, for calculating the size of position to be opened, etc.).
All images must be small, it is not recommended to exceed 750х500 pixels. The charts to be published containing indicators or graphical objects should be made in black and white color scheme: black and white candlesticks or black bars on white background. This will allow readers to print the image out directly from screen.
The code attached should be named both using Latin letters (letters of the English alphabet) and in English. For example, not issledovanie.mq5/erforschung.mq5/estudio.mq5/ricerca.mq5/recherche.mq5, but research.mq5.Recommendations:
MT4 Expert Advisor based on the CCI indicatorwaverider zigzag
This indicator is ZigZag based on Bill Williams Aligator
A modified close all script by me.Basic check-up of Experts for MQL4
This is a simple function for the initial control of an expert.