hi . have a code problem . someone help

 

hi i have a very simple ea code. logic is like this

(done at strategytune.com )

i have a manually opened trade and then wish to attach a ea to it

by the ticket no of order. from there once a ma x takes place the order

will auto close. see attachment. only thing is mine does'nt work.

any ideas as to why ?

Files:
Reason: