Forum

OnTimer() while Sleep()

Hello all I have a question about the OnTimer(). If the OnTimer() should trigger while the EA is in Sleep() will the EA continue to Sleep() or will the OnTimer() function operate

Phanthom Trades

Hello all, I an posting this in hopes someone can tell me the problem with this code. I have been writing EA's a few years now and in my efforts to find the cause of, or fix phanthom trades I came up with this template for EA's. When I say phanthom trade I mean when code specifies > or < but trades