有没有办法在 mql4 中自定义 comment()?
Is there a way to customize comment() in mql4?
有没有办法在 mql4 中自定义 color/font/size of comment() 函数???。
因为文字太小了。我想在这部分更有创意。提前谢谢你。
评论只是文字。您可以使用对象来设置文本和更改大多数属性。
示例:
string id="ObjectName";
ObjectCreate (0, id, OBJ_LABEL, 0, 0, 0);
ObjectSet (id, OBJPROP_CORNER, 0);
ObjectSet (id, OBJPROP_XDISTANCE, 10);
ObjectSet (id, OBJPROP_YDISTANCE, 10);
ObjectSetText (id, "Text", 10, "Arial", clrRed);
有没有办法在 mql4 中自定义 color/font/size of comment() 函数???。 因为文字太小了。我想在这部分更有创意。提前谢谢你。
评论只是文字。您可以使用对象来设置文本和更改大多数属性。
示例:
string id="ObjectName";
ObjectCreate (0, id, OBJ_LABEL, 0, 0, 0);
ObjectSet (id, OBJPROP_CORNER, 0);
ObjectSet (id, OBJPROP_XDISTANCE, 10);
ObjectSet (id, OBJPROP_YDISTANCE, 10);
ObjectSetText (id, "Text", 10, "Arial", clrRed);