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
Afternoon.
I've created a block to count beats on envelopes lines, it seems to count everything correctly, but there are some entries missing in the log - for example there is count[Number] =3 and the next count[Number] =5. I can see that the counting is correct but the log is missing for some reasoncount [Number] =4. Sometimes the log has all the entries. I don't understand why it happens. If you see errors in the code, can you correct the code?
Are there exactly no records in log? Or only in "Experts" tab? I am inclined to the second one, because when outputting to the tab at high speed, some lines are skipped. This is a bug, not a bug, because this output is less slow down the program. But in the log is printed all the lines, there are no skips.
Check it. If you see gaps in the log, in that case, contact Service Desk.
Also, sometimes running the tester throws an error " OnTick critical error " but the next time it starts, it starts testing. What could be the problem?
Are there no entries in the log, or only in the "Experts" tab? I am inclined to the second one, because when outputting to the tab at high speed, some lines are skipped. This is a feature, not a bug, because this output is less slowing down the program. But all lines are output to the log, there are no skips there.
Check it. If you see gaps in the log, in that case, contact Service Desk.
This is up to developers.
Yes, you are right, it turns out everything is in the log. When visually testing, I was watching the logs, so I didn't notice it. Wasn't aware of this feature. Thank you!
Yes, you're right, it turns out it's all there in the log. Was keeping an eye on the log during visual testing, so didn't notice. Wasn't aware of such a feature. Thank you!
OK.
--
To select text as a quote, just mark it and press Ctrl+3; or when replying, use the reply link in the bottom right corner of the post
... To select text as a quote, just mark it and press Ctrl+3 ...
Good evening, I cannot open an order. I have tried to write everything as explained in the article. I would like to find out what is wrong in this example!
Try this
You are missing the opening price and slippage.
request.price=Bid; request.deviation=20;
You can also read Structure of trade request(MqlTradeRequest)
Thank you!!! I'll give it a try. The main thing is to read, the main thing is to figure it out!!!
I actually thought it was so natural to buy at the existing price that it didn't have to be specified.
What's the mode if I just open a pose?
No. In the messages he writes only the Error and resultat, he does not write the values of these variables! This is the place.
And I gave you this code
Do result.retcode by analogy.
And I gave you this code
Do the same for result.retcode.