GetBacktesterObject
- get the access to backtester object

Trading system toolbox
(AmiBroker 4.60)


SYNTAX GetBacktesterObject()
RETURNS OBJECT
FUNCTION This funciton is used in custom backtester procedures to get the access to backtester object. Note that GetBacktester method should only be called when Status("action") returns actionPortfolio.

For more details please read Custom Backtester documentation

EXAMPLE
if( Status("action")== actionPortfolio ) 
{ 
    // retrieve the interface to portfolio backtester 
     bo = GetBacktesterObject(); 

     //...here is your custom backtest formula. 
}
SEE ALSO STATUS() function

References:

The GetBacktesterObject function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.