if (CurrentBar == Bars.Count - 2) { foreach (Gui.NinjaScript.IChartObject thisObject in ChartControl.Indicators) { NinjaScriptBase ib = thisObject as NinjaScriptBase; Print(ib.Name + "\t" +ib.Value[0].ToString()); } }
And there is a strange phenomena:
if (CurrentBar == Bars.Count - 2) { foreach (Gui.NinjaScript.IChartObject thisObject in ChartControl.Indicators) { NinjaScriptBase ib = thisObject as NinjaScriptBase; for (int c = 0; c < ib.Value.Count; c++) { Print(ib.Name + "\t" + ib.Value[c].ToString()); } } }
Comment