it will give 4200 error object already exsists so try creating it outside of OnTick() for example in OnInit() and then only update in OnTick() with ObjectMove()
Marco vd Heijden:
it will give 4200 error object already exsists so try creating it outside of OnTick() for example in OnInit() and then only update in OnTick() with ObjectMove()
it will give 4200 error object already exsists so try creating it outside of OnTick() for example in OnInit() and then only update in OnTick() with ObjectMove()
It is normally working with me. but I will do as advised!
But how can I put text label on the line?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Dear Experts!
I have created object line to show me the highest price line. But I wanted to put some test label on the line which would move together with the line up or down but not getting idea how to do it. below is my object line code.
Any guidance will be highly appreciated!