A1 - The indicator that calls:
protected override void Initialize()
{
Add(new Plot(Color.FromKnownColor(KnownColor.Orange), PlotStyle.Line, "Plot0"));
Overlay = false;
Add(PeriodType.Day, 1);
}
protected override void OnBarUpdate()
{
Plot0.Set(Close[0]);
A2(BarsArray[1],1);
}
A2 - The indicator that is being called:
protected override void Initialize()
{
Add(new Plot(Color.FromKnownColor(KnownColor.Orange), PlotStyle.Line, "Plot0"));
Overlay = false;
}
protected override void OnBarUpdate()
{
Plot0.Set(Close[0]);
}
Comment