Custome Backtester


#1

The following code produces error #18 as shown

Similar code works in another application ??????

image


#2

Please ignore this post


#3

If you found your mistake it is worthwhile to tell the others what the mistake was so they can learn from such mistake.

So for education sake, in this case the mistake was missing curly brace after

if( Status("action") == actionPortfolio )
{ // THIS BRACE WAS MISSING in the code above
   bo = GetBacktesterObject();
   bo.PreProcess();

....
}