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

RE: a new problem with Ref()



PureBytes Links

Trading Reference Links

Lionel,

To keep everything simple, every one of these variables is set up as a
separate indicator.  When using MS, I try to use the KISS method at all
times.

Guy

" When I die, I want to go peacefully like my grandfather did, in his sleep.
Not yelling and screaming like the passengers in his car."

-----Original Message-----
From: owner-metastock@xxxxxxxxxxxxx [mailto:owner-metastock@xxxxxxxxxxxxx]On
Behalf Of Lionel Issen
Sent: Tuesday, September 12, 2000 4:26 PM
To: metastock@xxxxxxxxxxxxx
Subject: Re: a new problem with Ref()

Guy:
If I understand what you are trying to do, here's a suggestion.
There is a limit on the number of iterations that Metastock can handle in a
single formula.
One way around this might be to break up your iterations into blocks of not
more than 8 iterations, then combine these into one formula.

The Metastock formula language is distinctly limited.

It may be easier to do this in Excel or VB or TAS.

Lionel Issen
lissen@xxxxxxxxx
----- Original Message -----
From: Guy Tann <grt@xxxxxxxxxxxx>
To: Metastock User Group <metastock-list@xxxxxxxxxxxxx>
Sent: Tuesday, September 12, 2000 5:30 PM
Subject: a new problem with Ref()


> List,
>
> Well I've programmed my way around the last problem, but I just hit
another
> snag.
>
> Is there a limit in using the Ref() function?
>
> I have a variable called MXX.  I am manipulating it in a simplistic manner
> and the first 8 worked great.  When I get to the ninth iteration, it quits
> working.
>
> XEIGHT:=  ( MXX - Ref( MXX , -8 ) ) / 8;   This one works correctly
> XNINE:= ( MXX - Ref( MXX , -9 ) ) / 9;       This one doesn't work!
>
> Actually, numbers one through eight work fine.  Nine and ten don't work
and
> I haven't finished checking eleven through twenty yet.  I assume there's
> something in the manual I missed, so any help would be appreciated.
>
> Thanks,
>
> Guy
>
> " When I die, I want to go peacefully like my grandfather did, in his
sleep.
> Not yelling and screaming like the passengers in his car."
>
>