Tomasz -

Sorry, same problem that others are reporting with symbol backtest.  I
see the problem on two machines.  Going to have to go back to 5.16.  
Here's a strange clue, though.  

When run against a watchlist of a single symbol, custom backtest gets
call with Action code 6.  When run against current symbol, Action and
ActionEx are {EMPTY}.

Here's the code, just in case -

Buy                     = 1;
Sell                    = Short = Cover = 0;
_TRACE( "Action = " + Status( "action" ) + 
        " , ActionEx = " + Status( "actionex" ) + 
        " , Name = " + Name( ) + 
        " , Close = " + C );
SetOption( "UseCustomBacktestProc", True );
if ( Status( "action" ) == actionPortfolio )
{
        bo                      = GetBacktesterObject( );
        bo.Backtest( );
        _TRACE( "CustomBacktestProc" );
}


-- Bruce


Reply via email to