Test Generator: Unmatched data error and generating errors

 

I keep getting unmatched data error and xxx generating errors in my jorunal.


It doesn't want to place trades when my condition is met and when this occurs, how do I fix this? Thank you.

 

That error has nothing to do with the fact that your EA is not taking trades.

That error is related to bad quality history and some incoherent data on it.

 
Fabio Cavalloni #:

That error has nothing to do with the fact that your EA is not taking trades.

That error is related to bad quality history and some incoherent data on it.

Do you know how can I fix it?


And one more thing, why does my EA places buy trades only after sell trades?

example:

1st trade = buy

2nd trade = sell

3rd trade = buy

4th trade = sell


when it should go

1st trade = buy

2nd trade = buy

3rd trade = sell

4th trade = buy

5th trade = buy

6th trade = sell


The thing is, I have a signal occure for buy and it doesn't take a trade because the previous trade was a buy, it waits for sell first...


I can't figure out why that pattern keeps going?

 

Your EA is opening trades in this way because it's coded to do that.

Without the code we cannot understand what is happening and why.

Reason: