| PureBytes Links Trading Reference Links | 
The "extra" run is to compute the results of the OPTIMUM
parameters that were determined in the run.
Took me quite a while to figure out such a simple matter.
Clyde Lee 
Subject: Results of Optomization to CSV file
> Date: Fri, 21 Aug 1998 16:18:12 -0700
> From: "Peter Gibson" <Peter_Gibson@xxxxxxxxxxxxxx>
> To: <omega-list@xxxxxxxxxx>
> 
> I am attempting to send results of optomization directly to a CSV file.
> This is the code I am using just to see if I can get the thing to work:
> 
> If LastBarOnChart then begin
>      NP=NetProfit;
>      FileAppend( "d:\data\xtra\equity.csv",
>      Sym+","+
>      numtostr(Date,0)+","+
>      numtostr(Param1,0)+","+
>      numtostr(Param2,0)+","+
>      numtostr(Param3,0)+","+
>      numtostr(Param4,0)+","+
>      numtostr(Param5,0)+","+
>      numtostr(NP,0)+","+
>      newline);
> end;
> 
> Works OK except for the last value of the optomization the line is printed
> twice - so for each future I get an extra line - any ideas?
> 
>   -- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Clyde Lee   Chairman/CEO        (Home of SwingMachine)
SYTECH Corporation              email:   <clydelee@xxxxxxx> 
7910 Westglen, Suite 105        Work:    (713) 783-9540
Houston,  TX  77063             Fax:     (713) 783-1092     
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 |