Ejemplo n.º 1
0
 protected override void CalcBar()
 {
     m_price.Value = Bars.AvgPrice(0);
     m_it.Value    = m_vwapresettable1[0];
     Plot1.Set(0, m_it.Value);
     if (PublicFunctions.DoubleGreater(m_it.Value, m_it[1]))
     {
         m_color.Value = upcolor;
     }
     if (PublicFunctions.DoubleLess(m_it.Value, m_it[1]))
     {
         m_color.Value = dncolor;
     }
     Plot1.Colors[0] = m_color.Value;
 }