OPEN-SOURCE SCRIPT
Dual Timeframe Direction RSI M5 M1 ribbons

Dual Timeframe Direction RSI (M5 / M1) is a directional RSI ribbon designed to structure scalping decisions on low timeframes.
It separates context (M5) from execution timing (M1), using RSI levels and slope to filter trades, avoid overextended markets, and improve entry discipline.
This indicator does not generate signals — it defines when and in which direction trading is allowed.
How to read the colored bars
M5 ribbon (top) = market context
Green → long bias allowed
Blue → short bias allowed
Orange → market overstretched, caution
Grey → no clear direction
M1 ribbon (bottom) = execution timing
Green → timing zone valid
Orange → preparation zone near RSI threshold
Grey → no trade
➡️ Trade only when M5 defines the direction and M1 confirms the timing.
It separates context (M5) from execution timing (M1), using RSI levels and slope to filter trades, avoid overextended markets, and improve entry discipline.
This indicator does not generate signals — it defines when and in which direction trading is allowed.
How to read the colored bars
M5 ribbon (top) = market context
Green → long bias allowed
Blue → short bias allowed
Orange → market overstretched, caution
Grey → no clear direction
M1 ribbon (bottom) = execution timing
Green → timing zone valid
Orange → preparation zone near RSI threshold
Grey → no trade
➡️ Trade only when M5 defines the direction and M1 confirms the timing.
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.