Indicator · Pine Script v6 · On the chart

Matrix Trend BTR

by natalivm

A price-chart overlay that draws an Ichimoku-style cloud and a moving average, then prints buy and sell triangles from a chosen engine: RSI crossing its average in the cloud trend direction, EMA trend reversals, or manual price-level rules.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code1,249
Settings33inputs
LicenceNone stated
Last updateyesterday28 Oct 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

Extra optional signals cover RSI extremes, RSI double tops and bottoms, early tops and divergences. Cloud and average settings adjust automatically by chart timeframe. A dashboard, stop line and alerts are included. The author calls it an approximation of a third-party method.

Details

Published by

natalivm on GitHub

Draws

On the price chart

Markets

Stocks

Timeframes

Any timeframe

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
Signal enginestringRSI + cloud trendsignalEngine
Matrix BUY / SELLbooltrueenableSignals
Show signal trianglesbooltrueshowSignals
Hide signals on 5m + 15mboolfalsehideSignals5And15
Show latest stop linebooltrueshowPlan
Cloud profilestringAuto: hourly estimate above 15mprofile
Customint9customConversion
customBaseint26customBase
customSpanint52customSpan
shiftint5customShift
Moving average (yellow)stringAuto: 22 EMA to 15m, 55 SMA abovemaPreset
Custom MAint22maLength
Show all 33 settings
SettingTypeDefaultVariable
maTypestringEMAmaType
RSI oversold BUY / RSI >80 SELLbooltrueenableRsiZoneSignals
Extreme-low RSI BUYbooltrueenableRsiExtremeBuy
Extreme-high RSI SELL - 5m / 15m / dailybooltrueenableRsiExtremeSell
Pink early-top SELLbooltrueenableEarlyTopSell
RSI double-top SELLbooltrueenableRsiDoubleTop
Bearish divergence SELLbooltrueenableBearDiv
RSI double-bottom BUYbooltrueenableRsiDoubleBottom
Bullish divergence BUYbooltrueenableBullDiv
Bottom watch / confirmed BUYbooltrueenableBottomLab
Show cloudbooltrueshowCloud
cloudUpColorcolorcolor.rgb(0, 150, 150)cloudUpColor
cloudDownColorcolorcolor.rgb(205, 120, 45)cloudDownColor
Show Tenkan / KijunbooltrueshowGuides
tenkanColorcolorcolor.rgb(255, 0, 0)tenkanColor
kijunColorcolorcolor.rgb(255, 0, 255)kijunColor
Show dashboardbooltrueshowDashboard
Show bottom-watch confirmation / risk linesbooltrueshowBottomLevels
Show nearest swing support / resistanceboolfalseshowAutoLevels
Show previous day high / low on 15mbooltrueshowPrevDay
Lines / clusters · comma-separatedstringlevelText
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

This indicator plots calendar-spread context for commodity futures on the price chart. It maps the chart symbol to front and next month contracts automatically, or uses manual symbols, then calculates the spread as a difference or ratio. Fast and slow EMAs, a

Indicator v6 TrendOscillators & momentum
Updated 2 days ago · MIT GitHub repository of Vein: Spread Context [WavesUnchained]
5 stars

This indicator overlays multiple technical analysis tools onto the price chart to evaluate trend direction and trade setups. It computes an exponential moving average, a smoothed Stochastic RSI, a custom Williams Alligator using smoothed moving averages with o

Indicator v4 TrendMoving averages
Updated 3 years ago · Apache-2.0 GitHub repository of 200 EMA + Alligator + Stochastic

Fractals with Divergence Scanner is an overlay indicator that combines Exponential Moving Averages, an eight-line EMA ribbon cloud, and WaveTrend divergence analysis. It calculates baseline EMA trends alongside WaveTrend oscillators to detect regular and hidde

Indicator v5 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of Fractals with Divergence Scanner
2 stars

ARPS Ultimate MultiStrategy Trading combines multiple technical indicators into a single chart overlay. It calculates and plots trend lines, moving averages, Ichimoku cloud components, Williams Alligator lines, and Fibonacci support and resistance levels direc

Indicator v4 TrendOscillators & momentum
Updated 6 months ago · None stated GitHub repository of ARPS Ultimate MultiStrategy Trading

Complexity Trender

by panzmoravylab
2 stars

Complexity Trender is an indicator that combines EMA crossovers, RSI momentum, Stochastic signals, Bollinger Bands, ADX trend strength, volume analysis, and divergence detection to identify trends. It plots labels, trend lines, and a summary table directly on

Indicator v6 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Complexity Trender

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