Slawa: Use code to activate terminal's trailing stop on a ticket?

 
Slawa:

Is it possible - through Windows API or whatever - to activate the terminal's trailing stop feature from code?

For example, if I have an open or pending order I can right-click on it and set the trailing stop. Can I use code to do the same thing?

You told me before how to send a tick to an offline chart using the Windows API. I'm wondering if you can tell me how to activate the terminal's trailing stop on a trade using code instead of the right mouse click.

Thank you,

Christian B
 
This task is very hard, some hacker can it implement. In common cases it is impossible. Sorry.
 
This task is very hard, some hacker can it implement. In common cases it is impossible. Sorry.


Thank you for your reply Slawa. If there is a hacker out there that can figure this out it would be great. Slawa, if you can post any "hints" to get going it would be great.

I assume that the problem is that the EAs and the Terminal are running in different threads?
Reason: