Indicator · Pine Script v5 · On the chart

MTF RSI Management

by iyoshikawa

An overlay indicator built around a fast and a slow smoothed RSI, a double-smoothed stochastic, an EMA trend line and an ADX filter, combined with a volume filter to grade setups from B to A+.

View on GitHub

Repaints

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code624
Settings40inputs
LicenceNone stated
Last update5 months ago31 May 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

Presets adapt settings for crude oil, Nasdaq, S&P 500 and Dow futures. Options include signal cooldown, grade persistence, a macro trend filter, optional extra EMAs and ADX-based sizing hints. It is meant to be paired with a companion signals indicator.

Details

Published by

iyoshikawa on GitHub

Draws

On the price chart

Markets

Indices, Oil & commodities

Timeframes

M15-H1

Risk Notes

  • Reads higher-timeframe data with lookahead on, so the history can show signals that were not there in real time

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
InstrumentstringDEFAULTinstrument_preset
EMA Lengthint34ema_length_in
RSI SpeedstringStandardrsi_speed
Short RSI Periodint5shortLen
Long RSI Periodint13longLen
Short Smoothingint2shortSmooth
Long Smoothingint3longSmooth
RSI Neutral Zonefloat1.0threshold
Stoch Periodint10stochLen
Stoch Smoothingint3stochSmth
ADX Lengthint14adx_length
Enable ADX Filterbooltrueuse_adx
Show all 40 settings
SettingTypeDefaultVariable
ADX Threshold A+float25adx_threshold_a_plus_in
ADX Threshold Afloat20adx_threshold_a_in
ADX Floor B/B+float15.0adx_floor_bb
Volume MA Lengthint20vol_ma_len
Volume Multiplierfloat1.1vol_mult_in
Enable Volume Filterbooltrueuse_vol_filter
Suppress B/B+ LOW Volboolfalsesuppress_low_vol_bb
Block Counter-Trend B/B+/A-booltruemacro_trend_filter
Require RSI Ribbon B/B+boolfalserequire_ribbon_bb
Signal Cooldown (bars)int5cooldown_bars
Grade Persistence (bars)int2persist_bars
Show 21 EMAboolfalseshow_ema_21
Show 50 EMAboolfalseshow_ema_50
Show 233 EMAboolfalseshow_ema_233
Enable ADX Advanced Featuresboolfalseenable_adx_adv
Dynamic Sizing by ADXboolfalseadx_sizing_mode
Runner ADX Gatefloat20.0adx_runner_gate
Pyramid Only When ADX Risingbooltrueadx_pyramid_rising
Show Breakout Detectionbooltrueadx_breakout_detect
Breakout: ADX Lowfloat12.0adx_breakout_low
Breakout: ADX Highfloat20.0adx_breakout_high
Show ADR on Dashboardboolfalseshow_adr_dash
ADR Lookback (days)int10adr_length
Show Previous 2 Globex High/Lowboolfalseshow_globex_hl
Show Previous Globex POCboolfalseshow_globex_poc
Day -1 H/L Colorcolorcolor.new(#FF9800, 30)globex_hl_color_1
Day -2 H/L Colorcolorcolor.new(#FF9800, 60)globex_hl_color_2
POC Colorcolorcolor.new(#E040FB, 30)globex_poc_color
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

947 stars

The Adaptive RSI Moving Average (ARSIMA) is an overlay indicator that dynamically adjusts its smoothing factor based on the Relative Strength Index (RSI). When the RSI moves toward extreme overbought or oversold conditions, the smoothing factor increases to ma

Indicator v4 Moving averagesOscillators & momentum
Updated 11 days ago · GPL-3.0 GitHub repository of Adaptive RSI Moving Average

The Momentum Setup is a multi-indicator visual tool designed for trend and momentum analysis directly on the price chart. It combines Relative Strength Index (RSI), Money Flow Index (MFI), Commodity Channel Index (CCI), Supertrend, and a 250-bar percentage cha

Indicator v5 Oscillators & momentumTrend
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup - Ankush Bajaj Momentum Investing Setup
257 stars

This indicator uses a Lorentzian distance k-nearest neighbors classification algorithm to predict market direction based on up to five technical features, such as RSI, WaveTrend, CCI, and ADX. It compares current feature values against historical bar patterns

Indicator v5 AI / machine learningOscillators & momentum
Updated 6 weeks ago · None stated GitHub repository of Donald - Machine Learning Options
228 stars

TradersPost Trading Checklist is an overlay indicator that evaluates a suite of popular technical conditions for long and short trade setups. It checks session-anchored VWAP, fast and slow EMA alignments and crosses, 200 SMA, RSI overbought or oversold conditi

Indicator v6 Screeners & dashboardsTrend
Updated 3 months ago · None stated GitHub repository of TradersPost Trading Checklist

Daily Trend Filter

by agutinbaigo28
147 stars

Calculates market regime conditions by combining RSI, MACD, and ADX/DMI indicators. It evaluates whether the market is in a strong bullish, strong bearish, neutral, or non-trending regime. The script plots a colored line overlaying the close price to reflect t

Indicator v5 TrendOscillators & momentum
Updated 6 weeks ago · MIT GitHub repository of Daily Trend Filter

AAPP

by capissimo
114 stars

This indicator plots an adaptive moving average or scaled RSI divergence line directly on the price chart. It calculates dual RSI series to measure momentum divergence, scales the values to the chart's price range, and constructs an adaptive average filtered b

Indicator v4 Moving averagesTrend
Updated 1 year ago · None stated GitHub repository of AAPP

More Oscillators & momentum scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers