MQL4 - automated forex trading   /  

Forum

Recognize orders, if they were triggered or not.

Back to topics list To post a new topic, please log in or register

avatar
4
postrock 2008.07.24 19:19 

Hi, my problem is probably very easy to solve, but i am really new to programming so i still cant solve it.

I need my EA to recognize wich of the pending orders he opened already has been triggered and wich not.



I need that to make the EA perform different actions on orders still pending and on orders that are live in the market.


thx for any help
article

300 Developers within the First Month Registration

Registration of the Automated Trading Championship 2006 continues. Within the first month, over 300 developers of mechanical trading systems have already submitted for participation. There is only one month left before the Championship starts.


avatar
2462
phy 2008.07.24 23:41 

Look for change in OrderType():

example, from OP_BUYLIMIT to OP_BUY


avatar
4
postrock 2008.07.25 01:57 
phy wrote >>

Look for change in OrderType():

example, from OP_BUYLIMIT to OP_BUY

yeah i had just figured it out..and felt pretty stupid for asking.

OrderType == 5 is a pending stop short and so on.

thanks aniway

Back to topics list  

To add comments, please log in or register