Hello, a simple problem here, if you are an expert you will find this problem within seconds....my indicator always gets error " Array out of range " when trying to test it. I just dont know why... #property indicator_separate_window #property
Hey, I made an EA that sells once the price goes below the EMA, and closes position, once the last bar closed above the EMA. This code is very simple but still, the EA doesnt copy the right close prices of the last bar, and I dont know why. I printed
No matter which expert advisor I try (downloaded some from here and tried them), when I do the backtest, it opens the positions but they never close, so the tester is forced to close all positions at the last tested candle (see picture)