if(CrossAbove(EMAProgressionAvg(14, 5).Progression, EMAProgressionAvg(14, 5).Progression_Avg, 1)) { DrawArrowUp("EMAPUp" + CurrentBar, true, 0, Low[0] - TickSize , Color.Cyan); } if(CrossBelow(EMAProgressionAvg(14, 5).Progression, EMAProgressionAvg(14, 5).Progression_Avg, 1)) { DrawArrowDown("EMAPDn" + CurrentBar, true, 0, High[0] + TickSize , Color.Red); }
is is possible that there is a mismatch between where the indicator is placed (I have overlay = false) and where the code itself is trying to place the arrow. My assumption is the arrow should go in the same panel as the indicator but perhaps that isn't the case?
Comment