Visualization Deals MT5
Those, who trade on their own and study the trade history of other traders, need a tool to display the history of the deals on a chart. One can learn a lot from such a representation of historic data. Sometimes it even gives an idea of a lucrative trading system.
Visual history of deals for signals within MetaQuotes service is available directly from the Terminal. To get it, go to the tab Signals in the Tools window and click on Apply to the chart on the signal page. However, there are some disadvantages to it:
- There are thousands of signals and not all of them are available in the Terminal.
- Likewise, some of them are not accessible on the website. The rating of the signals is permanently changing and only the signals meeting certain criteria stay visible.
- The signals you may be interested in can get unavailable at some point for different reasons. For example, the owner of the signal can simply stop transmitting it or put it into the Personal Signal mode, which will make it unavailable for public.
There is a solution though. The website provides an opportunity to download a history of deals. This is a way to keep the reports and have access to them at any time.
Script Visualization Deals can apply deals to a chart not only from reports downloaded from the Signals service, but also from third-party reports. To get the script started, create a folder #History in the MetaTrader 5 directory as shown below:
- Metatrader 5\MQL5\Files\#History
Then download files in CSV format to this folder and launch the script for the symbols that are already in reports.
The script Visualization Deals has only one external parameter where the file name is to be put (together with the extension name). For instance, if the file name is report.csv, it has to be put to the external parameter exactly this way.
Detailed study of deals on smaller timeframes (if another broker's quotes are used) will show significant discrepancies. The arrows will be at a considerable distance from the quotes. That is why for a more precise analysis, visualization of the history of the deals has to be carried out for the quotes initially used. Service Signals features an opportunity to look up such information as the name of the broker executed a deal and an account type involved.
If there are any other sources of reports that this script failed to recognize, please let me know and I will include a new format into the script and it will expand its capabilities.
Some bug fixes.