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

Re: Ref function, Periods is a variable



PureBytes Links

Trading Reference Links

Can't do this in Metastock. One of the basic weaknesses in MS formula
lanuguage is that it only allows constants in many places where you need to
use variables.

All you can do is code out longhand a big if statement covering the multiple
variable values - assuming of course this is feasible.

If you need this sort of feature I suggest you take a look at the Amibroker
software. It provides a high degree of compatability with the MS formula
language but removes virtually all of the MS restrictions. It also includes
an execllent multi stock system tester.

www.amibroker.com

(No Amibroker connection other than happy user).

Regards
John

-- Original Message -----
From: "neo" <neo1@xxxxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Sent: Sunday, July 29, 2001 5:11 PM
Subject: Ref function, Periods is a variable


> I need a little help. How do I reference a Close X periods ago when X is a
> variable? It seems the Ref function requires a constant.
>
> Thanks much, neo
>