Indicator · Pine Script v6 · On the chart

NO.1 V4 MTF Confidence Fusion

by vedkanani123

A price-chart indicator that extends a three-regime signal engine (trend, range edge reversal, breakout) with higher-timeframe context and a transparent confidence score.

View on GitHub

Repaints

GitHub stars1on the repository
Pine versionv6current
Lines of code257
Settings20inputs
LicenceNone stated
Last update2 months ago23 Aug 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

The higher timeframe uses the previous completed bar, either auto-selected or set manually, and its EMA length is adjustable. Signals appear only above a minimum confidence, with a grade shown on a dashboard. HTF mode can be hard for trends, soft, or off. It also draws the core, trail, range boxes and regime background.

Details

Published by

vedkanani123 on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Trend, Breakout, Screeners & dashboards

Markets

Any symbol

Timeframes

Any timeframe

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
Adaptive core lengthint14coreLen
ATR lengthint14atrLen
Trend structure lookbackint24trendLookback
Range windowint20rangeLookback
Minimum confidenceint68scoreInput
HTF modestringTrend hard / Range softhtfMode
Auto-select HTFbooltrueautoHtf
Manual HTFtimeframe240manualHtf
HTF EMA lengthint34htfEmaLen
Trend-following sleevebooltrueuseTrend
Range-edge reversal sleevebooltrueuseRange
Transition breakout sleevebooltrueuseBreakout
Show all 20 settings
SettingTypeDefaultVariable
Use volume when reliableboolfalseuseVolume
Adaptive corebooltrueshowCore
Active trailbooltrueshowTrail
Completed rangebooltrueshowRange
BUY / SELL labelsbooltrueshowLabels
Regime backgroundbooltrueshowBg
Confidence dashboardbooltrueshowDash
Color bars by active sidebooltruecolorBars
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

32 stars

Ghost Channels fits dynamic parallel trend channels over a configurable lookback window using linear regression or pivot swing methods. It layers confirmation signals onto the channel geometry, detecting candlestick pattern reactions at the rails, volume-confi

Indicator v6 TrendBreakout
Updated 3 days ago · MIT GitHub repository of Ghost Channels [mph1nance]

MTF OTF Close Filter

by flaviusapop
2 stars

MTF OTF Close Filter calculates multi-timeframe breakout or continuation states by comparing each timeframe's current close to the highest and lowest closes over the prior N bars. It plots a six-cell status table at the bottom right of the chart showing UP, DO

Indicator v5 BreakoutTrend
Updated 5 weeks ago · None stated GitHub repository of MTF OTF Close Filter

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