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

Re: Optimization using Random Function



PureBytes Links

Trading Reference Links

In a message dated 00-08-06 13:27:21 EDT, you write:

<< I`ve been doing optimization runs using Random 
 numbers..
 
 ie ... Input: Length(random(50)); etc...
 
 Only problem is the input random numbers don`t come
 up on the optimization reports.
 
 Is there any way around this ?
 
 Any help would be greatly appreciated.
 
 Noel
  >>

Try something like this:  ( This has not been verified )

Var: Out1S("")  ;

If LastBaronChart then Begin

Out1S = Text(Length:1:6,",",NetProfit:1:2,",",MaxIDDrawDown:1:2) + NewLine ;
{ Add your own fields: your inputs and/or other omega performance functions. 
}   

FileAppend("C:\youropt.csv",Out1S) ;

End ;

If your optimization is for 150 runs then 150 lines will be written out.

Then Open C:\youropt.csv  with Excel .


Jim