OPEN-SOURCE SCRIPT
RSI Structure Engine (Aggressive Soft) |

It measures the direction (trend) and turning points of the market via RSI(7).
But unlike the classic RSI:
It doesn't say "sell at 70 - buy at 30" ❌
Instead:
It reveals the STRUCTURE of the RSI (HH–HL / LH–LL).
That is:
Is there a trend?
Is the trend continuing?
Has the trend ended?
It divides the RSI into 3 zones:
Zone Meaning
RSI ≥ 70 Strong upward momentum (peak regime)
RSI ≤ 30 Strong downward momentum (bottom regime)
30–70 Transition / breathing space
But the key point is this 👇
The bottom/top RSI is FOLLOWED within these regimes, it doesn't lock in immediately.
What and How
🔺 🔻 Locked RSI peak/trough
HH/HL RSI upward trend
LH/LL RSI downward trend
Small points being followed (not yet locked)
If RSI HL breaks, the trend ends
WHAT YOU SHOULDN'T DO?
❌ Don't assume it's a buy-sell indicator alone
❌ Don't short just because you see RSI 70
❌ Don't long just because you see RSI 30
This indicator:
Answers the question "Which side should I be on?"
It doesn't say "Enter right here"
TREND FILTER (MAIN USE)
LONG LOOK:
Last structure: HH + HL
RSI doesn't fall below 30
🔻 HL is protected
SHORT LOOK:
Last structure: LH + LL
RSI cannot rise above 70
🔺 LH is protected
❌ Don't take a trade in the opposite direction.
But unlike the classic RSI:
It doesn't say "sell at 70 - buy at 30" ❌
Instead:
It reveals the STRUCTURE of the RSI (HH–HL / LH–LL).
That is:
Is there a trend?
Is the trend continuing?
Has the trend ended?
It divides the RSI into 3 zones:
Zone Meaning
RSI ≥ 70 Strong upward momentum (peak regime)
RSI ≤ 30 Strong downward momentum (bottom regime)
30–70 Transition / breathing space
But the key point is this 👇
The bottom/top RSI is FOLLOWED within these regimes, it doesn't lock in immediately.
What and How
🔺 🔻 Locked RSI peak/trough
HH/HL RSI upward trend
LH/LL RSI downward trend
Small points being followed (not yet locked)
If RSI HL breaks, the trend ends
WHAT YOU SHOULDN'T DO?
❌ Don't assume it's a buy-sell indicator alone
❌ Don't short just because you see RSI 70
❌ Don't long just because you see RSI 30
This indicator:
Answers the question "Which side should I be on?"
It doesn't say "Enter right here"
TREND FILTER (MAIN USE)
LONG LOOK:
Last structure: HH + HL
RSI doesn't fall below 30
🔻 HL is protected
SHORT LOOK:
Last structure: LH + LL
RSI cannot rise above 70
🔺 LH is protected
❌ Don't take a trade in the opposite direction.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.