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:a much more efficient version of selection sort
an efficient, general-purpose sorting algorithm
Expert Advisor
This is a simple EA test code I made for adapting Candlepatterns.mqh