protected override void OnBarUpdate()
{
if (Low[0] < Low[1]) // Problem is in this line.
{
DrawArrowUp("Up" + CurrentBar, false, 0, Low[0] - (1 * TickSize), Color.Blue);
}
}
I know the problem is in the 'if' statement, if I change it to
if (Close[0] >= Median[0])
It prints arrows correctly.
Thanks
Dave
Comment