I'm building a sort of pivot indicator with plots as lines.
I'd like to leave an open space on the left of my screen on the left of the levels plotted as lines. It should be left empty wherever you browse through historical data.
I tried this code (interesting part in bold). But can't make it work. Can you help me ? Thank you
if (CurrentBar<1) return; AAA.Set(1); [B] for (int i=CurrentBar-ChartControl.FirstBarPainted;i>CurrentBar-ChartControl.FirstBarPainted-7;i--) PlotColors[0][i] = Color.Empty; [/B] } #region Properties [Browsable(false)] [XmlIgnore()] public DataSeries AAA { get { return Values[0]; } }
Comment