Zbigniew Sobczyk:
Hello
When I create an object using ObjectCreate() function, I can't select it on the chart with the mouse click. No objects also appear in the Object List on the chart. In the MQL4 EA, I created a graphical interface in which trend lines were used to set levels. I could drag them freely with the mouse. How can I do it in MQL5?
Set OBJPROP_SELECTABLE to true and OBJPROP_HIDDEN to false
nicholi shen:
Set OBJPROP_SELECTABLE to true and OBJPROP_HIDDEN to false
Thanks, that's what it was about!
:)

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
Hello
When I create an object using ObjectCreate() function, I can't select it on the chart with the mouse click. No objects also appear in the Object List on the chart. In the MQL4 EA, I created a graphical interface in which trend lines were used to set levels. I could drag them freely with the mouse. How can I do it in MQL5?