[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] 5.17 Problem



PureBytes Links

Trading Reference Links

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



------------------------------------

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/