OPEN-SOURCE SCRIPT

RSI Local Trend

Updated
A simple indicator using two RSIs.

Conditions for buy:
RSI(slow) < RSI(fast) and RSI(slow) < long_trigger

Conditions for sell:
RSI(slow) > RSI(fast) and RSI(slow) > short_trigger

It is recommended to use in small timeframes for scalping.

Recommended settings:
slow = 3
fast = 14
long_trigger = 30
short_trigger = 70

In markets where there is very high volatility, it is recommended to change the trigger parameters:
long_trigger = 20
short_trigger = 80
Release Notes
Added Alerts
Pivot PointsPivot points and levelsRelative Strength Index (RSI)rsi2

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer