Tell me, is it correct to poll thevoid NOTIFICATION() function through the int start? There's a constant loop there! Maybe it would be more correct to put this logic directly into start? So as not to overload the function! And I originally wrote it in such a way that it would be more pleasant to read it myself!
Tell me, is it correct to poll thevoid NOTIFICATION() function through the int start? There's a constant loop there! Maybe it would be more logical to put this logic into start at once?
Use OnTick(). It all depends on the required logic.
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.
@Artyom Trishkin@Konstantin Nikitin
Tell me, is it correct to poll thevoid NOTIFICATION() function through the int start? There's a constant loop there! Maybe it would be more correct to put this logic directly into start? So as not to overload the function! And I originally wrote it in such a way that it would be more pleasant to read it myself!
@Artyom Trishkin@Konstantin Nikitin
Tell me, is it correct to poll thevoid NOTIFICATION() function through the int start? There's a constant loop there! Maybe it would be more logical to put this logic into start at once?
The Expert Advisor code itself
Can you please tell me where to insert this ?//+------------------------------------------------------------------+
Well.... if so critical
make it so:
nice...)))
Well.... if so critical
make it so:
(beautiful...)))
But seriously ?)
But seriously?)
If you mean the function itself, copy and paste it to the very end of the program,
necessarily outside the void OnTick() function
But seriously ?)
I take it this function has no bidding, checks andreports
If you mean the function itself, copy and paste it to the end of the program,
make sure it's outside the void OnTick() function.
And then what should a man do? You have to call it correctly!