[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Future REF() function



PureBytes Links

Trading Reference Links

Dear Forrest Ho,

    I think that Alberto Torchio have the solution.

    You would like to write an exploration to known whether the stocks
sorted out from explorer have rise or drawdown after several days .
    If we want to known, for example, what is the result of RSI(14)<30
after 4 days, we would have :

col A: Ref(RSI(14),-4)
col B: ROC(C,4,%)
Filter :  colA < 30

    ...Where col B is the percent of rate-of-change 4 days later !

    I hope it could help you...

Pierre Tremblay


Forrest Ho a écrit:

> > From:          "David Walton" <davidwalton@xxxxxxxxxxx>
> > To:            metastock@xxxxxxxxxxxxx
> > Subject:       Future REF() function
> > Date:          Thu, 04 Jun 1998 01:06:23 EDT
> > Reply-to:      metastock@xxxxxxxxxxxxx
>
> Dear David Walton :
> I had this problem before but I am afraid there
> is not any answer ! I email this question to
> Equis but it seemed that I only got shit !
>
> I tried to write a formula and test its power on
> a past date and wanted to know whether the stocks
> sorted out from explorer have rise or drawdown
> after several days . The conditons was same as
> you . I found this function in the manual that
> they claimed it can refer "future" data by
> setting the ref (X, +days).
>
> No solution !! I even forgot how Euqis replied me
> !!
>
> If you find solution , please tell me too !Thanks
> !
>
> Forrest Ho

Objet:
            "David Walton" <davidwalton@xxxxxxxxxxx>
     la date:
            Thu, 04 Jun 1998 11:24:56 -0700
         De:
            Alberto Torchio <atorchio@xxxxxxxxx>
 Répondre-A:
            metastock@xxxxxxxxxxxxx
          A:
            metastock@xxxxxxxxxxxxx
  Références:
            1




David,

> Col A: Yestrday Ref(C,-1)
> Col B: Today    C
> Col C: Tomorrow Ref(C,1)

It might be that the ref(c,1) doesn't work on explorations...

Why not trying instead:

Col A: Ref(C,-2)
Col B: Ref(C,-1)
Col C: C

and changing accordingly the calculation date?

Alberto Torchio
 Torino, Italy