The false parameter is only used for setting the objectstate;
ObjectSetInteger(0,"FML_H1",OBJPROP_BACK,false);
If you want to read the property;
bool state = 0; ObjectGetInteger(0,"FML_H1",OBJPROP_BACK,state);

Documentation on MQL5: Language Basics / Preprocessor / Program Properties (#property)
- www.mql5.com
Path to the file of an image that will be used as an icon of the EX5 program. Path specification rules are the same as for resources. The property must be specified in the main module with the MQL5 source code. The icon file must be in the ICO format. When launching a script or an Expert Advisor on the chart, the stack of at least 8 MB is...
Ebrahim Noroozi Sani Yadaki:
it return FALSE always
Post some code.
bool state = 0; ObjectGetInteger(0,"Line",OBJPROP_BACK,state); if(state) { Alert("Object is BACK"); } else { Alert("Object is FRONT"); }

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
how can know an object is Back or Front ?
i use this code but it return 0 always!
or