I tried chartevent_,object_drag, the use objectgetinteger to get the distance then use objectsetinteger to set them.
But this method makes the movement lag, is there a faster way?
- make it faster
- MetaTrader 4 Build 529 beta released with new compiler
- ChartEvent Clicks Filter
Habib Adeyemi:
I tried chartevent_,object_drag, the use objectgetinteger to get the distance then use objectsetinteger to set them.
Try object.move() as the two objects move functions should be called simultaneously within a functionI tried chartevent_,object_drag, the use objectgetinteger to get the distance then use objectsetinteger to set them.
But this method makes the movement lag, is there a faster way?
This should work as you are moving object1 using above function and same for object2
This should work
Zyad Nhra #:
Try object.move() as the two objects move functions should be called simultaneously within a function
Objectmove doesn't move the xdistance and ydistance it only moves the price and time
Try object.move() as the two objects move functions should be called simultaneously within a function
This should work as you are moving object1 using above function and same for object2
This should work
Habib Adeyemi #:
Objectmove doesn't move the xdistance and ydistance it only moves the price and time
https://www.mql5.com/en/docs/chart_operations/charttimepricetoxy
Objectmove doesn't move the xdistance and ydistance it only moves the price and time
Thank you
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