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.
That is NOT all the code
You call a function, DrawAllert and what is this?
The if and the else are the same condition!!
DrawAllert("Il trend è ribassista",clrRed);
will never be executed
will always be executed
How do you come to that conclusion?
You post what you claim to be the complete code with no buffers
Then you post code that includes buffers
You try to resize buffers .
Go and learn some simple code. Don't try to run when you haven't learned how to crawl.
Gumrai, yes i'am wrong, ... "else if" will never be executed, but the "if" will be ?