XG Boost Lite: Reversals | Gains AlgoWe are excited to release this indicator, which uses our brand-new Arbor library for gradient boosting! This engine brings true, high-performance machine learning natively into Pine Script v6, bypassing the need for external webhooks or API layers. By utilizing iterative, tree-based models on your chart, XGBoost Lite: Reversals adapts directly to the historical structure of the asset you are trading, identifying precise pivot exhaustion points with high statistical conviction.
๐ง Understanding Gradient Boosting & XGBoost
To trade successfully with machine learning, it helps to understand exactly what is happening beneath the hood of the asset's data.The Core TheoryGradient Boosting is a powerful machine learning technique used for regression and classification tasks. Unlike deep learning networks that process data through abstract node layers, gradient boosting relies on an ensemble of simple decision trees, often called "weak learners" or "stumps".
The training process works sequentially:
The Initial Guess: The model makes a basic baseline prediction.Calculating the Error (Residuals): It checks where its prediction missed the actual historical market outcome.
Correcting the Mistakes: A new decision tree is built specifically to predict those errors (the gradient of the loss function).
Iterative Learning: The model repeats this process for several rounds. Each new tree focuses entirely on correcting the flaws of the previous ones, scaling its adjustments by a Learning Rate to maintain stability.
What Makes XGBoost Special?
XGBoost (Extreme Gradient Boosting) optimizes this framework for speed, scalability, and performance. It applies strict regularization techniques to minimize overfitting, ensuring the model doesn't just "memorize" past market noise but instead learns genuine structural behaviors.By evaluating multiple market features simultaneously, it estimates the probability of a specific event occurring.
๐ ๏ธ About the Indicator
XGBoost Lite: Reversals is a machine learning-driven technical indicator designed to catch exhaustion and reversal setups.
The Machine Learning Pipeline
Dual Engines: The script fits four separate models simultaneouslyโa classifier and a regressor for Longs, and a classifier and a regressor for Shorts.
Dynamic Retraining: Rather than remaining static, the model automatically flushes its memory and retrains its internal mathematical weights every n bars to adapt to evolving market regimes.
Strict Non-Repainting Execution: A critical upgrade in this framework forces features and calculations to compute and lock strictly on bar close. Signals, dynamic entry points, and risk metrics are only printed once the triggering candle is finalized, ensuring what you see on the historical chart matches real-time execution perfectly.
The Core Features Evaluated
The model processes a combination of multi-dimensional market inputs to generate a unified prediction:
RSI (14): Evaluates traditional momentum expansion and contraction.
Relative Volume (20): Evaluates institutional engagement by dividing current volume against its 20-period SMA.
Z-Score (20): Measures how far the current price has deviated from its statistical mean.
ADX (14): Gauges the overall strength of the macro trend to prevent trading directly into a runaway freight train.
๐ How to Use the Indicator
The Real-Time Dashboard: When applied to your chart, the indicator renders an advanced Feature Importance Scatter Plot in the right-hand margin.
Distribution Scatter: The horizontal bars plot the historical density of successful signals. Darker, tightly packed nodes represent highly concentrated, high-probability clusters discovered by the algorithm.
Visualizing Signals
When a market pivot is detected (e.g., a structural swing low or high) and the classifier hits your target confirmation probability, a signal arrow prints on the chart displaying the mathematical certainty ($e.g., 74.2\%$) of the reversal.
โ๏ธ The Settings Inputs
The indicatorโs interface is neatly categorized into three primary functional groups:
โ๏ธ XGBoost Model Settings:
Training Lookback (Bars): (Default: 250) The historical window used to feed the training arrays. Max capped at 300 to remain computational within Pine Script limits.
Retrain Frequency: (Default: 50) Determines how often (in bars) the model recalibrates its trees. Boosting Rounds: (Default: 20) The number of sequential trees (stumps) trained per model. Higher numbers capture deeper complexities but risk overfitting.
Learning Rate: (Default: 0.3) The step size applied to each boosting round to prevent the model from learning too quickly. Min Probability for Signal: (Default: 0.65) The minimum confidence threshold ($65\%$) required from the classification model to trigger an active trade.
ADX Length / Minimum Filter: (Default: 14 / 20.0) Prevents counter-trend signals if the prevailing macro trend is too strong.
๐ก๏ธ Target & Risk Management
SL Wick Buffer รATR: (Default: 0.25) Sets how much breathing room is given below a swing low wick or above a swing high wick, scaled by ATR.
TP1 รRisk (R-multiple): (Default: 1.0) Targets a clean 1:1 Risk-to-Reward ratio for the initial profit take.
TP3 Min รRisk (Floor): (Default: 2.0) The minimum target floor for the machine learning regression objective.
Break-Even After TP1: (Default: True) Automatically moves the Stop Loss to the exact entry price the moment TP1 is captured, eliminating risk on the remainder of the trade.
๐ How to Trade the Indicator
Trading with the machine learning model requires blending quantitative probabilities with standard structural execution:
The Entry: Wait for a Bullish (Neon Purple) or Bearish (Neon Pink) arrow to finalize on a closed candle. The percentage printed indicates the model's confidence.
Placing Risk: The system automatically draws a solid line anchoring your Stop Loss tightly to the local structural wick pivot, applying an ATR buffer to account for minor noise.
Scaling Targets:
Target 1 (TP1): Landed at a symmetrical 1:1 distance. When hit, the indicator dynamically updates your Stop Loss to your entry line, locking in a "scratch-or-better" runner.
Target 2 (TP2): Represents the mathematical midpoint between your baseline risk and the macro ML objective.
Target 3 (TP3): Driven directly by the XGBoost Regression Model. The regressor estimates the potential mathematical expansion based on current market featuresโif volatility is expanding, TP3 will automatically stretch further to ride major trend changes.
๐ Deep Dive: The Feature Importance & Scatter Plot Dashboard
The dashboard rendered on the right side of the chart acts as the "brain" of the indicator. It provides real-time transparency into exactly how the machine learning model is weighing data and evaluating current market conditions.
Feature Importance Bars (The Relative Weights): The horizontal progress bars display the mathematical percentage weight allocated to each of the four indicators processed during the model's most recent training cycle. These values change dynamically every time the model triggers a retraining block (default: every 50 bars) as it adapts to shifting market conditions. For example, if the market moves into a heavy trending phase, you will notice metrics like the ADX or Z-Score capture a higher percentage of the model's attention, whereas the RSI will frequently become the dominant driver if the asset is range-bound.
The Holographic Scatter Plot (Historical Feature Density): Layered over the progress bars is an advanced distribution scatter plot consisting of individual circular glyphs (โ, โ, โ) that plot a rolling record of the last 30 historical signal points. The horizontal position of each dot shows exactly where the feature value landed relative to its historical extremes (0 on the far left, 1 on the far right). The script introduces a subtle vertical "jitter" to separate these dots so you can visually identify high-density clusters where successful reversal setups frequently occur, while the shifting style of the glyphs flags tightly packed clusters of solid nodes (โ) to indicate highly concentrated mathematical sweet spots discovered by the XGBoost classifier.
Penunjuk

Supertrend - EMA Cloud - Divergence - ADX [StrixEDGE]Overview
Apex Trend Engine is a 5-layer confluence system that combines trend-following, momentum, and reversal detection into a single overlay indicator. Each layer operates independently and feeds into a unified scoring engine that generates high-conviction BUY and SELL signals only when multiple confirmations align.
Layer 1 โ Supertrend (Trend Direction)
An ATR-based adaptive trend filter that hugs price during trends and flips cleanly on reversals. The Supertrend line is plotted directly on the chart with a subtle fill between price and the stop level, making the current trend direction visible at a glance.
Bull & Bear SuperTrend :
Layer 2 โ EMA Cloud (Momentum & Entries)
A fast/slow EMA pair (default 9/21) with a filled cloud between them. The cloud color shows momentum direction: green when fast EMA is above slow, red when below. Crossovers serve as entry triggers when confirmed by other layers.
Bull & Bear EMA :
Layer 3 โ RSI Divergence Scanner (Reversals)
Automatic detection of regular bullish and bearish divergences between price and RSI using pivot-confirmed swing points. When price makes a lower low but RSI makes a higher low, a bullish divergence line is drawn on the chart. The reverse for bearish.
Bull Div.
Bear Div.
Layer 4 โ ADX Trend Strength (Filter)
The Average Directional Index measures whether the market is trending or ranging. ADX above the threshold (default 25) confirms a trending market. The directional indicators (DI+ vs DI-) determine if the trend is bullish or bearish.
Bull & Bear ADX :
Layer 5 โ Combined Signal Engine
Each layer contributes one point to a bull score and one to a bear score (5 points maximum each):
Point 1 โ Supertrend direction
Point 2 โ EMA fast/slow alignment
Point 3 โ Price position relative to 200 EMA
Point 4 โ Recent RSI divergence (within 20 bars)
Point 5 โ ADX trending with directional confirmation
Signal generation requires both a score threshold AND a trigger event:
STRONG BUY โ 4 or more bullish points with an EMA crossover or Supertrend flip
BUY โ 3 or more bullish points with a trigger
STRONG SELL โ 4 or more bearish points with a trigger
SELL โ 3 or more bearish points with a trigger
This dual requirement (score plus trigger) prevents signals from firing on every bar during a trend and limits them to actionable moments.
Chart visuals
Supertrend: colored line with transparent fill to price showing the trend zone
EMA Cloud: fast and slow EMA lines with filled cloud between them
EMA 200: gold line for macro trend reference
Divergence lines: green lines connecting bullish divergence pivots, red for bearish
Signal arrows: double arrows for strong signals, single triangles for regular
Background highlight: subtle bar coloring on strong signal bars
Dashboard table
The on-chart dashboard shows each layer's current reading:
Supertrend โ stop level and direction
EMA Cross โ values and cross status
EMA 200 โ value and price position
RSI โ value with overbought/oversold warnings
Divergence โ type and how many bars ago
ADX โ value with trending/ranging status
Score โ X/5 BULL and X/5 BEAR
Signal โ combined verdict
Settings
Every component is independently configurable with sensible defaults:
Supertrend: ATR length 10, multiplier 3.0
EMA Cloud: fast 9, slow 21, trend 200
RSI Divergence: length 14, pivot lookback 5
ADX: length 14, smoothing 14, trending threshold 25
Signals: buy/sell arrows and background highlights toggleable
Dashboard: position and text size adjustable
Alerts : 10 alert conditions covering every signal type:
Strong Buy, Buy, Strong Sell, Sell
Supertrend flip bullish/bearish
EMA cross up/down
Bullish/Bearish divergence detected
Disclaimer
This indicator is a technical analysis tool for educational and informational purposes. It does not constitute financial advice. Past performance does not guarantee future results. Always use proper risk management and never risk capital you cannot afford to lose. Penunjuk

Strength - Filtro RupturaEste indicador colorea las velas en funciรณn de la confluencia entre el momentum del precio (Williams %R) y la fuerza de la tendencia (ADX), actuando como filtro de confirmaciรณn para rupturas del rango de apertura.
ยฟCรณmo funciona?
Combina dos indicadores clรกsicos con una lรณgica especรญfica:
Williams %R identifica la zona en la que se encuentra el precio (sobrevendido, neutro, sobrecomprado) y la direcciรณn del momentum en ese momento
ADX confirma que la tendencia tiene fuerza real detrรกs โ si el ADX no estรก creciendo, la vela queda gris sin importar el momentum
La regla base es simple: sin fuerza no hay seรฑal. El color gris significa "no operar".
Paleta de colores โ Confirmaciรณn ALCISTA (usar con ruptura del ORB High)
๐ข Verde brillante โ Williams %R por debajo de -50 y girando al alza con ADX creciente. Reversiรณn desde zona de sobreventa con fuerza confirmada. La seรฑal mรกs potente al alza.
๐ข Verde medio โ Williams %R entre -50 y -27, subiendo con ADX creciente. Continuaciรณn alcista en zona neutral con momentum sostenido.
๐ข Verde oscuro โ Williams %R por encima de -27, subiendo con ADX creciente. Precio en zona alta con momentum extremo sostenido. Seรฑal de continuaciรณn, operar con precauciรณn.
Paleta de colores โ Confirmaciรณn BAJISTA (usar con ruptura del ORB Low)
๐ด Rojo brillante โ Williams %R por encima de -50 y girando a la baja con ADX creciente. Giro bajista desde zona neutral o alta con fuerza confirmada. La seรฑal mรกs potente a la baja.
๐ฉท Rosa/Fucsia โ Williams %R entre -50 y -72, bajando con ADX creciente. Continuaciรณn bajista con presiรณn sostenida.
๐ค Marrรณn oscuro โ Williams %R por debajo de -72, bajando con ADX creciente. Sobreventa extrema con caรญda sostenida. Seรฑal de continuaciรณn, mercado en presiรณn vendedora fuerte.
โฌ Gris โ No operar
Cuando el ADX no estรก creciendo, la vela se colorea en gris. Sin fuerza direccional confirmada, cualquier ruptura puede ser falsa. Este filtro es el nรบcleo del indicador.
Uso recomendado con ORB V2
Este indicador estรก diseรฑado para trabajar en conjunto con ORB V2 (tambiรฉn disponible en mi perfil). El flujo es el siguiente:
ORB V2 define el rango de apertura y marca el High y Low del perรญodo inicial
Cuando el precio rompe ese rango, Strength - Filtro Ruptura confirma o descarta la ruptura segรบn el color de la vela en ese momento
Solo las rupturas acompaรฑadas de velas verdes (al alza) o rojas (a la baja) tienen confirmaciรณn de fuerza real
Las rupturas sobre velas grises se ignoran โ son el tipo de fakeout que este filtro busca eliminar
Juntos forman un sistema simple y visual: el ORB marca el nivel, Strength confirma si vale la pena operarlo. Penunjuk

Confluence Trend Matrix [NQ Labs]
Confluence Trend Matrix
- The Confluence Trend Matrix combines four independent trend signals into a single confluence score, ranging from -4 (full bearish agreement) to +4 (full bullish agreement). Instead of relying on one indicator in isolation, it measures how many independent factors currently agree on trend direction โ the idea being that alignment across multiple methods is more informative than any single signal alone.
The four factors:
- Each factor scores +1 (bullish), -1 (bearish), or 0 (neutral):
EMA Structure โ Evaluates price position relative to a fast and slow EMA. Scores bullish only when price is above the fast EMA and the fast EMA is above the slow EMA (clean uptrend structure), and mirrors for downtrends. Mixed conditions score neutral.
SuperTrend โ Uses the SuperTrend direction (ATR-based) as a trend-following component. Bullish when SuperTrend is below price, bearish when above.
ADX-Gated Direction โ Takes directional bias from DI+/DI-, but only counts it when ADX is above a strength threshold. In weak, directionless conditions this factor stays neutral, which helps filter out chop.
Higher-Timeframe Trend โ Compares the higher-timeframe close against a higher-timeframe EMA, using confirmed HTF bars to avoid repainting. This anchors the lower-timeframe read to the broader trend.
How it's displayed:
Confluence Band โ An ATR envelope around price that colors according to the aggregate score. The band grows more opaque as agreement strengthens toward ยฑ4, giving an at-a-glance read of trend conviction. Band width is adjustable via the ATR multiplier.
Dashboard Table โ A compact panel breaking down each of the four factors individually, plus the net score, an overall strength label, and net bias. This shows not just what the score is, but which specific factors are driving it.
Background Tint โ A subtle highlight when confluence reaches maximum agreement (ยฑ4).
Alerts:
- Confluence flip (crossing between bullish and bearish territory)
- Maximum confluence reached (+4 or -4)
Settings:
- All factor parameters are adjustable โ EMA lengths, SuperTrend factor and ATR period, ADX length and threshold, higher timeframe, and HTF EMA length โ so the tool can be tuned to different markets and timeframes. Visual options include band width, transparency, table position, and colors.
Notes:
- This indicator is a trend-analysis and confluence-visualization tool. It does not generate buy or sell recommendations and makes no claim about future performance. It is intended as one input within a broader analysis process, not as a standalone system. As with any indicator, results vary across markets, timeframes, and conditions โ test thoroughly before relying on it.
Open-source and free to use.
Feedback and suggestions are welcome. Penunjuk

Helix Lucky MTF Bias and Breakout DashboardHelix Lucky MTF Trend and Breakout Dashboard
๐ Overview
Helix Lucky MTF Trend and Breakout Dashboard is an overlay indicator designed to organize trend, momentum, breakout context, key levels, and multi-timeframe alignment into one chart-based dashboard.
The purpose of the script is not to combine unrelated indicators into a single display. The script separates market analysis into distinct layers so each component has a specific role:
1. Trend structure
2. Momentum confirmation
3. Breakout context
4. Multi-timeframe alignment
5. Key level awareness
6. Setup scoring
7. Optional visual confirmation tools
The result is a confluence-based workflow that helps traders review whether multiple independent conditions are aligned before making a trading decision.
๐งฉ How the Main Components Work Together
The script uses moving averages, VWAP, MACD, ZLSMA, UT Bot logic, Supertrend, ADX, RSI, and Opening Range Breakout logic as separate inputs within the same framework.
The moving average group provides basic trend structure by comparing shorter-term and longer-term averages. The default structure uses a fast EMA, medium EMA, and long SMA, but users can configure the moving average types and lengths.
VWAP provides session or higher-period price-location context. It can be anchored to the session, day, week, month, quarter, or year and may be displayed with standard deviation or percentage-based bands.
MACD is used as a momentum confirmation layer. The script includes a minimum separation filter so very small MACD differences can be filtered out instead of being treated the same as stronger momentum shifts.
ZLSMA is optional and can be used as an additional trend-direction filter.
The UT Bot component is used as the primary chart label engine. It uses an ATR-based adaptive trailing stop. The script adjusts the trailing distance using volatility, momentum, and volume conditions, then produces Buy or Sell labels when price crosses the trailing stop and the configured filters allow the signal.
Supertrend provides a separate trend-regime layer. This gives the user a second way to compare the UT Bot label against a broader trend condition.
ADX is used to evaluate whether trend strength is above the user-selected threshold. RSI can be used either in a classic 30/70 bias mode or with custom pullback zones.
The Opening Range Breakout component tracks whether price is above, below, or inside the selected opening range window. This helps separate trend-following conditions from range-bound conditions.
๐ง Why This Is More Than a Simple Mashup
Each component is assigned a different purpose. The script is designed so the same tools are not all treated as equal standalone signals.
Trend tools identify direction.
Momentum tools evaluate confirmation.
Volume and relative volume help evaluate participation.
Opening Range Breakout logic identifies range expansion.
The Bias Table compares selected conditions across multiple timeframes.
The Price Point Dashboard displays important reference levels and live context.
The scoring layer organizes these conditions into a rule-based summary.
This structure allows the script to reduce chart clutter while still showing how the underlying conditions agree or disagree.
๐ Multi-Timeframe Bias Table
The Multi-Timeframe Bias Table displays up to eight selectable timeframes, including 1 minute, 5 minutes, 15 minutes, 30 minutes, 1 hour, 2 hours, 4 hours, and Daily.
Each row evaluates one condition, such as moving average structure, price relative to VWAP, MACD alignment, Supertrend direction, ZLSMA slope, RSI condition, ADX threshold, Opening Range Breakout status, and longer-period bias.
The table also includes an average agreement reading. This reading is not a prediction and does not represent a win rate. It simply shows how many selected conditions are aligned across the active timeframes.
By default, the script can hide timeframes below the current chart timeframe. This is intended to reduce lower-timeframe noise when viewing higher-timeframe charts.
๐ Price Point Dashboard
The Price Point Dashboard displays reference levels and market context in one location. These can include prior day high, prior day low, prior day close, pivot levels, moving averages, 52-week high, Fibonacci reference levels, VWAP information, Opening Range Breakout status, ATR, gap percentage, relative volume, and other selected dashboard fields.
The dashboard is intended to help users see where price is trading relative to important reference levels without manually adding each level to the chart.
๐ Trend Strength Score
The Trend Strength Score is a rule-based 0 to 100 score that measures how strongly the current bar aligns with selected bullish trend conditions.
The score uses five weighted components:
- EMA alignment
- VWAP location
- MACD alignment
- Supertrend direction
- ADX strength
The score is a summary of internal conditions only. It does not predict future price movement.
๐ฏ Trade Probability Score
The Trade Probability Score is a rule-based 0 to 100 setup-quality score. It is calculated from twelve weighted factors:
- Multi-timeframe alignment
- EMA stack
- VWAP location
- Price relative to the 200-period moving average
- MACD alignment
- Supertrend direction
- ADX strength
- Relative volume
- Opening Range Breakout status
- Relative strength versus a selected benchmark
- Volatility state
- Position relative to key levels
The score is intended to summarize confluence. A higher score means more of the scriptโs internal conditions are aligned. It does not mean that a trade will be profitable, and it should not be interpreted as a guaranteed probability of success.
๐ง Liquidity Sweep Detection
The script can detect liquidity sweep conditions by checking whether price moves beyond a recent swing high or swing low and then closes back inside that level.
A Sweep High label indicates that price moved above a recent high and then closed back below that level.
A Sweep Low label indicates that price moved below a recent low and then closed back above that level.
These labels are intended to identify possible rejection behavior around recent swing points. They should be used as context, not as standalone trade signals.
โ๏ธ Relative Strength
The script includes relative strength comparison against configurable benchmark symbols. The default benchmarks are QQQ and SPY.
Relative strength is calculated by comparing the current symbolโs intraday return against the benchmarkโs intraday return. A positive value means the current symbol is outperforming the benchmark over that comparison period. A negative value means it is underperforming.
๐ก๏ธ Volatility State
The Volatility State feature classifies the current volatility environment as Squeeze, Normal, or Expansion.
This is based on Bollinger Band width compared with Keltner Channel width and recent volatility behavior.
Squeeze indicates compressed volatility.
Normal indicates a standard volatility environment.
Expansion indicates that volatility has increased relative to recent conditions.
This feature is included to help users understand whether price is consolidating, behaving normally, or expanding in volatility.
๐ฏ๏ธ Candlestick Pattern Labels
The script includes optional candlestick pattern labels. These patterns are detected on the same timeframe as the chart. They are not calculated from a separate hidden timeframe.
Optional labels include:
- Bullish Engulfing
- Bearish Engulfing
- Hammer
- Shooting Star
- Morning Star
- Evening Star
- Inside Bar
- Tweezer Top
- Tweezer Bottom
- Doji
- Dragonfly Doji
- Gravestone Doji
- Sweep High
- Sweep Low
These labels are intended as additional context. They should not be treated as standalone entries without reviewing trend, momentum, volatility, and key-level context.
๐ Suggested Stop Loss and Take Profit Reference Lines
The script can plot suggested stop loss and take profit reference lines after a UT Bot label appears.
The stop line is calculated from internal structure such as the UT Bot stop, Supertrend, VWAP, moving average, Donchian floor, and a minimum ATR-based risk floor depending on settings and context.
Take profit reference lines are based on R-multiple distances from the suggested stop. These are visual planning tools only. They do not place trades, manage positions, or execute orders.
๐งญ How to Use the Script
A typical workflow is:
1. Select the chart timeframe and market being reviewed.
2. Review the Multi-Timeframe Bias Table to understand directional alignment.
3. Check whether the chart is trending, ranging, breaking out, or consolidating.
4. Review the Price Point Dashboard for key levels and market context.
5. Watch for a UT Bot Buy or Sell label if labels are enabled.
6. Compare the label direction with Supertrend, MACD, VWAP, ADX, and the Bias Table.
7. Review the Trend Strength Score and Trade Probability Score as confluence summaries.
8. Use the suggested stop and take profit reference lines only as visual planning tools.
9. Apply independent risk management and confirm the setup with your own analysis.
๐ Timeframes and Markets
The script can be applied to different chart timeframes and TradingView-supported markets. Lower timeframes may produce more signals and more noise. Higher timeframes may produce fewer signals but can provide broader context.
The Multi-Timeframe Bias Table is intended to help users avoid looking at a single timeframe in isolation.
โ ๏ธ Important Limitations
This script is an indicator, not a strategy. It does not place trades, backtest trades, manage orders, or connect to a brokerage account.
The scoring systems are rule-based summaries of current chart conditions. They are not win-rate models, machine-learning predictions, or guarantees of future results.
Signals, labels, and dashboard values can vary by symbol, timeframe, liquidity, volatility, and user settings.
The Bias Table is a live context dashboard and may update while the current bar is forming. This is expected behavior because some values are based on developing bar data.
The โDraw visuals only on bar closeโ setting gates the UT Bot entry visuals and suggested stop/take-profit drawings to confirmed bars. It does not freeze every live dashboard value while a bar is developing.
Liquidity Sweep labels can be gated to bar close using the Bar Close Only setting.
The script is designed for standard chart analysis. Signals on non-standard chart types may behave differently because those chart types can use synthetic price construction.
No signal, score, table reading, or label should be used as a guarantee of future price movement. Users should apply their own analysis and risk management.
๐งพ Credits and Inspiration
This script was inspired by the concept of combining a multi-timeframe bias table, trend labels, and a price-level dashboard into one overlay.
The current script is a ground-up Pine Script v6 implementation with additional architecture, including the rule-based Trade Probability Score, Trend Strength Score, liquidity sweep detection, relative strength comparison, volatility state classification, configurable dashboards, candlestick pattern labels, and suggested risk-reference lines.
The script also uses common technical analysis concepts such as moving averages, VWAP, MACD, RSI, ADX, ATR, Supertrend-style trend logic, and Opening Range Breakout logic. These common concepts are organized into a single decision-support framework rather than presented as separate standalone indicators. Penunjuk

DMI & ADX Enhanced Trend Dashboard (with Long/Short Status)
ๆฆ่ฟฐ
ๆฌ่ๆฌๅจ็ปๅ
ธ็ Wilder DMI๏ผ่ถๅๆๆ ๏ผไธ ADX๏ผๅนณๅ่ถๅๆๆฐ๏ผๅบ็กไธ๏ผ่ฟ่กไบๅฎ็จๆงๅขๅผบใๅฎไธไป
ๅจๅฏๅพๅบๆธ
ๆฐ็ปๅถไบ +DIใ-DI ไธ ADX ไธๆกๆฒ็บฟ๏ผ่ฟๅจๅพ่กจๅณไธ่ง้ๆไบไธไธชๆบ่ฝ็ถๆ็ๆฟ๏ผDashboard๏ผ๏ผๅฐๆฏ็ฅ็ๆฐๅผ่ฝฌๅไธบ โๅๅค / ๅ็ฉบ / ไธไบคๆโ ็็ด่งๆๅญไฟกๅท๏ผๆๅคงๆๅไบๅค็ๆ็ๅๅฎๆถ็ฏ็็ไพฟๆทๆงใ
ๆ ธๅฟ่ฎก็ฎ้ป่พ
ไธฅๆ ผ้ตๅพช Wilder ๆ ๅ็ฎๆณ๏ผไฝฟ็จ RMA๏ผWilder ็งปๅจๅนณๅ๏ผๅฏน็ๅฎๆณขๅน
๏ผTR๏ผๅๆนๅ่ฟๅจ๏ผDM๏ผ่ฟ่กๅนณๆปๅค็๏ผ็กฎไฟๆๆ ๅๅบ็็จณๅฎๆงๅ็ปๅ
ธๆงใ+DI ไธ -DI ๅๅซไปฃ่กจๅคๅคดไธ็ฉบๅคด็ๅ้ๆนๅ๏ผADX ๅ้ๅไบๅฝๅ่ถๅฟ็็ปๅฏนๅผบๅบฆ๏ผๆฐๅผ่ถ้ซ๏ผ่ถๅฟ่ถๅผบ๏ผใ
ๆบ่ฝ็ๆฟ๏ผDashboard๏ผไฟกๅท่งๅ
1. ่ถๅฟ่ฟๆปค๏ผๅฝ ADX > ่ฎพๅฎ้ๅผ๏ผ้ป่ฎค 20๏ผๆถ๏ผ่ฎคๅฎๅธๅบๅญๅจๆๆพ่ถๅฟ๏ผ่ฟๅ
ฅไบคๆ้ป่พๅคๆญใ
2. ๅค็ฉบๅคๅฎ๏ผ่ฅ +DI > -DI ไธ ADX ๅคงไบ้ๅผ๏ผ็ๆฟๆพ็คบโๅๅคโ๏ผ็ปฟ่ฒ่ๆฏ๏ผใ่ฅ -DI > +DI ไธ ADX ๅคงไบ้ๅผ๏ผ็ๆฟๆพ็คบโๅ็ฉบโ๏ผ็บข่ฒ่ๆฏ๏ผใ
3. ่งๆ่ญฆ็คบ๏ผๅฝ ADX ไฝไบ้ๅผๆถ๏ผ่งไธบๅธๅบๅคไบ้่กๆๆ ่ถๅฟ็ถๆ๏ผ็ๆฟๆพ็คบโไธไบคๆ๏ผ่ถๅฟๅๅผฑ๏ผโ๏ผ็ฐ่ฒ่ๆฏ๏ผ๏ผๅปบ่ฎฎๆ่ต่
็ฉบไป่งๆ๏ผ่ง้ฟ้ข็นๆญขๆใ
ๅๆฐ่ชๅฎไนๅปบ่ฎฎ
ADX ๅนณๆป้ฟๅบฆ๏ผ้ป่ฎค 14๏ผ๏ผๆงๅถ ADX ็บฟ็ๅนณๆปๅบฆ๏ผๆฐๅผ่ถๅคงๆฒ็บฟ่ถๅนณ็ผใ
DI ๅจๆ้ฟๅบฆ๏ผ้ป่ฎค 14๏ผ๏ผๅฝฑๅ +/-DI ๅฏนไปทๆ ผๅๅ็ๆๆๅบฆใ
่ถๅฟ้ๅผ๏ผ้ป่ฎค 20๏ผ๏ผๆ ธๅฟ้ฃๆงๅๆฐใๅฏนไบๆณขๅจ่พๅคง็ๅ็ง๏ผๅฆๅ ๅฏ่ดงๅธ๏ผ๏ผๅปบ่ฎฎ่ฐ้ซ่ณ 25๏ผๅฏนไบ่ก็ฅจๆๅคๆฑ๏ผไฟๆ 20 ๅณๅฏใ
้็จๅบๆฏ
ๆฌๆๆ ้ๅธธ้ๅไธญ้ฟ็บฟ่ถๅฟ่ท่ธช็ญ็ฅ๏ผ่ฝๆๆๅธฎๅฉไบคๆ่
่ฟๆปคๆ้่ก่กๆ
็ๅช้ณ๏ผๅชๅจ่ถๅฟๆ็กฎๆถๆไพๆนๅๆงๅ่ใ่ฏทๆณจๆ๏ผๆฌๅทฅๅ
ทไธบๅๆๅๆๆ ๏ผไธๅ
ๅซๆชๆฅๅฝๆฐ๏ผไฟกๅท็จณๅฎใ
Overview
This script enhances the classic Wilder DMI (Directional Movement Indicator) and ADX (Average Directional Index) with practical improvements. It not only clearly plots the +DI, -DI, and ADX curves in the indicator pane, but also integrates a smart dashboard in the top-right corner of the chart. This dashboard translates the raw numerical values into intuitive textual signals โ "Long", "Short", or "No Trade" โ greatly improving the efficiency of both backtesting analysis and real-time monitoring.
Core Calculation Logic
The script strictly follows Wilder's standard algorithm, using RMA (Wilder's Moving Average) to smooth True Range (TR) and Directional Movement (DM), ensuring stable and classic indicator responses. +DI and -DI represent the directional strength of bulls and bears respectively, while ADX quantifies the absolute strength of the current trend โ the higher the value, the stronger the trend.
Smart Dashboard Signal Rules
1. Trend Filter: When ADX > the set threshold (default 20), the market is considered to have a clear trend, and the trading logic is activated.
2. Long/Short Determination: If +DI > -DI and ADX is above the threshold, the dashboard displays "Long" (with a green background). If -DI > +DI and ADX is above the threshold, the dashboard displays "Short" (with a red background).
3. Caution/Wait Signal: When ADX is below the threshold, the market is considered range-bound or trendless. The dashboard displays "No Trade (Weak Trend)" (with a gray background), suggesting that traders should stay on the sidelines to avoid frequent stop-losses.
Parameter Customization Suggestions
ADX Smoothing Length (default 14): Controls the smoothness of the ADX line. Higher values result in a smoother, less reactive curve.
DI Period Length (default 14): Affects the sensitivity of +DI and -DI to price changes.
Trend Threshold (default 20): A critical risk management parameter. For more volatile instruments (e.g., cryptocurrencies), consider raising it to 25. For stocks or forex, keeping it at 20 is generally suitable.
Application Scenarios
This indicator is ideally suited for medium-to-long-term trend-following strategies. It effectively helps traders filter out noise during choppy, sideways markets, providing directional references only when a clear trend is present. Please note that this is an analytical tool with no built-in future functions, ensuring stable and reliable signals.
Penunjuk

Elaris Trend LifecycleElaris Trend Lifecycle
Overview
Elaris Trend Lifecycle is a trend analysis indicator designed to help traders identify different phases of a market trend using a combination of trend structure, momentum, volatility, and price behavior.
Instead of treating every trend equally, the indicator classifies the current market into distinct lifecycle stages, allowing traders to better understand whether a trend is just beginning, gaining strength, becoming extended, or showing signs of weakening.
The goal is to provide additional context that can assist with trade planning, trend-following strategies, and risk management across different markets and timeframes.
---
Lifecycle Phases
โข Neutral
No clear directional trend is currently detected.
โข Birth
A new bullish or bearish trend is beginning to develop based on moving average alignment and improving momentum.
โข Expansion
The trend is strengthening with increasing directional momentum and supportive volatility conditions.
โข Maturity
The trend remains intact but has progressed for an extended period or has moved significantly away from its average price.
โข Exhaustion
Price begins showing characteristics that may indicate slowing momentum, including extended movement and rejection wicks.
โข Reversal Risk
Trend conditions have weakened and structural changes suggest that the probability of continuation has decreased.
---
Features
โข Multi-stage trend classification
โข EMA-based trend engine
โข Trend duration tracking
โข Momentum evaluation using ADX
โข ATR-based volatility expansion analysis
โข RSI-assisted exhaustion detection
โข Optional confirmed swing structure validation
โข Trend lifecycle dashboard
โข Dynamic bar coloring
โข Background phase visualization
โข Bullish and bearish lifecycle signals
โข Configurable alerts
โข Fully customizable inputs
---
Dashboard
The integrated dashboard displays:
โข Current lifecycle phase
โข Trend direction
โข Lifecycle score
โข Bars spent in the current trend
โข ADX strength
โข ATR expansion status
The dashboard supports both dark and light themes.
---
Alerts
Alert conditions are available for:
โข Trend Birth
โข Expansion Phase
โข Exhaustion Phase
โข Reversal Risk
These alerts can be used for notifications or automated workflows.
---
How It Can Be Used
Some examples include:
โข Identifying developing trends
โข Monitoring trend strength
โข Recognizing extended market conditions
โข Adding confirmation to trend-following strategies
โข Supporting discretionary market analysis
As with any technical indicator, it is intended to be used alongside a broader trading plan and appropriate risk management.
---
Notes
โข Signals are generated using confirmed bar data.
โข Swing structure confirmation uses confirmed pivots, which naturally require additional bars before confirmation.
โข The indicator is designed as an analytical tool and does not predict future market behavior or guarantee trading outcomes.
Penunjuk

Market Condition Oscillator [HexaTrades]Market Condition Oscillator classifies price action into three simple states: Bullish Trend, Bearish Trend, and Consolidation, and paints them as a color-coded histogram below your chart. It is built to answer one question at a glance: should I be trend-trading right now, or is the market just chopping sideways?
What it shows
๐ข Green histogram above zero โ confirmed bullish trend. Taller bars = stronger trend.
๐ด Red histogram below zero โ confirmed bearish trend. Deeper bars = stronger trend.
โช Gray histogram near zero โ consolidation/range (no clear trend).
How it works
The indicator combines four classic, well-understood concepts so that no single signal can produce a false trend on its own:
1. ADX (trend strength): measures how strongly the market is trending. Below the threshold, the market is treated as consolidation regardless of direction.
2. DI+ / DIโ (direction) : the Directional Movement pair decides whether strength is to the upside or downside.
3. EMA position + slope (confirmation) : price must be on the correct side of the EMA and the EMA must be sloping the right way. This filters out counter-trend spikes.
4. ATR & EMA-distance (range detection) : consolidation is flagged when volatility compresses or price hugs the EMA, even if ADX hasn't fully dropped yet.
A phase only changes after the condition holds for a configurable number of candles (Confirmation Bars). This is the key to removing the constant flip-flopping that plagues most trend indicators.
Trend rules
โ๏ธ Bullish = ADX above threshold and DI+ > DIโ and price above EMA and EMA rising โ held for N bars.
โ๏ธBearish = ADX above threshold and DIโ > DI+ and price below EMA and EMA falling โ held for N bars.
โ๏ธConsolidation = weak ADX, or compressed ATR, or price hugging the EMA โ anything that is not a confirmed trend.
Features
- Bullish, bearish, and consolidation market phase detection.
- Separate oscillator panel for clean chart reading.
- Color-coded histogram.
- Optional histogram smoothing.
- Confirmation bars to reduce false flips.
- Phase label on the latest candle.
- Legend table for easy interpretation.
- Alert conditions for bullish, bearish, consolidation, and trend-flip events.
- Uses confirmed candle data only and does not use future references.
How to use it
- Trend traders: only take longs while the histogram is green, shorts while it is red. Stand aside on gray.
- Mean-reversion traders: the gray phase highlights range conditions where fade/scalp setups work best.
- Filter: combine with your existing entry system and ignore signals that fight the MCO color.
- Works on any market and any timeframe. For higher timeframes, consider raising the ADX threshold and Confirmation Bars.
Alerts
Five ready-to-use alert conditions:
Bullish Trend Started
Bearish Trend Started
Consolidation Started
Bullish โ Bearish Shift
Bearish โ Bullish Shift
This indicator is designed to help identify market conditions. It should be combined with price action, support and resistance, volume, and proper risk management. No indicator can guarantee profitable trades.
We would love to hear your suggestions. If you have ideas for new features, indicators, analytics, or improvements, please share your feedback. Your input helps guide future updates and improve the indicator for all traders.
This indicator is for educational and analytical purposes only. It should not be considered financial advice. Always use proper risk management and make trading decisions based on your own analysis
Penunjuk

Flow Pressure OscillatorFlow Pressure Oscillator visualizes directional market pressure, trend alignment, regime quality, pullback pressure, and extended pressure conditions in a separate oscillator pane.
The tool is built to help traders read whether market pressure is leaning bullish, bearish, or neutral. It combines trend structure, EMA alignment, ATR-normalized movement, ADX, directional efficiency, volatility behavior, and volume participation into a bounded flow reading between -100 and +100.
The main Flow Trail shows the current pressure direction and strength. Positive readings indicate bullish pressure, negative readings indicate bearish pressure, and values near the zero line suggest a more neutral or mixed environment.
Regime Dots show the internal market regime state. Upper dots represent bullish regime pressure, lower dots represent bearish regime pressure, and neutral readings show that no strong directional regime is active.
The Pullback Reload Line is designed to highlight pullback pressure inside an existing bullish or bearish regime. It is not an entry signal by itself. It is meant to be used as context together with the Flow Trail, regime state, and the userโs own chart analysis.
The oscillator also highlights expansion and exhaustion-style pressure conditions. These areas can help identify when pressure is becoming stretched, accelerating, or losing momentum. They should be treated as market-context readings, not as guaranteed reversal or continuation points.
Core components
Flow Trail:
The main pressure line. It reacts to trend pressure, momentum slope, acceleration, structure alignment, volatility, and volume participation.
Zero Line:
A neutral reference level. Readings above zero show bullish pressure dominance. Readings below zero show bearish pressure dominance.
Regime Dots:
A visual regime filter for bullish, bearish, or neutral pressure conditions.
Pullback Reload Line:
A secondary pressure line designed to show pullback or reload behavior inside an active regime.
Pressure Fill:
A visual fill between the Flow Trail and the zero line to make pressure direction easier to read.
Extreme Pressure Coloring:
Highlights expanded, stretched, or exhaustion-style pressure states.
A simple way to use the oscillator is:
- Flow Trail above zero = bullish pressure is dominant;
- Flow Trail below zero = bearish pressure is dominant;
- Rising Flow Trail = pressure is strengthening;
- Falling Flow Trail = pressure is weakening;
- Regime Dots help confirm whether the broader pressure environment supports the current flow direction;
- Reload Line can help identify pullback pressure during an existing bullish or bearish regime;
- Extreme pressure areas should be used for awareness, not as automatic trade signals.
Important notes
Flow Pressure Oscillator is a market-pressure visualization tool only. It does not provide financial advice, trade recommendations, profit targets, stop losses, win-rate calculations, or performance guarantees.
The script should be used together with the traderโs own market structure, support and resistance, risk management, and confirmation process. No single oscillator should be used as a complete trading system. Penunjuk

3D: Real Smartphone Monitor Pro3D Real Smartphone Monitor Pro: Master Discipline and The Art of "No Position"
IMPORTANT: First-Time Setup and Size Adjustment
Because TradingView automatically scales the Y-axis (price) and X-axis (time) differently depending on the asset and your screen resolution, this 3D monitor may appear stretched, squashed, or incorrectly sized upon initial application. This is a standard limitation of projecting 3D elements onto 2D charts.
How to resolve this immediately:
Open the Indicator Settings.
Navigate to the "3D Manual Scaling & Camera Settings" group.
Adjust the "Y-Axis Scale (Height)" and "X-Axis Scale (Width)" sliders.
Tweak the "Master Scale Multiplier" until the smartphone perfectly fits your screen layout.
Note: Because the optimal scale varies entirely depending on the specific asset, we have provided comprehensive manual scale adjustment settings. If you find any parameters lacking or require further adjustments, please notify us in the comments, and we will respond promptly.
Concept: The Purpose of a Chart Smartphone
Trading is not solely about identifying entries; it is about mastering psychology. Overtrading is a trader's greatest adversary. This monitor serves as a visual anchor to ground you in reality and reinforce the power of discipline.
When compelled to force a trade, look at this monitor and read the scrolling proverbs. Remember that maintaining "no position" is a highly strategic position. Stepping away from the chart is frequently the most profitable decision you can make.
Features and Technical Synchronization:
Time Awareness: A built-in clock keeps you grounded in reality, preventing time distortion while analyzing charts.
Battery Level (RSI Sync): The battery percentage reflects the 14-period RSI, instantly indicating market exhaustion (oversold/overbought conditions).
Antenna Signal (ADX Sync): The signal bars represent the 14-period ADX. A full signal indicates a massive trend, while a weak signal suggests a flat marketโideal for determining whether to engage or step away.
Dynamic Interface: Designed with meticulous attention to realism, featuring titanium-style edges, glass glare, a dynamic top notch, and native emoji app icons.
Stay disciplined, protect your capital, and sometimes, just put the monitor down.
Pine Script Calculation Details
Calculation: int msg_idx = int(bar_index / 20) % 10
Mathematical Rationale: The bar_index (current candle number) is divided by 20 to create a trigger that changes the output every 20 bars. The modulo operator (% 10) ensures the resulting index loops sequentially from 0 to 9, which maps perfectly to the 10 proverb elements stored in the array.
Actual Output Values:
At bar_index 100: int(100 / 20) % 10 outputs 5 (Displays array element index 5).
At bar_index 110: int(110 / 20) % 10 outputs 5 (Message remains the same).
At bar_index 120: int(120 / 20) % 10 outputs 6 (Message switches to the next index). Penunjuk

Multi Cycle KST OscillatorMulti-Cycle KST Oscillator โ Publication Description
What it does
The Multi-Cycle KST Oscillator is a momentum oscillator built on the Know Sure Thing (KST) โ a summed, weighted blend of four smoothed Rate-of-Change series. The standard KST plots one line. This script computes three KSTs at short, intermediate and long cycle lengths, reads their alignment, and wraps the plotted short-term KST in five decision-support modules so the momentum reading is filtered, contextualized and scored rather than read at face value. A single 0โ100 Confidence value summarizes everything, and the oscillator line is colored by it.
Why these components are combined (the reason for the mashup)
KST on its own is a momentum (rate-of-change) factor, and it lags by construction. Adding more momentum tools such as RSI, MACD or Stochastic would only restate the same information. So every module added here is deliberately orthogonal to momentum โ each answers a question the KST cannot answer by itself:
Long-term KST direction โ the regime gate. A slower KST decides which side to trade. Short-term buy crosses are only trusted when the long-term cycle is rising, short crosses only when it is falling. This is the core of the multi-cycle idea: trade the shorter cycle in the direction of the longer one.
ADX/DMI regime filter โ trade only in a real trend. Momentum crosses whipsaw in sideways markets, so signals are suppressed and the background is shaded while ADX is below threshold.
Higher-timeframe filter โ alignment with the bigger picture. The same momentum direction is read from a higher, confirmed (non-repainting) timeframe to drop counter-trend crosses.
Price/KST divergence โ early warning. Because the oscillator measures momentum, a price high against a lower oscillator high (or the inverse) flags fading momentum before the signal-line cross. Regular and hidden divergences are detected from confirmed pivots.
Efficiency-Ratio conviction scaler โ how much to trust it now. A Kaufman Efficiency Ratio scales the Confidence up in clean trends and down in chop. It is a magnitude scaler, never a direction vote, so it cannot double-count momentum.
How the parts work together
Each module feeds one combined output. The plotted oscillator is the short-term KST (optionally standardized). A Buy or Sell is raised only when the short-term KST crosses its signal line AND the long-term cycle agrees AND the regime and higher-timeframe filters agree AND Confidence clears its threshold. Confidence itself is a weighted vote across the four orthogonal inputs (KST-vs-signal, long-term direction, price location, divergence), scaled by the Efficiency Ratio and clamped to 0โ100. Divergence labels and the ATR stop/target are context around that one decision.
What makes it original
It is not a KST with other indicators drawn beside it. It turns a single KST line into a three-cycle alignment model with a long-term regime gate, then standardizes the result so its bands carry a consistent statistical meaning across instruments, and fuses five orthogonal checks into one bounded Confidence reading with explicit buy/sell gating. The combined output โ "is momentum turning, in a real trend, in line with the larger cycle, and how much should I trust it" โ does not exist in the source indicator.
How to use it
Pick an Oscillator mode: Raw (native KST), Z-Score, or Robust Z (median/MAD, least sensitive to spikes).
Green = up-cycle momentum, red = down-cycle; further from zero and brighter = stronger and higher conviction. Warn / Extreme bands mark stretched readings.
Buy / Sell triangles fire only when the cross, the long-term gate, the regime and higher-timeframe filters, and the Confidence threshold all agree. Treat them as points to investigate, not automatic entries.
Use divergences as early warning of fading momentum, and the two dashboards for the full read: right panel = Bias, Confidence, Signal, Cycle alignment, Oscillator; left panel = Long-term KST, Regime, Divergence, ATR Stop and Target.
The dashboards adapt to your chart's background brightness so both stay legible on dark or light themes.
Settings and defaults
Inputs are grouped and numbered: Data Source, the three KST cycles, Normalization & Display, Threshold Bands, Confirmation Filters, Divergence, Confidence Engine, Risk Targets, Signals & Alerts, and Visuals & Dashboard. Defaults follow the classic KST values and are tuned for NSE NIFTY on intraday charts. Because the Price / High / Low sources are user-selectable, the engine works on any instrument or even another indicator's output โ for other assets, adjust the ROC/SMA lengths, the higher timeframe and the ATR period to suit.
Concept credit
The Know Sure Thing (KST) oscillator was created by Martin J. Pring. This script is an original multi-cycle implementation built around that public concept and is not affiliated with, nor endorsed by, its originator.
Honest limitations
KST is lagging by construction; this confirms moves, it does not predict them. Confidence (0โ100) is an ordinal heuristic for how aligned the components are โ it is not a probability or a win rate. Divergence is computed on confirmed pivots and therefore prints a few bars after the pivot forms; that latency is inherent to honest pivot detection. Signals confirm on bar close (non-repainting) by default, and the higher-timeframe filter uses the previous confirmed higher-timeframe bar. Backtest any settings on your own market before relying on them.
Disclaimer
For research and educational purposes only. This is not financial advice, not an investment recommendation, and not a solicitation to trade. Indicators describe past price behavior; they do not predict the future. Trading involves substantial risk of loss. Test on out-of-sample data and make your own decisions. The author accepts no liability for any use of this script. Penunjuk

NORN WEAVE | THURISAZ# NORN WEAVE แฆ THURISAZ
---
### Overview
NORN WEAVE แฆ THURISAZ is the third version of the NORN WEAVE series, built on URUZ as its foundation.
The core logic is unchanged โ EMA slope, Dow Theory swing structure, ADX trend confirmation. What changed is the entry filter. THURISAZ adds one question before every trade: *where are we standing on the daily chart?*
URUZ was built to survive. THURISAZ is built to choose. Bad entries don't just lose money โ they consume time, margin, and mental bandwidth. The goal of this version is to stop entering trades that look right on the current timeframe but are wrong on the bigger picture.
The philosophy remains: survival first, profit second. THURISAZ adds a third principle โ *don't enter where you shouldn't be standing.*
---
### What's New: Daily Fibonacci Filter
THURISAZ introduces a daily timeframe Fibonacci filter as a structural context layer.
When the current timeframe trend and the daily trend align, the strategy behaves exactly like URUZ โ no additional friction.
When they diverge, THURISAZ evaluates *where* price sits within the daily swing range using Fibonacci retracement levels (0.382 and 0.618):
- **Mid zone (0.382โ0.618)** โ Price is in the middle of the daily range. This is the "landing zone": the most likely area for a pullback to stall and reverse, not complete. Entries are blocked.
- **Shallow zone (below 0.382)** โ The pullback is still early. Entry is allowed, but TP1 is adjusted to the 0.382 level rather than the standard ATR-based target. Partial profit is taken before the natural resistance zone.
- **Deep zone (above 0.618)** โ Price has retraced significantly. Potential reversal territory. Entry is allowed with standard targets.
The daily swing detection period is independently configurable from the current timeframe's Focus Level, giving finer control over what constitutes a "daily swing."
---
### Entry Conditions
**Long:** EMA rising AND Dow Theory trend up AND ADX above threshold AND Daily Fibo zone allows AND Footprint Delta bullish (if filter enabled)
**Short:** EMA falling AND Dow Theory trend down AND ADX above threshold AND Daily Fibo zone allows AND Footprint Delta bearish (if filter enabled)
---
### Exit Conditions
- TP1 โ ATR ร Factor ร 1 โ closes 30% (or Fibo 0.382 if shallow counter-trend entry)
- TP2 โ ATR ร Factor ร 2 โ closes another 30%
- TP3 โ ATR ร Factor ร 3 โ closes a further 30%
- Stop Loss โ fixed % from entry โ closes full position
- Break Even Stop โ once floating profit reaches the BE trigger %, stop moves to entry price and closes on pullback
- Trend Reversal โ when Dow Theory swing flips โ closes full position
---
### Focus Level & Auto Calibration
Unchanged from URUZ. Focus Level is the primary knob โ adjust it first when applying to a new symbol or timeframe.
Auto Calibration computes ADX threshold, ATR factor, and Stop Loss from the chart's own volatility data. When enabled, no manual tuning is required.
---
### Break Even Stop
Unchanged from URUZ. One parameter: how far price must move from entry before the stop activates. Stop is always placed at entry price.
---
### Footprint Delta Filter *(Premium plan required)*
Unchanged from URUZ. Uses BTC or ETH footprint delta as a directional confirmation filter. Blocks entries when order flow contradicts the trade direction.
---
### Parameters
- **Focus Level** (default 13) โ Main knob. Controls swing detection and EMA scaling.
- **EMA Scale Ratio** (default 5) โ EMA length = Focus Level ร this value.
- **Daily Swing Length** (default 10) โ Swing detection period for the daily timeframe. Independent from Focus Level.
- **Show Daily Fibo Zone** (default ON) โ Displays the 0.382 and 0.618 levels on the chart for visual reference.
- **Auto Calibration** (default ON) โ Computes ADX threshold, ATR factor, and SL automatically.
- **BE Trigger %** (default 5.5%) โ How far price must move before the BE stop activates.
- **ATR Factor** โ Manual mode only. Default 3.8.
- **Stop Loss %** โ Manual mode only. Default -10.0%.
- **ADX Threshold** โ Manual mode only. Default 20.5.
- **Footprint SMA Period** (default 21) โ Smoothing period for delta signal.
---
### On Overfitting
One of the design principles of the NORN WEAVE series has been to minimize the number of configurable parameters. More parameters means more room to fit historical data โ and less reason to trust that the results will hold going forward.
THURISAZ adds one new parameter: Daily Swing Length. That's it.
The Fibonacci levels themselves (0.382 and 0.618) are not parameters โ they are fixed, widely recognized structural levels used by traders across markets and timeframes. They were not chosen by optimizing against backtest data.
The Daily Fibonacci Filter was validated across six symbols (SOL, DOGE, ETH, SUI, NEAR, PEPE). Five of the six showed improvement in profit factor and drawdown. The one exception โ PEPE โ deteriorated, which is the expected behavior: PEPE's explosive, non-structural price action doesn't respect daily swing context the way trend-following instruments do. A filter that improves everything uniformly would be suspicious. This result is not.
The filter works because the idea behind it is sound, not because it was tuned to work.
---
### Visual Guide
- **EMA line** โ 3-layer glow. Teal when rising, red when falling.
- **Dow Theory zones** โ gradient fill from current swing level to current price.
- **Daily Fibo lines** โ gold lines at 0.382 and 0.618 of the daily swing. Shaded zone between them marks where entries are blocked.
- **TP lines** โ semi-transparent. TP1 faintest, TP3 most visible.
- **BE Stop line** โ gold, appears only when active.
- **Gray background** โ ADX below threshold. No entries.
- **Orange background** โ Footprint Delta Filter blocking entry, or Daily Fibo mid zone active.
- **Status table** โ real-time display of all conditions. Japanese/English toggle included. Daily Fibo status shown as: Same Dir / Mid Zone (blocked) / Shallow (TP adjusted) / Deep (reversal watch).
---
---
### ๆฆ่ฆ
NORN WEAVE แฆ THURISAZ ใฏใURUZใๅๅฐใจใใ NORN WEAVE ใทใชใผใบ็ฌฌ3ใใผใธใงใณใงใใ
ใณใขใญใธใใฏใฏๅคใใฃใฆใใพใใโโEMAใฎๅพใใปใใฆ็่ซใฎในใคใณใฐๆง้ ใปADXใใฌใณใ็ขบ่ชใๅคใใฃใใฎใฏใจใณใใชใผใใฃใซใฟใผใงใใTHURISAZใฏใใในใฆใฎใใฌใผใใฎๅใซไธใคใฎๅใใๅ ใใพใใ*ๆฅ่ถณใงใฟใใจใใไปใฉใใซ็ซใฃใฆใใใฎใ๏ผ*
URUZใฏใ็ใๆฎใใใใใซ่จญ่จใใใพใใใTHURISAZใฏใ้ธใถใใใใซ่จญ่จใใใฆใใพใใๆชใใจใณใใชใผใฏ่ณ้ใๅคฑใใ ใใงใชใใๆ้ใป่จผๆ ้ใป้ไธญๅใๆถ่ฒปใใพใใใใฎใใผใธใงใณใฎ็ฎๆจใฏใ็พๅจ่ถณใงใฏใทใฐใใซใๆญฃใใ่ฆใใฆใใๅคงใใชๅฐๅฝขใงใฏ็ซใฃใฆใฏใใใชใๅ ดๆใธใฎใจใณใใชใผใๆญขใใใใจใงใใ
ๅฒๅญฆใฏๅคใใฃใฆใใพใใใใพใ็ใๆฎใใๅฉ็ใฏใใฎๆฌกใTHURISAZใฏไธใค็ฎใฎๅๅใๅ ใใพใโโ*็ซใคในใใงใชใๅ ดๆใซใฏ็ซใใชใใ*
---
### ่ฟฝๅ ๆฉ่ฝ๏ผๆฅ่ถณใใฃใใใฃใซใฟใผ
THURISAZใฏใ็ธๅ ดใฎๅฐๅฝขใๆๆกใใใใใฎใๆฅ่ถณใใฃใใใใใใฃใซใฟใผใใๆฐใใซๅฐๅ
ฅใใพใใใ
็พๅจ่ถณใฎใใฌใณใใจๆฅ่ถณใฎใใฌใณใใๅใๆนๅใฎๅ ดๅใในใใฉใใธใผใฏURUZใจใพใฃใใๅใๆๅใใใพใโโ่ฟฝๅ ใฎๅถ็ดใฏใใใพใใใ
ๆนๅใ้ใฎๅ ดๅใTHURISAZใฏใใฃใใใใใชใใฌใผในใกใณใๆฐดๆบ๏ผ0.382ใป0.618๏ผใไฝฟใใๆฅ่ถณในใคใณใฐใฎใฉใฎไฝ็ฝฎใซไพกๆ ผใใใใใ่ฉไพกใใพใใ
- **ไธญ้ใพใผใณ๏ผ0.382ใ0.618๏ผ** โ ไพกๆ ผใๆฅ่ถณใฌใณใธใฎ็ใไธญใซใใ็ถๆ
ใใ่ธใๅ ดใใจๅผใถในใไฝ็ฝฎใงใๆผใ็ฎใปๆปใใ้ไธญใงๆญขใพใฃใฆๅ่ปขใใๅฏ่ฝๆงใๆใ้ซใใใจใณใใชใผใใใญใใฏใใพใใ
- **ๆต
ใใพใผใณ๏ผ0.382ไปฅไธ๏ผ** โ ๆผใ็ฎใปๆปใใใพใ ๆต
ใๆฎต้ใใจใณใใชใผใฏ่จฑๅฏใใพใใใTP1ใ้ๅธธใฎATRใใผในใใๆฅ่ถณใใฃใ0.382ๆฐดๆบใซ่ชฟๆดใใพใใ่ช็ถใชๆตๆใพใผใณใฎๆๅใง้จๅๅฉ็ขบใใพใใ
- **ๆทฑใใพใผใณ๏ผ0.618ไปฅไธ๏ผ** โ ๅคงใใๆผใ่พผใพใใไฝ็ฝฎใๅ่ปขใฎๅฏ่ฝๆงใใใๆฐดๆบใจใใฆ้ๅธธ้ใใจใณใใชใผใใพใใ
ๆฅ่ถณใฎในใคใณใฐๆคๅบๆ้ใฏ็พๅจ่ถณใฎใใฉใผใซในใฌใใซใจใฏ็ฌ็ซใใฆ่จญๅฎใงใใพใใ
---
### ใจใณใใชใผๆกไปถ
**ใญใณใฐ๏ผ** EMAไธๅใ AND ใใฆ็่ซไธๆ AND ADXใใใๅคไปฅไธ AND ๆฅ่ถณใใฃใใพใผใณ่จฑๅฏ AND ใใใใใชใณใใใซใฟ่ฒทใๅชๅข๏ผใใฃใซใฟใผๆๅนๆ๏ผ
**ใทใงใผใ๏ผ** EMAไธๅใ AND ใใฆ็่ซไธ้ AND ADXใใใๅคไปฅไธ AND ๆฅ่ถณใใฃใใพใผใณ่จฑๅฏ AND ใใใใใชใณใใใซใฟๅฃฒใๅชๅข๏ผใใฃใซใฟใผๆๅนๆ๏ผ
---
### ใคใฐใธใใๆกไปถ
- TP1 โ ATRรๅ็ร1 โ 30%ๆฑบๆธ๏ผ้ๅผตใใปๆต
ใใพใผใณๆใฏใใฃใ0.382ๆฐดๆบ๏ผ
- TP2 โ ATRรๅ็ร2 โ ใใใซ30%ๆฑบๆธ
- TP3 โ ATRรๅ็ร3 โ ใใใซ30%ๆฑบๆธ
- ในใใใใญใน โ ใจใณใใชใผใใ่จญๅฎ%ใซ้ใใใๅ
จๆฑบๆธ
- ใใฌใผใฏใคใผใใณในใใใ โ ๅซใฟ็ใBE็บๅใใใๅค%ใซ้ใใใในใใใใๅปบๅคใซ็งปๅใไพกๆ ผใๆปใฃใใๅ
จๆฑบๆธ
- ใใฌใณใๅ่ปข โ ใใฆ็่ซในใคใณใฐใ้่ปขใใๆ็นใงๅ
จๆฑบๆธ
---
### ใใฉใผใซในใฌใใซใจใชใผใใญใฃใชใใฌใผใทใงใณ
URUZใใๅคๆดใชใใใใฉใผใซในใฌใใซใไธป่ปธใใใงใใๆฐใใ้ๆใปๆ้่ถณใซ้ฉ็จใใใจใใฏใใใๆๅใซ่ชฟๆดใใฆใใ ใใใ
ใชใผใใญใฃใชใใฌใผใทใงใณใONใซใใใจใADXใใใๅคใปATRๅ็ใปSLใใใฃใผใใฎใใฉใใฃใชใใฃใใผใฟใใ่ชๅ็ฎๅบใใใพใใ
---
### ใใฌใผใฏใคใผใใณในใใใ
URUZใใๅคๆดใชใใ่จญๅฎ้
็ฎใฏไธใคโโใไฝ%ๅใใใ็บๅใใใใใ ใใในใใใไฝ็ฝฎใฏๅธธใซๅปบๅคใงใใ
---
### ใใใใใชใณใใปใใซใฟใใฃใซใฟใผ *๏ผPremiumใใฉใณไปฅไธใๅฟ
่ฆ๏ผ*
URUZใใๅคๆดใชใใBTCใพใใฏETHใฎใใใใใชใณใใใซใฟใๆนๅๆง็ขบ่ชใใฃใซใฟใผใจใใฆไฝฟ็จใใพใใ
---
### ใใฉใกใผใฟใผ
- **ใใฉใผใซในใฌใใซ**๏ผใใใฉใซใ13๏ผโ ไธป่ปธใใใในใคใณใฐๆคๅบใปEMAในใฑใผใซใๅถๅพกใ
- **EMAในใฑใผใซๅ็**๏ผใใใฉใซใ5๏ผโ EMAๆ้ = ใใฉใผใซในใฌใใซ ร ใใฎๅคใ
- **ๆฅ่ถณในใคใณใฐๆคๅบๆ้**๏ผใใใฉใซใ10๏ผโ ๆฅ่ถณใใฃใ่จ็ฎใซไฝฟใในใคใณใฐๆคๅบๆ้ใใใฉใผใซในใฌใใซใจใฏ็ฌ็ซใ
- **ๆฅ่ถณใใฃใใพใผใณ่กจ็คบ**๏ผใใใฉใซใON๏ผโ 0.382ใป0.618ใฉใคใณใใใฃใผใใซ่กจ็คบใ
- **ใชใผใใญใฃใชใใฌใผใทใงใณ**๏ผใใใฉใซใON๏ผโ ADXใใใๅคใปATRๅ็ใปSLใ่ชๅ็ฎๅบใ
- **BE็บๅใใใๅค%**๏ผใใใฉใซใ5.5%๏ผโ ใจใณใใชใผใใใใฎ%ๅใใใBEในใใใใ็บๅใ
- **ATRๅ็**๏ผๆๅ๏ผโ ใชใผใใญใฃใชใใฌใผใทใงใณOFFๆใซๆๅนใใใใฉใซใ3.8ใ
- **ๆๅใ%**๏ผๆๅ๏ผโ ใชใผใใญใฃใชใใฌใผใทใงใณOFFๆใซๆๅนใใใใฉใซใ-10.0%ใ
- **ADXใใใๅค**๏ผๆๅ๏ผโ ใชใผใใญใฃใชใใฌใผใทใงใณOFFๆใซๆๅนใใใใฉใซใ20.5ใ
- **ใใใใใชใณใSMAๆ้**๏ผใใใฉใซใ21๏ผโ ใใซใฟใทใฐใใซใฎๅนณๆปๅๆ้ใ
---
### ้ๅฐๆ้ฉๅใซใคใใฆ
NORN WEAVE ใทใชใผใบใฎ่จญ่จๆน้ใฎไธใคใฏใใใฉใกใผใฟใผๆฐใใงใใ้ใๆธใใใใจใงใใใใใฉใกใผใฟใผใๅขใใใปใฉ้ๅปใใผใฟใธใฎ้ๅฐ้ฉๅใ่ตทใใใใใชใใๅฐๆฅใฎ็ตๆใไฟก้ ผใใๆ นๆ ใ่ใใใใใงใใ
THURISAZใง่ฟฝๅ ใใใใฉใกใผใฟใผใฏใๆฅ่ถณในใคใณใฐๆคๅบๆ้ใใฎไธใคใ ใใงใใ
ใใฃใใใใๆฐดๆบ๏ผ0.382ใป0.618๏ผ่ชไฝใฏใใฉใกใผใฟใผใงใฏใใใพใใโโใใใฏใในใใใผใฟใๆ้ฉๅใใฆ้ธใใ ๅคใงใฏใชใใๅคใใฎใใฌใผใใผใ้ทๅนดใซใใใฃใฆๅ็
งใใฆใใๆฎ้็ใชๆง้ ๆฐดๆบใงใใ
ๆฅ่ถณใใฃใใใฃใซใฟใผใฏ6้ๆ๏ผSOLใปDOGEใปETHใปSUIใปNEARใปPEPE๏ผใงๆค่จผใใพใใใใใฎใใก5้ๆใงPFใจDDใๆนๅใใพใใใๅฏไธๆชๅใใใฎใฏPEPEใงใใใใใใฏๆณๅฎๅ
ใฎ็ตๆใงใโโPEPEใฎๆฅ้จฐๆฅ่ฝๅใฎๅคๅใใฏๆฅ่ถณในใคใณใฐๆง้ ใๅ็
งใใใญใธใใฏใจใใใใ็ธๆงใๆชใใใในใฆใฎ้ๆใงไธๆงใซๆนๅใใใใฃใซใฟใผใฎๆนใใใใใ้ๅฐๆ้ฉๅใ็ใในใใงใใ
ใใฎใใฃใซใฟใผใๆฉ่ฝใใใฎใฏใใใฅใผใใณใฐใฎ็ตๆใงใฏใชใใ่ๅพใซใใ่ใๆนใๆญฃใใใใใ ใจ่ใใฆใใพใใ
---
### ใใฃใผใใฎ่ฆๆน
- **EMAใฉใคใณ** โ 3ๅฑคใฐใญใผๅนๆใไธๅใใฏใใฃใผใซใไธๅใใฏใฌใใใ
- **ใใฆ็่ซใพใผใณ** โ ็พๅจใฎในใคใณใฐใฌใใซใใ็พๅจไพกๆ ผใธใฎใฐใฉใใผใทใงใณใ
- **ๆฅ่ถณใใฃใใฉใคใณ** โ ๆฅ่ถณในใคใณใฐใฎ0.382ใป0.618ใใดใผใซใใฉใคใณใง่กจ็คบใใใฎ้ใฎใทใงใผใใใ่ธใๅ ดใพใผใณ๏ผใจใณใใชใผใใญใใฏ๏ผใใ
- **TPใฉใคใณ** โ ๅ้ๆใTP1ใๆใ่ใใTP3ใๆใๆฟใใ
- **BEในใใใใฉใคใณ** โ ใดใผใซใใ็บๅไธญใฎใฟ่กจ็คบใ
- **ใฐใฌใผ่ๆฏ** โ ADXใใใใๅคไปฅไธใใจใณใใชใผใชใใ
- **ใชใฌใณใธ่ๆฏ** โ ใใใใใชใณใใใซใฟใใฃใซใฟใผใใใญใใฏไธญใใพใใฏๆฅ่ถณใใฃใ่ธใๅ ดใพใผใณใๆๅนใ
- **ในใใผใฟในใใผใใซ** โ ๅ
จๆกไปถใปใใฉใกใผใฟใผๅคใใชใขใซใฟใคใ ่กจ็คบใๆฅ่ฑๅใๆฟใๅฏพๅฟใๆฅ่ถณใใฃใใฎ็ถๆ
ใฏใๅๆนๅ / ่ธใๅ ด๏ผใใญใใฏ๏ผ/ ๆต
ใ๏ผTP่ชฟๆด๏ผ/ ๆทฑใ๏ผๅ่ปข็ใ๏ผใใง่กจ็คบใ Strategi

XRS Market Conditions DashboardXRS Market Conditions Dashboard is a compact on-chart dashboard designed to help traders quickly assess current market conditions without cluttering the chart.
This tool displays several key market-read metrics in one simple table:
โข ADR โ Shows the current daily range compared to the average daily range using a locked 1D calculation.
โข Chop Risk โ Combines ADX, efficiency ratio, structure agreement, and ATR compression into a simple chop-risk score.
โข ADX Strength โ Measures trend strength and highlights stronger trend environments.
โข ATR Range โ Displays current ATR in points.
โข Delta Bias โ Estimates candle-position-based directional pressure.
โข Volume Flow โ Compares current volume against recent average volume and percentile ranking.
The dashboard is intended to help identify whether the market is trending, compressed, extended, volatile, or potentially choppy. It can be used as a quick confluence tool alongside price action, VWAP, liquidity levels, session highs/lows, and other auction-market concepts.
Settings are customizable, including dashboard position, font size, opacity, ADR lookback, ADX thresholds, ATR settings, volume thresholds, and chop-score structure inputs.
This indicator does not generate buy or sell signals. It is intended for market context, trade filtering, and discretionary analysis only.
Disclaimer: This script is for educational and informational purposes only and does not constitute financial advice. Trading involves risk. Use at your own discretion.
Penunjuk

ADX Directional Index DI FREE , Trend Strength MTF //BPSTrend-strength indicator with classic ADX, Directional Index (DI+ /
DI-), color-coded strength zones, crossover signals and a
10-timeframe dashboard.
๐ WHAT IT SHOWS
โข ADX line (0โ100) โ measures trend strength regardless of direction
โข DI+ and DI- lines โ show directional pressure (bull vs bear)
โข Bullish / bearish crossover signals when DI lines cross
โข Multi-timeframe dashboard: D, 4H, 2H, 1H, 30m, 15m, 10m, 5m, 3m, 1m
โข Color-coded background highlighting strong trends
๐ฏ HOW TO USE
โข ADX > 20 = trending market โ use trend-following strategies
โข ADX < 20 = ranging market โ mean-reversion / range setups
โข DI+ crosses above DI- = bullish bias ยท DI- above DI+ = bearish
โข Use the 10-TF dashboard for instant multi-timeframe context
โข Pair with Smart Money for order-block + trend confluence
๐ KEYWORDS
ADX, Directional Index, DI+, DI-, Trend Strength, Multi-Timeframe,
MTF Dashboard, Wilder, Average Directional Index, Trend Following,
Crossover Signals Penunjuk

RSI Sequential Exhaustion & Divergence**RSI Sequential Exhaustion & Divergence โ Multi-Factor Oscillator**
**What it is**
A single RSI-based reversal oscillator for spotting momentum exhaustion, then filtering and grading those signals so only the better-supported ones stand out. It is one integrated tool, not a pile of separate indicators sharing a pane.
**What it plots**
- The RSI line with a glow/gradient style coloured by momentum side, plus overbought/oversold/midline levels and an optional zone fill.
- Sequential Exhaustion signal arrows (โฒ/โผ) at qualifying turns.
- Regular and hidden priceโRSI divergence as lines and small labels, de-cluttered so the pane stays readable.
- A compact 5-row dashboard: Signal (direction ยท conviction % ยท age), RSI state, Confluence score, Context (trend/range + volatility state), and a Data-health read.
- An optional calibration panel and a set of hidden data-window outputs (EXP_*) for chaining into other scripts.
**Why these components are combined (and how they work together)**
Each part is here to fix a specific weakness of the part before it, so the result is one filtered, graded signal:
1. A bare RSI overbought/oversold reading whipsaws, and naive divergence over-fires. So the script uses two *structured* exhaustion cues instead: **Sequential Exhaustion** (the RSI makes three consecutive deeper pushes into an extreme zone and the fourth bar turns back out โ a defined trigger, not just "RSI is low"), and a **divergence engine** that adds an independent reversal cue and is de-cluttered with a cooldown plus a minimum-gap filter.
2. Both cues are counter-trend by nature, and counter-trend entries fail in two situations: strong directional trends, and volatility cascades. To handle the first, an **HTF trend-bias filter** and an **ADX regime filter** suppress signals when a higher timeframe or strong ADX says the trend is intact. To handle the second, a **volatility-cluster filter** (a self-exciting intensity built from returns) proportionally raises the bar for new signals exactly when clustering makes mean-reversion most dangerous โ and because it is price-only, it also works on volume-less symbols.
3. To tell which surviving signals are worth more, a **Confluence grade (0โ5)** fuses five reasonably-independent reads of the same bar (HTF bias, ranging regime, a recent divergence, volume, and the RSI momentum turn). **Multi-timeframe agreement (3ร/5ร/15ร)** is deliberately kept *separate* and applied as a conviction *multiplier* rather than blended into the score, because it is the one genuinely independent check โ full agreement boosts conviction, contradiction damps it.
4. To stay honest about whether any of this is working on your symbol, a **calibration tracker** logs every signal and, after a fixed horizon, records whether price actually followed through (a move of at least XยทATR in the signal's direction), reporting a measured *past* hit-rate by grade tier with a Wilson 95% confidence interval. A **data-integrity read** (bar range, HTF-feed freshness, volume reliability) surfaces an OK / DEGRADED / CRITICAL status so the tool never silently scores on bad data.
**What is original here**
The individual techniques โ RSI, divergence, ADX, ATR, volume reads, self-exciting intensity, Wilson intervals โ are publicly documented. The original work is the integration: a structured RSI-exhaustion trigger gated by a proportional volatility-cluster filter, graded by a confluence score that is scaled by independent higher-timeframe agreement, and continuously audited by a built-in self-calibration tracker that reports honest past follow-through by tier. Components were chosen so each covers a distinct weakness; redundant filters were left out to keep one clear signal.
**How to use**
1. Add it to a chart. Defaults suit intraday index/futures; direction works on any symbol, while the volume confluence factor needs real traded volume.
2. Take signals in the direction the context filters allow. Prefer a higher conviction % and stronger higher-timeframe agreement; treat low-grade cues as noise (raise "Min confluence to allow signal" to suppress them).
3. Respect the volatility-cluster warning โ it marks regimes where mean-reversion is most likely to fail.
4. Use the optional calibration panel as a sanity check on the tool's own past signals, never as a forward prediction.
5. Spot vs futures: a cash/spot index has no real volume. "Volume Mode" auto-detects this, and you can borrow a traded-volume series from a related futures contract; the "Data" row shows the active mode.
**Notes**
All signals and divergence confirm on closed pivots and do not repaint. Divergence labels appear "Pivot Right" bars after the turn, which is inherent to honest pivot detection.
**Disclaimer**
For education and information only. This is not financial, investment, or trading advice and guarantees no outcome. Signals describe current and past conditions; they do not predict the future. The calibration figures describe past behaviour only โ they are not a backtest or a probability of future results. Volume-based readings depend on the data feed and are unreliable on instruments without real volume. Trading carries substantial risk of loss; you are solely responsible for your own decisions and risk management. Consider consulting a licensed professional.
Penunjuk

SAR/ATR Trend-Extension OscillatorSAR/ATR Trend-Extension Oscillator
WHAT THIS INDICATOR IS
The SAR/ATR Trend-Extension Oscillator measures, in a single line, how far price has stretched away from its Parabolic SAR trailing reference, and it expresses that distance in units of volatility rather than raw price. The output is a signed oscillator: it rises into positive (green) territory as an uptrend extends and falls into negative (red) territory as a downtrend extends. The further the value sits from the zero line, the more stretched the current move is relative to its own recent volatility.
It is built as ONE coherent reading. Parabolic SAR and Average True Range (ATR) are not plotted side by side; they are fused mathematically into the oscillator value. Three further elements - a rolling statistical standardization, an ADX regime filter and a higher-timeframe trend filter - qualify and contextualize that value rather than adding separate indicators to the pane.
WHY THESE COMPONENTS ARE COMBINED (and how they work together)
Each ingredient is included to solve a specific weakness of the one before it.
1) Parabolic SAR provides trend direction and a trailing stop level, but on its own it only tells you which side of the trend you are on. The raw gap between price and SAR is measured in price points, which cannot be compared between a low-priced stock and a high-valued index, or between a quiet and a volatile session. So SAR alone cannot answer "how stretched is this move."
2) ATR answers that. By dividing the SAR-to-price gap by ATR, the distance becomes volatility-relative: "price is X average true ranges beyond its SAR." This SAR-divided-by-ATR step is the core of the indicator and produces information that neither Parabolic SAR nor ATR shows alone - a bounded, cross-market measure of trend extension that reads consistently across symbols and timeframes.
3) Rolling standardization (Z-Score, or robust median/MAD) fixes a subtler problem: even an ATR-normalized value has a distribution that drifts over time, so one fixed threshold means different things in different conditions. Standardizing the value over a lookback window rescales it so the +/-2 and +/-3 reference levels keep a stable statistical meaning. A "Raw" mode (the plain volatility-normalized value, no rescaling) is also available.
4) ADX regime filter. Parabolic SAR is prone to repeated false flips in sideways markets. ADX measures trend strength, so the indicator suppresses buy/sell flags whenever ADX is below a user threshold (a ranging market) and shades the background to show it. ADX is never drawn on the oscillator; it only gates the signals.
5) Higher-timeframe filter. The same SAR direction is read from a higher, confirmed timeframe and used to filter out crossings that fight the dominant trend. It is the identical calculation applied to a larger context, not a different indicator.
6) Divergence. Because the oscillator is a measure of trend extension, a price high paired with a lower oscillator high (or a price low paired with a higher oscillator low) indicates the trend is extending less forcefully. Regular and hidden divergences are detected from confirmed pivots and drawn with connecting lines and labels.
Putting it together, the plotted value is one number: sign(SAR trend) x (SAR-to-price gap / ATR), optionally standardized and clamped to limit single-bar spikes.
A buy or sell flag is raised only when that oscillator crosses the Signal level AND the ADX regime AND the higher-timeframe direction agree. Everything feeds one question: is price extending, in a genuine trend, in line with the larger trend?
WHAT MAKES IT ORIGINAL
This is not Parabolic SAR with an ATR drawn next to it. It transforms the SAR trailing stop into a continuous, signed, volatility-normalized and statistically standardized extension oscillator, then wraps that single value in regime and higher-timeframe gating plus divergence logic. The resulting "how stretched is this trend, on a comparable scale" reading does not exist in either source indicator.
HOW TO USE IT
- Choose a normalization mode: Raw, Z-Score, or Robust (median/MAD, least sensitive to spikes).
- Read color and distance: green = uptrend extension, red = downtrend extension; the further from zero, the more extended. The Signal, Warning and Extreme levels mark progressively stretched zones.
- Treat the triangle markers (a Signal-level cross that agrees with the ADX regime and the higher-timeframe bias) as points to investigate, not as automatic entries.
- Use divergences as early warning that extension is fading, and the on-pane dashboard for trend, regime, higher-timeframe bias and ATR-based stop/target context. The stop and target figures are reference levels only.
- All parameters - SAR step and maximum, ATR period and smoothing type, the standardization window, every threshold, the ADX threshold and the higher timeframe - are adjustable.
REPAINTING
Signals confirm on bar close by default and do not repaint. The higher-timeframe filter reads the previous closed higher-timeframe bar, so it does not look ahead. Divergence labels appear a few bars after the pivot they confirm; that lag is inherent to honest pivot detection and is expected behavior.
ATTRIBUTION
This implementation builds on the original concept of combining Parabolic SAR with ATR. The volatility normalization, statistical standardization, regime and higher-timeframe filtering, divergence detection and alerting described above are part of this independent implementation.
DISCLAIMER
This script is provided for research and educational purposes only. It is not financial advice and makes no guarantee of profitability or accuracy. Indicators describe past and present price behavior; they do not predict future prices, and no indicator works in all conditions. Trading involves substantial risk of loss. Always test on historical and out-of-sample data and make your own independent decisions. The author accepts no liability for any use of this script.
Penunjuk

SuperTrend Exhaustion Clues [Gabremoku]SuperTrend Exhaustion Clues is a context-aware SuperTrend indicator that separates structural direction from signal timing. Instead of treating every flip as a trade trigger, it classifies market behavior into four states: Transition, Confirmed, Compressed Break, and Exhausted. The goal is to show when trend structure is still healthy, when it is compressing, and when it is weakening enough to start looking for directional clues.
The core logic combines four elements: SuperTrend for directional structure, ADX and DI for trend strength, VWAP and price location for acceptance, and compression detection for squeeze/release context. These components are not merged just for convenience; they work together to decide whether price is merely changing direction structurally or whether it is also showing enough internal confirmation to justify attention.
BUY and SELL signals are not printed on every flip. They are designed to appear only during Exhausted phases, and only when directional clues align with the next likely move. This makes the indicator more selective than a standard SuperTrend and better suited to reading late-stage trend fatigue and early follow-through behavior.
A built-in Signal Profile lets you choose between Responsive, Balanced, and Selective behavior. Responsive lowers the confirmation threshold and is better for faster charts, Balanced is the default middle ground, and Selective raises the bar for cleaner but rarer signals. For this reason, the script is especially useful on lower timeframes, where exhaustion tends to be easier to read and directional clues appear earlier.
For higher timeframes, the script can keep showing state, regime, and clue scores while disabling signals from 4H and above. This helps avoid forcing execution signals where the exhaustion logic is less expressive, while still letting you use the indicator for context and structure.
The visual design is intentionally restrained: bullish states are blue, bearish states are yellow, compression is purple, transition is gray, and exhaustion is red. The SuperTrend line, gradient fill, dashboard, and color legend are meant to make the state of the market easy to read at a glance without cluttering the chart.
How to use it: watch the current state first, then use Exhausted phases as the main area of interest. When the script shows Exhausted and the directional clue score aligns with the next move, that is the moment it is designed to highlight. On 4H and above, the script is better used as a structural context tool rather than a signal engine.
@Gabremoku
TradingView Penunjuk

Explainable Quant Scorecard [TradeDots]Explainable Quant Scorecard
Summary
This indicator computes a composite 0 to 100 evidence score by combining seven independent normalized sub-scores: Trend, Momentum, Volatility Regime, Participation, Relative Strength, Exhaustion Risk, and Multi-Timeframe Alignment. The composite is regime-dependent: when ADX indicates a trending regime, the trend and momentum weights are boosted; when ADX indicates a range regime, the exhaustion-risk weight is boosted instead. All factor weights are exposed as inputs so the model is fully auditable and tunable. A flagship dashboard panel displays every sub-score, the composite, the active regime, and a one-line interpretation.
The intent is to give traders a transparent multi-factor reading on every bar rather than another single-indicator signal. The composite is an evidence score, not a probability or prediction.
What is original here
Composite indicators that mash several oscillators together exist in the public library. This script's contributions are:
Honest factor separation. Each sub-score measures a different dimension (trend, momentum, volatility, participation, relative strength, exhaustion, multi-timeframe). Many composites silently combine correlated readings (such as two momentum oscillators) and present the result as if it were multi-factor confirmation. This script's seven factors are deliberately chosen to be diverse.
Regime-dependent weighting. The composite is not a fixed weighted average. When the market is trending, trend and momentum factors carry more weight; when ranging, exhaustion-risk carries more. This addresses the well-known problem that trend-following inputs and mean-reversion inputs should not be weighted equally in all conditions.
Sub-score divergence detection. The script tracks the maximum deviation of any sub-score from the composite. A large deviation triggers a "sub-score divergence" alert, warning the trader that the factors disagree even when the composite looks clean.
Full transparency. All weights, all thresholds, and the regime trigger levels are user inputs. No black-box.
How it works
Each bar, seven sub-scores are computed.
1. Trend score. EMA slope over a configurable lookback, normalized to 0 to 100 via min-max over a percentile window.
2. Momentum score. Rate-of-change of close over a configurable length, min-max normalized.
3. Volatility regime score. Bollinger Bandwidth percentile mapped to a discrete numeric: compressed BBW (below the lower threshold) maps to 30, expanding BBW (above the upper threshold) maps to 70, normal BBW maps to 50. A label ("Compressed", "Normal", "Expanding") is generated alongside the numeric.
4. Participation score. Volume percentile multiplied by a close-location alignment factor. For a bullish-direction reading, a close near the bar's high earns full alignment; for a bearish-direction reading, a close near the bar's low. The result is a 0 to 100 score that rewards volume and direction-consistent closes.
5. Relative strength score. The asset's return over a configurable horizon, minus the benchmark's return over the same horizon, divided by the asset's own volatility. The result is percentile-ranked over a longer lookback (default 252 bars) to produce a 0 to 100 reading. The benchmark symbol is a user input.
6. Exhaustion risk score. Distance from the trend EMA in ATR units, mapped inversely to 0 to 100 (high exhaustion gives a low exhaustion-score, which is consistent with the convention that high scores are "good" for the composite). The dashboard inverts the label so users see "Exhaustion: High" rather than "Exhaustion: 20".
7. Multi-timeframe alignment score. The trend direction (EMA-fast vs EMA-slow) is fetched at three user-configurable higher timeframes. Each HTF's agreement with the chart-timeframe direction contributes 100, 50, or 0 to the alignment score. The final factor is the average across three timeframes.
The composite is the weighted average. When regime_weighting is enabled and ADX indicates a trending regime (above the user threshold), the trend and momentum weights are multiplied by 1.5 and the exhaustion-risk weight by 0.5. When ADX indicates a range regime (below the lower threshold), the trend and momentum weights are multiplied by 0.5 and the exhaustion-risk weight by 1.5. In a "Mixed" regime, weights are unchanged.
A four-line interpretation is assigned by composite range:
75 or higher : "Constructive, multi-factor agreement"
60 to 74 : "Mixed but constructive"
40 to 59 : "Mixed โ wait for alignment"
below 40 : "Bearish or unclear"
Repainting and data integrity
All sub-scores are computed on confirmed bar values. Alerts are gated by barstate.isconfirmed. The benchmark and the three multi-timeframe trend references are fetched with request.security() using prior-bar sources together with barmerge.lookahead_on โ the standard non-repainting idiom that returns the last confirmed value from the requested context. These calls do not access future data.
How to read the chart
The composite is plotted as a line in the indicator pane, color-shifted on a red-to-green gradient based on the score.
Horizontal reference lines at 25, 50, and 75 demarcate bearish, midpoint, and bullish zones.
Sub-score plots are available but off by default to keep the pane clean. They can be enabled via input toggle.
The dashboard panel shows the direction in the header, then a row for each of the seven sub-scores (numeric or labelled), then a divider, then the composite score, then the interpretation line and the active regime.
Inputs
Inputs are grouped into seven sections.
Core Settings : trend EMA lengths and norm lookback, momentum ROC length, generic norm lookback, BB length and multiplier, ATR length, ADX length.
Relative Strength : benchmark symbol, RS return horizon, RS volatility length, RS percentile lookback.
Multi-Timeframe : three HTF inputs (default 60-minute, 240-minute, daily).
Factor Weights : a 0 to N weight for each of the seven sub-scores.
Regime Modulation : regime-weighting enable toggle, trend ADX threshold, range ADX threshold.
Visual Settings : dashboard toggle, panel position, panel size, panel background color, composite-plot toggle, sub-score-plot toggle.
Any Alert() function call conditions : per-alert toggles.
Alerts
Four alert conditions are provided:
Score โฅ 75 Bullish (composite at or above 75 with trend direction up)
Score โฅ 75 Bearish (composite at or above 75 with trend direction down)
Score Regime Flipped (composite crossed the 50 midpoint in either direction)
Sub-Score Divergence (any sub-score moves more than 30 points from the composite โ a warning that factors disagree)
Each is declared via alertcondition() and fired programmatically through alert() when the corresponding input toggle is enabled, with alert.freq_once_per_bar_close. Alert messages include {{ticker}}, {{interval}}, and {{close}} placeholders.
How to use this script
Read this indicator as your master "is the evidence stack constructive" check, not as an entry trigger.
A composite of 75 or higher with trend direction up is the suite's highest-conviction long setup; the inverse for shorts.
Read the regime cell. In a trending regime, weight your decision toward the trend and momentum sub-scores. In a range regime, weight toward exhaustion risk and relative strength.
If the dashboard shows a high composite but the "Sub-Score Divergence" alert is firing, the agreement is shallow โ investigate which factor disagrees before sizing up.
Pair with a setup-specific indicator (sweep, breakout, zone) for entry timing. This script does not give entries.
Limitations and honest caveats
The composite is a weighted heuristic combination of normalized factors, not a calibrated probability. A composite of 80 does not imply an 80% probability of any outcome.
Regime detection uses ADX, which is lagging. The regime label will not reflect a fresh regime change on the first bar.
The Relative Strength benchmark is a single symbol chosen by the user. Choosing an inappropriate benchmark (for example, comparing a small-cap stock to a crypto-currency benchmark) will produce noisy RS readings.
The three MTF references add request.security() calls. On instruments without history at those timeframes, the MTF score may be incomplete on early bars.
Composite values pin to one tail when factor weights are mis-configured. The default weights are reasonable starting values; users are expected to tune for their instrument and timeframe.
The script makes no claim about which direction price will move; it scores the evidence stack currently visible.
Disclaimer
This script is published for informational and educational purposes. It is not investment advice and is not a recommendation to buy or sell any instrument. Composite evidence scores are descriptive, not predictive. Users are solely responsible for their own trading decisions and risk management.
Penunjuk

Adaptive Trend Ribbon [Alpha Extract]A sophisticated adaptive trend-following framework that combines volatility-responsive moving averages, ribbon stack analysis, ATR-based trend rails, ADX confirmation, pullback continuation signals, and a real-time confidence dashboard into one complete market regime tool. The indicator is designed to identify bullish and bearish trend environments, filter weak conditions, highlight confirmed trend flips, and provide structured stop guidance through an adaptive ATR rail. By adjusting ribbon sensitivity based on current volatility, the system aims to stay responsive during expansion phases while remaining smoother during quieter market conditions.
๐ถ Adaptive Volatility-Based Ribbon Engine
Implements a multi-layer adaptive EMA ribbon that automatically modifies its effective moving-average lengths based on current volatility conditions. When volatility expands, the ribbon becomes more responsive by shortening its dynamic length. When volatility contracts, the ribbon lengthens to reduce noise and avoid unnecessary whipsaw.
volRatioRaw = atrAverage > 0 ? atr / atrAverage : 1.0
volRatio = clamp(volRatioRaw, 0.35, 2.75)
emaFast = adaptiveEma(src, baseFast, volRatio, adaptStrength)
This creates a trend ribbon that adapts to the market environment instead of relying on fixed moving-average behaviour across all conditions.
๐ถ Six-Layer Trend Structure
Uses six adaptive moving averages ranging from fast to anchor length to define market structure across multiple trend speeds. The ribbon includes fast, mid, slow, and anchor components, allowing traders to see whether short-term momentum is aligned with broader trend direction.
A clean bullish trend forms when the ribbon is stacked from fastest above slowest, while a clean bearish trend forms when the ribbon is stacked from fastest below slowest. Mixed ribbon conditions indicate compression, transition, or weaker directional conviction.
๐ถ Bullish & Bearish Stack Detection
Identifies strong directional alignment through full ribbon stack confirmation. Bullish stack conditions require every faster ribbon layer to sit above the slower layer beneath it, while bearish stack conditions require the opposite alignment.
This gives traders a simple way to distinguish clean trend environments from sideways or indecisive price action.
๐ถ ATR Trend Rail System
Features a built-in ATR-based trend stop that acts as the main regime rail. The rail flips direction when price breaks through the active stop level, creating a clear bullish or bearish trend state.
longCandidateStop = railBasis - atr * atrMult
shortCandidateStop = railBasis + atr * atrMult
railDirection := close < trendStop ? -1 : 1
The stop can be based on the ribbon midline, close, or HL2, giving traders flexibility in how the trend rail is anchored.
๐ถ Regime Flip Signal Logic
Generates long and short signals when the trend rail flips direction and the confirmation conditions are satisfied. A bullish signal occurs when the regime flips into bullish structure, while a bearish signal occurs when the regime flips into bearish structure.
Signals are filtered through ADX and directional movement confirmation when enabled, helping reduce low-quality flips during weak or choppy market conditions.
๐ถ ADX & Directional Movement Confirmation
Integrates ADX confirmation to measure whether the market has enough directional strength to justify a trend signal. The system also checks directional movement by comparing +DI and -DI, allowing bullish regimes to favour positive directional pressure and bearish regimes to favour negative directional pressure.
This confirmation layer helps separate true trend expansion from random price movement.
๐ถ Pullback Continuation Alerts
Includes optional pullback continuation logic designed to identify trend resumption after price interacts with the adaptive ribbon. When price pulls into the ribbon area and then closes back in the trend direction, the system can trigger continuation alerts.
This is useful for traders who prefer entering after a trend has already been established rather than only trading the initial regime flip.
๐ถ Confidence Scoring Framework
Calculates a real-time trend confidence score by combining multiple components of trend quality, including ribbon stack alignment, price position relative to the ATR rail, ADX strength, directional movement, and spread between fast and anchor ribbon layers.
The score provides a quick snapshot of how strong and confirmed the current trend environment is.
๐ถ Dynamic Trend Coloring System
Uses adaptive color logic to visually represent bullish, bearish, and neutral/mixed conditions. Candles, ribbon lines, fills, the ATR stop rail, and the status panel all update according to the current regime.
When ADX confirmation is enabled but the filter has not passed, the system fades the trend color to show that the regime exists but confirmation is weaker.
๐ถ Real-Time Status Panel
Features a compact dashboard that displays the most important trend information directly on the chart. The panel includes:
โข Current regime
โข Confidence percentage
โข Confirmation status
โข ADX value
โข Volatility ratio
โข Ribbon stack condition
โข Active stop level
This allows traders to quickly assess whether the market is bullish, bearish, filtered, mixed, or entering a stronger trend phase.
๐ถ Flexible Risk Rail Basis
Allows the ATR stop rail to be calculated from different price references depending on the traderโs preferred style. Ribbon Mid creates a smoother institutional-style trend rail, Close makes the rail more reactive, and HL2 provides a balanced price reference.
This flexibility makes the indicator suitable for both faster trend-following styles and slower swing-trend systems.
๐ถ Clean Overlay Visual Design
Displays the full adaptive ribbon directly on price with optional candle coloring, background regime shading, trend stop plotting, and signal markers. The ribbon uses layered transparency to maintain chart readability while still showing the strength and direction of the trend structure.
The result is a clean visual layout that can be used as a primary trend framework or as a confirmation layer alongside other systems.
๐ถ Comprehensive Alert System
Includes alerts for the most important trend events:
โข Adaptive Ribbon Long
โข Adaptive Ribbon Short
โข Bullish Pullback Continuation
โข Bearish Pullback Continuation
โข Long Trend Exit
โข Short Trend Exit
These alerts allow traders to monitor trend flips, pullback continuations, and invalidation events without needing to constantly watch the chart.
๐ถ Why Choose Adaptive Trend Ribbon ?
This indicator provides a complete adaptive trend-following environment by combining responsive moving-average structure, volatility-adjusted behaviour, ATR-based trend rails, ADX confirmation, continuation logic, and live confidence scoring. Instead of relying on a single moving average or fixed trend signal, it evaluates multiple layers of trend quality before confirming direction.
The adaptive ribbon helps traders understand whether the market is strongly aligned, weakening, transitioning, or mixed. The ATR rail provides a clear trend invalidation reference, while the confidence panel gives immediate context on whether the trend has enough structure and strength behind it. Perfect for trend-following traders, swing traders, momentum traders, and systematic traders who want a cleaner way to identify confirmed bullish and bearish regimes with built-in risk guidance. Penunjuk

Penunjuk

Elaris Fast Scalp ProElaris Fast Scalp Pro is a professional lower-timeframe scalping indicator designed for fast-moving markets such as crypto, forex, and indices. The indicator combines trend alignment, momentum confirmation, volatility filtering, VWAP positioning, volume strength, and higher-timeframe confirmation into a clean non-repainting scalping system.
Built specifically for aggressive intraday traders, the script focuses on identifying high-quality momentum continuation opportunities while filtering out weak or choppy conditions that commonly generate false signals on lower timeframes.
The signal engine uses:
Fast EMA reclaim logic
Trend structure filtering
RSI momentum confirmation
ADX trend-strength filtering
VWAP positioning
Volume expansion validation
ATR-based volatility quality checks
Optional higher-timeframe directional confirmation
Cooldown logic to reduce over-signaling
The indicator also includes:
Professional dashboard panel
Real-time market condition overview
Risk/reward visualization
Dynamic stop loss and take profit levels
Configurable session filtering
Long and short signal alerts
Dark and light mode compatibility
Elaris Fast Scalp Pro is optimized for:
1m / 3m / 5m / 15m charts
Crypto scalping
Fast intraday momentum trading
Session breakout continuation moves
Trend-following scalp setups
Unlike many repainting scalping systems, all signals are confirmed only after candle close, making the indicator suitable for live trading and alert automation.
Features
Non-repainting confirmed signals
Fast scalp continuation engine
Smart trend filtering
Built-in volatility protection
Volume confirmation system
Optional HTF bias filter
VWAP institutional bias filter
Risk/reward plotting
Signal quality scoring
Professional dashboard UI
Fully customizable inputs
Best Usage
The indicator performs best during active market sessions with strong momentum and healthy volatility conditions. Lower-timeframe traders may combine it with market structure, liquidity zones, or session trading concepts for additional confirmation. Penunjuk

Ichimoku Regime ClassifierIchimoku Regime Classifier is an open-source market regime filter that labels conditions as TREND UP, TREND DOWN, or VOLATILE.
This script is designed to solve a practical problem: many entries fail because traders apply the same setup in all environments.
Its purpose is to classify the current market context first, so strategy rules can be adapted to regime.
Methodology
The classifier uses Daily Ichimoku structure plus ADX trend-strength confirmation:
Bullish regime:
Price above the Kumo
ADX above threshold
Tenkan above Kijun
Chikou-style confirmation (current price vs past price)
Bearish regime:
Price below the Kumo
ADX above threshold
Tenkan below Kijun
Opposite Chikou-style confirmation
Volatile regime:
If neither bullish nor bearish set is fully confirmed
Why this combination
Ichimoku provides structural trend context, while ADX filters weak directional phases.
The combination aims to reduce false directional bias during choppy periods and keep regime logic explicit.
How to use
TREND UP: prioritize long-biased setups
TREND DOWN: prioritize short-biased setups
VOLATILE: reduce risk, be selective, or wait for structure
This indicator is intentionally minimal on-chart (single regime label) to keep output readable and unambiguous.
Limitations
Regime transitions can lag, especially after sharp reversals.
This tool is a context filter, not a standalone entry/exit system.
Open-source notice
Published as open source for transparency, review, and customization.
Educational content only. Not financial advice. Penunjuk

MTF Market State DashboardA multi-timeframe market context dashboard designed to classify market conditions using three independent analytical layers: Trend direction, Trend strength and Participation / Volume flow
Instead of relying on a single indicator or isolated signal, this script combines multiple forms of market information into a structured decision framework intended to help traders evaluate the quality and maturity of a market condition.
The goal of the dashboard is not to predict tops or bottoms, but to help identify:
โข aligned market conditions
โข conflicting conditions
โข strengthening trends
โข weakening trends
โข and low-conviction environments
Core Idea Behind The Script
Many indicators work well in certain environments and poorly in others.
For example:
โข Trend indicators may continue showing bullish conditions during weakening momentum.
โข Momentum indicators may react aggressively inside consolidations.
โข Volume indicators may show temporary spikes without broader trend confirmation.
This script was built to reduce that fragmentation by separating market behavior into three independent layers:
1. Direction
Defines where the market is currently biased.
2. Strength
Measures whether the move has enough momentum to sustain itself.
3. Participation
Evaluates whether price movement is supported by broader volume-flow behavior.
The dashboard then combines these layers into a unified market-state classification system.
What The Dashboard Tracks
1. Trend Structure Layer
The script evaluates directional bias using:
EMA 200
Used as the higher-level directional filter.
Typical interpretation:
โข Price above EMA 200 โ bullish macro bias
โข Price below EMA 200 โ bearish macro bias
EMA 50
Tracks intermediate trend behavior and shorter-term structural changes.
Supertrend
Used as a dynamic trend confirmation layer.
Unlike a static moving average, the Supertrend adapts to volatility and helps identify directional transitions more quickly.
Each trend component is displayed as:
โข BULL
โข BEAR
along with an โageโ value showing how many bars have passed since the last state change.
This allows traders to distinguish between:
โข fresh transitions
โข mature trends
โข and potentially exhausted conditions
2. Trend Strength Layer
ADX (via DMI)
ADX is used to measure trend strength, not trend direction.
Typical interpretation:
โข Low ADX โ weak or ranging environment
โข Rising / high ADX โ stronger directional environment
This distinction matters because bullish conditions inside weak trend environments often behave differently from bullish conditions inside expanding trends.
The script uses ADX as a confirmation filter inside the Market State logic.
3. Participation & Volume-Flow Layer
This layer attempts to measure whether directional movement is being supported by participation and flow behavior.
CMF (Chaikin Money Flow)
CMF estimates buying versus selling pressure by evaluating closing location relative to range and volume.
General interpretation:
โข Positive CMF โ accumulation pressure
โข Negative CMF โ distribution pressure
CDV (Cumulative Delta Volume Proxy)
Pine Script does not provide true bid/ask delta data.
This script therefore uses a candle-based directional volume proxy to estimate cumulative directional participation.
The CDV layer classifies conditions as:
โข Rising
โข Falling
โข Neutral
Adaptive filtering is included to reduce minor fluctuations and noise.
OBV Breakout Detection
The script also evaluates whether On-Balance Volume is breaking above or below recent ranges.
This is used to identify:
โข expanding participation
โข weakening participation
โข or neutral flow conditions
The OBV component is not intended as a standalone signal generator, but rather as an additional confirmation layer inside the broader market-state framework.
Market State Classification
One of the main purposes of the script is to convert multiple independent readings into a simplified market-state output.
The dashboard derives a โMarket Stateโ by combining:
โข Trend direction
โข Trend strength
โข Participation / flow confirmation
Possible classifications include:
โข Strong Bull Context
โข Bull Context
โข Mixed / Wait
โข Bear Context
โข Strong Bear Context
The classification is not predictive and should not be interpreted as financial advice.
Instead, it is intended to provide a structured summary of current market conditions.
How Market State Is Derived
The logic combines three internal scoring groups:
Trend Score
Built from:
โข EMA 200 state
โข EMA 50 state
โข Supertrend state
Participation Score
Built from:
โข CMF bias
โข CDV direction
โข OBV breakout state
Strength Filter
Built from:
โข ADX threshold validation
Example:
โข bullish trend structure
โข bullish participation
โข and strong ADX
โ may classify as โStrong Bull Contextโ
Whereas:
โข bullish trend structure
โข weak participation
โข and weak ADX
โ may classify as โMixed / Waitโ
This allows the dashboard to identify agreement and disagreement between independent analytical layers.
Multi-Timeframe Logic
The script supports:
โข single timeframe mode
โข dual timeframe mode
Typical usage example:
โข Lower timeframe โ execution context
โข Higher timeframe โ broader directional context
This allows traders to compare:
โข local conditions
โข against higher timeframe structure
without switching charts repeatedly.
Age Tracking
Each directional state includes an โageโ measurement representing the number of bars since the last directional transition.
This is included because newer transitions and older trends may behave differently.
Example:
โข Low age โ newer condition
โข High age โ more mature condition
The script does not assume older trends will reverse, but age can provide additional context about trend maturity.
Practical Interpretation
Example: Higher-Conviction Bullish Environment
Possible characteristics:
โข EMA structure bullish
โข Supertrend bullish
โข ADX elevated
โข CMF positive
โข CDV rising
โข OBV breakout bullish
This may indicate alignment between:
โข trend
โข momentum
โข and participation
Example: Mixed Environment
Possible characteristics:
โข bullish EMA structure
โข falling CDV
โข weak ADX
โข neutral OBV behavior
This may indicate:
โข weakening momentum
โข transition behavior
โข or lower-conviction conditions
Intended Usage
The script is designed as:
โข a context tool
โข a filtering framework
โข and a market-state dashboard
It is not intended to replace:
โข risk management
โข execution models
โข or broader trading plans
The dashboard is generally most useful when combined with:
โข breakout systems
โข pullback systems
โข trend-following models
โข or discretionary execution methods
Customization Options
The script includes:
โข 1TF / 2TF modes
โข configurable EMA lengths
โข Supertrend settings
โข ADX threshold controls
โข CDV sensitivity adjustment
โข OBV breakout lookback settings
โข Table themes
โข Text sizing
โข Dashboard positioning
Notes
โข CDV uses a candle-based proxy because true bid/ask delta data is unavailable in Pine Script.
โข The dashboard focuses on contextual interpretation rather than direct entry signals.
โข The Market State classification is derived from internal scoring logic and should be interpreted as a contextual summary, not a prediction engine.
Summary
This dashboard was designed to organize multiple forms of market information into a single structured framework.
Rather than treating trend, momentum, and participation separately, the script attempts to evaluate how they interact with each other across one or more timeframes.
The result is a compact market-context tool intended to help traders:
โข identify alignment
โข recognize conflict
โข filter weaker conditions
โข and evaluate overall market structure more efficiently.
Penunjuk
