I have been able to program a simple DrawDownArrow and it works fine.
if (CrossBelow(Leader, 0, 1);
{
DrawArrow("MyDownArrow1"+CurrentBar, 0, High[0]+4* TickSize, Color.Black);
}
Everything works fine with that.
But, have not been able to add a simple filter. Have been able to get it to compile various ways, but the result is always the same (see attached)
if ((Diff[0] < .2) && CrossBelow(Leader, 0, 1)); //then Draw
if (Diff[0] < .2 && CrossBelow(Leader, 0, 1)); //then Draw
The output seems to ignore the second condition, ie CrossBelow.
Thanks in advance for any and all help.
phoenix

Comment