How to put a value on main window?
I want to put in on the left bottom corner (or maybe right top corner) of the main window because the left top corner space
is already taken by other indicator. Is it possible?
Thank you
Thank you
You can use Label object
I'm sorry, but how to write it?
Thx
Thx
if(!ObjectCreate("label_object", OBJ_LABEL, 0, 0, 0)) { Print("error: can't create label_object! code #",GetLastError()); return(0); } ObjectSet("label_object", OBJPROP_CORNER, 1); ObjectSet("label_object", OBJPROP_XDISTANCE, 200); ObjectSet("label_object", OBJPROP_YDISTANCE, 100); ObjectSetText("label_object","Hello world!", 10, "Times New Roman", Green); WindowRedraw();
stringo:
if(!ObjectCreate("label_object", OBJ_LABEL, 0, 0, 0)) { Print("error: can't create label_object! code #",GetLastError()); return(0); } ObjectSet("label_object", OBJPROP_CORNER, 1); ObjectSet("label_object", OBJPROP_XDISTANCE, 200); ObjectSet("label_object", OBJPROP_YDISTANCE, 100); ObjectSetText("label_object","Hello world!", 10, "Times New Roman", Green); WindowRedraw();
Where should I put "ma" value on it?
Thx
Replace "Hello world!" with the literal text or string variable you want displayed
Thank you!! I should've know if it's that simple.
for example:
How to put "ma" value on left-bottom of the main window?
Thank you.