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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.