I've searched the forum and google but I couldn't find an answer to my problem.
I want to know if it is possible to call the EventSetTimer() function outside of OnInit() because I want my expert advisor to start the timer after a condition in the OnTick() function is met (like profit > 1:2 RiskReward). So that it sends me a notification every 15 minutes after the event occured.
Do you know if this will work? I can't test it right now because of weekend :D And if there is no way to start the EventSetTimer() function outside of OnInit() is there a way to work around this problem?
Hello,
I've searched the forum and google but I couldn't find an answer to my problem.
I want to know if it is possible to call the EventSetTimer() function outside of OnInit() because I want my expert advisor to start the timer after a condition in the OnTick() function is met (like profit > 1:2 RiskReward). So that it sends me a notification every 15 minutes after the event occured.
Do you know if this will work? I can't test it right now because of weekend :D And if there is no way to start the EventSetTimer() function outside of OnInit() is there a way to work around this problem?
Thanks in advance