Errors, bugs, questions - page 2040
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
Doesn't work in the indicator subwindow, what am I doing wrong?
MouseMove(x, y, key) parameters are used. The cursor position and mouse click are determined, the main line is moved by mql, not by the capabilities of the terminal interface, i.e. the program monitors the position of the cursor relative to the line, not the line movement. Simultaneous movement of lines is ensured by synchronous change of coordinates of the main and dependent lines.
Strangely, I don't use mouse coordinates at all, just responding to id == CHARTEVENT_MOUSE_MOVE. And everything works fine, which is actually logical.
You don't need custom DND for smoothness. If you make a custom DND then you should also make custom objects via kanvas. There can't be any lag, because the object is always the same.
Doesn't work in the indicator subwindow, what am I doing wrong?
but what was expected and what exactly isn't working?
Expected to convert coordinates in a sub-window, and get a price.
Works in the main window, it does not work in subwindows, as you can see from the prints.
Also, the function substitutes the subwindow number with "0", i.e. with the main one:
Compilation error
Expected to convert coordinates in a sub-window, and get a price.
Works in the main window, it does not work in subwindows, as you can see from the prints.
Also, the function substitutes the subwindow number with "0", i.e. with the main one:
From the function help: X and Y - coordinates are counted from the upper left corner of the main chart window.
x=5, y=34 also refers to the main window, therefore output window=0.
Try increasing Y by the height of the main window to "end up" in a different window
Compilation error
From the function help: X and Y are coordinates referenced from the top left corner of the main graph window.
x=5, y=34 also refers to the main window, so the output is window=0.
Try increasing Y by the height of the main window to "end up" in another window
This is not the answer at all, nor is it the output.
We specify the subwindow number, and it could be 3 or 4, then how do we specify the coordinates?
There is a clear error in the function.
This is not the answer at all, nor is it the solution.
We specify the subwindow number, and it could be 3 or 4, then how do we specify the coordinates?
There is a clear error in the function.
Is it acceptable to declare and assign inside while(...) instead of checking the condition?
Let the developers check. C++ compiles, although line (2) [but not (3)] may cause an error in obsolete compilers