OPEN-SOURCE SCRIPT
Smart Money Renko Matrix [MarkitTick]

💡 The Smart Money Renko Matrix is a comprehensive, multi-dimensional analytical tool designed to bridge the gap between noise-free price action and complex market microstructure. By stripping away time-based market noise using an Average True Range (ATR) based price framework, this script isolates pure directional movement and volume distribution. It synthesizes Multiple Time Frame (MTF) trend convergence, order flow dynamics, and quantitative statistical exhaustion models into a single, cohesive interface. This indicator constructs a dynamic environment where traders can objectively measure trend strength, identify structural shifts, and manage risk systematically.
✨ Originality and Utility
Traditional indicators often rely on time-based charts, which can introduce significant noise during periods of high volatility or sideways consolidation. This script departs from the norm by utilizing a volatility-adjusted mathematical matrix to construct its baseline. What makes this tool exceptionally useful is its ability to merge quantitative statistical models—such as Z-Score based trend exhaustion and rolling Volume Profile Point of Control (POC)—with modern structural market concepts. Instead of viewing trend, volume, and structure as isolated elements, this script computes a unified algorithmic score, presenting actionable setups without the clutter of traditional multi-indicator chart layouts.
🔬 Methodology and Concepts

● Volatility-Adjusted Baseline
The core of the script calculates synthetic open, close, and volume values using an underlying ATR resolution. This ensures that a new computational block is only formed when price moves beyond a dynamically adjusting volatility threshold, completely disregarding the passage of time.
● Multiple Time Frame (MTF) Convergence
The script evaluates trend momentum across three independent higher timeframes (e.g., 1H, 4H, Daily) by measuring price relative to a 50-period Exponential Moving Average (EMA). It assigns a logical integer score. A trend is only considered fully converged (Bullish or Bearish) if it achieves a score of 2 or higher across the matrix, filtering out lower-timeframe false breaks.
● Quantitative Z-Score Trend Exhaustion
To identify overextended movements, the script maintains a dynamic array of historical directional streaks. It calculates the rolling mean and standard deviation of these streaks. When a current directional run exceeds a Z-Score of 2.0 (meaning it is two standard deviations beyond the historical average), the trend is mathematically flagged as exhausted, warning of a high-probability mean reversion event.
● Rolling Volume Profile and Point of Control (POC)
A continuous volume profile is constructed by indexing the traded volume at specific price levels over a rolling 100-block window. The algorithmic engine identifies the price node with the maximum aggregated volume, establishing the dynamic Point of Control (POC), which serves as a highly reactive structural support or resistance level.
● Structural Sweeps and Order Blocks
The logic continuously scans for structural liquidity sweeps. A sweep occurs when price pierces a predefined historical high or low (based on user lookback) but fails to close beyond it, indicating trapped volume. Following a confirmed sweep and a change in directional momentum, the system algorithmically generates boundary boxes that represent significant structural order blocks.
🎨 Visual Guide

● Heatmap Candles
● Core Matrix Lines
● Risk Management Visuals
● Order Flow and Structural Shapes
● Heads-Up Dashboard
A specialized table located in the top right corner. It displays the current ticker, active timeframe, the MTF Convergence Tier score (color-coded green or orange), the dynamic block size in absolute price terms, the current Volume Profile POC level, and the calculated numerical values for the active Entry, SL, and TP targets.
📖 How to Use

● Identifying Trend Direction
Observe the primary color gradient of the main chart layout. Trade strictly in the direction of the bright, saturated colors. Ensure that the dashboard confirms the trend with a "Tier 2" or "Tier 3" MTF Convergence score before looking for entries.
● Spotting Reversals
Wait for the emergence of a Liquidity Sweep label ("Liq"). Once this prints, monitor the chart for a color transition (e.g., green shifting to red). A reversal is further validated if a structural Order Block box is painted immediately following the sweep, or if exhaustion logic visually grays out the prior trend.
● Executing and Managing Risk
When a directional change occurs that aligns with the higher timeframe score, utilize the auto-generated dashed risk lines. Place your entry at the Gold dashed line. Set your structural invalidation at the Pink dashed line. As price progresses, manually scale out of the position by targeting the Cyan, Blue, and Orange dashed lines. Utilize the dynamic trailing stop line to protect open profits as the trend matures.
⚙️ Inputs and Settings

• Volatility Settings
Adjust the base lookback period for the Average True Range calculation. Increasing the multiplier directly increases the price distance required to generate a new block, effectively filtering out more noise but delaying signal generation.
• Visual Gradients
Users can customize the starting and ending colors for both bullish and bearish streaks, as well as define the specific streak depth required to reach maximum color saturation.
• Risk Management Configurations
Allows traders to toggle between dynamic standard risk or structure-based stop losses. Users can input specific multiplier values to independently adjust the distance of the Stop Loss and all three Take Profit levels.
• MTF Tier Scoring
Select the three specific higher timeframes the algorithmic engine will use to calculate the baseline trend momentum. By default, these are structured as Intraday, Medium, and Macro.
• Structural Lookbacks
Define the historical bar count used to identify major swing points. A higher lookback period will result in fewer, but mathematically more significant, sweep identifications and order block generation.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Absolute Mean Deviation and ATR Computation
The foundational framework of this matrix relies on the Average True Range, a volatility metric introduced by J. Welles Wilder. The script calculates the greatest of the current high minus the current low, the absolute value of the current high minus the previous close, and the absolute value of the current low minus the previous close. By applying a smoothing function to this true range over a defined period, the script normalizes the non-stationary nature of financial time series into a standardized unit of volatility.
● Standard Score (Z-Score) Application on Serial Dependence
To model trend exhaustion quantitatively, the script measures the serial dependence of consecutive directional outcomes (streaks). By storing the historical lengths of these streaks in a dynamically updating array, the engine computes the population mean (μ) and standard deviation (σ). The current streak length (x) is evaluated using the standard Z-Score formula: z = (x - μ) / σ. A result greater than 2.0 indicates that the current movement lies beyond the 95th percentile of the normal distribution curve, mathematically classifying the trend as statistically anomalous and prone to immediate mean reversion.
● Volume Distribution Theory
The Point of Control (POC) logic is rooted in volume distribution profiling. It assumes that market participants execute trades at equilibrium prices. By segmenting the Y-axis into distinct price nodes and accumulating the corresponding traded volume over a rolling lookback window, the script identifies the mode of the distribution curve. This maximum volume node represents the price level with the highest historical consensus of value, naturally acting as a dense algorithmic barrier for future price action.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
✨ Originality and Utility
Traditional indicators often rely on time-based charts, which can introduce significant noise during periods of high volatility or sideways consolidation. This script departs from the norm by utilizing a volatility-adjusted mathematical matrix to construct its baseline. What makes this tool exceptionally useful is its ability to merge quantitative statistical models—such as Z-Score based trend exhaustion and rolling Volume Profile Point of Control (POC)—with modern structural market concepts. Instead of viewing trend, volume, and structure as isolated elements, this script computes a unified algorithmic score, presenting actionable setups without the clutter of traditional multi-indicator chart layouts.
🔬 Methodology and Concepts
● Volatility-Adjusted Baseline
The core of the script calculates synthetic open, close, and volume values using an underlying ATR resolution. This ensures that a new computational block is only formed when price moves beyond a dynamically adjusting volatility threshold, completely disregarding the passage of time.
● Multiple Time Frame (MTF) Convergence
The script evaluates trend momentum across three independent higher timeframes (e.g., 1H, 4H, Daily) by measuring price relative to a 50-period Exponential Moving Average (EMA). It assigns a logical integer score. A trend is only considered fully converged (Bullish or Bearish) if it achieves a score of 2 or higher across the matrix, filtering out lower-timeframe false breaks.
● Quantitative Z-Score Trend Exhaustion
To identify overextended movements, the script maintains a dynamic array of historical directional streaks. It calculates the rolling mean and standard deviation of these streaks. When a current directional run exceeds a Z-Score of 2.0 (meaning it is two standard deviations beyond the historical average), the trend is mathematically flagged as exhausted, warning of a high-probability mean reversion event.
● Rolling Volume Profile and Point of Control (POC)
A continuous volume profile is constructed by indexing the traded volume at specific price levels over a rolling 100-block window. The algorithmic engine identifies the price node with the maximum aggregated volume, establishing the dynamic Point of Control (POC), which serves as a highly reactive structural support or resistance level.
● Structural Sweeps and Order Blocks
The logic continuously scans for structural liquidity sweeps. A sweep occurs when price pierces a predefined historical high or low (based on user lookback) but fails to close beyond it, indicating trapped volume. Following a confirmed sweep and a change in directional momentum, the system algorithmically generates boundary boxes that represent significant structural order blocks.
🎨 Visual Guide
● Heatmap Candles
- Bullish Streaks: Represented by a color gradient starting from Dark Green and transitioning to Bright Green as the directional streak matures.
- Bearish Streaks: Represented by a color gradient starting from Dark Red and transitioning to Bright Orange.
- Exhaustion State: If the Z-Score exhaustion threshold is breached, the candles become highly transparent or gray, visually warning of a fading trend.
● Core Matrix Lines
- Renko Upper/Lower Bounds: Solid lines plotting the mathematical extremes of the current volatility block.
- Renko Midline: A dotted line tracking the exact median of the active block structure.
- Reversal Close: Prominent circular markers highlighting the exact pivot point where the directional streak changes state.
● Risk Management Visuals
- Trailing Stop: A dashed line appearing below bullish price action or above bearish price action, dictating the dynamic trailing invalidation level.
- Entry and Target Lines: When a setup triggers, a distinct set of dashed lines appear: Gold for the Entry price, Pink for the Stop Loss (SL), Cyan for Take Profit 1 (TP1), Blue for Take Profit 2 (TP2), and Orange for Take Profit 3 (TP3). Small textual labels accompany each line displaying the exact price.
● Order Flow and Structural Shapes
- Sweep Labels: Small text labels reading "Liq" appear above or below the wicks when a structural sweep is confirmed.
- Wick Rejections: Displayed as small cross shapes (`xcross`). Pink crosses above price denote clustered bearish rejections; Cyan crosses below denote clustered bullish rejections.
- Volume Divergence: Small circular shapes appear above or below the bar when a directional push occurs without the support of a moving average volume breakout, signaling potential weakness.
● Heads-Up Dashboard
A specialized table located in the top right corner. It displays the current ticker, active timeframe, the MTF Convergence Tier score (color-coded green or orange), the dynamic block size in absolute price terms, the current Volume Profile POC level, and the calculated numerical values for the active Entry, SL, and TP targets.
📖 How to Use
● Identifying Trend Direction
Observe the primary color gradient of the main chart layout. Trade strictly in the direction of the bright, saturated colors. Ensure that the dashboard confirms the trend with a "Tier 2" or "Tier 3" MTF Convergence score before looking for entries.
● Spotting Reversals
Wait for the emergence of a Liquidity Sweep label ("Liq"). Once this prints, monitor the chart for a color transition (e.g., green shifting to red). A reversal is further validated if a structural Order Block box is painted immediately following the sweep, or if exhaustion logic visually grays out the prior trend.
● Executing and Managing Risk
When a directional change occurs that aligns with the higher timeframe score, utilize the auto-generated dashed risk lines. Place your entry at the Gold dashed line. Set your structural invalidation at the Pink dashed line. As price progresses, manually scale out of the position by targeting the Cyan, Blue, and Orange dashed lines. Utilize the dynamic trailing stop line to protect open profits as the trend matures.
⚙️ Inputs and Settings
• Volatility Settings
Adjust the base lookback period for the Average True Range calculation. Increasing the multiplier directly increases the price distance required to generate a new block, effectively filtering out more noise but delaying signal generation.
• Visual Gradients
Users can customize the starting and ending colors for both bullish and bearish streaks, as well as define the specific streak depth required to reach maximum color saturation.
• Risk Management Configurations
Allows traders to toggle between dynamic standard risk or structure-based stop losses. Users can input specific multiplier values to independently adjust the distance of the Stop Loss and all three Take Profit levels.
• MTF Tier Scoring
Select the three specific higher timeframes the algorithmic engine will use to calculate the baseline trend momentum. By default, these are structured as Intraday, Medium, and Macro.
• Structural Lookbacks
Define the historical bar count used to identify major swing points. A higher lookback period will result in fewer, but mathematically more significant, sweep identifications and order block generation.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Absolute Mean Deviation and ATR Computation
The foundational framework of this matrix relies on the Average True Range, a volatility metric introduced by J. Welles Wilder. The script calculates the greatest of the current high minus the current low, the absolute value of the current high minus the previous close, and the absolute value of the current low minus the previous close. By applying a smoothing function to this true range over a defined period, the script normalizes the non-stationary nature of financial time series into a standardized unit of volatility.
● Standard Score (Z-Score) Application on Serial Dependence
To model trend exhaustion quantitatively, the script measures the serial dependence of consecutive directional outcomes (streaks). By storing the historical lengths of these streaks in a dynamically updating array, the engine computes the population mean (μ) and standard deviation (σ). The current streak length (x) is evaluated using the standard Z-Score formula: z = (x - μ) / σ. A result greater than 2.0 indicates that the current movement lies beyond the 95th percentile of the normal distribution curve, mathematically classifying the trend as statistically anomalous and prone to immediate mean reversion.
● Volume Distribution Theory
The Point of Control (POC) logic is rooted in volume distribution profiling. It assumes that market participants execute trades at equilibrium prices. By segmenting the Y-axis into distinct price nodes and accumulating the corresponding traded volume over a rolling lookback window, the script identifies the mode of the distribution curve. This maximum volume node represents the price level with the highest historical consensus of value, naturally acting as a dense algorithmic barrier for future price action.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
💡 Proprietary indicators. Original research. Built by analysts who trade.
👑 Premium: markittick.com
📢 Free Telegram: t.me/MarkitTick_Updates
👑 Premium: markittick.com
📢 Free Telegram: t.me/MarkitTick_Updates
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
💡 Proprietary indicators. Original research. Built by analysts who trade.
👑 Premium: markittick.com
📢 Free Telegram: t.me/MarkitTick_Updates
👑 Premium: markittick.com
📢 Free Telegram: t.me/MarkitTick_Updates
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.