PureBytes Links
Trading Reference Links
|
Mike,
I will be interested to see if anyone has any ideas on this.
Using the Input() function requires a min, a max, and a default value. When
the Custom Indicator is used in a formula, only the default value will be
used in the calculation. The way around this is to code in the variable, in
this case, =20. Unfortunately, this is a password protected formula. So,
unless you can get the password and alter the Input() statement, I believe
you cannot set the period to anything other than the default value that
comes already programmed.
Dave Nadeau
Fort Collins, CO
-----Original Message-----
From: owner-metastock@xxxxxxxxxxxxx
[mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of Michael Arnoldi
Sent: Tuesday, February 06, 2001 4:08 PM
To: aMETASTOCK
Subject: exploration formula question
if i have a password protected formula that requests a period to be entered
eg. 20
it draws the chart real well.
now i would like to write an exploration that will allow me to scan for the
indicator at a certain level. for example:
the WB "cycles" requests a period: i enter 20.
to scan for all charts where WB "cycles" with a 20 value is below 10.
how do i write this:
Fml("cycles")<10; period Fml("cycles")=20;
any ideas ?
mike arnoldi
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
|