Работа завершена
Техническое задание
I need to build an EA to stress test my server capability. The purpose of the EA is so that I can test how many trades my server can take and also how fast can it execute those trades.
Basically here's what the EA needs to do:
The EA will open a number(SET BY USER) of trades with the fixed lotsize(SET BY USER) across random pairs, and it wait for a period of time(SET BY USER) before it closes all the trades. As it closes it will reopen with the same settings again. EA will open buy/sell order randomly.
Below is the settings can be set by the user
Trades : (This will determine how many trades open at one time)
Lot Size : (lot size of each trade that will be open)
Close Interval : (it will determine how long the trades will be open before closing all trades)
EG.
Trades : 100
Lotsize : 0.01
Close Interval : 5
Base on above settings, the EA will open 100 random buy/sell trades at 0.01 lotsize. After 5 mins it will close all 100 trades. Immediately open new trades right after old trades is closed with the existing settings.