> > *From:* Keith McCombs <kmccombs@xxx>
> > *To:*
amibroker@xxxxxxxxxxxxxxx
> > *Sent:* Thursday, January 22, 2009 7:13 PM
> > *Subject:* Re: [amibroker] Re: Using Optimizer with
PositionScore=Random()
> >
> > Richard --
> > runs = 1000; // Number of runs using random scores
> > TotalRuns = Optimize("TotalRuns", 1, 1, runs, 1);
> > PositionScore = LastValue(Random()); // need value, not array
> > -- Keith
> >
> > richpach2 wrote:
> >
> > Keith,
> >
> > How would you use Random() to set up an optimization to run say 1000
> > iterations overnight?
> >
> > Regards
> > Richard
> >
> > --- In
amibroker@xxxxxxxxxxxxxxx, Keith McCombs <kmccombs@> wrote:
> > >
> > > Curt --
> > > IMO, it makes a whole lot of sense.
> > >
> > > Notice that if your strategy could select many stocks to trade,
if you
> > > do not use Random(), the system is biased to those stocks whose
symbols
> > > are near the front of the alphabet.
> > >
> > > You can use Random() to set up an optimization to run say 1000
> > > iterations overnight. Export the results to your favorite spread
sheet
> > > and see a more realistic distribution of returns you might expect.
> > > -- Keith
> > >
> > > Curt wrote:
> > > >