I'm just trying to get a Dot drawn when StochRSI goes overbought or Sold.
if(CrossBelow(StochRSI(14), OS, 1))
{
DrawDot("My dot" + CurrentBar, false, 0, 0, Color.Blue);
}
//If OverBought
if(CrossAbove(StochRSI(14), OB, 1))
{
DrawDot("LongDot" + CurrentBar, false, 0, 0, Color.Red);
}
Thanks!!

Comment