- docs.mql4.com
Try playing with OBJPROP_ZORDER. I've never used it, but I suspect it might help.
Probably I have to add to my original inquiry as below to get help.
Indicator A: I drew a long transparent horizontal band with canvas from the left to the right end of chart.
Indicator B: Then I created a horizontal line object.
When the line is outside the canvas band, I can get line handle with either CHRARTEVENT_OBJECT_CLICK or CHARTEVENT_CLICK and move around by mouse from Indicator B.
However, once the line goes into the canvas band, I can no longer get the handle with the same chart event.
I want to know why this happens and any workaround to fix this issue.
I found inappropriate statements in my code and once it is fixed, I can get line handle with no issue.
Vladislav Boyko, thank you for your time to review my inquiry.
I am closing this........
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I drew a long transparent horizontal band with canvas from the left to the right end of chart.
Then I created a horizontal line object.
When the line is outside the canvas band, I can get line handle with either CHRARTEVENT_OBJECT_CLICK or CHARTEVENT_CLICK and move around by mouse.
However, once the line goes into the canvas band, I can no longer get the handle with the same chart event.
I want to know why this happens and any workaround to fix this issue.