Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1138
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
I haven't used SB for a long time, I don't remember half of it, but try making a software selection and deselecting by doing ChartRedraw() of the OBJ_EDIT object each time, you can get the names of the objects from SB, there must be a Name method
what if?
HH: and Sleep() is probably needed for ChartRedraw() , but Sleep() does not work in indicators
If you mean to make the object property OBJPROP_SELECTED TRUE, that's not it. Because in this case the object will be highlighted on the chart, but the input box will not become active.
checked on all panels, it doesn't work highlighting the OBJ_EDIT object
I don't know, search the forum:
"tab"
"tab"
"input focus"
Is there any way to update MQL5/logs/*.log file without closing the terminal? To view its fresh contents.
right-click in the terminal in the context menu - open , this allows access to the log file
not conveniently done
right-click in the terminal in the context menu - open , this allows access to the log file
not convenient
Where do I click?
Rzewski had to be shut up...
The graph has two objects of type OBJ_EDIT
The goal is to make the transition between these two input fields by pressing Tab.
The main problem is not reading the keyboard event, but how to make the input field active programmatically.
I understand that you need to use user32.dll, but since I'm not good at it, please help.
Thank you.
The solution is found:
At the same time, if we remove the robot from the chart, the created objects will be displayed
MQL5, ObjectCreate doesn't draw anything, objects don't even appear in object list. Creation is done at OnInit, maybe that's the problem?
However, if we remove the robot from the chart, the created objects will be displayed
It's possible that the price and time for the object coordinates are equal to zero. Check it this way: Press Ctrl+B, in the dialog box that appears, press the "All" button and look at the list of existing objects. If there is one, open properties and see coordinates.
Rzewski had to be shut up...