Did you manage to find a solution for it?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello everyone,
I'm trying to create a library that can open trades the same way a trader sitting in front of MT4 will open trades.
So far, I've been able to bring up the order window and simulate a keystroke on it. However I've been unable to edit any of the fields or even click on the "sell by market" or "buy by market" button. I know it's a huge ask but could anyone point me in the right direction, maybe an article that details what I'm trying to do, or if possible a code snippet showing how to edit one or more of the parameters.
I've read the documentation for the PostMessage(), and it just seems like the explanations are meant for developers who already understand the concept, have also searched countless articles and none seem to detail what I want to do, or even come remotely close to it, maybe am the one who's not just seeing it, hence this post.
So if you could please take out a little bit of your time to help on this matter, I'll deeply appreciate it.
Here's my existing code