I'm not having any issues with this script, however it is currently only going to plot the draw object at the most recent occurrence. If you would like these objects to appear each time the condition is true, you would need to create unique tags for each instance. Please see the following modified code which should do what you're looking for:
if (CrossAbove(RSI(12,2),70,1)) DrawTriangleUp("Plot1"[B] + CurrentBar[/B], true, 0, Low[0] - TickSize, Color.Green); if (CrossBelow(RSI(12,2),30,1)) DrawTriangleDown("Plot0" [B]+ CurrentBar[/B], true, 0, Low[0] - TickSize, Color.Red);
Comment