Indicator · Pine Script v5 · On the chart

MTF Confluence Strategy

by DirtDemon31

A multi-timeframe confluence indicator that scores setups from several components: an EMA ribbon with ADX and DMI, MACD, Bollinger Bands, volume against its average, VWAP with pivot points, and Stochastic RSI timing.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code552
Settings35inputs
LicenceNone stated
Last update6 months ago17 Apr 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

Daily, 4-hour and 1-hour closes versus an EMA give a higher-timeframe bias. Entry and exit labels appear only when enough components agree, with optional volume and ADX filters. It draws EMAs, bands, VWAP, pivots, labels and a dashboard on the price chart. It is designed for 15 or 30 minute charts.

Details

Published by

DirtDemon31 on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Trend, Oscillators & momentum, Support & resistance, Screeners & dashboards

Markets

Any symbol

Timeframes

M15-H1

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.

Settings

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

SettingTypeDefaultVariable
EMA 1int8ema1Len
EMA 2int21ema2Len
EMA 3int50ema3Len
EMA 4int200ema4Len
Show EMA LinesbooltrueshowEMA
ADX Lengthint14adxLen
ADX Smoothingint14adxSmooth
Min ADX (trend on)int20adxMinTrend
Fastint12macdFast
Slowint26macdSlow
Signalint9macdSig
Lengthint20bbLen
Show all 35 settings
SettingTypeDefaultVariable
StdDevfloat2.0bbMult
Show BBbooltrueshowBB
Volume MA Lengthint20volMaLen
Min Vol Multiplier (×avg)float1.0volMinMult
Show VWAPbooltrueshowVWAP
Pivot TypestringTraditionalpivotType
Show PivotsbooltrueshowPivots
Pivot Lookback (bars)int1pivotLookback
RSI Lengthint14stochRsiLen
Stoch Lengthint14stochLen
%K Smoothint3stochK
%D Smoothint3stochD
Overboughtint80stochOB
Oversoldint20stochOS
Daily TFtimeframeDhtfDaily
4H TFtimeframe240htf4h
1H TFtimeframe60htf1h
HTF EMA for biasint50htfEmaLen
Require ALL 3 HTF agreeboolfalserequireAllHTF
Require Volume ConfirmbooltruerequireVolConf
Require BB LocationbooltruerequireBBConf
Show DashboardbooltrueshowDash
Show Signal LabelsbooltrueshowSignalLbls
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

Vein: Pullback identifies temporary counter-trend retracements and signals when they end versus when structure breaks. It calculates a multi-layer confluence score from 0 to 10 based on trend quality, move weakness, structure preservation, and Fibonacci retrac

Indicator v6 TrendOscillators & momentum
Updated 2 days ago · MIT GitHub repository of Vein: Pullback [WavesUnchained]

Apex Swing System

by omharde42
2 stars

Apex Swing System is a trend and momentum indicator designed for swing trading. It combines a 200-period simple moving average filter, RSI momentum checks, and the Ichimoku Cloud to identify bullish and bearish setups. Upon confirming a signal, it plots fixed

Indicator v6 TrendOscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of Apex Swing System

IMBA Algo

by TamTH-Dev
2 stars

IMBA Algo is a price chart overlay indicator designed to simulate trading setups with detailed position visualisations. It calculates entry points, automatic or fixed percentage stop losses, break-even levels, and four distinct take profit targets with customi

Indicator v5 TrendScreeners & dashboards
Updated 5 weeks ago · None stated GitHub repository of IMBA Algo
257 stars

This indicator overlays an intraday SPX and ES chart with a midnight session range, regular-trading-hours opening levels, and a VWAP projection box. It draws the midnight high, mid, and low, flags edge rejections within an absolute tolerance, and plots optiona

Indicator v6 TrendSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of SPX Midnight Box + Snag Logic
218 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
114 stars

This indicator calculates key support and resistance levels by analyzing the first and second momentum derivatives of a Double Exponential Moving Average (DEMA). When the second derivative (momentum of momentum) crosses zero, it identifies local turning points

Indicator v4 Support & resistanceOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Support and Resistance Levels

More indicators

Trade Your Charts With a Regulated Broker

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

Compare brokers