DislikedHi, I am trying to run the attached EA in Strategy tester but it says array out of range. Also there does not appear to be a set file when I click on F7 or a magic number to diferrentiate the trades. Hope someone can help. {file}Ignored
There is just a general idea for a Buy order and when to close that order, but there is no indicator reference.
There are 4 arrays (buffers) created, but they don't get filled with any data.
So, how can we know what the idea was???
This is the entry condition for Buy:
Inserted Code
if(YellowBuffer[0] > GreenBuffer[0] && GreenBuffer[0] > WhiteBuffer[0] && WhiteBuffer[0] > RedBuffer[0])
Inserted Code
if (WhiteBuffer[0] < WhiteBuffer[1])
We can speculate that this was supposed to be some 4MA EA, perhaps?
Even if so, we don't need buffers to get the values of 4 MAs on Bar[0] and 1 MA on Bar[1].
We just need to use iMA();
.ex4/.ex5 files can't be fixed or modified / I'm not a coder!