ObjectSetInteger(0, ObjName, OBJPROP_ALIGN, ALIGN_CENTER); ALIGN_LEFT , ALIGN_RIGHT Nothing has changed.
OBJPROP_ALIGN can only be applied to OBJ_EDIT and ChartScreenShot().
https://www.mql5.com/en/docs/constants/objectconstants/enum_object_property
For the OBJ_EDIT object ("Edit") and for the ChartScreenShot() function, you can specify the horizontal alignment type using the values of the ENUM_ALIGN_MODE enumeration.

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
Plot "Dj" correctly on SubWindows.But can not ALIGN Text by ALIGN_CENTER or ALIGN_LEFT or ALIGN_RIGHT.
How to do ?
Thank you