Disliked{quote} ramzam.. i looked/tested your code: everything is so confusingso i can't find this problem quickly.. better.. take this indicator: it's written much simpler = https://www.forexfactory.com/thread/...1#post13759501 {quote} and also this for you.. simple RSI
with wide option..
Ignored
Thanks for sharing
1