I know it is something simple but i just cant put my finger on it
I took a regular RSI and want to draw arrows under or above the bar if RSI above or below 30-70
That is working however since i run the indi live and not on bar close the Arrows get drawed during the bar and dont reset if the bar goes the other way. I use Range bars
Here is the code of the drawing section which is at the bottom of the RSI script
Thank you in advance
if(rsi > 70)
{
DrawTriangleUp(CurrentBar.ToString(), true, 0, Low[0]-TickSize, Color.Green);
}
if(rsi < 30)
{
DrawTriangleDown(CurrentBar.ToString(), true, 0, High[0]+TickSize, Color.Red);
}
Comment