Download MetaTrader 5

Replace an ascii string with a wingding possible?

To add comments, please log in or register
Thanasis Filippidis
30
Thanasis Filippidis  

Is there any way to replace + ascii sign with a wingding char (225 - arrow up) when the former is set as string and used in objectsettext as part of a bigger text?


i.e.

if (cur1>=(euril+eurih)/2)
{
   eurm = "+";
}
else
eurm = "-";

when invoked by

ObjectSetText("object","D1: " + DoubleToStr(euril,0) + " / C: " + DoubleToStr(cur1,0)+eurm + " / H: " DoubleToStr(eurih,0));
whroeder1
16563
whroeder1  
no. Either all text or all wingding.
Thanasis Filippidis
30
Thanasis Filippidis  
whroeder1:
no. Either all text or all wingding.

Ok, that's good to know because I wasted two good days trying to find a solution!


Thank you.

To add comments, please log in or register