This is the code that draws the arrow, I cannot get it to draw an arrow no matter where in the code I place the "draw arrow"
for(int i = minConsecutive - 1; i >= 0; i--)
{
if (High[i + 1] < High[i]
&& i != 0)
break;
if (i == 0
&& CrossAbove(Close, High[1], 1))
{
Buy.Set(Close[0]);
DrawArrowUp(CurrentBar.ToString(), true, 0, Low[0] - TickSize, Color.Green);
}
}
If anyone would like to see the whole code is attached.

Comment