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
Don't use confusing variable name, your 'Ticket' variable is not a position ticket, it's a CTrade object.
Please post your code if you need coding help, what you are asking for is pretty trivial.
Dear Alain,
Thanks again for your help. i will try to send my code night time as currently i don't have access (I'm in somewhere else)
Last night i could manage to create some functions for control this. But as i didn't have time, i couldn't test this to inform you the result
There is one question stays in my mind which is :"What is Ticket main number to be used in PositionSelectByTicket() ? Is it Deal Ticket Number or Order Ticket Number?" in ordersend() result object, you may find both
Dear Alain,
Thanks again for your help. i will try to send my code night time as currently i don't have access (I'm in somewhere else)
Last night i could manage to create some functions for control this. But as i didn't have time, i couldn't test this to inform you the result
There is one question stays in my mind which is :"What is Ticket main number to be used in PositionSelectByTicket() ? Is it Deal Ticket Number or Order Ticket Number?" in ordersend() result object, you may find both
It's position ticket, which is the order ticket when you open a new position.
Thanks a lot.
I've developed an EA but as i couldn't get any result of running yet i should put some more time on it.
I will try to share my results by tonight. to have a wrap up on this subject for future readers
Final Result
As i'm not fully sure for all above items, I'm Open to hear from other expert members in forum if my understanding is wrong
Dears,
i faced another strange issue. i got error during sending order according below :
Unsupported filling mode
i read and i know i should control the filling_type according below. but it doesn't work
did you ever experienced such issue before?
Dears,
i faced another strange issue. i got error during sending order according below :
Unsupported filling mode
i read and i know i should control the filling_type according below. but it doesn't work
did you ever experienced such issue before?
i figured this out.
it was related to broker itself. i changed original MetaTrader to MT5 of one Broker and it works properly