You need to use OBJPROCK_BACK on MQL4. They have improved this for MQL5 which treats BACK and FILL differently for RECTANGLE
#ifdef __MQL4__ ObjectSetInteger(0, name, OBJPROP_BACK, fill); #else ObjectSetInteger(0, name, OBJPROP_BACK, true); ObjectSetInteger(0, name, OBJPROP_FILL, fill); #endif
Tooltips should work
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
Hi,
For an object of type OBJ_RECTANGLE, am unable to set the fill and tool tip property
ObjectSetInteger( chartID, objName, OBJPROP_FILL, false );
ObjectSetString( chartID, objName, OBJPROP_TOOLTIP, callOut );
Regards
Vivek