Lately I have had som problems with the SendNotification function. It has worked fine for years but suddenly it stops
working for periods. It looks like its because of the restrictions of max 2
call per secund and not more than 10 calls per minute. I’m trying to find a
workaround of this problem and needs some help.
My first plan was to register the TimeCurrent()
after the SendNotification function is run and add I delay to the next. That
would work in the pair that the EA is run, but the problem is that the same EA
runs on 10+ pairs. Sometimes I get the same signal on for example several EUR-pair
at the same time, and when they all use the Sendnotification function at the
sime time the 2 calls per second get exceeded and the function is disabled.
Is there a function that can get me the
time of the last Sendnotification-message on the terminal(and not on the EA)? If
so I can try to add a delay to the message if the last sent message was under 2
Any tips would be greatly appreciated.
To add comments, please log in or register