This indicator evaluates Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD), and Stochastic oscillators across four customizable timeframes.
1Copy the scriptPress Copy script above, or the copy button on the code below.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
172 lines of Pine Script v5 from indicators/mtf_confluence_scanner.pine, published under MIT. Keep the author's credit and licence lines when you reuse it.
MTF Confluence Scanner aggregates bullish and bearish conditions into a confluence score to identify aligned market momentum. Buy and sell signals trigger when the calculated confluence score crosses user-defined numeric thresholds. Displayed in a separate pane, the script includes an on-screen dashboard table detailing individual signal states across timeframes. Users can adjust oscillator settings, thresholds, dashboard placement, and toggle anti-repainting behavior.
Multi-timeframe RSI, MACD, and Stochastic analysis
Aggregated confluence scoring system
On-screen visual dashboard table
Anti-repaint setting for confirmed bar calculations
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Timeframe 1
timeframe
15
tf1
Timeframe 2
timeframe
60
tf2
Timeframe 3
timeframe
240
tf3
Timeframe 4
timeframe
D
tf4
RSI Period
int
14
rsi_length
RSI Overbought
int
70
rsi_overbought
RSI Oversold
int
30
rsi_oversold
MACD Fast
int
12
macd_fast
MACD Slow
int
26
macd_slow
MACD Signal
int
9
macd_signal_len
Stoch Length
int
14
stoch_length
Stoch K Smooth
int
3
stoch_k_smooth
Show all 19 settings
Setting
Type
Default
Variable
Stoch D Smooth
int
3
stoch_d_smooth
Use Anti-Repaint (Confirmed Bars Only)
bool
true
use_anti_repaint
Buy Confluence Threshold (0-12)
int
5
confluence_buy_threshold
Sell Confluence Threshold (-12-0)
int
-5
confluence_sell_threshold
Enable Alerts
bool
true
alert_enabled
Show Dashboard Table
bool
true
show_dashboard
Dashboard Position
string
top-right
dashboard_position
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.
This indicator scans a pasted list of symbols for RSI directional momentum and shows matching long and short signals in a table in a separate pane. The user chooses continuous break, continuous retracement, flip break, flip retracement, divergence, or hidden d
This indicator plots the RSI oscillator on the main chart and displays its value distribution in a table positioned at the top right. The script calculates the relative strength index using the input source and length, then plots horizontal lines at 0, 50, and
Market Speedometer plots a 0-100 market speed reading in a separate pane. It measures movement by bar-to-bar change, true range, or a short average of recent bars, then ranks that movement against ATR and a percentile lookback. An EMA smooths the reading, and
KamaFama is an indicator that translates a Freqtrade trading strategy into Pine Script for visualization. It combines Kaufman Adaptive Moving Average (KAMA), MAMA/FAMA calculations derived via Hilbert Transform, Williams %R, and correlation trend filters to ev
Calculates normalized reversal metrics across up to ten Forex currency pairs using user-selected moving average methods, including HarmonicMA, EMA, SMA, or WMA. The indicator identifies overbought, oversold, and mean-crossing conditions using a configurable th
The 8-Factor Composite Screener evaluates equities across fundamental and technical criteria, including valuation ratios, earnings and revenue growth, 12-month return momentum, proximity to 52-week highs, Stage 2 moving average alignment, benchmark relative st