PureBytes Links
Trading Reference Links
|
greetings,
this is my first post to this list, i am using metastock version 6.0
for windows 95/NT (i use windows 95).
i am making my first attempt at building a testable method.
i am using a price oscillator: oscp(1,20,S,$)
i would like to have a variable, OPT1, that specifies a minimum number
of periods (days) since the oscp has last changed direction. if it has
been at least OPT1 days, then a buy signal would be generated.
i am unsure how to write this formula. i tried to reference the
previous oscp values, but could not work a changing OPT1 into the
formula, and could not determine how to reference the point where the
oscp last changed direction.
i would greatly appreciate any suggestions, also, if a FAQ exists,
please point the way to it!! (-:
rickyp
p.s., might i create variables in a system test, for example, when the
oscp reversed, could i have assigned that closing price to, say,
"close_at_reverse"?
_../|_
='__ _~-.
\' ~-`\._
|/~`
. . . . . . . . . . . . . .
_.`(._.`(._.`(._.`(._.`(._.`(._.`(._.`(._.`(._.`(._.`(._.`(._.`(._.`(.
. rick pendrick i am a poor freezingly cold soul, .
. 5302 32nd avenue so far from where i intend to go. .
. kenosha, wi 53144 trudging through life's very constant lows, .
. usa 414-652-5912 so far from where i'm determined to go. .
. .
. mailto:rickyp@xxxxxxxxxx "seasick, yet still docked" .
. http://www.execpc.com/~rickyp - morrissey .
. . . . . . . . . . . . . . . . . . . . . . . .
|