Forum

ea buys and sellls at price levels where price never was

Hi everyone! I wasted the last couple of hours to find an error in my code. See the pic below: Suddenly, in the strategy tester, it buys and sells where it shouldnt. I mean its the right bar, but at a price level, price never saw. I took a look into the logs for some errors, but it says that the

checkBuy and checkSell dont work half the time...

Hello everyone! I am new to mql5 programmig and after some reading and tutorials i took this article as basis for simple EA. Nothing fancy. I just used price bars to entry. After some ECN and Mqltraderequest related problems i got it work in demo and strategy tester. Now another problem encountered