--- In [email protected], "Walter Lepore" 
<[EMAIL PROTECTED]> wrote:
>
> Brian
> 
> I'm reading your files now to verify if I am doing the process 
correctly.

Yes, that should help although they are not my best post ever.

Also post 117702 explains the same thing from a different point of 
view.

If someone elses method rings bells for you - go with that.

brian_z

> 
> 
> Walter
> 
> 
> --- In [email protected], "brian_z111" <brian_z111@> wrote:
> >
> > Walter,
> > 
> > There' more than one way - here's a simple one.
> > 
> > buy = 1;
> > sell = 0;
> > 
> > There's an extended example in the files section of this message 
> > board.
> > 
> > Files > CompareIndexToPortfolio
> > 
> > brian_z
> > 
> > --- In [email protected], "Walter Lepore" 
> > <electricwally77@> wrote:
> > >
> > > Hi Members
> > > 
> > > Please bear with me. I am trying to write a simply Buy and Hold 
> > system
> > > using only one stock (HPQ-Hewlitt Packard). I'm using End of 
Day  
> > data
> > > and programming using the AFL Wizard . I've been at it for 
about two
> > > hours but can't generate the results of a simple buy & Hold.
> > > 
> > > Obviously I'm doing something wrong.  There are a total of 
11,561
> > > Daily bars in the data I downloaded from Yahoo.
> > > 
> > > I've built several different formulas and none of them result 
in a
> > > simple Buy and Hold when I backtest and run a report.
> > > 
> > > Can someone please tell me what the code is for a simple buy 
and 
> > hold
> > > please?
> > > 
> > > I assume there will only be an "Enter Long" but NO "Exit Long" 
since
> > > I'm still holding. Correct?  
> > > 
> > > Thank you very much
> > > Walter
> > >
> >
>


Reply via email to