Trabalho concluído
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Termos de Referência
I am trading with EAs that uses arbitrage or if not arbitrage, using very short Trade Opening windows.
It would help me in my trading if this new EA I am asking for could give me information that will be presented in my MT5. This will tell me
what amounts (how long) Order Execution Time (Value of Time in milliseconds to open this actual order, plus value of the time this broker
uses to close this order). Also, I need this EA to deliver information of Slippage Average and Slippage Last Order. Finally, I need the
Spread of this actual pair will always be presented as a value on the monitor screen.
I have with me an EA that is measuring Slippage average and on last order Named VSA. I also have here an EA that present me with order execution time for order open and also for order close (Arbitron). I can deliver screen prints of these 2 EAs presentation on the screen and also in the Experts Tab in the Toolbox if you want.
The indicator/EA could for example work presenting these measurements that I wish for a small order that I send out manually if
possible, by pressing a Measurement Order Send button. If you can make so that the order closes after a time in seconds set by me, it is
good. If not, I close the order manually. I will normally use this manual order for sending of 1 test order of 0.01 lot. The
Measurement Order Send button will be on the actual pair monitor chart. There it will be with this order start button and the
measured value presentation windows on top left of the chart.
This EA must send out a real trade to be able to measure these 2 Time Windows for execution time. This application that you will make will
be so that I can install it in any MT5 application like an EA. When it is installed, it will always be installed in a real account so I can get
the correct measurements from live account trading reality. If you could make so that I can press a button on the screen, and the
application you will make then sends out 1 trade of 0.01 lot. Then (if possible) after 2 seconds it closes the trade. I then can see the time
used in ms to open and another time in ms to close this trade.
Slippage presentation should be in figures like Slippage avg: 0.0. Slippage Last: 0.0 Slippage is there presented in a figure that we want to be near zero. If the figure is in the negative, the trade often will be in loss. If the Slippage is positive figure, the trade most often comes out positive. It must be as mentioned earlier a trade taken to measure Slippage. Slippage refers to the difference between the expected price of a trade and the price at which the trade is executed.
More info regarding Slippage:
More regarding understanding of SLIPPAGE presentation:
Let’s say the EUR/USD rate is 1.2057 and you have set the max slippage at
a value of 2 in any EA. The program will execute your order if the price is 1.2057, 1.2058 or 1.2059, but will not execute your order if the
price is 1.2060. The value of 2 is the value I am after.
"Time order taken" Same time as my Market watch
"Time order closed" Same time as my Market watch
"Execution Time to open order" In Milliseconds
"Execution Time to close order" In Milliseconds
"Slippage" Presented as Slippage avg: 0.0. Slippage Last: 0.0
"Spread at the moment" Taken/calculated from the Market watch as usual
I need Slippage values presented like here below:<:p><:p>
2020.05.27 00:19:06.286 Pro_VSA_EA_Ultimate_6.3_[MT5] (GBPAUD.ecn,M1) INFO: --> OPENPOSITION: --> [BUY! #119037] Slippage = 3.6, in 78ms<:p><:p>
2020.05.27 00:19:10.384 Pro_VSA_EA_Ultimate_6.3_[MT5] (GBPAUD.ecn,M1) INFO: --> VirtualSL ::CLOSEPOSITION: --> [#119037] ===> profit = -18530.7 pp, lot = 0.03, in 78ms