[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 1003

 
volshebnik:
124 https://docs.mql4.com/ru/constants/wingdings

correction ))))

/en/docs/constants/objectconstants/wingdings

 
So this is for MT5 ?
 
volshebnik:
It's for MT5, isn't it?
No, they are mixed up, in the documentation 4- is for the fifth and vice versa
 
Thank you, that's helpful.)
 
Techno:
No, they are mixed up, in the documentation 4 lies for the fifth and vice versa
Oh, man, the enemy is everywhere ))))))
 
so.... mai, no stick then? :о(
 
NEKSUS_:
so.... mai, isn't that where the sticks are? :о(
what makes you think they even exist as icons? Can't we just use the text version |??
 
volshebnik:

Good morning ! Could you please tell me what's wrong ?

When calling this function

it gives an error "'O1C' - incompatible types".

Here is the function itself

In the global variables TLvup is set. Can't find what's wrong ?

Found a mistake - in the function call the square brackets after O1C should be removed along with the content. I don't know why that is.
 
volshebnik:
I found a mistake - in the function call you need to remove the square brackets after O1C along with the content. I really don't know why.

You can pass either an array or a variable. In your case it was an array element.
 
NEKSUS_:

ObjectCreate(name,21,0,dt,p);
      ObjectSetText(name,"|",30,"Times New Roman",Red);
Reason: