Graphic displaing of the statement, carring of a data from the *.htm table to the graph, for convenience of the analysis.
I welcome! Suffice the new useful program.))
In a network, at forums often are offered Statements in a format *.HTM on which it is possible to track technics of trade or to consider efficiency of this or that strategy. But to use such "inventory" of transactions in a tabulared kind extremely inconveniently.It is much more habitually and more evidently to observe and "feel" all this on the graph of the terminal where it is possible to analyze conveniently points of an input and accompanying signals, to cover with indicators, etc..
I have decided to not potter with HTML - code, StatementToGraph reads a simple text file in which the "business" part of the table Statement is preliminary copied and saved.
The step-by-step instruction:
To open in a browser the report (Statement), to select and copy only a part of the table with the orders.
To paste into an empty text file and to save it in a folder experts \files in a directory of your terminal.
For example: С:\Program Files\ ... \experts \files
It is possible to save it under the name Statement.txt or under another (in this case it will be necessary to change parameter of script FileName at its use).
Script StatementToGraph.mq4 should be placed in a folder experts \scripts in a directory of the terminal.
Then it is possible to start the terminal, and to open the chart of that currency that is in the Statement. If there aresome currencies - for everyone open the separate schedule.
Since the script works on historical data, should be downloaded Archive of quotations on the given currency in the Tools - History Center, otherwise - press F2 ...
The name of currency in a file should correspond to a symbol of the graph i.e. if in report the symbol is specified as gbpjpy_s and in the terminal is only gbpjpy, it needs to replace all "gbpjpy_s" in a text file by "gbpjpy". I hope, clearly.
Having dropped a script on the graph, check up a correctness of a name of a file:
... and Allow DLL imports
Allow DLL imports
Press OK and data of the report will become thegraph:
Green arrows - orders BUY, red- SELL, yellow- the cancelled pending orders.
Green lines - profitable transactions, red - unprofitable, yellow horizontal - not taken place.
Blue and red short hyphens - takeprofits and stoplosses of orders.
Read also pop-up helps.
Colors, certainly it is possible to change.
The parameter DeletePrev is responsible for the removal of the graphics that were created by a script earlier.
And in summary...
Well, analyze, study, solve strategy, share the reasons.
On the basis of our general researches it is possible to write more many of the interesting programs.
And I on former wait for your responses, ideas and offers...
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/9300
Indicator shows color lines between two MA crossesBest MACD final
Classical MACD with Impulse System.