A Script that does a symbol's audit on MT4 and MT5

2019.11.26 Scripts Other

Specification

General Idea

A script for MT4 and MT5 that executes market and pending orders and then closes them in all symbols of a broker and checks if any errors, counts speed of execution and spread on account's currency. The results are wirtten on a HTML or CSV table

Infos:
Company: Name Company of Platform (whitelabel)
MT Version: Version of MT4 or MT5
Date Todays Date
Time: Time Now
Server: Server Connected
DC: The Datacentre connected
PC Info: The info of the PC , presented on journal
Symbols Count: A count of all symbols
Columns
Symbol The Symbol in the Marketwatch
Security The Symbol Category Security
Bid Price The realtime Bid price
Ask Price The realtime Ask price
Trade Type Market/Pending
Spread (points) The current Spread of the symbol in points taken from Marketwatch
Spread (Currency) The Spread that is charged initially at the start of the trade. Basically a snapshot of the first cost in the account's currency
Commission The commission charged on the trade on the account's currency
Total Cost Spread (currency) + Commission
Speed of Open (Milliseconds) The speed that the open of the trade takes to begin
Speed of Close (Milliseconds) The speed that the close of the trade takes to begin
Average The average of the Open and Close. Open speed + Close Speed / 2
Error? "If the trade has a problem report the error log. List of errors:

-""Trade is disabled""
-""Trade Context is Busy""
-""Account disabled""
-""Off Quotes""
-""Market Closed""
-""Insufficient Margin"""
Inputs
Password (Default: enter password) Will let you know the password i want 
Lot (Default: 1)

Market or Pending (Default: Market) Market or Pending

Output: CSV or HTML


See example of CSV and HTML output attached


Responded

1
Developer 1
2019.11.26
Rating
5
(3)
Projects
3
0%
Arbitration
2
0% / 100%
Overdue
0
Free
2
Developer 2
2019.11.26
Rating
4.71
(248)
Projects
382
28%
Arbitration
65
18% / 46%
Overdue
138
36%
Working
3
Developer 3
2019.11.26
Rating
5
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Working
4
Developer 4
2019.11.26
Rating
4.91
(101)
Projects
137
43%
Arbitration
7
29% / 29%
Overdue
4
3%
Busy

Project information

Budget
50 - 100 USD
VAT (19%): 9.5 - 19 USD
Total: 59.5 - 119 USD
For the developer
45 - 90 USD
Deadlines
from 1 to 10 day(s)

Customer

Placed orders7
Arbitrage count1