Indicator · Pine Script v6 · On the chart

MTF Confluence Trend

by aretephi

MTF Confluence Trend plots trend signals when conditions align across timeframes.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code81
Settings10inputs
LicenceNone stated
Last update3 months ago25 Jul 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

MTF Confluence Trend detects Supertrend direction flips on the chart timeframe and confirms them against a higher timeframe Supertrend. Optional filters require an ADX strength threshold and a volume expansion condition relative to a simple moving average. The indicator draws Supertrend lines, entry shape labels, and bar colors directly on the price chart. It also features a real-time status dashboard displaying current chart trend, higher timeframe direction, ADX values, and volume state.

Details

Published by

aretephi on GitHub

Draws

On the price chart

Markets

Gold

Timeframes

M15-H1, H4 and above

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Topics

algorithmic-trading-dotnetbacktestingmetatrader5mql5pine-scripttrading-bottradingview-ideas

Settings

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

SettingTypeDefaultVariable
ATR lengthint10atrLen
ATR multfloat2.0atrMult
HTF confirmationtimeframe240htf
Require ADX trendbooltrueuseAdx
ADX lengthint14adxLen
ADX minfloat22adxMin
Require volume expansionboolfalseuseVol
Volume SMA lengthint20volLen
Shade trendbooltrueshowZone
Show dashboardbooltrueshowTbl
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

Stats Table

by degenview
3 stars

Displays a statistical summary table pinned to the top right of the price chart. It calculates key metrics including ATR percentage relative to price, high-low range percentage over a configurable bar count, relative volume compared to its simple moving averag

Indicator v6 Screeners & dashboardsTrend
Updated 2 days ago · GPL-3.0 GitHub repository of Stats Table

Ghost Flow

by mphinance
1 stars

A price-chart overlay that grades a setup from several axes: a Hull trend band with an optional EMA ribbon, Chaikin money flow strength, an ATR-based compression and expansion measure, trend age in bars, and a Williams %R exhaustion gauge. It adds a Bounce 2.0

Indicator v6 TrendVolume
Updated 3 days ago · Custom licence GitHub repository of Ghost Flow
1 stars

This overlay indicator is a companion dashboard for Bursa Malaysia stocks. It builds a table that shows Minervini trend-template conditions, VCP squeeze tightness, volume surge and contraction, price and average-volume liquidity filters, and an MCDX banker or

Indicator v6 TrendVolatility & bands
Updated 4 months ago · None stated GitHub repository of Minervini VCP Dashboard v8 KLSE
4 stars

Meridian - Futures Context is an intraday analysis indicator designed for US index futures. It measures volume participation using relative volume, calculates rolling realized volatility, and evaluates trend context through VWAP slope and EMA structures. Displ

Indicator v6 VolumeVolatility & bands
Updated 7 weeks ago · MPL-2.0 GitHub repository of Meridian - Futures Context

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

Adaptive MA Slope

by capissimo
114 stars

This indicator calculates Kaufman's Adaptive Moving Average (KAMA) on a chosen price source and determines trend direction based on the slope across a configurable lookback window. Signals can be filtered by short-term volatility expansion using ATR comparison

Indicator v4 Moving averagesTrend
Updated 1 year ago · None stated GitHub repository of Adaptive MA Slope

More Trend 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