Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 179
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
Is it possible that it closed part of the order?
What if it tried this way, what does it say?
artmedia70:
А почему нормализуете цену до двух? До Digits нужно. А проще писать OrderClosePrice() вместо Bid
Now gives error 4051
Is it possible that it closed part of the order?
What if you try it this way, what does it say?
bylo = 0.1 and it does not close my order.
I+1 = 2 and everywhere, but the third order started to close.
Please help!
Error 0 and the order does not close! What is wrong?
How about trying it this way:
And don't forget to EXCEED the relevant order before the deletion procedure!!!
Now it's a total glitch, I'm writing:
i+1 = 2 and everywhere, but the third order started to close.
How about trying it this way:
And don't forget to EXCEPT the relevant order before the delete procedure!!!
The THIRD order closes GetLastError = 0, i+1=2, OrderProfit() responds to the SECOND order's naught. help.... I would write (OrderTicket()-1) but I'm afraid it won't help
THIRD order closes GetLastError = 0, i+1=2, OrderProfit() responds to the SECOND order's naught. help.... I would write (OrderTicket()-1) but I'm afraid it won't help
do not know how to read (unless of course there are ticket numbers in p[] array)!
...In general, it's very hard to catch "stupidity" from a bit of code... :)
I forgot to tell you, I would like to close on percentage of profit of deposit.
Hello, could someone please tell me if there is a kind of block to close all orders (including wiping of pending orders) if all with different magic numbers, in the range of 1-60. If there is one, please post it. And if it is not so difficult with instruction where it should be inserted (because it is completely green in mql). Thanks in advance.
I forgot to tell you, I would like to close on percentage of profit of deposit.
I want to close all orders in the terminal and delete all pending orders with any mode, as well as on the screen shows the current situation in a small unobtrusive line, as well as statistics in points of closed orders. Installed and works like a normal Expert Advisor. The default setting is to close all at 5% profit. The settings can be changed through the menu of the Expert Advisor.