Download MetaTrader 5

Run EA on demo account

To add comments, please log in or register
Carry on your private correspondence in your profile. It is secure!
tsng
25
tsng 2011.12.04 04:29 
I opened a demo account. How to run my own ea on Meta trader 5 at real time(not strategy tester) on my demo account and get the report and orders history? Thanks.
Documentation on MQL5: Standard Constants, Enumerations and Structures / Environment State / Account Properties
  • www.mql5.com
Standard Constants, Enumerations and Structures / Environment State / Account Properties - Documentation on MQL5
Andrei Moraru
1160
Andrei Moraru 2011.12.04 12:41  
Attach EA to a chart, then after it trades for some period, go to History tab, right-click there and choose Report->HTML or Open XML (whatever is better for you).
tsng
25
tsng 2011.12.05 08:41  
enivid:
Attach EA to a chart, then after it trades for some period, go to History tab, right-click there and choose Report->HTML or Open XML (whatever is better for you).
I also enable the autotrading. I can't find the History tab on MetaTrader 5. Thanks.
Andrei Moraru
1160
Andrei Moraru 2011.12.05 12:38  

It's here:

Screenshot

tsng
25
tsng 2011.12.09 09:02  
enivid:

It's here:

When the EA place an order the order is not directly go through. The order has to be manually placed by the broker, isn't it?
Biantoro Kunarto
14896
Biantoro Kunarto 2011.12.09 11:26  
tsng:
When the EA place an order the order is not directly go through. The order has to be manually placed by the broker, isn't it?
You can read this article "Trade Events in MetaTrader 5" (https://www.mql5.com/en/articles/232)
Trade Events in MetaTrader 5
  • 2011.02.13
  • MetaQuotes Software Corp.
  • www.mql5.com
A monitoring of the current state of a trade account implies controlling open positions and orders. Before a trade signal becomes a deal, it should be sent from the client terminal as a request to the trade server, where it will be placed in the order queue awaiting to be processed. Accepting of a request by the trade server, deleting it as it expires or conducting a deal on its basis - all those actions are followed by trade events; and the trade server informs the terminal about them.
To add comments, please log in or register