Detect a trade when it's opened

 

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

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

Hi WHRoeder

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

Cheers

Phil

Reason: