Specification
Many trading strategies require constant analysis of symbols when searching for various market entry patterns. While searching and analyzing symbols may be useful in terms of gaining insight into the market, sometimes, you may want a list of symbols featuring a necessary parameter to be simply displayed to you. In this article, we will try to develop such a tool for some intraday trading patterns.
More specifically, today we will expand the capabilities of our utility by adding the auto sorting of symbols by specific parameters. To do this, we will create a series of tabs searching for symbols currently featuring certain trading patterns: parabolic curves, air levels (flat ranges), gaps, etc. We will also learn how to add custom tabs, of course provided that you know the basics of MQL programming.
As in the previous article, our utility will work in both MQL4 and MQL5. Looking ahead, I should say that opening auto sorting tabs in MQL5 is slower than in MQL4. This happens when the requested symbol does not have a history up to the desired depth. In such cases, MetaTrader 5 requests the history from the trading server and builds the required timeframes.
Therefore, if nothing happens when you click the tab, or if all the buttons disappear, do not panic and just wait. In fifteen-twenty seconds, the necessary symbols will be displayed. It is still faster than viewing the charts of hundreds of symbols manually. On the other hand, in MetaTrader 4, you need to independently provide the history of the necessary symbols and timeframes, which also requires time and attention to.