MQL4 - automated forex trading   /  

Forum

ODL Securities

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

Championship Report: Eighth Week (20-27 November)

The eighth week of the Automated Trading Championship 2006 is over. Two thirds of the time provided for the competition. At the end of the previous week, the structure of the Top Ten changed significantly. However, leaders of the past weeks – ldamiani and Hendrick – managed to hold their positions.


avatar
1455
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