I'm trying to access a boolean series from another indicator...
I've set up the Boolean series for values to be accessed.
As per SampleBoolSeries Indicator.
When I type in this line of code Add(SMAgroup2()); in my indicator that will be
accessing the boolean series I get a No overload for method...takes '0' arguments.
protectedoverridevoid Initialize()
{
Add(new Plot(new Pen(Color.Lime, 2), PlotStyle.Bar, "UpVolume"));
Add(new Plot(new Pen(Color.Red, 2), PlotStyle.Bar, "DownVolume"));
Add(new Line(Color.DarkGray, 0, "Zero line"));
DrawOnPricePanel=false;
Add(SMAgroup2()); // This is the line
}
Obviuosly the indicator I'm accessing is named SMAgroup2:Indicator.
I thought if it took o arguments then typing in () would be ok?
I'm using NT7..
Thanks
Bruce
Comment