Errors, bugs, questions - page 2100
![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
You have sensed the difference between a synchronous command and an asynchronous one.
Could you provide a list of asynchronous functions.
If I understand correctly, Object and Chart functions (which others?) are all asynchronous. Then it's not quite clear why ChartGet runs faster than ChartXY?
You have sensed the difference between a synchronous command and an asynchronous command.
Could you provide a list of asynchronous functions.
If I understand correctly, Object and Chart functions (which others?) are all asynchronous. Then it is not quite clear why ChartGet runs faster than ChartXY?
CHARTEVENT_CHART_CHANGE
Hello, I started studying MQL5 fromhttps://www.mql5.com/ru/articles/100. I have launched the code and received error 4756. The error has not improved after looking through documentation. Ok, thought I will start with simple functions (Alert/Print...). One of the most important functions is OrderSend. I started searching through the forum/documentation on how to use OrderSend. I found this articlehttps://www.mql5.com/ru/docs/constants/tradingconstants/enum_trade_request_actions and found the code for opening a Buy position. I got error 4756 and retcode 10030. I understood that 10030 - it is the OrderSend property, but I have not understood how this property should be used (I looked at somebody else's code) and what it is mainly used for. Then I openedhttps://www.mql5.com/ru/docs/trading/ordersend, copied the code, launched it, everything is fine, it worked.
But I still don't understand why error 4756 appears and how to get rid of it, as well as 10030.
Looked at the code between
and this one.
They seem almost identical to me, I don't see where these errors appear (4756 and 10030). Please point the finger and explain.
Hello! I started studying MQL5 fromhttps://www.mql5.com/ru/articles/100. I have launched the code and received error 4756. So I thought I would start from the simplest one (Alert/Print...). One of the most important functions is OrderSend. I started searching through the forum/documentation on how to use OrderSend. I found this articlehttps://www.mql5.com/ru/docs/constants/tradingconstants/enum_trade_request_actions and found the code for opening a Buy position. I got error 4756 and retcode 10030. I understood that 10030 - it is the OrderSend property, but I have not understood how this property should be used (I looked at somebody else's code) and what it is mainly used for. Then I openedhttps://www.mql5.com/ru/docs/trading/ordersend, copied the code, launched it, everything is fine, it worked.
But I still don't understand why error 4756 appears and how to get rid of it, as well as 10030.
Looked at the code between
and this one.
They seem almost identical to me, I don't see where these errors appear (4756 and 10030). Please point the finger and explain
Use the CTrade trade class - that way you are guaranteed to make as few errors as possible.
Example of sending a trade order to open Buy:
Use the CTrade trade class to ensure that you make as few mistakes as possible.
Example of sending a trade order to open a Buy:
CTrade - is it a universal class? That is, it can replace any other code?
CTrade - is it a universal class? So, is it possible to replace any other code with it?
CTrade is supplied with the terminal in theStandard Library->Trade Classes->CTrade.
They seem almost identical to me, I don't see where these errors appear (4756 and 10030). Please point the finger and explain
https://www.mql5.com/ru/search#!keyword=Unsupported%20filling%20mode
An example from kodobase
There are several ways to get code into ME
In the MT5 tester, the "Input field" object OBJ_EDIT does not allow to edit a value in it. Is it designed that way or is it a bug?
In terminals and MT4 tester it is editable, but in MT5 tester it is not, the value entered into it programmatically when creating the object disappears.