if ( condition) { ... Alert("once", Minute());Sleep(60000);}
Will the program check after this condition? Is this condition located in the middle of the listing, or should it be placed at the end of the program? Can we make the program work on every tick, but certain code fragments will be checked cyclically, and if they don't coincide, then it will proceed further in the program?
Can someone tell me how to make an EA to give out for example an alert every hour, but not by sleep, the script itself calculates at every tick and does its job at every new hour and gives the result in alert. how can I do it?
frixer: Can someone tell me how to make an EA to alert every hour, for example, but not by sleep, the script itself calculates at every tick and does its job at every new hour and gives the result in Alert. how can I do it?
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.
Hint how to make a check condition by the minute for example, just need the script to run for example once a minute, not on every tick.
this is what i was thinking, but it's not working, sorry about that ;)
I understand that i need to do it in a loop, just can't get to it, i'd appreciate it !
For the script I think so.
Can someone tell me how to make an EA to alert every hour, for example, but not by sleep, the script itself calculates at every tick and does its job at every new hour and gives the result in Alert. how can I do it?
A script or an Expert Advisor? Different approaches
This is not an oversight)) On the contrary, it is reported that the Math_Lib on the USDCHF1 chart has been successfully loaded))
sorry councillor...
Guys, how do you make an RSI with a period of 7200 as a code?