MQL5 OBJECTs
Hi
after my expert draw HLINES i cannot select and change their properties from chart , but when i press Ctrl+B and then list all , i can change the properties of them... can you please advise why its like this?
This way the user of an EA can not easily modify/delete what is managed by an EA.
If you want, you can change this behaviour by changing the following properties when you draw an object by code :
ObjectSetInteger(0,objname,OBJPROP_HIDDEN,false); ObjectSetInteger(0,objname,OBJPROP_SELECTABLE,true);
This way the user of an EA can not easily modify/delete what is managed by an EA.
If you want, you can change this behaviour by changing the following properties when you draw an object by code :
Hi
after my expert draw HLINES i cannot select and change their properties from chart , but when i press Ctrl+B and then list all , i can change the properties of them... can you please advise why its like this?