I am somewhat embarrassed to say that I found Amibroker was using the open price of the bar being tested for the condition rather than the open of the next bar, by default. When changed to the open of the next bar, the system became unprofitable.
Amibroker does not seem to have the checks and balances that I was used to from working with Easy Language and TS which uses the next bar's open.
Sorry for the confusion and thanks to all who posted. There is a lesson in here for me and maybe others.
I am a big fan of AB, but would change how some things work with backtesting. You can specify things in code and specify the same things in Setting windows and its your responsibility to make sure it works the way you intended. There are many backtesting features and it is powerful but it can also be complex and difficult to understand, IMHO.
Amibroker does not seem to have the checks and balances that I was used to from working with Easy Language and TS which uses the next bar's open.
Sorry for the confusion and thanks to all who posted. There is a lesson in here for me and maybe others.
I am a big fan of AB, but would change how some things work with backtesting. You can specify things in code and specify the same things in Setting windows and its your responsibility to make sure it works the way you intended. There are many backtesting features and it is powerful but it can also be complex and difficult to understand, IMHO.