I developed this really kewl indicator and want to use it in a very kewl strategy I am creating. The indicator has three Series: Lower, Middle and Upper. See below. I want to ask the question: Is Close[0] > Upper[0] or is Close[0] between Lower[0] and Middle[0].
When I use the indicator in a chart, it does what it is supposed to.
How do I reference them in my strategy?
Thanks much!
[Browsable(false)]
[XmlIgnore]
public Series<double> Middle
{
get { return Values[0]; }
}
[Browsable(false)]
[XmlIgnore]
public Series<double> Lower
{
get { return Values[1]; }
}
[Browsable(false)]
[XmlIgnore]
public Series<double> Upper
{
get { return Values[2]; }
}
Comment