Ask not working - page 2

 

I know it should but it doesn't work like it should. It works sometimes but not always, I don't know what's the deal. Backtest in MT4 sucks anyway and I have to test my code in real time which takes a lot of time even on the smallest timeframe which is btw not relevant because the spread in sometimes wide as a whole candle itself. I would have to try the code on M5 at least but that will take days if not weeks at this break-fix level (I only have cca 3-4h/day). That's why I'm asking for help. I'll try some more things and report here next week. Thank you both for your time and your help.

 
Real time ? haven't you been using the Strategy Tester ?
Reason: