![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 Forum,
I just want to place some text inside a Window onto a certain position. I get it done by using x/y coordinates but not when using:
ObjectSetInteger(0,label_name,OBJPROP_TIME,Time);
ObjectSetDouble(0,label_name,OBJPROP_PRICE,Price);
Do you have some sample code on how to place text inside a window?
2nd Issue: I want to draw a line inside a window : starting at Price1/Time1 and ending Price2/Time2. The values will be changed during execution and so the line should move. Do you have an code example on how to manage this ?
Thanks,
Thomas