Read "Custom Backtester Interface" from the Files section of this group:

http://f1.grp.yahoofs.com/v1/oKOtSoXDV9z753H7_Td7r6tAtdPaf9CsQDJpZjONgKLuDHj2TCgyKdZzJJB7qjghKlTUgUiMPZjo6R95tBOj6Hp2aYggmFsd/AmiBroker%20Custom%20Backtester%20Interface.pdf

Mike

--- In [email protected], "raskoks" <rask...@...> wrote:
>
> Hi,
> I wonder how to use 
> bo = GetBacktesterObject();
> and maybe loop like this:
> 
>  for( trade = bo.GetFirstTrade(); trade; trade = bo.GetNextTrade() ) 
>      { 
>           // trade variable now holds Trade object
> 
>      }
> 
> Too find information about current bactester position.
> I need to know for every bar information about position (long,short) because 
> some signals shoud be use only when i have long and some for shorts.
> Maybe someone can help mi with this kind of problem.
> 
> Best regards
> raskoks
>


Reply via email to