Forum

Array out of range , Help please

Hello, first of all I apologize if I'm posting this in the wrong place. In my expert, I prepare a code like this to find the last 2 highs and lows of the zigzag indicator. When I check it as script, the code works fine and gives correct peaks and troughs. but when i run experti in strategy tester i

How to write fast working expert advisor?

how to write fast working expert advisor hello, I wrote an expert of medium complexity, but his backtests are progressing very slowly. It tests 10 days in 20 minutes. It's very slow because maybe I'll have to test the last 5 years. Some experts, which are more complex than mine, can be tested very