How to display emojis on MT4 Chart

 

Greetings dear Coder,

Please help with a way to diplay emojis on MT4 Chart using an EA.

In MT5, this is possible using the following code:

   ObjectCreate(0, "Lips", OBJ_LABEL, 0, 0, 0);
   ObjectSetInteger(0, "Lips", OBJPROP_CORNER, CORNER_LEFT_LOWER);
   ObjectSetInteger(0, "Lips", OBJPROP_XDISTANCE, 120);
   ObjectSetInteger(0, "Lips", OBJPROP_YDISTANCE, 100);
   ObjectSetInteger(0, "Lips", OBJPROP_FONTSIZE, 50);
   ObjectSetString(0, "Lips", OBJPROP_FONT, "Segoe UI Emoji"); // font with emojis
   ObjectSetString(0, "Lips", OBJPROP_TEXT, "💋️");
   ObjectSetInteger(0, "Lips", OBJPROP_COLOR, clrYellow);

But this is failing in MT4.


Thanks and best regards,