I'm trying to figure out a way to rewrite the CrossAbove/CrossBelow evaluators. Here's my issue. I am trying to find out on a specific bar if the cross happened. With CrossAbove if I specified 2 look back I have issues with double painting on signals. If I want to specifically know if the a Cross happen on 2 bars ago how do I got about doing that. I tried the below but it only paints arrows in I use 0 for barsago for DiPlus.
if (DM(3).DiPlus[2] > Value1 && DM(3).DiPlus[1] < Value1)
DrawArrowDown("ArrowDown" + CurrentBar, 0, High[0] + TickSize + DrawingObjectOffset, Color.Blue);
Comment