PureBytes Links
Trading Reference Links
|
Also it looks much better to use
for counter=0 to x+n begin
but then I can't figure out the reason for the 2 inputs, just change x to
20 and dump n.
Prosper
----- Original Message -----
From: Gary Fritz <fritz@xxxxxxxx>
To: OmegaList <omega-list@xxxxxxxxxx>; C_List <code-list@xxxxxxxxxxxxx>
Sent: Tuesday, May 23, 2000 2:43 PM
Subject: Re: ChandeTrend Score
> > As written for 2000i,
>
> I doubt this works on 2000i. It sure doesn't work on TS4.
>
> > if c-c[i]>0 then score=score+1
>
> That should be "if c-c[counter]>0".
>
> > plot1(score);
> > End;
>
> TS4 requires a label on the plot statement:
>
> plot1(score, "Score");
>
> Also, the last "End;" shouldn't be there.
>
> Gary
>
|