Objects works on viusal mode but not in real or demo accounts - MT4

 

Hi,

I'm using objects to give guidance about the status of expert. I'm successfully using in visual mode for during tests and works perfectly however when I moved expert to demo account (even real) I observe that the labels are not visible on the chart.

I'm not sure which release it changed since I'm not testing the expert on demo account for months. Currently I'm using build 1090 and build 1065, both the same issue exists.

Any idea why the below code (also attached) works in visual mode but not in demo or real accounts?

Thanks in advance.


   ObjectCreate("Bg_Label1",OBJ_LABEL,0,0,0);
   ObjectSetText("Bg_Label1"," Robot text ",9,"Courier New",Orange);
   ObjectSet("Bg_Label1",OBJPROP_CORNER,CORNER_LEFT_UPPER);
   ObjectSet("Bg_Label1",OBJPROP_XDISTANCE,15);
   ObjectSet("Bg_Label1",OBJPROP_YDISTANCE,15);
Files:
 
Any comments please...
 
You need to set the chart properties to show object descriptions
 
nicholishen:
You need to set the chart properties to show object descriptions
Could you please elaborate? 
 
I solved the problem, thanks.