The great and terrible MT4 forever (or how to strategise a transition) - page 16
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
this works out well - (depending on what purpose!?)
that works out well - (depending on what purpose!?)
Don't get involved. They have a special DC there who builds all sorts of intrigues to catch the MT bugs.
A special DC who builds all sorts of intrigues to catch the MT bugs.
Most brokers work according to the same scheme: Result.deal == 0.
For example, Signals is the most popular broker for scalping.
Among reputable brokers it is quite difficult to find where MT5 works according to a different scheme.
this works out well - (depending on what purpose!?)
Most brokers work according to the same scheme: Result.deal == 0.
Signals, for example, is the most popular broker for scalping.
Among known brokers it is quite difficult to find where MT5 works according to a different scheme.
I don't know what kind of scalping works so much that you don't have time to close a position...
If you don't mind, still try to add checking the number of positions
I think the two positions are open and close. It wouldn't hurt to try and get the types of these two positions. If they are differently directed, it would confirm my suspicions...
Done:
Result:
Well get the status of this order.If the ticket is known.
The trade failed, the execution price is 0.
Structure of trade request result (MqlTradeResult)
In response to a trade request, the trade server returns data containing the trade request processing result as a special predefined structure MqlTradeResult.
So get the status of this order. If the ticket is known.
The trade failed, the execution price is 0.
That's the thing: it has passed. When the script finishes executing, one or two positions are left hanging (depending on how many prints you insert in the code).
Code:
Result:
I don't know what kind of scalping works so hard that you can't close a position in time...
Everything is in time there. Just an architectural feature of MT5.
If you don't mind, try to add checking the number of positions
This check is present in the source code.
I think that the two positions are open and close. It would also help to try to get the types of these two positions. If they are differently directed, it would confirm my suspicions...
There is no such thing as a closing position.
I haven't got round to posting it yet. I will post it within 24 hours.
It didn't work, I found problems.
Didn't work out, found problems.
Looking forward to it. If there is anything you need to help with, please write.