if (ToTime(Time[0]) == 142500 && BarsPeriod.Value==5||ToTime(Time[0]) == 142700 && BarsPeriod.Value==3||ToTime(Time[0]) == 142000 && BarsPeriod.Value==10)DrawVerticalLine("Opensessionline" + CurrentBar, 0 , System.Drawing.Color.Blue, DashStyle.Solid, 1);
The name BarsPeriod.Value does not exist in the current context
the context is drawing a line if the time and bar period agree
so if i have 5min bars and the time is 1425, draw a line
what cant i see?
Thanks
Comment