Comment() Text Color

 
Is it possible to set Comment() text color in an EA?

Wackena
 

No.

But You can use label objects instead of comments

 
Thanks,
How do I limit the number of decimal places in this code. I tried NormalizeDouble(), but output has 8 decimal places.
myMA1=NormalizeDouble(myMA1,Digits);
ObjectCreate("Text",OBJ_LABEL,0,0,0);
ObjectSet("Text",OBJPROP_XDISTANCE,2);
ObjectSet("Text",OBJPROP_YDISTANCE,12);
ObjectSetText("Text","MA1 = "+myMA1,10,"Arial",Red);


Wackena

 
ObjectSetText("Text","MA1 = "+DoubleToStr(myMA1,Digits),10,"Arial",Red);
 
stringo,
Thank you.
Wackena
 
Slawa:
ObjectSetText("Text","MA1 = "+DoubleToStr(myMA1,Digits),10,"Arial",Red);
Thank you
Reason: