PureBytes Links
Trading Reference Links
|
It is not due to the Ref() function.
To Test, create an indicator that references a Securities 100+ days
of Closes in the past.
More likely you are overceeding the maximum 20 Variables limit for
a single custom indicator.
Regards,
Ton Maas
ms-irb@xxxxxxxxxxxxxxxx
Dismiss the ".nospam" bit (including the dot) when replying.
Homepage http://home.planet.nl/~anthmaas
----- Original Message -----
From: "Guy Tann"
To: "Metastock User Group" <metastock-list@xxxxxxxxxxxxx>
Sent: woensdag 13 september 2000 0:30
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."
>
>
>
|