Not able to generate signel using RSI indicator

Pls anyone can share me code of RSI indicator with Target and SL

condition:

buy if RSI>60

sell if RSI<30

sl signal condle low

target sl*2.5

Hi Vishal, 



You can refer to this blog and use a similar approach to code the strategy with the conditions that you’ve mentioned. 



Hope this helps!



Thanks,

Bhavika