MT4 · Compilation errors
MT4 279 · Not allowed to call non-constant method for a constant object | YI GOLD
Official meaning
Not allowed to call non-constant method for a constant object
Possible causes · YI GOLD suggestions
Object names, types, properties, coordinates or chart subwindows do not match.
Troubleshooting · YI GOLD suggestions
Verify chart ID, object existence and property types. Check creation/update results and avoid name collisions.