Thanks msc626 That does the trick.
Best Regards. --- In [email protected], "msc626" <[EMAIL PROTECTED]> wrote: > > --- In [email protected], "ttttyyyyrrrr" <ttttyyyyrrrr@> wrote: > > > > Hi all, > > > > Whenever i use positionscore = -roc(c,250); is seems to pick the > > strongest and not the weakest stocks. Is this the correct code to pick > > the weakest stocks of the previous year? > > > > Thanks. > > score = ROC(C, 250); > positionScore = IIf( score < 0, score, 0); >
