Market Regime RSI MatrixMarket Regime RSI Matrix (MRM)
Market Regime RSI Matrix (MRM) is a multi-timeframe momentum and market context framework designed to transform traditional RSI analysis into a broader market regime model.
Rather than relying on a single RSI reading from the active chart timeframe, this indicator combines RSI measurements from multiple independent timeframes into a weighted composite engine called the Master RSI. It then evaluates the degree of agreement between those timeframes, estimates the persistence of the current market condition, classifies the prevailing market regime, and visualizes these relationships through adaptive momentum zones and dashboard components.
The objective of this script is not to generate isolated buy or sell signals, but to provide a structured view of how momentum is distributed throughout the market across multiple horizons.
📊 How It Works
The indicator is built around a hierarchical momentum framework composed of several interconnected modules.
Multi-Timeframe Master RSI Engine
At the core of the indicator is the Master RSI, a composite momentum value constructed from up to ten independent RSI calculations.
Each timeframe can be individually selected and assigned its own weight.
The composite value is calculated as:
Master RSI =
Σ(RSI × Weight) / Σ(Weight)
This allows shorter-term traders to emphasize lower timeframes, while swing traders can prioritize higher timeframe momentum.
Unlike traditional RSI implementations, the resulting Master RSI represents the collective behavior of multiple market participants operating on different time horizons.
🤝 Consensus Engine
Momentum strength alone does not necessarily imply broad market participation.
To address this, the script measures how many monitored timeframes agree on directional bias.
Each timeframe contributes to a bullish or bearish count according to whether its RSI is above or below the equilibrium level:
Bullish TF:
RSI ≥ 50
Bearish TF:
RSI < 50
Consensus is then calculated as:
Consensus Score =
|Bull TF − Bear TF| / Total TF × 100
Higher values indicate stronger alignment among market participants.
For example:
Consensus = 90%
9 timeframes bullish
1 timeframe bearish
suggests broad agreement across the monitored horizons.
Lower values indicate disagreement and fragmented market participation.
📈 Trend Strength Module
The indicator estimates momentum persistence by smoothing the Master RSI through two exponential moving averages:
Fast Trend EMA = EMA(Master RSI, 5)
Slow Trend EMA = EMA(Master RSI, 13)
The distance between these two curves provides an estimate of directional intensity.
Trend conditions are classified into:
• Weak
• Moderate
• Strong
• Very Strong
This framework helps distinguish between stable trends and environments where momentum lacks conviction.
🎯 Probability Engine
The Probability Engine combines several independent components into a unified score designed to estimate the persistence of the current market condition.
Inputs include:
• Consensus alignment
• Trend strength
• Master RSI positioning
• Dynamic Fibonacci context
The model aggregates these components using weighted contributions:
Probability Score =
Consensus × 40%
+ Trend Strength × 30%
+ Fibonacci Context × 20%
+ RSI Position × 10%
The resulting value is expressed as a percentage.
Higher scores indicate that the current market condition exhibits stronger internal agreement within the framework.
The Probability Score is intended as contextual information and should not be interpreted as a prediction of future price movement.
📐 Adaptive Fibonacci Momentum Zones
Instead of relying on fixed RSI thresholds such as 30 and 70, the script constructs dynamic Fibonacci zones using the observed Master RSI range.
The calculation window automatically adapts to the chart timeframe through the Adaptive Lookback Engine.
Typical lookback behavior:
Lower timeframes:
Longer observation windows
Higher timeframes:
Shorter observation windows
Standard Fibonacci ratios are then projected throughout the observed Master RSI range:
0.000
0.236
0.382
0.500
0.618
0.786
1.000
These zones serve as contextual momentum regions rather than predictive targets.
The indicator additionally estimates the corresponding price levels associated with each momentum zone, allowing users to compare momentum structure with actual price location.
🌡️ Multi-Timeframe RSI Heatmap
To improve readability, the script provides a visual heatmap displaying RSI values from every monitored timeframe.
Each row represents one timeframe and its current RSI value.
Color intensity reflects the relative position of the RSI within its momentum range, allowing users to quickly identify:
• Broad directional alignment
• Divergence between short-term and long-term momentum
• Emerging transitions in participation
The heatmap is intended to complement the Consensus Engine by providing a more granular view of internal market structure.
🧭 Market State Engine
One of the defining components of the framework is the Market State Engine.
Rather than describing conditions simply as bullish or bearish, the indicator classifies the market into five distinct regimes:
Bull Trend
Occurs when:
• Consensus is elevated
• Trend strength is positive
• Probability is high
• Master RSI maintains strong momentum
This environment suggests broad participation and directional persistence.
Bear Trend
Occurs when:
• Consensus is elevated
• Trend strength is negative
• Probability is high
• Master RSI reflects persistent downside momentum
This environment suggests coordinated selling pressure across timeframes.
Accumulation
Occurs when:
• Consensus is limited
• Probability remains subdued
• Master RSI operates below equilibrium
This condition may represent balance-building phases where directional conviction has not yet emerged.
Distribution
Occurs when:
• Consensus remains weak
• Probability remains subdued
• Master RSI operates above equilibrium
This condition may indicate loss of participation following sustained advances.
Transition
Any market environment not satisfying the criteria above is classified as Transition.
These phases often occur during regime changes, trend exhaustion, or evolving participation dynamics.
⚙️ Customization Options
Users can configure:
• Up to ten independent RSI timeframes
• Individual timeframe weights
• RSI calculation length
• Signal smoothing length
• Adaptive or manual Fibonacci lookback
• Fibonacci visualization settings
• Heatmap visibility
• Dashboard display preferences
This flexibility allows the framework to adapt to different asset classes, trading styles, and analytical objectives.
📖 How To Use
Possible applications include:
Use Consensus as a directional filter.
Higher Consensus values suggest broader market agreement.
Monitor Probability before acting on directional setups.
Increasing Probability may indicate strengthening market conditions.
Use Market State to identify the dominant regime.
Trend environments and transitional environments often require different decision-making approaches.
Observe the Heatmap for internal divergence.
Conflicting lower and higher timeframe momentum may signal weakening participation.
Use Fibonacci Momentum Zones as contextual reference areas.
These regions are intended to frame momentum behavior rather than provide precise price targets.
The indicator is designed to complement existing analytical processes and may be combined with price action, market structure, volume analysis, or individual risk management techniques.
💡 Originality
This script represents an original framework that integrates weighted multi-timeframe momentum aggregation, participation consensus measurement, adaptive momentum zoning, probability modeling, and market regime classification into a unified analytical dashboard.
Its primary innovation lies in treating RSI not as an isolated oscillator, but as a distributed representation of market participation across multiple horizons.
The combination of:
• Weighted Master RSI construction,
• Consensus-based participation analysis,
• Adaptive Fibonacci momentum zones,
• Composite probability estimation,
• Multi-timeframe heatmap visualization,
• and Market State classification,
forms a cohesive framework designed to improve contextual awareness rather than generate deterministic trading signals.
This complete implementation was developed as an integrated analytical model and is not derived from any previously published TradingView script.
⚠️ Disclaimer
This script is provided for educational and informational purposes only.
It does not constitute financial advice, investment advice, trading advice, or a recommendation to buy or sell any financial instrument.
All calculations are derived from historical market data and mathematical transformations of price behavior. Technical analysis is inherently uncertain, and past performance does not guarantee future results.
Users should conduct their own research and apply appropriate risk management before making trading decisions. Indikator

Velocity Breakout Strategy (VBS)Overview
The Velocity Breakout Strategy (VBS) is a comprehensive, institutional-grade swing trading system designed to identify high-probability momentum shifts. Rather than relying on a single lagging indicator, VBS synthesizes five distinct dimensions of market data: Macro Trend, Market Structure, Smart Money Concepts (SMC) valuation, Volatility (ATR/ADX), and Intrabar Volume Delta.
The goal of VBS is to filter out low-probability "chop" and only trigger entries when structural momentum aligns with aggressive buying volume.
Core Mechanics & Underlying Logic
1. Trend & Gradient Cloud Baseline The foundation of VBS is a multi-timeframe moving average system utilizing a Micro (9), Fast (20), and Slow (50) EMA. The relationship between the Fast and Slow EMAs paints a dynamic Gradient Cloud, instantly visualizing the macro trend.
2. Intrabar Volume Delta Estimation Standard volume tells you how much was traded, but not who was in control. VBS includes a custom Volume Delta Estimation engine. It approximates buying vs. selling pressure within a single candle by analyzing where the candle closes relative to its total high-to-low range.
The Filter: VBS can be configured to strictly block any buy signals if the current candle exhibits negative Delta (where estimated selling pressure outweighs buying pressure), preventing entries into hidden institutional distribution.
3. Smart Money Concepts (SMC) Valuation Zones VBS calculates a rolling 100-bar Dealing Range to map out institutional liquidity. It splits this range to identify "Premium" (overvalued) and "Discount" (undervalued) zones. The strategy actively looks for pullback entries (Reloads) when the asset drops into the Discount zone.
4. Volatility & Dynamic ATR Trailing Stops Risk management is handled by a responsive ATR Trailing Stop that adapts to the Average Directional Index (ADX).
During trending phases, the ATR multiplier is wide to let the trade breathe.
When the ADX detects a volatility "Squeeze" (ADX < 20), VBS dynamically tightens the ATR multiplier, protecting profits before a sudden volatile expansion occurs.
5. Master Candle Consolidation VBS scans for extreme volatility contraction using a "Master Candle" concept. If the price prints 4 consecutive bars entirely within the High/Low bounds of a previous Master Candle, the system arms a Breakout Trigger.
Entry Signals (When to Buy)
VBS generates specific, visual entry signals on the chart:
A+ Buy (Lime Triangle): A Golden Cross (20/50 EMA) occurs simultaneously with a verified Higher Low in market structure, backed by positive volume delta.
Risky Buy (Orange Triangle): A Golden Cross occurs, but the strict Higher Low market structure is not yet confirmed.
Bullish Reload (Blue Arrow): A zero-lag pullback entry. Price dips into the SMC Discount zone, touches the Fast EMA, and sweeps liquidity (long lower wick), closing with positive delta.
Consolidation Breakout (Purple Arrow): Price violently breaks the bounds of a 4-bar Master Candle consolidation in the direction of the macro trend.
Exit Strategy (When to Sell)
ATR Trail Exit (Red Down Triangle): The primary exit. Triggers when price closes below the dynamic ATR Trailing Stop.
Macro Break: A failsafe exit triggered if a Death Cross (20 EMA crossing under 50 EMA) occurs while holding a position.
The Strategy Manual: How to Use the Settings
We have built a professional-grade algorithm, which means it has "levers" designed to adapt to almost any market condition. Think of these settings as the steering wheel, gas pedal, and brakes for your strategy. Here is your complete manual on exactly what each setting does, when to change it, and how to use it.
1. Moving Averages & Trend These define the "macro environment." They tell the algorithm whether it is allowed to look for long setups or if it needs to stay out.
Micro EMA Length (Default: 9): The fast-moving trigger line. Decrease to 5 if you are scalping on a 1-minute chart. Increase to 12 if you want to ignore tiny 1-bar pullbacks.
Fast/Slow EMA Length (Default: 20/50): The core trend cloud. If you are swing trading daily charts and want to catch massive, long-term trends, change these to the traditional 50 and 200.
2. Smart Triggers & Structure This is the "Brain" of the algorithm that filters out bad setups.
Real-Time Lookback (Micro) (Default: 12): How many candles backward the script looks to verify a recent "Higher Low" was made before a crossover. If the script is missing valid entries because the pullback was long and drawn out, increase this to 20.
Pivot Lookback/Forward (Macro) (Default: 5): Purely visual. It dictates how many candles are needed to confirm the HH/LL text labels on the chart.
Require Higher Low for A+ Entry (Default: Checked): The strictest safety filter. Uncheck this if you are trading highly volatile assets (like Crypto) that often V-bottom and explode upward without stopping to form a higher low.
Max Run-up % (Chase Filter) (Default: 10.0): Stops the algorithm from buying if the price has already pumped 10% from the bottom. If you are trading Small Caps that regularly pump 30% in a single candle, you must increase this to 20 or 30.
Block Entries in Gray Chop Zone (Default: Checked): The anti-whipsaw filter. Uncheck only if you are actively trying to buy at the absolute bottom of a sideways consolidation box before the momentum officially kicks in.
3. Master Candle Consolidation Your custom logic for catching coiled breakouts.
Required Follow-up Bars (Default: 4): How many candles must get trapped inside the Master Candle. Reduce to 3 on high-timeframes (Daily/Weekly) where 4 days of resting is rare. Increase to 6 or 8 on 5-minute charts to ensure the consolidation is truly exhausted.
Use Master High/Low Bounds (Default: Checked): If unchecked, it only uses the candle body (Open to Close). Uncheck this on highly volatile, "wicky" charts where a single stray wick keeps ruining your consolidation count.
Require Bull Trend & Green ATR for Breakout (Default: Checked): Uncheck this if you want to trade "Reversal Breakouts" (buying an upward breakout before the macro trend has officially flipped bullish).
4. Smart Money Concepts (SMC) Ensures you are buying at a wholesale price.
Dealing Range Lookback (Default: 100): Decrease to 50 for faster, more aggressive zone shifting during rapid market regimes.
Require SMC Zone for Reloads (Default: Checked): Uncheck this during a raging, parabolic bull market where price never pulls back deep enough to hit the discount zone.
5. Dynamic ATR Exits (ADX Squeeze) Your trailing stop-loss manager.
Base ATR Multiplier (Trend) (Default: 3.0): Change to 2.0 for tighter risk management on large-cap stocks. Increase to 4.0 or 5.0 for highly erratic Crypto assets.
Tight ATR Multiplier (Chop) (Default: 1.5): The "choke" stop. Keep this very tight (1.0 to 1.5) to protect profits when momentum dies.
ADX Squeeze Threshold (Default: 20): Increase to 25 if you want the algorithm to aggressively lock in profits the second a trend shows minor weakness.
6. Volume Analysis & POC (Visuals)
Volume Lookback & StDev Multiplier: These dictate when the Fuchsia (Distribution) and Blue (Accumulation) diamonds appear. If you are getting too many diamond alerts, increase the Multiplier to 4.0 so it only flags true anomaly volume.
POC Profile Rows (Default: 40): Resolution of the Volume Profile calculation that draws the yellow Point of Control line. Increase to 100 for a more precise POC line. Decrease to 20 if your TradingView app is lagging.
The VBS Dashboard
The script features a built-in, non-intrusive HUD (Heads Up Display) utilizing a "Lazy-Draw" architecture to prevent memory buffer crashes. It provides a real-time readout of:
Current Macro Trend & Market Structure (HH/HL/LL/LH)
Intrabar Delta State (Positive/Negative)
Volatility State (Expanding vs. ADX Squeeze)
Current SMC Zone (Premium vs. Discount)
Real-time Stop Risk (%)
Usage & Backtesting Notes
By default, the strategy is optimized for comprehensive backtesting. It utilizes a fixed quantity size (qty=1) and allows pyramiding. This ensures the Strategy Tester captures and records the success rate of every single signal generated by the engine, providing a pure, unclouded view of the strategy's mathematical edge.
Disclaimer: VBS is an educational tool designed for analyzing market structure and volume dynamics. It does not guarantee profits. Always use proper risk management and test extensively on paper before deploying real capital.
Strategi

9 / 21 EMA Pullback Scalper | 5mEasy scalping method off the 9/21 EMA. Uses the 5 min TF. Best if only done from 9:45-15:00 time zone.
Use 9 EMA + 21 EMA on the 5m chart
Enter when price pulls back to the 9 EMA in a trending move
Only trade when 9 EMA is above 21 EMA (long) or below (short)
Simple, visual, easy to execute fast with alerts.
Element: Description
9 EMA line: Bold, colored green in bull trend / red in bear trend
21 EMA line: Same color, slightly faded
Shaded fill: Between the two EMAs — instantly shows trend strength and direction
BUY / SELL: Arrow labels at signal bars. Hover for RSI, EMA values, gap %
Stop-Loss dashed line: Drawn at the lowest low (long) or highest high (short) of the last 3 bars
Info table: Bottom-right corner — live trend, 9 EMA, 21 EMA, RSI, gap %
RSI Filter Blocks longs above 70, shorts below 30
EMA Gap Filter Requires minimum 0.05% spread between EMAs — kills signals in sideways chop
Cooldown Minimum 5 bars between same-direction signals — stops cluster spam Indikator

Indikator

Indikator

Daily EMA Stack 10/21/50/100/200Daily EMA Stack 10/21/50/100/200
A clean multi-timeframe EMA overlay that displays the 10, 21, 50, 100, and 200 Daily EMAs on any chart timeframe.
Unlike standard moving averages that recalculate based on the current chart interval, this indicator anchors all calculations to the Daily timeframe. Whether you're viewing a 1-minute, 5-minute, hourly, daily, or weekly chart, the displayed EMAs remain the true Daily EMAs.
Features:
• 10, 21, 50, 100, and 200 Daily EMAs
• One-click visibility instead of managing multiple indicators
• Individual EMA on/off controls
• Consistent Daily EMA levels across all timeframes
• Color-coded for quick identification
• Lightweight and uncluttered design
EMA Colors:
10 EMA – Red
21 EMA – Orange
50 EMA – Green
100 EMA – Cyan
200 EMA – Purple
Designed for momentum, swing, and growth traders who use Daily moving averages for trend analysis while executing on lower timeframes.
Indikator

Strategi

Multiple MA Dashboard [PUCHON]📊 Multiple MA Dashboard
The Multiple MA Dashboard plots up to 5 moving averages of a chosen type (EMA, SMA, WMA, or RMA) directly on your chart and summarizes their relationship to price in a clean, real-time table. Instead of eyeballing where price sits relative to each average, this indicator gives you an instant Up/Down read and the exact percentage distance for every MA.
✨ Features:
- 📈 5 Configurable Moving Averages: Set independent lengths (defaults: 10, 20, 50, 100, 200) sharing one MA type and source.
- 🔁 Switchable MA Type: Choose between EMA, SMA, WMA, and RMA from a single dropdown — all 5 lines update together.
- 📋 Live Dashboard Table: Displays each MA's label, trend direction (Up/Down), and percentage distance from price, refreshed on the latest bar.
- 🎨 Dynamic Trend Coloring: Lines, fills, and table text automatically switch between your chosen "Up" and "Down" colors based on whether price is above or below each MA.
- 🌈 Price-to-MA Fill Zones: Shaded regions between price and each MA make the gap easy to see at a glance.
- ⚙️ Fully Customizable: Adjust MA lengths, source, dashboard position, text size, and theme colors to fit your setup.
🧮 Calculation Logic:
The core getMa function selects the moving average algorithm based on the user's choice, while each MA's color and table row are derived from a simple comparison between price and that MA.
getMa(simple string type, series float src, simple int len) =>
switch type
"EMA" => ta.ema(src, len)
"SMA" => ta.sma(src, len)
"WMA" => ta.wma(src, len)
"RMA" => ta.rma(src, len)
=> ta.ema(src, len)
💡 Interpretation:
- 🟢 Up (price > MA): Price is trading above the average — shown in your "Up Trend" color with a positive % distance.
- 🔴 Down (price < MA): Price is trading below the average — shown in your "Down Trend" color with a negative % distance.
- 📏 % Change: The percentage gap between price and each MA, useful for gauging how stretched or compressed price is relative to that average.
⚠️ Disclaimer:
This tool is provided for educational and informational purposes only. It does not constitute financial advice and does not guarantee future performance. Always combine it with your own analysis and proper risk management. Indikator

Fusion EMA Trend Trade PlannerFusion EMA Trend Trade Planner
Back to basics.
This tool was built for traders who want a cleaner way to read trend direction, avoid messy chop, and plan risk before entering a trade.
Instead of filling the chart with separate tools for trend, confirmation, filtering, and risk levels, this script combines those steps into one simple workflow.
The goal is not to predict the future.
The goal is to answer four basic questions:
• Is the market trending?
• Is the trend clean or messy?
• Does the broader context support the move?
• Where would entry, stop loss, and take profit levels sit?
━━━━━━━━━━━━━━━━━━━━
🔹 Core Idea
━━━━━━━━━━━━━━━━━━━━
Fusion EMA Trend Trade Planner is built around a simple trend-following process:
1. Find clean EMA structure.
2. Check the 21-period Basis Cloud.
3. Use optional filters if extra confirmation is wanted.
4. Plot a simple risk/reward trade plan.
5. Watch for trend deterioration.
━━━━━━━━━━━━━━━━━━━━
🔹 Fusion EMA Structure
━━━━━━━━━━━━━━━━━━━━
The main trend engine uses four exponential moving averages.
A bullish trend is shown when the EMAs are stacked cleanly:
Fast EMA > Medium EMA > Slow EMA > Anchor EMA
A bearish trend is shown when the EMAs are stacked the opposite way:
Fast EMA < Medium EMA < Slow EMA < Anchor EMA
This is different from a basic two-line crossover.
A single moving average can show direction, but a stacked EMA structure can show both direction and trend quality.
When the EMAs are separated and aligned, the trend structure is cleaner.
When the EMAs compress or cross, the market may be losing structure.
When the structure is mixed, candles can turn grey. This is a visual warning that the trend is no longer clean.
━━━━━━━━━━━━━━━━━━━━
🔹 Fusion Ribbon
━━━━━━━━━━━━━━━━━━━━
The ribbon shows the relationship between the four EMAs.
When the ribbon is clean and expanded, trend structure is stronger.
When the ribbon compresses or turns grey, the market may be entering chop, transition, or weak trend conditions.
This makes it easier for newer traders to visually separate:
• Clean trend
• Weak trend
• Choppy market
━━━━━━━━━━━━━━━━━━━━
🔹 21-Period Basis Cloud
━━━━━━━━━━━━━━━━━━━━
The Basis Cloud is built around a smoothed 21-period basis average.
The number 21 was chosen because it is a Fibonacci number commonly used by trend traders as an intermediate market rhythm.
The cloud also uses a shorter reference average to create a layered visual zone around the basis.
The Basis Cloud is not designed as a simple crossover signal.
Its job is to act as a directional context layer.
In simple terms:
• Green cloud = basis direction is rising
• Red cloud = basis direction is falling
The Fusion EMA Structure and Basis Cloud are calculated separately.
This means traders can compare two different views of the market:
• EMA trend structure
• 21-period basis direction
When both agree, the setup has cleaner directional context.
When they disagree, conditions may be weaker or less clear.
━━━━━━━━━━━━━━━━━━━━
🔹 Higher Timeframe Filter
━━━━━━━━━━━━━━━━━━━━
An optional higher timeframe Fusion EMA can be used for extra context.
This helps traders avoid taking setups that go directly against broader trend structure.
For example:
• Current chart is bullish
• Higher timeframe is also bullish
• Setup has better alignment
This does not guarantee success, but it helps keep trades in line with the bigger picture.
━━━━━━━━━━━━━━━━━━━━
🔹 Optional Quality Filter
━━━━━━━━━━━━━━━━━━━━
The script includes an optional Quality Filter for traders who prefer additional confirmation.
By default, the indicator focuses on Fusion EMA Structure, Basis Cloud direction, and Trade Planning.
For traders who want a more selective approach, the Quality Filter can be enabled to evaluate:
• EMA ribbon expansion
• Price position relative to the Basis Cloud
• Higher timeframe agreement
• ADX trend strength
The filter is not intended to predict win rates or assign confidence scores.
Its purpose is simply to reduce participation during weaker trend conditions.
Many traders may prefer to leave the filter disabled and use Fusion EMA Structure and Basis Cloud alignment alone.
━━━━━━━━━━━━━━━━━━━━
🔹 Trade Planner
━━━━━━━━━━━━━━━━━━━━
When a valid setup appears, the script can draw a full trade plan:
• Entry
• Stop Loss
• TP1
• TP2
• TP3
Stop loss can be calculated using:
• ATR-based stop
• Percentage-based stop
Take-profit levels are based on adjustable risk/reward values.
This helps traders see the risk before entering instead of chasing candles blindly.
The Trade Planner is a visual planning tool only. It does not place trades automatically.
━━━━━━━━━━━━━━━━━━━━
🔹 Grey Exit Marker
━━━━━━━━━━━━━━━━━━━━
If a trade is active and the EMA structure turns grey, the script can print a small X marker.
This means the original clean trend structure has weakened.
It does not mean price must reverse.
It simply means the condition that created the trade setup is no longer clean.
━━━━━━━━━━━━━━━━━━━━
🔹 Suggested Workflow
━━━━━━━━━━━━━━━━━━━━
For a bullish setup:
1. Wait for green candle structure.
2. Check that the ribbon is clean.
3. Check that price is above the Basis Cloud.
4. Use the optional Quality Filter if you want extra confirmation.
5. Use the Trade Planner to review entry, stop loss, and targets.
6. Watch for grey candles or exit markers.
For a bearish setup:
1. Wait for red candle structure.
2. Check that the ribbon is clean.
3. Check that price is below the Basis Cloud.
4. Use the optional Quality Filter if you want extra confirmation.
5. Use the Trade Planner to review entry, stop loss, and targets.
6. Watch for grey candles or exit markers.
━━━━━━━━━━━━━━━━━━━━
🔹 Originality
━━━━━━━━━━━━━━━━━━━━
This script was designed as a complete trend-following workflow, not as a random collection of indicators.
The goal of this script was not to merge unrelated indicators into a single chart.
Each component was selected to perform a specific role within the workflow:
• Fusion EMA Structure identifies trend alignment.
• Fusion Ribbon visualizes trend quality.
• 21-Period Basis Cloud provides directional context.
• Optional Quality Filter helps reduce participation during weaker conditions.
• Trade Planner converts trend conditions into predefined risk levels.
• Grey Exit Marker highlights trend deterioration.
Together, these components form a single trend-analysis and trade-planning process rather than functioning as separate standalone indicators.
The purpose is to move from trend reading to trade planning in one clean process.
━━━━━━━━━━━━━━━━━━━━
🔹 Important Notes
━━━━━━━━━━━━━━━━━━━━
This indicator does not:
• Predict future price movement
• Guarantee profitable trades
• Estimate win probability
• Replace risk management
• Call every top or bottom
It is designed to help traders identify cleaner trend conditions and plan trades more consistently.
Simple idea:
Find the trend.
Check the structure.
Plan the risk.
Do not chase messy candles. Indikator

AI Source Switching Moving Average (Zeiierman)█ Overview
The AI Source Switching Moving Average is an adaptive price-selection and trend intelligence system that combines historical analog recognition, machine learning classification, neural learning, feature optimization, dynamic source selection, and AI-driven trend management into a single framework.
Rather than calculating a moving average from a fixed source such as Close, Open, High, or Low, the indicator continuously evaluates which price source currently contains the most useful market information.
The script transforms each OHLC source into a multi-dimensional feature space, stores historical behavior, searches for similar historical environments, and allows those analogs to vote on which source currently provides the highest predictive value.
An adaptive feature-weighting engine continuously learns which characteristics best separate bullish and bearish conditions, while an online neural model adds a second layer of directional intelligence.
█ Why Is This One Unique
Most moving averages are static.
You select a source:
• Close
• Open
• High
• Low
Then the moving average simply smooths that source. This indicator does something fundamentally different.
Instead of assuming one source is always optimal, it continuously evaluates all four OHLC streams and determines which source currently contains the strongest information based on historical behavior.
The indicator effectively asks:
"Which price source has historically produced the best outcome under conditions most similar to the current market?"
That selected source then becomes the input for the moving average and AI Supertrend. This transforms a traditional moving average into a dynamic source-selection engine.
█ How It Works
⚪ Builds Multi-Dimensional OHLC Features
The model does not analyze raw prices directly.
Each OHLC source is transformed into a behavioral fingerprint consisting of:
• Trend Structure
• Mean-Reversion State
• Momentum
• Volatility Profile
• Range Position
• Price Slope
Every source becomes its own market state representation.
oT = featTrend(open, atrNow)
oM = featMean(open)
oMo = featMomentum(open)
oV = featVol(open)
oR = featRange(open)
oS = featSlope(open, atrNow)
The same feature process is applied to High, Low, and Close.
hT = featTrend(high, atrNow)
lT = featTrend(low, atrNow)
cT = featTrend(close, atrNow)
Instead of asking:
"Where is price?"
The model asks:
"How is this source behaving?"
⚪ Creates A Historical Memory Bank
Every confirmed bar is stored together with:
• Source feature state
• Future market outcome
• Volatility-normalized labels
This becomes the learning dataset.
moveFwd = close - close
bandFwd = learnAtrFactor * atrNow
outcome = moveFwd > 2 * bandFwd ? 3 :
moveFwd > bandFwd ? 2 :
moveFwd > 0 ? 1 :
moveFwd < -2 * bandFwd ? -3 :
moveFwd < -bandFwd ? -2 :
moveFwd < 0 ? -1 : 0
Each stored row contains the feature snapshot plus the outcome label.
rowO = makeRow(oT , oM , oMo , oV , oR , oS , outcome)
Each confirmed observation becomes a real historical example the model can reference later.
if barstate.isconfirmed and bar_index > horizonBars + 120
if validO
addBank(bankO, rowO, memoryDepth)
addBank(bankAll, rowO, memoryDepth * 4)
⚪ Uses Historical Analog Matching
Once enough data has been collected, the model begins searching for historical situations that resemble current conditions.
Similarity is measured using a compressed Lorentzian-style distance function:
compress(d) =>
math.log(1.0 + math.abs(d))
The gap between the current feature state and each historical row is then calculated across all features.
gapTo(t, m, mo, v, r, s, array row) =>
wT * compress(t - row.get(0)) +
wM * compress(m - row.get(1)) +
wMo * compress(mo - row.get(2)) +
wV * compress(v - row.get(3)) +
wR * compress(r - row.get(4)) +
wS * compress(s - row.get(5))
This helps reduce outlier influence and prevents any single feature from dominating the comparison process.
The goal is not to find identical charts. The goal is to find historically similar market environments.
⚪ Let Historical Analogs Vote
After finding the closest historical examples, the model allows them to vote.
Closer analogs receive greater influence. More distant analogs contribute less.
wg = 1.0 / (1.0 + g)
score += cls * wg
bull += cls > 0 ? wg : 0.0
bear += cls < 0 ? wg : 0.0
The weighted voting system produces:
• Analog Score
• Directional Bias
• Agreement Fraction
• Similarity Tightness
• Market Conviction
analog = total > 0 ? score / total : 0.0
dir = analog > 0.15 ? 1 : analog < -0.15 ? -1 : 0
agree = total > 0 ? (dir == 1 ? bull : dir == -1 ? bear : 0.0) / total : 0.0
tight = clamp(1.0 - avgGap / gapScale, 0.0, 1.0)
This creates a probabilistic ranking system rather than a binary signal engine.
⚪ Auto-Optimizes Feature Importance
Different markets reward different behaviors.
A feature that is extremely predictive today may become less useful tomorrow. The indicator solves this problem using adaptive Fisher-discriminant optimization.
The engine continuously measures which features best separate bullish outcomes from bearish outcomes.
f = math.pow(meanB - meanS, 2) / (varB + varS + 0.000001)
• Features with higher predictive value receive larger weights.
• Features with lower predictive value gradually lose influence.
norm = maxF > 0 ? fish.get(j) / maxF : 1.0
imp.set(j, math.max(floor, norm * 8.0))
The optimized weights are smoothed over time.
wAuto.set(j, prev + fisherSpeed * (wRaw.get(j) - prev))
This allows the model to adapt automatically without requiring manual optimization.
⚪ Adds Neural Learning
Beyond analog classification, the indicator includes an online neural learning layer.
The neural model continuously updates itself using confirmed market outcomes and adjusts internal directional bias over time.
neuralScore(t, m, mo, v, r, s) =>
nt * t + nm * m + nmo * mo + nv * v + nr * r + ns * s + nb
The neural layer evaluates:
• Trend Structure
• Mean Reversion
• Momentum
• Volatility
• Range Position
• Slope Behavior
Training is performed using an Adam-style optimizer.
adam(weight, grad, mom, vel, step) =>
newMom = beta1 * mom + (1.0 - beta1) * grad
newVel = beta2 * vel + (1.0 - beta2) * grad * grad
mHat = newMom / (1.0 - math.pow(beta1, step))
vHat = newVel / (1.0 - math.pow(beta2, step))
newWeight = weight - learnRate * mHat / (math.sqrt(vHat) + eps)
This creates a second intelligence layer that works alongside the analog engine.
⚪ Ranks All Four Sources
Every bar receives independent scores for:
• Open
• High
• Low
• Close
rO = rankSource(oT, oM, oMo, oV, oR, oS, oAnalog, oAgree, oTight, oK)
rH = rankSource(hT, hM, hMo, hV, hR, hS, hAnalog, hAgree, hTight, hK)
rL = rankSource(lT, lM, lMo, lV, lR, lS, lAnalog, lAgree, lTight, lK)
rC = rankSource(cT, cM, cMo, cV, cR, cS, cAnalog, cAgree, cTight, cK)
The ranking combines:
• Analog Classification Strength
• Historical Agreement
• Similarity Quality
• Feature Separation
• Neural Confidence
rankSource(t, m, mo, v, r, s, analog, agree, tight, k) =>
neural = useNeural ? neuralScore(t, m, mo, v, r, s) : 0.0
directional = math.abs(analog) / 3.0
raw = directional * 0.35 + agree * 0.25 + tight * 0.20 + normScore(neural) * neuralInfluence + (k >= kNeighbors ? 0.10 : 0.0)
clamp(raw, 0.0, 1.0)
The highest-ranked source becomes the active source for both the moving average and Supertrend.
bestId = safeRO >= safeRH and safeRO >= safeRL and safeRO >= safeRC ? 0 :
safeRH >= safeRL and safeRH >= safeRC ? 1 :
safeRL >= safeRC ? 2 : 3
This means the indicator can dynamically switch between Open, High, Low, and Close depending on which source currently demonstrates the strongest historical edge.
⚪ Builds An Adaptive AI Moving Average
After selecting the best source, the indicator calculates a moving average using that dynamically chosen input.
hardSrc = bestId == 0 ? open :
bestId == 1 ? high :
bestId == 2 ? low : close
The selected source is then smoothed and passed into the moving-average engine.
aiSourceRaw = hardSrc
aiSource = ta.ema(aiSourceRaw, srcSmoothLen)
aiMA = ma(aiSource, maLen, maType)
Unlike traditional averages that remain tied to a fixed source, the AI MA continuously adapts to changing market conditions.
The result is a smoother and more context-aware trend representation.
█ Main Weakness
The indicator is not deep learning.
It does not train a large neural network.
Instead, it operates as an online analog classifier enhanced by adaptive feature weighting and lightweight neural optimization.
Because it learns from historical analogs, performance can vary depending on:
• Symbol
• Timeframe
• Market Regime
• Memory Depth
• Feature Configuration
• Learning Horizon
As with all adaptive systems, historical similarity does not guarantee future outcomes.
█ How To Use
⚪ Reading The AI Moving Average
• Rising average = bullish conditions dominate.
• Falling average = bearish conditions dominate.
• Strong slope = stronger trend conviction.
• Flat slope = weaker directional conviction.
The AI Moving Average can be used much like a traditional moving average, but with the added benefit of dynamic source selection.
Use it for:
• Identifying trend direction
• Spotting trend changes
• Confirming momentum shifts
• Dynamic support and resistance analysis
• Pullback and retest opportunities
• Trend continuation setups
In bullish conditions , traders may look for price to remain above the moving average and use pullbacks into the average as potential continuation zones.
In bearish conditions , traders may look for price to remain below the moving average and use rallies into the average as potential resistance areas.
⚪ Reading The AI Supertrend
The AI Supertrend acts as:
• Trend Filter
• Dynamic Trailing Stop
• Market Structure Guide
• Bullish flips indicate positive trend conditions.
• Bearish flips indicate negative trend conditions.
Because the band width adapts to model confidence, trend changes become more responsive during strong conditions and more tolerant during weak conditions.
Use the AI Supertrend for:
• Trend confirmation
• Trade management
• Trailing stop placement
• Exit planning
• Market structure analysis
• Trend-following systems
Many traders may choose to remain long while price stays above the bullish trail and remain short while price stays below the bearish trail.
The Supertrend can also be used as a dynamic stop-loss framework, allowing positions additional room during uncertain conditions while tightening risk management when the AI model detects stronger directional conviction.
█ Settings
MA Type: Selects the moving average formula used after source selection.
MA Length: Controls the smoothing period of the AI moving average.
AI Source Smoothing: Smooths source transitions after source switching.
Memory Depth: Controls how many historical examples are stored.
Analog Count: Controls how many historical analogs participate in voting.
Learning Horizon: Controls how far ahead outcomes are evaluated.
Analog Spacing: Controls sampling diversity within the memory bank.
Learning Sensitivity × ATR: Controls how future outcomes are classified.
Use Neural Online Training: Enables the adaptive neural learning layer.
Neural Influence: Controls neural contribution to source ranking.
Learning Rate: Controls neural adaptation speed.
Huber Delta: Controls error sensitivity during training.
Auto Optimize Feature Weights: Enables adaptive feature importance learning.
Adaptation Speed: Controls weight adjustment speed.
Weight Floor: Sets minimum feature influence.
Minimum Rows: Controls when Fisher optimization becomes active.
Show AI Supertrend: Displays the adaptive trail.
ATR Length: Controls volatility measurement.
ATR Multiplier: Controls trail width.
AI Band Adaptivity: Controls AI influence over trail width.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Indikator

Skew MTF TrendMulti-timeframe trend structure at a glance.
Three fully configurable timeframes on one chart every average colored by its native timeframe's trend state: green above, red below, gray neutral.
Main Timeframe (default 4H)
EMAs 21, 50, 100, 200. A ribbon fills between the 21/50/100 — green when bull-stacked, red when bear-stacked, gray when mixed.
HTF 1 (default Daily)
EMAs 50 and 200 with trend coloring.
HTF 2 (default Weekly)
EMAs 21, 50, 200 and SMA 200 with trend coloring.
All three timeframes can be changed to any combination. Linewidth scales by layer (Main: 2, HTF 1: 3, HTF 2: 4) for instant visual separation. Master toggles show/hide each timeframe with one click. Every period and line is independently configurable.
Trend Table
A compact table in the bottom right reads trend state per timeframe using the 50 EMA and 200 EMA:
▲ Green — price above both the 50 EMA and 200 EMA (uptrend)
▼ Red — price below both the 50 EMA and 200 EMA (downtrend)
● Gray — price between the 50 and 200, or mixed (pending)
The table dynamically displays each selected timeframe, updating automatically when settings change.
Trading with it
The 50 EMA is the key level that defines the trend. The 200 EMA is the level you trade into.
Uptrend — Price holds the 50 EMA as support, table showing ▲. Dips into the 50 EMA and the ribbon are buying opportunities. If price dips deeper, the 200 EMA is the next level to bid — the last line of trend defense.
Downtrend — Price rejects the 50 EMA as resistance, table showing ▼. Rips into the 50 EMA and the ribbon are selling opportunities. The 200 EMA above is the level to sell into on deeper retracements.
Chop — Price is caught between the 50 and 200, table showing ● on one or more timeframes. Neither side has control. Reduce size or sit flat until the 50 EMA cleanly holds or rejects.
When all three timeframes agree, the trend is strong. When they disagree, conditions are transitional. Indikator

P-EMA 21-52 (2026)
🇬🇧 ENGLISH VERSION
Description: Quantitative Price Action with Dynamic EMA Trend Filtering
This indicator is a high-probability, algorithmic multi-pattern recognition system designed to eliminate market noise and pinpoint high-reward bullish reversals. Instead of relying blindly on traditional candlestick formations—which often lead to false signals in volatile or sideways regimes—this tool pairs core price action geometry with strict institutional momentum and trend filters.
🛡️ Core Architecture & Technical Mechanics
The indicator operates on a layered validation matrix where a trade signal must satisfy three distinct market dimensions before firing:
The Structural Trend Filter (EMA 21/52 Cross):
The Exponential Moving Average (EMA) 21 and 52 cross serves as the foundational directional anchor. The space below the short-to-medium-term trend defines the "Value Zone." By enforcing pattern identification primarily when the asset is undervalued relative to its recent average (under the dynamic EMAs) or during specific macro oversold pullbacks, the indicator completely ignores low-probability setups in exhausted bull markets.
The Quantitative Price Action Matrix:
The indicator scans for four premium bullish reversal setups using normalized mathematical thresholds rather than fixed tick/pips distances:
Morning Star (SY): A comprehensive three-bar structural exhaustion pattern that marks the definitive handover from sellers to buyers.
Hammer (Ç): A classic liquidity raid signature where the bottom shadow is at least twice the size of the body, indicating immediate buy-side absorption.
Bullish Engulfing (YB): A powerful momentum manifestation where the current green candle’s body completely swallows the previous bearish range.
Inverted Hammer (TÇ): A tactical entry indicating that buyers have initiated an aggressive upward test, trapping late shorters at the absolute lows.
The Power Confirmation Filters:
To guarantee institutional backing, signals are backed by a volume breakout filter (Volume Spread Analysis) confirming real capital inflow, alongside an RSI-14 momentum validation to ensure entry occurs at a deep relative discount.
🎯 Minimalism & User Experience
Designed specifically for professional chart clarity, this indicator rejects large, distracting shapes and emoji overlays. Signals are displayed as ultra-clean, color-coded minimalist dots underneath the specific bar, accompanied by a localized acronym (SY, Ç, YB, TÇ). This allows traders to run multi-timeframe analysis without cluttering their workspaces. Indikator

Indikator

EMA Horizon█ OVERVIEW
The EMA Horizon indicator offers a modern, structural upgrade to the classic Exponential Moving Average. While standard EMAs are indispensable tools for trend identification, they inherently suffer from "live candle blindness" —flickering wildly on the current unclosed bar and causing traders to miss critical intraday touches or fall into false breakout traps.
EMA Horizon solves this by calculating an immediate forward-looking volatility corridor based on the asset's actual physical extremes (High/Low), anchored tightly to its closing history. It provides an unchanging, reliable boundary range for the current candle asset space, allowing traders to see exactly where the EMA would be pushed under extreme conditions.
---
█ THE PROBLEM WITH STANDARD EMAs
A standard EMA updates continuously based on the live ticking close . During highly volatile periods, the indicator line bends and flexes dramatically inside the current bar. This real-time distortion creates two major issues:
The Flicker Trap: Price can spike out of an EMA zone and snap back before the candle closes, leaving no historical trace of the breach and causing missed execution opportunities.
Lagging Boundaries: Standard bands (like envelopes or Keltner channels) look backward at historical averages. They fail to tell you how a single massive, aggressive live expansion bar will mathematically impact the underlying moving average trend line right now.
---
█ THE SOLUTION & MECHANICAL EDGE
EMA Horizon does not simply calculate an EMA of all Highs or all Lows (which smoothly degrades accuracy over time). Instead, it preserves the integrity of pure historical closing prices up to the immediate moment.
From that clean historical baseline, it executes a "one-off" look-ahead calculation: it processes the current candle's High and Low as if they were the immediate next closing prices .
The High Band shows the ultimate ceiling the EMA could reach on the next step.
The Low Band shows the absolute floor the EMA could drop to on the next step.
By utilizing the built-in Bands Offset parameter, you can shift this entire calculation forward across your timeline. When shifted, the boundaries sitting under your live candle are locked—derived entirely from the previous candle's completed structure. This eliminates real-time repainting and gives you an unshakeable roadmap for price interaction.
---
█ FEATURES
Pure History Anchoring: The base EMA line relies strictly on closing prices, ensuring your core trend logic remains untainted by extreme wicks.
Next-Bar Step Simulation: Dynamically maps out the mathematical limits of the moving average based on immediate price expansion boundaries.
Global Visual Alignment: The script features a unique global offset parameter that shifts both the baseline EMA and its projection bands uniformly. This completely avoids visual distortion and allows you to perfectly map historical structures without losing physical perspective.
---
█ HOW TO USE
Add to Chart: Search for "EMA Horizon" in your TradingView indicator panel and apply it.
Configure your Length: Adjust the Length input to match your primary trend tracking asset class (e.g., 9 for short-term momentum, 21 or 50 for structural trends).
Set your Offset Look:
Set Bands Offset to 0 to observe the real-time maximum range expansion matching the current candle's high/low.
Set Bands Offset to 1 to push the indicator one bar to the right. This allows you to track how the current live asset price responds to the locked, unchangeable projection generated by the previous closed bar.
Identify True Deviations: Watch for instances where a candle aggressively drives through the green horizon cloud. If the asset price slices cleanly past the projected bands, it indicates an exhaustion phase or an institutional velocity breakout that goes beyond standard mathematical trend boundaries.
Indikator

Indikator

EMA Trend Dash Board by [Itto Ryu]# EMA Trend Dash Board — Trend stage classifier on a 5-EMA stack
A pure-EMA trend dashboard. Five exponential moving averages (10/20/50/100/200)
plus three derived signals — stack alignment, EMA50 slope, and the fast-vs-trend
gap — classify the market into one of four trend stages: ACCEL → MATURE → DECEL
→ REVERSAL. A 0-to-100 Bull/Bear score and a state-machine VERDICT row summarise
all of it in a single glance.
## What's different from a generic EMA ribbon
Most EMA-ribbon scripts only colour the EMAs. This one adds:
1. **Stage classification** — instead of "trending vs ranging", the script tells
you *where in the trend you are*. Stage 1 (ACCEL) is for adds; Stage 3 (DECEL)
warns to trim; Stage 4 (REVERSAL) tells you the stack has lost alignment.
2. **Bull/Bear score (0–100)** — composed of:
- Price-above-EMA: 8 pts each (max 40)
- Stack-pair ordering: 10 pts each (max 40)
- Trend-EMA slope direction: 10 pts
- Gap expansion (only when stack aligned): 10 pts
3. **Verdict state machine** — combines stage + score into one action label
(STRONG SETUP, SIGNAL CLEAR, TREND ACCEL, EASE, WATCH, EXIT, ...).
## Defaults (and why)
| Input | Default | Reasoning |
|---|---|---|
| EMA lengths | 10 / 20 / 50 / 100 / 200 | Classic Stan Weinstein / Mark Minervini ladder |
| Slope/Gap lookback | 5 bars | Catches turns without over-smoothing on intraday |
| Slope flat threshold | 0.1% | Below this magnitude the trend EMA is treated as flat — avoids false up/down on chop |
| Gap expansion threshold | 0.05% | Min change in |gap| to count as expanding/compressing |
| Dashboard | top_right, normal | Standard placement; tiny/small for low-res screens |
## Visual elements
| Element | Meaning |
|---|---|
| 5 EMA lines | EMA 1 (fast, yellow) → EMA 5 (long, slate). EMA 3 (Trend, pink) drawn thicker as the slope reference |
| Fast-Trend fill | Green when EMA1 > EMA3, red otherwise. Quick visual on momentum direction |
| Right-edge labels | EMA name tags at the latest bar |
| Dashboard | Trend / EMA Stack / Trend Dynamics / Scoring / Signal / Verdict sections |
## Who this is for
- Trend-following swing traders who already use EMA stacks but want a state read-out
- Discretionary traders who want a "what stage am I in?" check without staring at the chart
- Anyone replacing 3-4 separate EMA indicators with one consolidated dashboard
## Who this is NOT for
- Pure mean-reversion / range traders — EMAs are the wrong tool
- Tick scalpers — the stage/gap thresholds are tuned for swing+intraday, not sub-minute
- Anyone needing entry/exit signals automated — this is a *read-out*, not a strategy
## How to use
1. Apply on standard candle chart, any timeframe (works best 15m → Daily)
2. Read the **Stage** row first — that's your context
3. Cross-check with **Verdict** row — that's your action
4. The Bull/Bear bars give a confidence reading; the SIGNAL row gives the discrete label
5. Configure alerts on STRONG Long/Short or Stack Broken for hands-off monitoring
## Common mistakes
- **Entering on Stage 4 just because Verdict says STRONG SETUP** — Stage 4 = stack lost alignment, by design it forces a re-check. Wait for re-alignment.
- **Reading dashboard on Heikin Ashi** — EMAs are calculated on HA close (a smoothed value), not real close. Numbers will not match a standard-chart EMA. Use standard candles for the dashboard.
- **Tuning EMA lengths for one symbol and assuming portability** — re-test on each instrument; trend EMAs are regime-dependent.
## Disclosure
- **Pine version**: v6
- **Repaint**: NO — all calculations use confirmed-bar data. Dashboard and right-edge labels refresh on the last bar (cosmetic only) and do not modify historical bars.
- **Lookahead**: NONE — no `request.security` calls.
- **Chart type**: Designed for standard candle charts. On Heikin Ashi / Renko / Range / PnF / Kagi the EMA values are calculated against the chart's synthetic close and will not match a standard-chart EMA.
- **Originality**: Generic 5-EMA inputs; novel additions are the Stage classifier, Bull/Bear scoring weights, and Verdict state machine.
- **Predecessor**: Extracted from the author's earlier "Ichimoku Trend Dash Board" (Ichimoku + EMA combined). This EMA-only variant strips Ichimoku, ADX, RSI, MACD, and SL/TP logic for a focused trend-stage read.
## Disclaimer
For educational purposes only. Not financial advice. Trading involves
substantial risk of loss — past performance does not guarantee future results.
You are solely responsible for your own trading decisions. Script provided
"as is" with no warranty; author is not liable for any losses. Indikator

Indikator

Traq APEX EMA System + ConfluenceFull Description:
Traq APEX EMA System + Confluence is a discretionary trading indicator designed to evaluate trend pullbacks using a combination of EMA structure, market structure, liquidity context, and risk-reference levels.
The script is built around the idea that an EMA pullback signal is more useful when it occurs in the presence of supporting structure. Instead of treating an EMA rejection alone as a trade signal, the script checks whether additional conditions are present, such as recent break of structure, internal liquidity sweeps, active fair value gap retests, higher-timeframe EMA alignment, session context, VWAP direction, and previous day/week liquidity levels.
Main Components
EMA Ribbon and Bias
The script plots an EMA ribbon using multiple moving averages. The ribbon is used to evaluate trend structure, compression, expansion, and pullback location. A separate bias EMA is used to judge broader directional context. The script can optionally require the price to agree with the bias EMA and can also require the bias EMA slope to support the trade direction.
Higher-Timeframe EMA Context
The indicator includes two configurable higher-timeframe EMA states. By default, these use the last closed higher-timeframe candle to avoid live higher-timeframe flicker. Users can choose between “No Opposition” and “Strict Alignment” modes.
“No Opposition” allows neutral higher-timeframe conditions but blocks signals when the selected higher timeframes oppose the trade direction. “Strict Alignment” requires both selected higher timeframes to align.
Pullback Signal Engine
The Traq APEX signal engine looks for pullbacks into the EMA ribbon followed by a rejection candle. Users can choose shallow, mid, or deep pullback depth. A minimum body-size filter based on ATR is included to reduce weak rejection candles.
The plotted signal is not intended to be a market-entry instruction. The displayed entry reference uses a stop-entry concept: above the signal candle high for long setups and below the signal candle low for short setups.
Break of Structure Context
The script tracks confirmed swing highs and swing lows using pivot logic. A bullish BOS occurs when the price closes above a prior swing high by a minimum point threshold. A bearish BOS occurs when the price closes below a prior swing low by a minimum point threshold. BOS is used as a structure filter and dashboard condition, not as a separate visual clutter layer.
Internal Liquidity Sweeps
The script tracks internal swing liquidity using pivot highs and lows. A buy-side sweep occurs when price trades through a recent swing high. A sell-side sweep occurs when the price trades through a recent swing low. These sweeps can be required as part of the confluence layer.
Internal liquidity drawings are capped through managed line and label arrays so that old liquidity markings do not consume the script’s drawing budget.
Active FVG Retest Tracking
The script detects bullish and bearish fair value gaps and stores multiple active FVGs in arrays. FVGs are only added and removed on confirmed bars to avoid intrabar rollback artifacts. Users can choose the mitigation mode: Touch, Midline, or Full Fill.
FVG retests can be used as a score component or required as a stricter filter.
External Liquidity Map
The script includes previous day high/low, previous week high/low, and previous week equilibrium. These levels are used as external liquidity context and optional score components.
External liquidity sweeps can be used to increase confluence but are not required by default.
Confluence Score
The script scores long and short conditions separately using available components such as BOS, internal sweep, FVG retest, session, VWAP direction, and external liquidity sweep. Users can set a minimum score threshold. This allows the script to be tested as either a broad pullback tool or a stricter confluence filter.
Risk Reference Levels
When a final signal appears, the script can display a stop reference and fixed R:R target. Stops are based on recent liquidity sweep levels when available, otherwise a fallback swing/ATR reference is used. These levels are visual references only and should be evaluated against each trader’s own risk plan.
How to Use
Start by using the script as a visual decision-support tool, not as an automated signal system.
Suggested starting settings for testing:
Use Closed HTF Bars: ON
MTF Mode: No Opposition
Require Recent BOS: ON
Require Internal Sweep: ON
Require Active FVG Retest: OFF
Require External Sweep: OFF
Minimum Confluence Score: 3
FVG Mitigation Mode: Midline
Max Internal LIQ Drawings: 20 to 30
Show Base Debug: ON during testing
The base debug markers can help show where the EMA pullback engine wanted to fire but the confluence layer blocked the signal.
Limitations
This script does not predict future price movement. It does not guarantee profitable trades, accuracy, win rate, or any specific trading result.
The indicator is designed for discretionary analysis and requires user judgment. Signals can fail, especially during choppy, low-volume, news-driven, or range-bound conditions.
Swing structure and liquidity levels are based on pivot confirmation, which means they are confirmed with delay. This avoids repainting after confirmation but does not identify swings instantly.
Higher-timeframe context defaults to closed HTF bars for stability. If users disable closed HTF mode, higher-timeframe arrows and context may update intrabar.
Risk labels and target labels are references only. They should not be treated as financial advice or as a substitute for proper position sizing, market context, and independent testing.
Chart Setup
For publication, use a clean candlestick chart with only this script applied. Avoid adding unrelated indicators, extra drawings, logos, promotional text, or contact references. The script output should be clearly visible, including the EMA ribbon, dashboard, liquidity labels, and a small number of example signals.
Disclaimer
This script is for educational and analytical use only. It does not provide financial advice, does not predict future market movement, and does not guarantee trading results. Users should test settings on their own markets and timeframes before relying on any output.
Indikator

V-AEMA VMR [LB]Concept
The V-AEMA VMR (Volume-Adaptive Exponential Moving Average with Volatility-Modulated Regime) is a hybrid trend-following indicator that combines an EMA baseline with a volatility-based drift component. It produces a dynamic core line whose colour reflects the trend regime, surrounded by two levels of adaptive bands that expand or contract based on volume intensity. The indicator generates directional entry signals when price breaks the first band in the direction of the trend, and projects take-profit zones when price fully exits both bands.
Mathematical Foundation
The core line (Hybrid Line) is a weighted blend of a standard EMA and a volatility-shifted version of that same EMA :
HybridLine = EMA * W + (EMA + Drift) * (1 - W)
where the drift is derived from the Z-Score of price relative to the EMA, scaled by ATR :
Drift = Z_Score * ATR * 0.35
Z_Score = (Price - EMA) / StdDev(Price, L_vola)
Band width starts from a base volatility measure combining standard deviation and ATR :
BaseWidth = StdDev * 0.65 + ATR * 0.35
This base is then adjusted by a volume ratio and user-defined multipliers :
UpperWidth = BaseWidth * (BaseUpMult + (VolRatio - 1) * VolImpactUp)
LowerWidth = BaseWidth * (BaseDnMult + (VolRatio - 1) * VolImpactDn)
where VolRatio = min(max(Volume / SMA(Volume, L_vol), 0.35), 2.50) .
Two band levels are generated : Band 1 at HybridLine +/- Width, and Band 2 (extreme) at HybridLine +/- Width * 1.55 (upper) / 1.40 (lower).
What Problem Does It Solve ?
Conventional envelope indicators (Bollinger Bands, Keltner Channels) apply fixed multipliers to a single volatility metric and ignore volume dynamics. The V-AEMA VMR adapts its band width to both volatility and volume surges, producing wider bands during high-participation moves and narrower bands during quiet periods. The hybrid core line reduces pure EMA lag by incorporating a volatility offset, while the dual-band structure filters signals by strength : a break of Band 1 triggers an entry, while a break of Band 2 confirms an explosive move and projects a take-profit zone.
How To Interpret
Core line colour – cyan/green indicates the hybrid line is rising (bull regime) ; magenta/red indicates it is falling (bear regime).
Cloud and bands – the area between Band 1 and Band 2 forms a halo that thickens when volume expands. Narrow bands suggest low conviction or consolidation.
Entry signals – a triangle appears below the bar when price crosses above Upper Band 1 while the hybrid line is rising (long). A triangle appears above the bar when price crosses below Lower Band 1 while the hybrid line is falling (short). These signals are confirmed by the trend direction.
Take-profit zones – when the entire bar (high and low for shorts, low and high for longs) clears the extreme band (Band 2) in the direction of the signal, a coloured box is projected forward. The box represents a potential target zone based on the breakout amplitude and ATR, scaled by the TP Factor.
Info panel – displays the current regime (BULL/BEAR), the volume ratio (values above 1.0 indicate above-average participation), and the current upper/lower deviation values in price units.
Parameters
EMA Length – period of the base exponential moving average (default 55).
Volatility Length – period for the standard deviation used in the Z-Score calculation (default 34).
Volume Length – period for the volume moving average used in the volume ratio (default 34).
EMA Weight – blend ratio between the pure EMA and the volatility-drifted version. Higher values produce a smoother line ; lower values make it more reactive to volatility (default 0.80).
Upper Base Deviation – core multiplier for the upper band width before volume adjustment (default 1.55).
Lower Base Deviation – core multiplier for the lower band width before volume adjustment (default 1.05).
Volume Impact Upper/Lower – sensitivity of the upper and lower bands to the volume ratio. Higher values make bands expand more aggressively when volume surges (default 0.95 / 0.55).
ATR Length – period of the Average True Range used in band width and TP zone calculations (default 14).
Show Cloud – toggles the filled areas between bands.
Show Info Panel – toggles the real-time dashboard.
Show Signals – toggles the entry triangles.
Show TP Zones – toggles the take-profit projection boxes.
TP Projection Bars – how many bars forward the TP zone extends.
TP Factor – scales the height of the TP zone relative to the breakout range.
Max Historical TP Zones – limits the number of TP boxes kept on the chart.
Reference
This indicator is a proprietary design synthesising concepts from adaptive moving averages (Kaufman, Ehlers), volatility envelopes (Bollinger, Keltner), and volume-weighted band models. It does not correspond to a single academic publication. Indikator

Adaptive MA Fibonacci Zones MTF# Adaptive MA Fibonacci Zones MTF
Adaptive MA Fibonacci Zones MTF is a multi-timeframe technical analysis tool that projects Fibonacci-based price levels around a selected moving average.
The indicator allows traders to choose from multiple moving average types, including EMA, SMA, WMA, SMMA, DEMA, TEMA, HMA, VWMA, ALMA, and KAMA. Two independent higher timeframes can be analyzed simultaneously, making it easier to compare trend structure and potential reaction zones across different market perspectives.
### Features
• Supports multiple moving average calculation methods
• Displays two configurable higher timeframes on a single chart
• Automatically generates Fibonacci-based projection levels around each moving average
• Dynamic bullish and bearish level calculation depending on price position relative to the selected moving average
• Optional Fibonacci level labels
• Visual trend direction labels for each timeframe
• Useful for identifying potential support, resistance, pullback, and expansion areas
### How It Works
The script calculates a selected moving average on two user-defined timeframes. A customizable percentage range is then applied around each moving average, and Fibonacci ratios are projected within that range. When price is above the moving average, levels are projected upward. When price is below the moving average, levels are projected downward.
### Notes
This indicator is designed as a visual analysis tool and should not be considered financial advice. Fibonacci levels and moving averages are analytical references that may be used alongside other forms of technical analysis and risk management techniques.
Indikator

Moving averages. JB styleMoving averages. JB style
A clean, configurable multi-MA overlay. Up to four moving averages, each colored by its own slope, with debounced crossover markers, weight-scaled line widths, an EMA/SMA switch, a regular-hours session lock, and five color palettes — all tuned so the indicator reads as a separate layer over your candles instead of blending into them.
WHAT IT DOES
- Up to 4 moving averages. Defaults are 9 / 21 / 50 / 200, and every slot has its own editable length and show/hide toggle, so you can run one MA or all four. Source is fixed to close to keep the panel simple.
- EMA or SMA from one dropdown. The MA Type dropdown flips all lines between simple and exponential, reusing the same lengths and styling.
- Slope-based coloring. Each line is colored by its own slope: a blue tone when rising, an orange/amber tone when falling, and neutral gray when essentially flat. Colors sit deliberately off the green/red axis so the lines never blend into the candles.
- Weight-scaled widths. Faster MAs are thin, slower MAs are thick, so the long-term anchors stand out at a glance. The slowest MA is drawn as a dotted circle line to mark it as the long-term reference.
- Crossover markers. A hollow ring with a centered dot marks crossovers between adjacent MAs (1x2, 2x3, 3x4) — including the classic 50/200 — a bright bull tone for a bullish cross and an amber tone for a bearish one, placed right at the crossing price.
- Five palettes. Dark, Light, Neon, Ocean, and Solarized. Candles are never recolored on any theme.
WHY IT'S DIFFERENT
Most moving-average indicators just draw lines and color them by whether price is above or below — which whipsaws constantly. This one is built around signal reliability:
1. Slope coloring instead of price-vs-MA coloring. Color reflects whether the average itself is rising or falling — a steadier read of trend than the noisy "is price above the line" flip.
2. A slope deadband kills color flicker. Near-flat averages normally strobe between colors on every tick. Here the slope must clear an ATR-scaled threshold before the color flips; otherwise the line goes neutral. A flat ribbon looks flat — which is itself useful information.
3. Crossovers are MA vs MA, not price vs MA. A faster average crossing a slower one needs agreement between two degrees of smoothing, so it fires far less on noise than a single line being touched by price.
4. A debounce filter removes chop without lagging the signal. The marker fires on the actual crossover, then suppresses further crosses until the two averages genuinely separate (by an ATR-scaled amount) and reconverge. A cluster of back-and-forth chop crosses produces one marker on the real cross — not a smear of noise, and not delayed to a later cross.
5. Confirmed-bar markers don't repaint. A crossover marker appears only after the bar closes, so it never flashes mid-bar and then vanishes.
6. Regular-hours session lock. Every MA (and the ATR behind the filters) is computed from a regular-session feed, so a 200-MA reads the same whether your chart shows extended hours or not. The lines simply hold flat through pre/post-market instead of drifting. On 24/7 instruments this is a harmless no-op.
7. Always the chart's own timeframe. The session lock swaps only the session, never the timeframe — the MAs are always calculated on the timeframe you're viewing.
8. Lines that don't fight the candles. Bull/bear line colors are deliberately blue/orange rather than green/red, so the indicator reads as a clean layer over the candles instead of camouflaging into them.
INPUTS
- Palette: color theme for lines and markers (Dark / Light / Neon / Ocean / Solarized).
- MA Type: SMA or EMA, applied to all lines.
- Regular Hours Only: compute all MAs and ATR from a regular-session feed, regardless of the chart's session.
- Show Crossovers: toggle all crossover markers.
- Slope Deadband (x ATR): minimum slope before the color flips; 0 disables (default 0.02).
- Crossover Min Sep (x ATR): debounce gap — after a marked cross, the next one is suppressed until the MAs separate by this amount and reconverge; 0 disables (default 0.10).
- MA #1-4 Show / Length: per-slot visibility and period (defaults 9 / 21 / 50 / 200).
Indikator

Smart Trail, 9/21 Crossover + VWAP Signals ScoreSmart Trail + 9/21 Crossover + VWAP with HTF and ADX Filter
A trend-following signal indicator combining a dynamic ATR-based Smart Trail with EMA 9/21 crossover signals, VWAP bias, a higher timeframe alignment filter, and an ADX + DI directional filter — all working together to surface only high-conviction entries.
How It Works
The Smart Trail continuously calculates adaptive support and resistance levels using ATR and a configurable sensitivity multiplier. When the trend flips direction a signal fires — but only after passing the ADX strength filter, DI directional filter, and higher timeframe Smart Trail alignment check.
Scoring System (0–100)
Every Smart Trail signal is scored across three weighted factors:
Smart Trail (default 40 pts) — trend direction confirmation. Full points when trend is aligned.
EMA 9/21 (default 35 pts) — full points when price is above both EMAs and 9 > 21 (bull) or below both and 9 < 21 (bear). Partial (0.5) when mixed. Zero when fully against.
VWAP (default 25 pts) — full points when price is above VWAP for bull signals, below for bear signals.
All weights are fully adjustable. Score normalizes to 0–100 regardless of weight configuration.
EMA 9/21 Crossover Signals
Independent crossover signals plot separately from the Smart Trail signals using a distinct shape (triangle) and color (yellow/orange) so they are easy to differentiate. An optional fill between the two EMAs colors green when 9 > 21 (bullish) and red when 9 < 21 (bearish) — giving instant visual context of EMA stack direction across the whole chart.
Hard Filters (signal blocked entirely if not met)
ADX + DI Filter:
ADX must be above the configured minimum threshold (default 20) — blocks signals during choppy, trendless price action
DI+ must be greater than DI- for bull signals — confirms buyers are in control
DI- must be greater than DI+ for bear signals — confirms sellers are in control
Toggling the ADX filter off disables both the ADX threshold and DI directional checks simultaneously
Higher Timeframe (HTF) Smart Trail Filter:
Runs the same Smart Trail calculation on an automatically determined higher timeframe
Bull signals only fire when the HTF Smart Trail is also bullish
Bear signals only fire when the HTF Smart Trail is also bearish
Auto timeframe mapping: 1m → 5m, 2-3m → 15m, 5m → 30m, 15m → 1h, 30m → 2h, 1h → 4h, 4h+ → Daily
HTF Smart Trail plots as a thicker faded line for visual reference
Session Filter:
Restricts signals to regular trading hours (default 9:30–16:00 ET, fully configurable)
Signal Labels
Each Smart Trail signal prints a scored label directly on the chart:
▲ 85 — bullish flip, score 85
▼ 22 — bearish flip, score 22
Label color is green (≥70), yellow (50–69), or red (<50). An optional rolling score label can be enabled to display the live score at a configurable bar frequency.
Alerts
Two dynamic alert conditions using the alert() function — one for bull, one for bear. Both Smart Trail signals and EMA crossover events trigger the same alert so only one alert needs to be created in TradingView.
Set the alert condition to "Any alert() function call" in the TradingView alert dialog.
Alert message format: Smart Trail: BULL | Score: 82 | ADX: 24 | DI+: 28 | DI-: 18 | HTF: 15m | META | 3m | Price: 626.87
Settings
GroupKey SettingsSmart TrailLength, multiplier, source, sensitivityScore WeightsPer-factor weight (0–100 each)Score FilterMin bull score, max bear scoreSession FilterOn/off toggle, custom sessionADX FilterOn/off toggle, length, minimum thresholdHTF FilterOn/off toggle (auto timeframe)EMA CrossShow/hide signals, show/hide fill, bull/bear fill colorsDisplayRolling score labels, frequency
Recommended Usage
Best used on intraday timeframes (1m–15m). Signals with scores of 70+ where ADX is above 25 and DI direction is clearly aligned represent the highest conviction setups. The EMA fill gives immediate context — trading in the direction of the fill color with a Smart Trail flip confirmation is the core entry pattern. Indikator

50-MA Extension Dot [ATR / % / Points]50-MA Extension Dot marks when price has moved a defined distance above a daily moving-average anchor. The goal of the script is to help traders study when price becomes extended relative to its daily trend structure, rather than judging a move by price alone.
The script supports three extension methods: ATR Extension, Percent, and Points. ATR Extension compares the distance from price to the daily moving average against the instrument’s daily ATR, making the reading volatility-adjusted. Percent mode measures how far price is above the moving average in percentage terms. Points mode measures the raw point distance above the moving-average anchor.
The moving-average type, moving-average length, threshold method, threshold value, ATR length, and extension source are customizable so traders can study past moves and build their own rules. For example, users can test how a symbol historically behaved when it became one ATR, two ATRs, a fixed percentage, or a fixed point distance above its daily moving-average reference.
When the selected threshold is reached, the script plots a small dot above the candle. The dot is not a standalone buy or sell signal. It is a visual marker showing that price has reached a defined extension zone relative to the chosen daily moving-average reference.
The script can also display the daily moving average, an optional threshold line, and a small table showing the current daily moving average, daily ATR, extension price, percentage distance from the moving average, ATR percentage, and ATR extension value.
This tool is useful for studying stretched moves, breakout extensions, momentum exhaustion, and conditions where price may be moving too far too quickly above its daily trend anchor. Because different symbols have different volatility profiles, the customizable inputs allow traders to compare past extensions and develop rules that fit their own process.
This indicator does not predict future price movement. It is a contextual extension tool designed to measure distance from a daily trend reference and help traders research historical extension behavior. Indikator
