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

[amibroker] Optimizer extra loop? (4.80 pro)



PureBytes Links

Trading Reference Links

New to AB.

When running this formula...
////////////////////////////////////////
tm_analyze=1;
tm_report=2;
tm_step=1;
testmode= Optimize( "TestMode", tm_analyze, tm_analyze, tm_report,
tm_step );
trace=True;

if ( Trace )
{
  _TRACE( "Test mode=," + StrFormat( "%1.0f", testmode ) );
}

Buy=Sell=0;
////////////////////////////////////////

... I get these _TRACE results....

----------------------------------------
00000000 15:00:40.156 [2204] Test mode=,1	
00000001 15:00:40.156 [2204] Test mode=,1	
00000002 15:00:40.156 [2204] Test mode=,2
----------------------------------------

Isn't that an extra optimizer pass?

( Max - min ) / step
=
( 2 - 1 ) / 1 = 1 , correct?

Puzzled in Denver,
Whitney



Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006