Typical mistakes and how to deal with them when dealing with the trading environment - page 8
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
The recipe, as they say, is universal:
And this is not what I'm talking about?
Sometimes people have a strange perception of information :)
Only not exit immediately at order with zero ID, but its processing on the same tick - some kind of predefined expectation.
The rest is everything I was talking about. Turns out it's the bottom :)))
To think about the adequacy of their TOR. A real situation that happens every day on MT4
This is the easiest. Therefore, the proposed template contains
So BuyLimit is an EA position. The others are manual.
Any TS can distinguish between its own and other's positions.
The conversation was about their own positions.
So BuyLimit is the one set by the adviser. The others are manual.
Any TS can distinguish between its own and someone else's.
The conversation was about their positions.
Nothing manually or by another Expert Advisor. Only one BuyLimit is exposed. All mentioned BUY positions have the same magic as BuyLimit.
Nothing manually or by another advisor. Only one BuyLimit is set. All BUY positions mentioned have the same magic number as BuyLimit.
So - partial execution.
So - partial performance.
Just that.
Influence QB to stop posting code with bugs, I think it would be worth it.
Forum on trading, automated trading systems & strategy testing
EAs: SerialMA_EA
fxsaber, 2018.02.27 21:54
Yay!
Only not to exit immediately on an order with zero ID, but to process it on the same tick - some sort of set wait.
Yes, exiting immediately is not a good solution.
2018.02.20 15:20:35.845 Trades order #66745055 buy 0.01 / 0.01 EURUSDeur at market done in 610.625 ms
2018.02.20 15:20:35.935 Trades deal #5461453 buy 0.01 EURUSDeur at 1.23403 done (based on order #66745055)
2018.02.20 15:20:35.845 TestBUY (EURUSDeur,M15) retcode=10009 deal=0 order=66745055
If the request is met (10009) , why deal=0
Good afternoon!
I have a similar question for everyone and especially for fxsaber.
At first glance it seems like a primitive question, but I can't find an answer to it.
Here https://www.mql5.com/ru/forum/6343/page939 I was told "Try to search for it. fxsaber has been working on this problem for a while now. What worked out, I don't know, I'm not interested." So I decided to ask you.
The question is this. I opened position and want to print the content of MqlTradeResult:
retcode, order and volume are printed, but deal and price are always zeros.
Please, tell me what I'm doing wrong and how to get access (at least, print it first) to the content of result structure?