Download MetaTrader 5

Detect a trade when it's opened

To add comments, please log in or register
Philb1
34
Philb1  

Hello

Is there a way to detect when a trade has been opened with the standard MT4 single click buttons?

I've looked through the documentation and can't see anything that relates to when trades are placed manually.

A bit of code to show me how or a pointer to where I can find out will do nicely

Thanks

whroeder1
15351
whroeder1  
OrdersTotal - Trade Functions - MQL4 Reference changes when "trades are placed" or closed. "Manually" is irrelevant.
Philb1
34
Philb1  

Hi WHRoeder

Thanks for the pointer, I'll look into that now but I might be back with another question

Cheers

Phil

To add comments, please log in or register