Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Ok i have now cooked it down to this. And it works perfect. Thanks!
Nice Code ... works very well for me!
.... but I getting some warnings and don't know how to get rid of them - any ideas?
possible loss of data due to type conversion
CharToStr(Code)
Here is my code: Anchorpunkt is an MA Line as example.
Can you help me in that?
Tried to change it into: (string objName, char Code,int Fontsize,color LineColor, double Anchorpunkt)
But now I get a lot off erros: truncation of constant value
Thanks very much in advance.
Tried to change it into: (string objName, char Code,int Fontsize,color LineColor, double Anchorpunkt)
But now I get a lot off erros: truncation of constant value
Sorry but I am still lost ;(
I can see the problem - I add an integer variable to the function and want to use that with the function CharToStr.
But it works and drawsWingdings-symbols ....with my color, size and the position I want... but it throughs that warning.
No matter what I try to change it stops working or draw not the symbols I entered as integer-number.
Can you tell me exactly what I need to change to have no more warnings ?