Download MetaTrader 5

Create Moving Object

To add comments, please log in or register
Mercilex
12
Mercilex  
Hi guys, my question is simple, while creating a horizontal line I'd like to make it possible for the user to move it in case my algorith miscalculates it's placing.
For example when you manually create a horizontal line you can drag it up and down. But when you programmatically create it you cannot. How do I make it possible for a user to move it by dragging it around?
whroeder1
15902
whroeder1  
Mercilex But when you programmatically create it you cannot. How do I make it possible for a user to move it by dragging it around?
Make it selectable and/or select it
Mercilex
12
Mercilex  

I don't know how I did miss this. Thanks!

Edit: excuse the noob question again, but what is the property which displays where the HLINE stands at? 

Edit2: NVM found it: OBJPROP_PRICE

Nkechi Sonia Kanu
422
Nkechi Sonia Kanu  
Sometimes its better we research before asking questions first.
To add comments, please log in or register