Code: Select all
m_uptlref.Value.End = new ChartPoint(Bars.Time[0], m_uptlref.Value.PriceValue(Bars.Time[0]));
If you do this code:
Code: Select all
m_uptlref.Value =
DrwTrendLine.Create(
new ChartPoint(m_swlotime[0][((m_index.Value))], m_swloval[0][((m_index.Value))]),
new ChartPoint(m_swlotime[0][0], m_swloval[0][0]));