Wingdings don't show outside Windows most of the time and they are generally retarded. Try Unicode or ASCII symbols.
Wingdings don't show outside Windows most of the time and they are generally retarded. Try Unicode or ASCII symbols.
Would you please show a code example using unicode? (i want to make sure I use Unicode, the rightway).
Plus, how would you change icon's size , in that method?
Here are some examples of using Unicode:
//---- Set Copyright String string strCopyright = "Copyright \x00A9 2018, Fernando M. I. Carreiro, All rights reserved"; //---- Get Account Currency string strCurrency = AccountCurrency(); if( strCurrency == "USD" ) strCurrency = "\x0024"; // $ if( strCurrency == "EUR" ) strCurrency = "\x20AC"; // € if( strCurrency == "GBP" ) strCurrency = "\x00A3"; // £ if( strCurrency == "JPY" ) strCurrency = "\x00A5"; // ¥
I always use "switch" in my code. However, "switch" does not work on strings, only on expressions of integer type!
Just noticed : not all unicodes work.
And failure ends up with a question ( '"?'" ) mark .
Ex. try \x2794
Which font are you using? It may not support all the characters. Verify that the font actually supports that character by looking at them in the Character Map application.
For example, the Arial font does not support character U+2794, so try using another arrow symbol that is supported by that font (eg. U+2192 "→", U+25BA "►").
Which font are you using? It may not support all the characters. Verify that the font actually supports that character by looking at them in the Character Map application.
For example : Using Arial & \x2191 doesn't result in the up-arrow. Its fails with a ? mark.
\x2192 doesn't work either.
Suppose this was the use-case: Where I clearly defined the font to be used
ObjectSetText( "objname","\x2192",30,"Arial",clrLime);
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
So far i know icons/wingdings require price/time values to be plotted.
Is there any trick to plot icons as a label on charts? (at a fixed x/y coordinate offsets )