| if OMX_Init = 1 and OMX_IterationNum > 0 then begin
|
| OMX_temp = OMX_BarInfo( OMX_EquityResolution, OMX_IterationNum ) ;
|
| If OMX_LastBarInWalk then begin
|
| Fitness = Div( NetProfit, absvalue(MaxIDDrawDown) ) ;
|
| OMX_temp = OMX_SendVar( "MyVar1", value1 ) ;
|
| OMX_temp = OMX_SendVar( "MyVar2", value2 ) ;
|
| OMX_temp = OMX_EndPass( OMX_Fitness, OMX_IterationNum, OMX_FirstCalcDate, OMX_FirstCalcTime ) ;
|
|