Adaptive Trend & SL SystemAdaptive Trend & Risk System
1. The Problem: "Naked" Signals
Most trend indicators on TradingView have a fatal flaw: they tell you when to enter, but they never tell you when to leave . They give you a "Buy" signal, but leave you guessing about where to place your Stop Loss or where to take profit.
A signal without a risk management plan is not a strategy—it's a gamble.
2. The Solution: A Complete Trading System
The Adaptive Trend & Risk System (ATS) is designed to be a complete "Turnkey" trading suite. It doesn't just generate signals; it manages the entire lifecycle of the trade.
It combines three distinct market concepts into one clean overlay:
Trend Detection: Uses a Hull Moving Average (HMA) baseline to determine the immediate market flow.
Signal Filtering: Uses the Average Directional Index (ADX) to filter out "fakeouts" and weak trends.
Dynamic Risk Management: Automatically calculates Volatility-Based (ATR) Stop Losses and Risk:Reward targets the moment a signal is generated.
3. How It Works (The Math)
The script operates on a strict "State Machine" logic. It remembers the state of your trade bar-by-bar.
The Entry (Strong Signals)
A "STRONG" signal is only generated when two conditions are met:
Price crosses the Trend Baseline.
ADX (Trend Strength) is above the threshold (Default: 25).
Note: Weak signals (small triangles) are shown when price crosses the baseline but ADX is low. These are risky and should be treated with caution.
The Stop Loss (Red/Green Crosses ++++)
Upon a strong entry, the script calculates a Stop Loss based on the Average True Range (ATR).
Long SL: Low - (ATR * Multiplier)
Short SL: High + (ATR * Multiplier)
The "Hard" Stop: Unlike trailing stops that move every bar, this SL is fixed to the volatility at the moment of entry. It only disappears if price hits it (marked by an Orange X ) or if a reversal signal occurs.
The Targets (Blue/Purple Dots oooo)
The script projects two Take Profit levels based on your risk:
TP1 (Blue Dots): 1.5x your Risk.
TP2 (Purple Dots): 3.0x your Risk.
Smart Visuals: If price hits TP1, the dots disappear to keep your chart clean, letting you focus on TP2.
4. How to Use This Indicator
Step 1: Wait for a "STRONG" Label. Do not trade every crossover. Wait for the large triangle with the text label.
Step 2: Place your Entry at the close of the signal bar.
Step 3: Place your Physical Stop Loss exactly at the level of the Green/Red Crosses .
Step 4: Place Limit Orders at the Blue Dots (TP1) and Purple Dots (TP2) .
Management:
If the Orange X appears, your Stop Loss was hit. Exit the trade immediately.
If a Weak Signal (small triangle) appears against your trade, consider tightening your stops, as momentum may be fading.
5. Settings Guide
Trend Baseline Length: Controls the sensitivity of the trend filter. Higher = Fewer signals, longer trends.
ATR Length: Controls how "volatile" the Stop Loss calculation is.
Stop Loss Multiplier: The "breathing room" for your trade. 2.0 is standard. 3.0 is for volatile assets like Crypto.
TP Risk:Reward Ratios: Fully customizable. Default is 1.5R and 3.0R.
Risk Warning & Disclaimer
Trading financial assets involves a high level of risk and may not be suitable for all investors. The content, indicators, and signals provided by this script are for educational and informational purposes only and do not constitute financial, investment, or trading advice.
The "Adaptive Trend & Risk System" is a technical analysis tool based on historical price data and mathematical formulas (ATR, ADX, Hull MA). Past performance is not indicative of future results. Market conditions can change rapidly, and no indicator can guarantee profits or prevent losses.
By using this script, you acknowledge that:
You are solely responsible for your own trading decisions and risk management.
You should never trade with money you cannot afford to lose.
The author of this script assumes no liability for any financial losses or damages incurred from the use of this tool.
Always consult with a qualified financial advisor before making investment decisions.
Análise de Tendência
RSI SCALPER with Dynamic ATR LinesThis is a versatile scalping indicator that combines RSI-based signals, dynamic ATR channels, and Stochastic-based divergence detection to identify potential entry and exit points in the market .
Key Features
Dynamic ATR Channel – Calculates support and resistance based on ATR (Average True Range) with configurable length and multiplier for both support and resistance lines, plus a midline
Multi-timeframe RSI – Two separate RSI calculations with independent timeframe settings: one for "KUN RSI" signals and one for "GET READY" alerts
Divergence Detection – Identifies regular and hidden bullish/bearish divergences using Stochastic D and fractals
25 MA Types – Comprehensive library of smoothing functions including WMA, HMA, EMA, TEMA, DEMA, ZLEMA, and several advanced variants
Signal Types
Signal Description
Get Ready (Long) Price crosses above dynamic support while RSI is oversold
Get Ready (Short) Price crosses below dynamic resistance while RSI is overbought
EXIT (Buy Break) Price closes above resistance (previously below) without simultaneous short signal
EXIT (Sell Break) Price closes below support (previously above) without simultaneous long signal
R-BULL / R-BEAR Regular divergence – signals potential trend reversal
H-BULL / H-BEAR Hidden divergence – signals trend continuation
Settings
RSI Parameters:
Separate timeframe selection for both RSI calculations
Configurable length and overbought/oversold levels (default 70/30)
ATR Channel:
Independent timeframe for channel calculation
Individual ATR lengths and multipliers for support (8/1.44) and resistance (14/1.44)
Divergence:
Dedicated timeframe setting
Stochastic parameters (length, smooth K, smooth D)
MA type selection for smoothing
Alerts
The indicator includes four predefined alerts for divergence signals that trigger only on confirmed bars:
Regular Bullish/Bearish Divergence
Hidden Bullish/Bearish Divergence
Use Cases
Suitable for active scalping and swing trading on crypto, forex, and stocks. Combine signals with price structure and volume for optimal use. The ATR channel adapts automatically to volatility, while divergence signals provide early warning of potential trend shifts .
A.I. Megatron [RubiXalgo]A.I. Megatron – 2025 EditionAdvanced Kalman + k-NN + Machine Learning hybrid indicator that visualizes market structure as a rotating Rubik’s Cube metaphor — fast vs slow trend “sides”, momentum “colors”, volume imbalance “faces”.Core Visual LanguageGreen Red gradient = Bullish Bearish conviction
Teal/Purple accents = Crypto mode alternative
Trend Strength Bar (bottom-right) → ❖ Kalman % (how committed is the trend?)
Momentum Power Bar (middle-right) → ◆ Stochastic Money Flow % (are we oversold < ~31% or overbought > ~69%?)
Fast Rubik line = quick Kalman trend
Slow Rubik line = deeper / institutional trend
Vector Recovery Zones = volume imbalance magnets (green = potential support reclaim, red = resistance reclaim)
Bounce Boxes = wick-pressure support/resistance zones
Sharkwave TTM Squares = squeeze intensity markers (stronger color = higher compression → bigger expected expansion)
Gann-style Vxt3 dots = high-probability volume + momentum alignment pings
Most reliable context combinations (2025 observed edge)
Long bias
• Trend bar dark green (>65–75%)
• Momentum bar green / deep green (<38%)
• Price near or inside green recovery or bounce zone
• Green Gann dot(s) printing
• TTM bottom squares lighting upShort bias
• Trend bar deep red/purple (>65–75%)
• Momentum bar red/deep red (>62–69%)
• Price near or inside red recovery or bounce zone
• Red Gann dot(s) printing
• TTM top squares lighting upTagline style one-liners (pick your favourite)“Solve the market like a speed-cuber solves a Rubik’s Cube — one face (trend / momentum / volume) at a time.”
“Kalman eyes + k-NN brain + Sharkwave heartbeat = Megatron.”
“Not another oscillator. A visual machine-learning market Rubik’s Cube.”
“See what institutions see — before they move.”
“Colors don’t lie. Trends rotate. Volume screams.”
BreakPoint Pro - Market Structure Shifts BreakPoint Pro - Market Structure Shifts
BreakPoint Pro identifies meaningful structural breaks in price action by tracking swing highs and lows, detecting directional shifts, and optionally requiring a break-and-retest confirmation before signaling.
To reduce noise and overtrading, BreakPoint Pro integrates:
- Trend and momentum filters
- Signal cooldown logic
- Adaptive ATR-based risk visualization
- Multi-timeframe structural context
The result is a clean, structured framework that helps traders align entries with both local structure and higher-timeframe bias, while maintaining consistent risk parameters.
NQ 1m Chart Short Signal & TP Hit
This indicator is not a strategy and does not auto-execute trades. It is intended as a decision-support tool for discretionary traders who understand structure, trend alignment, and risk management.
BreakPoint Pro identifies meaningful structural breaks in price action by tracking swing highs and lows, detecting directional shifts, and optionally requiring a break-and-retest confirmation before signaling.
BTC 4h Chart Short Signal Close to TP
✨ Key Features (At a Glance)
- Market Structure Shift (MSS) detection
- Optional break + retest confirmation
- EMA trend filter
- RSI momentum filter
- Cooldown system to prevent signal clustering
- ATR-based Stop Loss & Take Profit visualization
- Dynamic Risk/Reward calculation
- Higher-Timeframe (HTF) structure dashboard
- Fully customizable visuals (SL/TP lines, opacity, styles)
ETH 1h Chart - Showing current potential short trade in play, but also older potential trades as well with background color grading and structure high/low levels
🔍 In-Depth Feature Overview
1. Market Structure Detection
BreakPoint continuously tracks recent swing highs and swing lows to determine when price breaks previous structure.
A structure shift is only confirmed when price closes beyond a prior swing, helping filter out wicks and false breaks.
The indicator maintains a structure state:
- Bullish
- Bearish
- Neutral
This state governs signal eligibility and background context.
2. Break + Retest Logic (Optional)
When enabled, BreakPoint requires:
- A confirmed break of structure
- A controlled retest within an ATR-based tolerance
- A continuation close in the break direction
This helps avoid chasing impulsive moves and favors acceptance over reaction.
Retest sensitivity can be fine-tuned using the ATR tolerance multiplier.
3. Trend & Momentum Filters
To improve signal quality, BreakPoint supports optional filters:
EMA Filter
- Long signals only above the EMA
- Short signals only below the EMA
RSI Filter
- Longs require RSI above a configurable midline
- Shorts require RSI below it
Filters can be used independently or combined for stricter confirmation.
4. Cooldown Protection
After a signal triggers, BreakPoint enforces a cooldown period before allowing another signal.
This prevents rapid flip-flopping in choppy conditions and encourages patience and structure clarity.
5. ATR-Based Risk Visualization
Upon a valid signal, BreakPoint automatically plots:
- Stop Loss (SL)
- Take Profit (TP)
Using:
- ATR-based distance
- Configurable Risk/Reward ratio
- Direction-aware placement
All SL/TP lines and labels are purely visual aids and can be customized or disabled depending on your workflow.
6. Higher-Timeframe Structure Dashboard
BreakPoint dynamically evaluates structure on three higher timeframes relative to your current chart.
A compact table displays:
- Timeframe
- Bullish / Bearish / Neutral structure
- Current trade direction
- SL, TP, and live R:R values
This helps traders quickly assess top-down alignment without switching charts.
DXY- USD Index 1h Chart Short with TP hit
🛠️ Settings Review:
Core Structure
- Swing Length – Controls sensitivity of swing detection
- Require Break + Retest – Enables retest confirmation logic
- Retest ATR Tolerance – Defines acceptable retest range
Filters
- Use EMA Filter / EMA Length
- Use RSI Filter / RSI Length / RSI Midline
Signal Management
- Cooldown Bars After Signal – Minimum bars between signals
Risk Visualization
- Use ATR-based Stop Loss
- ATR Stop Loss Multiplier
- Use ATR-based Take Profit
- Risk/Reward Ratio
Visual Customization
- SL/TP colors
- Line styles (solid, dashed, dotted)
- Line widths
- Opacity levels
HTF Display
- Show/Hide HTF structure box
- Table position on chart
DASH - Weekly Timeframe Long Trade hit TP
Best Practices & Tips
- Works best on liquid markets (indices, FX, majors, liquid crypto)
- Use HTF structure alignment for higher-confidence trades
Combine with:
Key levels
Session highs/lows
Supply & demand zones
- Increase swing length and enable filters on higher timeframes
- Avoid treating signals as standalone trade commands
BreakPoint excels as a structure confirmation tool, not a prediction engine.
SOL - 4hr Short
⚠️ Disclaimer:
BreakPoint Pro – Market Structure Shifts is a technical analysis tool designed to highlight potential market structure shifts. It provides visual signals and trade bias suggestions based on swing highs/lows, optional EMA/RSI filters, and break/retest logic. It does not guarantee profits and should not be considered financial advice.
Users are responsible for their own trades. Always perform your own analysis and manage risk appropriately. Use proper stop-losses and position sizing. Trading involves significant risk of loss, and past performance is not indicative of future results.
By using this indicator, you acknowledge that the author cannot be held liable for any trading losses or financial outcomes resulting from its use.
💳 If you'd like access or have any questions, visit our website or feel free to reach out to me directly via DM.
Nagative RR - Pivots Indicator - Old versionIntroduction
This indicator is a comprehensive scalping tool designed to identify high-probability reversals around key Pivot Point levels. It combines classical Support/Resistance theory with modern Market Structure concepts. It is optimized for the 1-minute timeframe, utilizing granular price action to identify precise entries.
Core Methodology
The strategy operates on a logic specifically designed to target a high win rate (historically testing in the 90-92% range) by utilizing a Negative Risk-to-Reward ratio (taking small profits frequently while allowing room for the trade to breathe).
Daily Pivots Reversals:
The core logic anchors to Daily Pivot Points. It treats these levels as critical Support and Resistance zones, waiting for price to interact and reverse off these levels rather than trading breakouts.
Market Structure Shifts (MSS):
The script visualizes and identifies Market Structure Shifts. These are used not just for visual aid but as a hard filter—trades are only taken when the immediate market structure aligns with the reversal direction.
Profitability Filters:
To improve performance and reduce noise, several filters have been added:
EMA Filter: Ensures trades align with the macro trend.
Time Filter: Avoids low-volume trading hours.
S/R Flip Logic: requires a confirmed "flip" of a level before entering.
Features & Functionality
"Pick My Trade" Integration: This script features a built-in JSON generator. It automatically creates the specific JSON payloads required for "Pick My Trade" automation (including Token, Account ID, and Quantity), making it ready for automated trading out of the box.
Visual Backtesting: The script draws Entry, Take Profit, and Stop Loss boxes on the chart for visual verification.
Statistics Panel: A custom dashboard tracks performance in real-time.
How to Use
Timeframe: Set your chart to 1 minute for the best results, as the logic is tuned for this granularity.
Automation: Go to settings -> "Webhook / Automation" and check "Use Pick My Trade JSON". Create an alert on "Any function call" to send fully formatted orders.
Risk Warning: This strategy utilizes a Negative RR approach (typically 1:2 or 1:4 Risk:Reward). This is intentional to achieve a high win rate, but requires discipline and proper risk management.
Disclaimer This script is for educational purposes. Past performance is not indicative of future results. Trading involves risk. Credits to Lois#0290 for the original strategy concept.
Axiom Flow: LiteAxiom Flow Lite is a specialized TradingView indicator designed for professional market bias analysis and real-time visualization of institutional order flow. It primarily serves as a decision-support dashboard, providing traders with an immediate read on trend alignment and market volatility.
📊 Core Features & Functionality
Axiom Multi-Timeframe Dashboard: Displays trend direction across four key timeframes (typically 15m, 1H, 4H, and Daily) to identify confluence and overall market bias.
Mentor Panel & Advice: Features a dedicated panel that provides real-time trade advice based on current market conditions, such as "Strong Bull," "Squeeze," or "Chop Detected".
Squeeze & Volatility Detection: Uses proprietary logic to identify "energy build-up" phases (squeezes) and cautions users to stay cash during periods of low volatility or "dead" market conditions.
Crash Protection (Circuit Breaker): Built-in filters monitor fast-timeframe momentum to detect aggressive counter-trend moves and warn users to pause trading during high-risk reversals.
🚀 Lite vs. PRO Version
While the Lite version provides essential market analysis and bias detection, it is a visual-only roadmap. Key differences include:
Lite Version: Focused on dashboard analysis, trend alignment, and visual identifying zones without automated execution markers.
PRO Version: Unlocks advanced execution tools including automated entry points, stop-loss lines, dynamic take-profit targets (Levels 1–4), and real-time bounce confirmation alerts.
Axiom Flow: PRO SuiteAxiom Flow PRO is an advanced institutional-grade toolkit designed for traders who prioritize precision, clarity, and systematic execution. This premium suite automates the detection of high-probability Fair Value Gaps (FVG) and combines them with a comprehensive Multi-Timeframe Trend Analysis dashboard, transforming complex price action into a streamlined professional workflow.
Whether you trade Indices (NQ, ES), Crypto, Forex, or Metals, Axiom Flow PRO provides the structural roadmap needed to identify where institutional money is moving and where the highest-confluence entries reside.
📊 Key Institutional Features
1. Smart 3-Candle FVG Scanner
Stop manually hunting for imbalances. Our proprietary scanner uses a strict 3-candle confirmation rule to identify high-momentum displacement zones.
Automatic Zone Detection: Draws real-time Bullish and Bearish FVG boxes with integrated mid-line (Equilibrium) markers.
Momentum Filtering: Only identifies gaps backed by three consecutive candles of the same color, ensuring you only see gaps formed by genuine trend strength.
2. Automated Execution Levels & Targets
Take the guesswork out of risk management. For every confirmed setup, the script automatically calculates and plots:
Precision Entry & Stop Loss: Hardcoded lines calculated based on the displacement range.
Dynamic Fibonacci Targets: Automatically projects four Take-Profit levels, allowing you to scale out of positions scientifically as the trend develops.
3. The Axiom Multi-Timeframe Dashboard
Your command center for market bias. Instantly view the trend alignment across four critical timeframes: 15m, 1H, 4H, and Daily.
Unified Trend Verdict: Quickly identify "Strong Bull/Bear" conditions or "Scalp Only" environments based on timeframe confluence.
Squeeze Detection: Built-in RSI volatility filters alert you when the market is in a "Squeeze" (low volatility), helping you stay cash during chop.
4. Integrated Crash Protection (Circuit Breaker)
Protect your capital during aggressive reversals. The suite includes a hidden Trend Filter that monitors fast-timeframe momentum. If price breaks key structural EMAs, the dashboard engages "Protection Mode," warning you to pause new signals until the trend stabilizes.
🛠️ Professional Overlays & Killzones
Declutter your chart by toggling essential institutional tools directly within the Axiom suite:
Session Killzones: Visual boxes for Asia, London, and New York sessions.
Institutional Pivots: Auto-plots Previous Daily, Weekly, and Monthly Highs/Lows (PDH/L).
Session VWAP: Track the volume-weighted average price for the current session.
🚀 Why Choose the PRO Suite?
While the Lite version offers basic analysis, the PRO Suite is a complete execution engine. It doesn't just show you where the market might go—it provides the exact mathematical framework for how to trade it, from entry to final target.
Master the flow. Trade with Axiom.
VaCs MLL V2Quick User Guide
S/R Levels: These are dynamic Support and Resistance lines. They represent "unmitigated" price levels. As soon as the price hits a line, it disappears to keep your chart clean.
BSL/SSL Zones: The red and green boxes represent Buy-Side Liquidity (Previous Day High) and Sell-Side Liquidity (Previous Day Low). These are magnet zones where the price often heads to hunt stop losses.
Leverage Calculator: The dashboard calculates the exact leverage you should use. If you set your "Risk Per Trade" to 5%, and the price hits the "Stop Loss Price," you will lose exactly 5% of your total capital.
Trend Status: Based on the Daily 30 EMA. If the background is Green (Bullish), look for long entries at S/R levels. If Red (Bearish), look for short entries.
Regime ScoreRegime Score | Trend vs Chop Market Filter
Regime Score is a market regime detection indicator that tells you when to trade and when to stay out.
It does not predict direction.
It identifies whether the market is trend-friendly or choppy, helping you avoid low-quality trades and whipsaws.
Perfect for breakout traders, trend followers, and system traders.
Regime States
• Green (+1) → Trend-friendly environment (Enable breakout trades)
• Orange (0) → Transition / mixed regime (Reduce size or skip trades)
• Red (-1) → Choppy / hostile market (Stay flat)
Background coloring makes regime shifts easy to spot at a glance.
Designed Philosophy
• Observe-only filter
• No buy/sell signals
• No over-optimization
• Built to improve discipline and consistency
If your system performs well in trends but struggles in ranges, this indicator acts as a trade quality gate.
🚀 Final Thought
Regime Score helps you trade less, but better by aligning your strategy with the right market conditions.
If you believe market context matters more than signals, this tool belongs on your chart.
⭐ If you find it useful, consider liking or sharing to support further development.
Algo Reverse This indicator is a robust trend-following strategy designed to filter out market noise and "falling knife" scenarios. It combines Heikin Ashi reversal signals with a strict Smoothed EMA Slope Filter and a Candle Body Size Filter to ensure high-quality entries.
Unlike standard strategies that simply check if the price is above/below the EMA, this script verifies the actual angle/slope of the EMA to ensure the trend has genuinely shifted direction.
Key Features:
🛡️ Smoothed EMA Slope Filter:
Most indicators trigger a BUY the moment price crosses the EMA, leading to losses during fakeouts.
This script checks the EMA value against its value X bars ago (Setting: Slope Lookback).
Benefit: Signals are generated only when the EMA line itself is physically rising (Green) for Longs or falling (Red) for Shorts. This prevents entering too early on a sharp reversal.
🕯️ Candle Body Filter:
Filters out low-quality candles (Dojis, Spinning Tops) with long wicks.
Logic: A signal is valid only if the candle body constitutes at least 70% (default) of the total candle range.
Benefit: Ensures entries are made on strong momentum candles, not on market indecision.
🔹 Heikin Ashi + ATR Impulse:
Uses Heikin Ashi logic to detect smooth trend reversals.
Validates the move with an ATR multiplier to ensure sufficient volatility.
Settings Guide:
Confirmation Bars: 1 (Recommended). Waits for the candle to close to confirm the signal.
EMA Slope Lookback: 5 (Default). Compares current EMA to EMA 5 bars ago. Increase for more stability, decrease for faster (but riskier) signals.
Min Candle Body: 0.7 (70%). Lower to 0.5 for more signals, raise to 0.8 for stricter filtering.
Этот индикатор представляет собой надежную трендовую стратегию, разработанную для фильтрации рыночного шума и предотвращения входов против сильного тренда («ловли ножей»). Он объединяет разворотные сигналы Heikin Ashi со строгим Фильтром Сглаженного Наклона EMA и Фильтром Размера Тела Свечи.
В отличие от стандартных стратегий, которые просто смотрят положение цены относительно EMA, этот скрипт проверяет реальный угол наклона линии, гарантируя, что тренд действительно развернулся.
Ключевые особенности:
🛡️ Сглаженный Фильтр Наклона EMA (Smoothed Slope):
Обычные индикаторы часто дают ложный BUY при резком пробое EMA, когда тренд все еще смотрит вниз.
Этот скрипт сравнивает текущую EMA с её значением X баров назад (Настройка: Сглаживание наклона).
Польза: Сигнал появляется только тогда, когда сама линия EMA окрашивается в Зеленый (растет) или Красный (падает). Это защищает от ложных пробоев.
🕯️ Фильтр Тела Свечи (Body Filter):
Отсеивает «мусорные» свечи (Доджи, Волчки) с длинными тенями и маленьким телом.
Логика: Сигнал валиден, только если тело свечи занимает минимум 70% (по умолчанию) от всей длины свечи.
Польза: Входы совершаются только на сильных, полнотелых свечах, подтверждающих намерение рынка.
🔹 Heikin Ashi + ATR Импульс:
Использует логику Heikin Ashi для определения плавного разворота.
Подтверждает вход множителем ATR, чтобы исключить входы на низкой волатильности.
Настройки:
Подтверждение входа: 1 (Рекомендуется). Ждет закрытия свечи для фиксации сигнала.
Сглаживание наклона (Lookback): 5. Сравнивает EMA с EMA 5 свечей назад. Увеличьте для надежности, уменьшите для более быстрой реакции.
Мин. тело свечи: 0.7 (70%). Уменьшите до 0.5 для большего количества сигналов, увеличьте до 0.8 для строгого отбора.
Anchored LRL using ZigZag AnchorAnchored Linear Regression Channel - ZigZag Pivot
The Anchored Linear Regression Channel (LRL) dynamically anchors to the most recent ZigZag pivot point, providing traders with a regression-based channel that resets with each significant price swing.
HOW IT WORKS:
This indicator combines ZigZag pivot detection with linear regression analysis. When price reverses by a specified ATR multiple, a new pivot is identified. After a minimum number of bars, the linear regression channel anchors to this pivot and projects forward to the current bar, recalculating with each new bar.
KEY FEATURES:
- Dynamic anchoring to ZigZag highs and lows
- Customizable ATR-based reversal detection
- Two standard deviation channel bands (inner and outer)
- Adjustable minimum bars before anchor reset (ideal for scalping on lower timeframes)
- Separate controls for ZigZag smoothing vs. anchor reset timing
- Color-coded regression line (up/down trend)
- Optional line extension to the right
- Fully customizable colors and line widths
- Visual label marking the anchor pivot point
INPUTS:
- ATR Reversal: Multiplier for ATR-based pivot detection (default: 2.0)
- MA Length: EMA smoothing for ZigZag calculation (default: 5)
- ATR Length: Period for ATR calculation (default: 5)
- Min Bars After Pivot: Bars required before anchor resets (default: 3, reduce to 1-2 for faster scalping)
- Channel Widths: Inner (0.70) and Outer (1.00) standard deviation multiples
- Line Colors: Customizable colors for uptrend/downtrend and channel lines
- Label Colors: Customizable background and text colors
HOW TO USE:
1. Apply the indicator to your chart
2. Adjust "Min Bars After Pivot" based on your timeframe:
- 1-minute charts: Use 1-2 bars for quick scalping entries
- 5-minute+ charts: Use 3-5 bars for more confirmation
3. Watch for the regression line color to indicate trend direction
4. Use channel bands as potential support/resistance zones
5. The label shows which pivot (high/low) the channel is anchored to
BEST PRACTICES:
- Lower timeframes (1-5 min): Use lower "Min Bars After Pivot" (1-3) for faster reaction
- Higher timeframes: Use higher values (5+) for more confirmed pivots
- Combine with price action and volume for confirmation
- Adjust ATR Reversal based on instrument volatility
NOTES:
- This indicator repaints as it recalculates with each new bar
- Channel resets when a new ZigZag pivot is confirmed
- Not suitable for backtesting strategies due to dynamic nature
- Works best on liquid instruments with clear price swings
DISCLAIMER:
This indicator is for educational and informational purposes only. It does not provide trading signals or guarantees of profitability. Past performance is not indicative of future results. Always perform your own analysis and risk management.
Gamma of Gamma - AnticipationGamma of Gamma — Anticipation Engine
What if you could detect market inflections before they become obvious? Not react to momentum — anticipate the momentum itself.
"Gamma here refers to mathematical acceleration (2nd derivative), NOT options Gamma"
Gamma of Gamma (GoG) operates one abstraction layer above conventional indicators. While RSI tells you what momentum did , GoG tells you what momentum is about to do . This is the difference between chasing price and positioning ahead of it.
Core Innovation: Traditional indicators measure first-order effects (price change) or second-order effects (momentum/acceleration). This system measures the third derivative — the rate of change of acceleration itself. When Gamma-of-Gamma reaches extremes, it signals that pressure dynamics are about to flip — often 2-5 bars before price visibly reacts.
Target Users: Discretionary traders, scalpers, and swing traders who want early positioning signals with statistical rigor. Effective on stocks, crypto, forex, and futures with meaningful volume data.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY THIRD-DERIVATIVE ANALYSIS?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The Hierarchy of Market Information
Most traders operate at the wrong level of abstraction:
• Price → What happened (lagging)
• Momentum → How fast it happened (still lagging)
• Gamma (2nd Derivative) → How momentum is changing (coincident)
• Gamma of Gamma (3rd Derivative) → How FAST that change is changing ( leading )
The third derivative captures inflection acceleration — the mathematical signature of regime transition. When GoG reaches extreme values, the market is telegraphing that current pressure dynamics are unsustainable.
Why This Beats RSI
RSI measures momentum magnitude. GoG measures momentum trajectory .
Consider this scenario: RSI reads 70 (overbought). Is the move exhausted or just getting started? RSI cannot tell you. GoG can — because it measures whether buying pressure is accelerating into the high RSI reading (continuation likely) or decelerating despite high RSI (reversal imminent).
RSI answers: "How strong was the move?"
GoG answers: "Is the move strengthening or weakening right now ?"
The first is historical. The second is predictive.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MATHEMATICAL FOUNDATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 1: Cumulative Volume Delta (CVD)
The foundation is order flow approximation:
• Up bar (close > prior close): Volume classified as buying pressure
• Down bar (close < prior close): Volume classified as selling pressure
• CVD = Running sum of signed volume
Interpretation: Rising CVD indicates net aggressive buying. Falling CVD indicates net aggressive selling. CVD divergence from price often precedes reversals.
Layer 2: Gamma (Second Derivative)
Gamma measures acceleration of order flow:
Formula: Gamma = CVD - 2×CVD + CVD
This is the discrete second derivative — the rate of change of the rate of change. When Gamma spikes positive, buying pressure is accelerating . When Gamma spikes negative, selling pressure is accelerating.
Layer 3: Gamma of Gamma (Third Derivative)
GoG measures jerk — the acceleration of acceleration:
Formula: GoG = Gamma - 2×Gamma + Gamma
Critical insight: Extreme GoG readings indicate that current pressure dynamics are reaching an inflection point. The system is "overextended" in its current trajectory and will likely revert or reverse.
Layer 4: Z-Score Normalization
Raw GoG values are normalized against their 50-period distribution:
Formula: GoG_Z = (GoG - Mean_50) / StdDev_50
Benefit: Z-scores are regime-adaptive. A "2.0" reading always means "2 standard deviations from normal" regardless of whether you're trading a penny stock or ES futures. This makes thresholds consistent across instruments and timeframes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SIGNAL GENERATION LOGIC
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Long Signal (Bullish Anticipation)
Triggers when:
• GoG Z-score < -Threshold (default -2.0)
• Volume > Average Volume × Minimum Multiple (default 1.2×)
Interpretation: Selling pressure acceleration has reached an extreme negative reading. The selling is "exhausting itself" — acceleration is peaking and will soon decelerate. Buyers are likely to step in.
Short Signal (Bearish Anticipation)
Triggers when:
• GoG Z-score > +Threshold (default +2.0)
• Volume > Average Volume × Minimum Multiple (default 1.2×)
Interpretation: Buying pressure acceleration has reached an extreme positive reading. The buying is "exhausting itself" — often occurs at blow-off tops, failed breakouts, or momentum climaxes.
Why Volume Confirmation?
Gamma acceleration in thin liquidity is meaningless noise. The volume filter ensures signals occur only when meaningful participation backs the pressure dynamics. This dramatically reduces false signals during low-activity periods.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CONFIDENCE ENGINE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Not all signals are equal. The Confidence Engine quantifies signal strength:
Confidence Calculation:
Confidence = 50 + ((|Z-Score| - Threshold) / Threshold) × 100
Capped at 100%
Visual Representation:
• Small orb = Low confidence (50-65%)
• Normal orb = Medium confidence (65-80%)
• Large orb = High confidence (80-100%)
Orb transparency also adjusts — high-confidence signals appear brighter and more prominent. This creates intuitive visual hierarchy where stronger signals demand more attention.
Practical Use:
• High confidence (>80%): Consider larger position size, tighter stops
• Medium confidence (50-80%): Standard position size
• Low confidence (<50%): Reduced size or wait for confirmation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
INTEGRATED BACKTESTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Every signal system needs accountability. The onboard backtester provides real-time performance tracking:
Core Metrics:
• Total Trades
• Win Rate
• Profit Factor
• Expectancy (average P&L per trade)
• Net P&L
• Max Drawdown
• Average Win / Average Loss
Methodology:
• Positions held for configurable bar count (default 10 bars)
• Forces objective evaluation independent of discretionary exits
• Updates in real-time as new trades complete
Optimizer Mode:
Enable for parameter tuning research:
• Stability Score (0-100 points): Composite evaluation of parameter robustness
• Trade Density : Signals per 1000 bars — monitors over/under-trading
• Parameter Display : Current settings for documentation
• Robustness Rating : ROBUST / STABLE / FRAGILE / OVERFIT
Stability Scoring Breakdown:
• Win Rate ≥55%: +25 points | ≥50%: +15 points | ≥45%: +5 points
• Expectancy >0.5%: +25 points | >0.1%: +15 points | >0%: +5 points
• Total Trades ≥30: +25 points | ≥20: +15 points | ≥10: +5 points
• Profit Factor ≥1.5: +25 points | ≥1.2: +15 points | ≥1.0: +5 points
Target: 60+ points indicates stable parameters. Below 40 suggests overfitting risk.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CHART EXECUTION SIGNALS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Unique feature: Entry and exit markers display directly on the price chart via force_overlay, even though the indicator runs in a separate pane.
Visual Markers:
• ▲ Green Triangle (below bar): Long entry at exact price level
• ▼ Red Triangle (above bar): Short entry at exact price level
• ✕ Gold X-Cross : Position exit after hold period
Benefit: Immediate visual correlation between GoG signals and price action. Review historical trades without switching between panes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DUAL DASHBOARD SYSTEM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Main Dashboard — Real-Time State
Displays:
• Current GoG regime (EXTREME HIGH / EXTREME LOW / NEUTRAL)
• GoG Z-Score (numerical)
• Raw GoG value
• Gamma value
• CVD (Cumulative Volume Delta)
• Volume status (Active/Low with ratio)
• Signal state (Scanning / Long Signal / Short Signal / In Position)
• Confidence meter with visual bar
• Entry price when in position
Backtest Dashboard — Performance Metrics
Displays all backtester metrics in compact format. Switches to Optimizer view when Optimizer Mode enabled.
Both dashboards feature:
• Configurable position (6 locations including Middle Left/Right)
• Adjustable text size (Tiny/Small/Normal/Large)
• Transparency control for visual integration
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PARAMETER GUIDE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Calculation Settings
• GoG Extreme Threshold (default 2.0): Z-score level for signal generation. Higher = fewer but stronger signals. Range: 0.5-5.0
• Gamma Smoothing (default 3): SMA period for Gamma. Lower = more responsive, more noise. Higher = smoother, more lag. Range: 1-20
• GoG Smoothing (default 5): SMA period for GoG. Filters micro-spikes while preserving structural inflections. Range: 1-20
• Min Volume Multiple (default 1.2): Volume must exceed this multiple of 20-period average. Ensures signals have participation backing. Range: 0.5-3.0
Backtester Settings
• Backtest Hold Bars (default 10): Forced holding period for backtester evaluation. Adjust based on timeframe and trading style.
• Parameter Optimizer Mode : Enables extended metrics for tuning research.
Tuning by Timeframe
Scalping (1-5 min):
Threshold: 1.5-2.0 | Gamma Smooth: 2-3 | GoG Smooth: 3-4 | Hold: 5-8 bars
Day Trading (15-60 min):
Threshold: 2.0-2.5 | Gamma Smooth: 3-5 | GoG Smooth: 5-7 | Hold: 8-12 bars
Swing Trading (4H-Daily):
Threshold: 2.5-3.0 | Gamma Smooth: 5-7 | GoG Smooth: 7-10 | Hold: 10-15 bars
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE: PRACTICAL WORKFLOW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Step 1: Identify Regime
Watch the GoG Z-score line. Most of the time it oscillates within the neutral zone (between thresholds). This is "scanning" mode — no actionable signal.
Step 2: Wait for Extreme
When Z-score crosses threshold AND volume confirms, a signal fires. The orb appears in the indicator pane; the triangle appears on price chart.
Step 3: Assess Confidence
Check orb size and dashboard confidence reading:
• Large bright orb + 80%+ confidence = High conviction setup
• Small faint orb + <60% confidence = Requires additional confirmation
Step 4: Execute with Context
GoG signals anticipate — they don't confirm. Use price structure (support/resistance), higher timeframe trend, or other confirmation before entry.
Step 5: Manage Position
Exit markers show backtester exits. For live trading, consider:
• Time-based exit (signal's hold period)
• Opposite signal exit
• Fixed R:R targets
Step 6: Review Performance
Check Backtest Dashboard regularly. If Win Rate drops below 45% or Expectancy goes negative, reassess parameters or market conditions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT THIS INDICATOR IS — AND ISN'T
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This Indicator IS:
✅ State-transition detector (balance → imbalance)
✅ Early warning system for momentum shifts
✅ Anticipation tool for pre-positioning
✅ Statistical framework with built-in accountability
This Indicator IS NOT:
❌ Mechanical buy/sell system (requires discretion)
❌ Trend-following indicator
❌ Reversal-only indicator
❌ Replacement for risk management
Best Use Cases:
• Detecting early reversals before obvious confirmation
• Anticipating breakouts during volatility compression
• Timing pullback entries in established trends
• Identifying exhaustion at momentum climaxes
Challenging Conditions:
• Extremely low volume environments
• News-driven gaps (no order flow to measure)
• Instruments with unreliable volume data
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ORIGINALITY STATEMENT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Innovation 1: Third-Derivative Order Flow Analysis
While first and second derivatives are common, applying third-derivative (jerk) analysis to cumulative volume delta is novel. This captures inflection points that lower-order analysis misses entirely.
Innovation 2: Z-Score Adaptive Thresholds
Rather than fixed thresholds that require per-instrument tuning, z-score normalization creates self-adapting signal levels that work consistently across any liquid instrument.
Innovation 3: Confidence-Weighted Visual System
Dynamic orb sizing and transparency based on signal strength provides intuitive visual hierarchy. Stronger signals literally appear larger and brighter.
Innovation 4: Integrated Accountability
Built-in backtester with optimizer mode enables parameter validation directly on chart. No external tools or spreadsheets required.
Innovation 5: Dual-Pane Execution Visualization
Force-overlay chart signals bridge the gap between indicator pane and price action, enabling immediate visual trade review.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
LIMITATIONS & DISCLAIMERS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Technical Limitations
• Volume classification uses bar direction (close vs prior close), not tick-level aggressor data. Precision loss estimated 10-15% vs institutional-grade data.
• CVD approximation assumes volume follows price direction. Works well in trending conditions; less precise in choppy markets.
• Backtester uses fixed hold period, not optimal exit logic. Real performance may vary with proper trade management.
Market Limitations
• Requires meaningful volume data. Avoid instruments with reported volume issues.
• Signals may cluster during high-volatility events. Not every signal should be traded.
• Anticipation signals appear early by design. Patience required — price may continue against signal briefly before reversing.
Risk Disclosure
• Trading involves risk of loss. Past performance does not guarantee future results.
• This indicator provides analysis tools, not financial advice.
• Always use proper position sizing and risk management.
• Backtest results are hypothetical and do not include slippage, commissions, or fees.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
RECOMMENDED SETTINGS BY MARKET
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Crypto (BTC, ETH, SOL)
Threshold: 1.8-2.2 | Gamma: 3 | GoG: 5 | Volume: 1.3x | TF: 15min-4H
Notes: Higher volatility produces more signals. Consider higher threshold to filter.
Forex Majors (EURUSD, GBPUSD)
Threshold: 2.0-2.5 | Gamma: 4 | GoG: 6 | Volume: 1.2x | TF: 5min-1H
Notes: Lower volatility requires patience. Volume proxy via tick volume works adequately.
Stocks (Large Cap)
Threshold: 2.0-2.5 | Gamma: 3-4 | GoG: 5-6 | Volume: 1.2x | TF: 15min-Daily
Notes: Real volume data provides cleanest signals. Watch for opening/closing auction distortions.
Futures (ES, NQ, CL)
Threshold: 2.0-2.3 | Gamma: 3 | GoG: 5 | Volume: 1.2x | TF: 5min-1H
Notes: Excellent volume data. Session boundaries may produce false signals — consider RTH only.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CONCLUSION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Gamma of Gamma represents a fundamental shift in signal philosophy: from reacting to momentum to anticipating momentum.
By operating at the third derivative of order flow, this system detects the mathematical signatures of regime transition — the moments when current pressure dynamics become unsustainable and reversal becomes probable.
This is not another oscillator telling you what already happened. This is an anticipation engine positioning you for what's about to happen.
Stop chasing. Start anticipating.
RSI tells you where momentum was. GoG tells you where it's going.
Taking you to school. - Dskyz , Trade with probability. Trade with anticipation. Trade with GoG
A.I. Market Cipher Z [RubiXalgo]A.I. 👑 Market Cipher Z
"Rubik's Algo" – Where Ichimoku mathematics meets Rubik's Cube solving speed under machine-learning color control.
Imagine a speed-cuber solving a Rubik's Cube while juggling — fast, precise, seemingly chaotic yet perfectly aligned layers.
This indicator visualizes that same layered, adaptive intelligence in markets:
Core Visual Metaphor
• Fast Rubik → short-term VSQC Kalman matrix (dynamic 9–21 lookback)
• Slow Rubik → long-horizon dynamic matrix (≈188 base length)
• Sharkwave → higher-timeframe TTM Squeeze + wave-momentum cipher
• Color language → machine-learned gradients (k-NN + Kalman + LOWESS)
Main elements on chart
• Dynamic fast + slow trend lines with gradient fill (bull/bear strength)
• Multi-layer Sharkwave plot (WaveCrest, DeepOcean, Undertow currents)
• Volume Recovery Zones (green/red imbalance rectangles – optional)
• Wick-pressure Bounce Boxes (extreme OB/OS zones – optional)
• GannB-inspired Vxt3 sonar dots (volume-confirmed turning points)
• Two momentum power tables:
❖ Kalman Trend Filter % → overall trend strength
◆ Stochastic Money Flow % → momentum / OB-OS heat
Key Trading Intuition
Green table(s) + green dot + price near fast line = high-probability reversal / continuation long
Red table(s) + red dot + price near slow line = high-probability reversal / continuation short
Bright/dark gradients = conviction | yellow/neutral = wait or fade
Settings highlights
VSQC Dynamic Scaling Lookback 18 ← heartbeat speed (9–21 sweet spot)
Dynamic Maximum Length 188 ← memory horizon
A.I. Money Flow Momentum Window 18 ← core rhythm
Prediction neighbours (k) 63 ← pattern memory depth
Sharkwave timeframe 60 ← usually 4×–24× chart tf
Not financial advice. Trading involves substantial risk of loss.
Use only as one piece of your decision process. Past performance ≠ future results.
© Jesse_Geluk 2025 • Mozilla Public License 2.0
Educational / non-commercial reuse encouraged under CC BY-NC-SA 4.0
[codapro] Elite Momentum & Smart Money Detector
Elite Momentum & Smart Money Detector
Overview
The Elite Detector is a non-repainting indicator that merges Smart Money Concepts, Adaptive Volatility-Based Momentum, and Multi-Timeframe Trend Confluence to identify high-probability trade setups. This tool helps confirm institutional intent and market pressure before triggering actionable signals.
Core Systems
Smart Money Concepts (SMC)
• Highlights institutional order blocks
• Detects equal highs/lows as liquidity zones
• Automatically cleans up outdated zones for clarity
Adaptive Momentum Engine
• Momentum calculated with volatility-adjusted smoothing
• Normalized scale from -100 to +100
• Candle coloring reflects trend strength dynamically
Squeeze Detection System
• Flags volatility contraction zones using Bollinger and Keltner channels
• Background shading highlights compression zones
• Histogram shows directional breakout pressure
Multi-Timeframe Trend Validation
• Aligns signals with higher timeframe momentum
• Built-in logic auto-selects appropriate HTF per chart
• Reduces false signals and improves timing
Signal Logic
Buy Signal appears when:
Momentum crosses from negative to positive
Squeeze condition is active
Higher timeframe confirms bullish trend
Sell Signal appears when:
Momentum crosses from positive to negative
Squeeze condition is active
Higher timeframe confirms bearish trend
All signals are non-repainting and appear only once all conditions are met.
Visual Dashboard (Top-Right Corner)
Displays real-time confirmation across five categories:
Momentum: Current trend direction and strength
Squeeze: Indicates if volatility is compressed
HTF Trend: Confirms higher-timeframe alignment
Volatility: Current volatility phase (low, normal, or high)
Signal Status: Buy, Sell, or Neutral (Wait)
Chart Visuals
Candle Colors:
• Bright green/red = Strong momentum
• Faded green/red = Weak momentum
Background Colors:
• Orange = Squeeze is active
• Clear = Normal market activity
Boxes:
• Green = Bullish order blocks
• Red = Bearish order blocks
Dashed Lines:
• Red = Equal highs (liquidity zones above)
• Green = Equal lows (liquidity zones below)
Alert Conditions
Includes three prebuilt alerts for automation and webhook systems:
Elite Buy Signal
Elite Sell Signal
Squeeze Activation
These alerts allow users to respond to market shifts in real time or integrate with automated trading workflows.
Best Practices
Wait for Confluence: Confirm all three systems (momentum, squeeze, HTF trend) before entering
Watch Order Blocks: Institutional zones often act as support/resistance
Monitor Liquidity Zones: Be cautious of stop hunts near equal highs/lows
Use Dashboard Cues: Let the HUD validate your setup
Always Use Risk Management: This tool increases probability, not certainty
Example Setup:
1. Squeeze background appears
2. Buy signal triangle confirms
3. Dashboard shows: Momentum strong up, Squeeze on, HTF trend up
4. Price bounces off green order block
→ High-probability long entry
Why It Works
This tool leverages multiple uncorrelated concepts to filter low-quality trades and highlight setups with real institutional backing:
Order Blocks and Liquidity Zones track smart money footprints
Volatility-adjusted Momentum captures real energy shifts
Multi-Timeframe Confluence confirms trades in the broader context
Non-repainting signals ensure reliability
Final Note
The Elite Detector is designed to show you:
Where smart money is positioned,
When the market is coiling for a move,
and Which direction is supported by momentum and trend.
Use it as your high-probability entry engine — across any market or timeframe.
Disclaimer
This tool was created using the CodaPro Pine Script architecture engine — designed to produce robust trading overlays, educational visuals, and automation-ready alerts. It is provided strictly for educational purposes and does not constitute financial advice. Always backtest and demo before applying to real capital.
Current Fractal High/Low (Dynamic) v2.3# 📝 Current Fractal High/Low (Dynamic) v2.3 – Changelog
## ➕ Additions
- ✅ New option: **Enable Historical Fractals** – Displays past FH/FL levels using dashed lines.
- ✅ **Breakout Alert Conditions**: Alerts added for breakout of the most recent Fractal High and Low.
- ✅ **Inline Labels**: FH/FL labels now appear directly on the fractal lines.
- ✅ **Single Alert Toggle**: Option to trigger alerts only once per breakout.
- ✅ Codebase prepared for future features (e.g. fractal tagging, count limits).
## 🔧 Improvements
- 🔄 Fractal levels now update **only after a valid breakout**, not just when a new pivot is formed.
- 🧱 Improved variable scope handling (no redeclaration issues).
- 📦 Ready for migration to **Pine Script v6**.
## 🛠 Known Limitations / To-Do
- 🔹 No current option to limit historical fractals (e.g. show last 5 only).
- 🔹 FH/FL labels currently use text ("FH"/"FL") — numerical values may be added in a future update.
---
📌 Free to use with attribution. Developed by: (www.stairwaytoprofit.com)
Mobius Trend Pivot (NPR21 v6)Mobius Trend Pivot (NPR21 v6)
Overview
This indicator identifies trend pivots using higher highs with higher lows (bullish trends) and lower lows with lower highs (bearish trends). Originally created by Mobius (V01.01.29.2019) for ThinkOrSwim, this Pine Script conversion maintains the original logic while fixing critical rendering issues found in previous TradingView versions.
How It Works
The indicator tracks price trends over a user-defined lookback period (default n=5) to establish pivot points. When a valid trend pivot forms, the indicator plots:
Red zone (bearish): Upper pivot line with confirmation level below
Green zone (bullish): Lower pivot line with confirmation level above
White dashed lines: Risk-off levels for position management
Confirmation levels are calculated as a multiple (R_Mult, default 0.7) of the Average True Range at the pivot.
Trading Rules (from Mobius original code)
Entry: Trade when price crosses and closes outside the pivot confirmation line
Risk Management: Use the pivot line itself as your risk point - exit if crossed (avoid hard stops)
Risk-Off: Target an ATR multiple for initial profit taking to achieve a risk-free trade
Stop Management: Move mental stop to break-even once risk-off is achieved
Runner Management: Adjust mental stop to new support/resistance levels as they form
What Makes This Version Different
NPR21 v6 fixes critical bugs present in other TradingView versions:
✅ Consistent transparency - The red/green cloud fills maintain constant 85% transparency and no longer progressively darken over time
✅ No overlapping renders - Eliminated the issue where multiple indicator instances would layer on top of each other, creating visual clutter
✅ Proper memory management - Implements linefill deletion/recreation logic to prevent object accumulation
✅ Clean visual display - Matches the original ThinkOrSwim appearance with professional-looking zones
Key Features
Automatic pivot detection based on price structure
Dynamic support/resistance zones
Built-in risk management levels
Alert capability for pivot confirmation crossovers
Minimal lag - responds quickly to trend changes
Works on all timeframes and instruments
Settings
n (default 5): How many bars to look back for trend confirmation
R_Mult (default 0.7): Adjusts how far the confirmation lines sit from pivots
Lower n = more sensitive, more signals
Higher n = less sensitive, fewer signals
Color Scheme
Red lines/zones: Bearish pivots and short trade setups
Green lines/zones: Bullish pivots and long trade setups
White dashed lines: Risk-off target levels
Best Practices
Use 2+ contracts to implement the risk-off strategy
Combine with price action and volume for confirmation
Adjust n and R_Mult based on instrument volatility
Works best on liquid futures and forex pairs
Consider using higher timeframes for swing trades
Credits
Original indicator concept and logic: Mobius (ThinkOrSwim, January 2019)
Pine Script conversion and optimization: NPR21
Note: This indicator is for educational purposes. Past performance does not guarantee future results. Always practice proper risk management and position sizing.
MB Break & Retest MB Break & Retest + VWAP (ORB) is an Opening Range Breakout indicator built for intraday trading. It captures the first 15 minutes of the session to plot the Opening Range High, Low, and Midpoint. After the Opening Range is set, it looks for a confirmed breakout using two conditions: price must close a user-defined distance beyond the OR High or OR Low, and the breakout candle must meet a minimum 5-minute volume threshold. If both the OR High and OR Low break in the same session, the indicator flags the market as choppy and avoids taking trades.
Trades are not taken on the breakout candle. Instead, the script waits for price to retest the Opening Range midpoint and enter only when that retest shows acceptable confirmation. Optional filters include a close-position filter (requiring the candle to close in the top/bottom portion of its range), a minimum retest volume requirement, and a midpoint “respect” filter that requires price to reject away from the midpoint by a set distance rather than simply touching it.
An optional VWAP filter adds directional bias: longs are allowed only when the midpoint is sufficiently below VWAP (with a configurable buffer), and shorts are allowed only when the midpoint is sufficiently above VWAP. The VWAP line can be displayed, and the script tracks how many potential trades were filtered out by the VWAP rule.
The indicator also includes built-in trade management and visual risk tools. It plots stop-loss and take-profit zones, supports a partial profit target (taking 50% off at a specified move), and can move the stop to break-even once a configurable R:R threshold is reached. Entry, partial, break-even, stop, and target events can be labeled on the chart.
A live status panel shows the current state (watching, breakout detected, trade active, session closed, or choppy), along with OR levels, midpoint, VWAP context, and volume information. A backtest dashboard summarizes performance metrics such as net P/L, win rate, profit factor, average win/loss, long vs short stats, breakeven exits, partial exits, streaks, and VWAP-filtered counts.
SBMS RSI+MAThis is clearly indicating the RSI with colors on panel and gives idea about overbought and oversold easily in visually clear color bands.
We have made the Alerts facility for knowing the trend improving or trend slowing now.
If this is combined with RSI divergence can be best tool to spot revrsals like in case of Double Bottom OR Double Top to confirm for trade initiation.
ALL-IN ZONE X (EMA + BB + Swing + TP Panel)ALL-IN ZONE X is a technical analysis indicator designed to help traders identify high-probability trade zones using a combination of trend, volatility, and price structure.
This indicator integrates:
Exponential Moving Averages (EMA) for trend direction
Bollinger Bands (BB) to visualize volatility and price expansion
Swing structure detection to highlight potential market turning points
A Take Profit (TP) panel to assist with structured trade planning
ALL-IN ZONE X is intended for discretionary trading and educational purposes only.
It does not generate automated buy or sell orders and should be used as a confluence tool alongside proper risk management and market analysis.
Disclaimer:
This indicator does not provide financial advice. Trading involves risk, and past performance does not guarantee future results.
Supply & Demand Zones [PLUS]## 🟧 OVERVIEW
Supply & Demand Zones is a professional-grade technical analysis indicator designed to automatically detect and visualize key supply and demand zones on your chart. Built on Order Block and Price Action methodology, this indicator identifies areas where institutional buyers and sellers have placed significant orders, helping traders spot high-probability reversal and continuation zones.
Whether you are a day trader, swing trader, or position trader, this indicator provides clear, actionable zones that adapt to any market and timeframe.
---
## 🟧 HOW IT WORKS
The indicator uses a sophisticated detection algorithm based on two core principles:
**Consolidation Detection**
The algorithm first identifies consolidation (base) candles where price action shows minimal directional commitment. These are candles with small body-to-range ratios, indicating accumulation or distribution phases.
**Impulse Move Validation**
After consolidation, the algorithm waits for a strong impulse move (breakout). When price makes a decisive move away from the consolidation area with sufficient momentum, a zone is created:
- Strong bullish impulse after consolidation = DEMAND zone (support)
- Strong bearish impulse after consolidation = SUPPLY zone (resistance)
**Zone Lifecycle**
Each zone follows a clear lifecycle:
- FRESH: Newly created zone, untested by price
- RETEST: Price has returned to test the zone
- BREAK: Price has closed beyond the zone boundary, invalidating it
---
## 🟧 ICT SMART MONEY CONCEPTS
This indicator aligns with ICT (Inner Circle Trader) Smart Money Concepts, making it an essential tool for traders following institutional trading methodologies:
**Order Blocks**
Supply and demand zones detected by this indicator represent Order Blocks — areas where institutional traders have placed large orders. These zones mark the origin of strong price movements and often act as future support or resistance.
**Liquidity Pools**
Fresh zones indicate areas where retail stop losses and pending orders accumulate. Smart money often targets these zones to fill large positions before reversing price direction.
**Market Structure**
By tracking zone creation, retests, and breaks, traders can identify:
- Break of Structure (BOS): When zones are broken, indicating trend continuation
- Change of Character (CHoCH): When opposing zones form, suggesting potential reversal
- Fair Value Gaps: Impulse moves away from zones often create imbalances
**Mitigation and Rejection**
The retest tracking feature helps identify mitigation blocks — zones that price returns to before continuing in the original direction. High-quality retests with strong rejection (visible in zone status) indicate institutional order flow.
**Kill Zones Integration**
Combine this indicator with session-based analysis to identify zones created during high-volume periods (London Open, New York Open, Asian Session) for higher probability setups.
---
## 🟧 KEY FEATURES
**Automatic Zone Detection**
No manual drawing required. The indicator automatically identifies and plots supply and demand zones based on proven price action patterns.
**Smart Zone Filtering**
Built-in filters prevent chart clutter by removing weak zones, merging overlapping zones, and limiting the maximum number of displayed zones.
**ATR-Based Zone Sizing**
Zone thickness is dynamically adjusted using Average True Range (ATR) to ensure zones are proportional to current market volatility.
**Fresh, Retest, and Break Tracking**
Each zone displays its current status, allowing traders to quickly identify untested zones (highest probability) versus zones that have been retested or broken.
**Customizable Visuals**
Full control over zone colors, transparency, border styles, and text sizes for both demand and supply zones.
**Real-Time Updates**
Zones extend automatically as new candles form, and status updates in real-time as price interacts with each zone.
---
## 🟧 MULTI-MARKET COMPATIBILITY
This indicator works seamlessly across all markets available on TradingView:
**Cryptocurrency**
- Bitcoin (BTC), Ethereum (ETH), and all major altcoins
- Works on spot, futures, and perpetual contracts
- Effective on 24/7 markets with continuous price action
- Adapts to high volatility environments typical of crypto markets
**Forex**
- All major pairs (EUR/USD, GBP/USD, USD/JPY, etc.)
- Cross pairs and exotic currencies
- Perfect for session-based trading (London, New York, Tokyo)
- Timezone feature helps correlate zones with market sessions
**Stocks and Indices**
- Individual stocks on NYSE, NASDAQ, and global exchanges
- Index futures (ES, NQ, YM, etc.)
- ETFs and sector-specific instruments
- Works with pre-market and after-hours data
**Commodities**
- Gold, Silver, and precious metals
- Oil, Natural Gas, and energy markets
- Agricultural commodities
The ATR-based zone sizing automatically adapts to each market's volatility characteristics, ensuring optimal zone detection regardless of the instrument you trade.
---
## 🟧 TIMEFRAME COMPATIBILITY
This indicator is fully adaptive and works on all timeframes available on TradingView:
| Timeframe Category | Examples | Best For |
|-------------------|----------|----------|
| Scalping | 1m, 3m, 5m | Quick entries, tight stops |
| Intraday | 15m, 30m, 1H | Day trading, session-based trading |
| Swing | 4H, Daily | Multi-day holds, trend following |
| Position | Weekly, Monthly | Long-term investing, major levels |
The indicator automatically adjusts its detection parameters based on the selected timeframe to provide optimal zone detection across all trading styles.
---
## 🟧 TIMEZONE SUPPORT
The indicator includes comprehensive timezone support with 70+ major world timezones. Zone creation timestamps are displayed in your selected local time, making it easy to correlate zones with specific trading sessions:
- Americas: New York, Chicago, Los Angeles, Toronto, Sao Paulo
- Europe: London, Paris, Frankfurt, Zurich, Moscow
- Asia-Pacific: Tokyo, Hong Kong, Singapore, Sydney, Dubai
- And many more...
Select your local timezone in the settings to see zone creation times in your preferred format.
---
## 🟧 DETECTION MODES
Three detection modes are available to match your trading style:
**Confirmed Only (Default)**
Zones are only created after the candle closes. This provides the most reliable signals with zero repaint risk. Recommended for most traders.
**Realtime Preview**
Zones can be created on the current candle before it closes. Provides faster signals but with minor noise potential.
**Realtime Aggressive**
Updates on every price tick. Fastest response but highest noise. Only recommended for experienced traders who understand the tradeoffs.
---
## 🟧 WHO SHOULD USE THIS INDICATOR
This indicator is designed for:
- **Price Action Traders** who base their decisions on support and resistance levels
- **Supply and Demand Traders** looking for automated zone identification
- **Order Block Traders** who want to identify institutional order flow areas
- **ICT/Smart Money Traders** applying institutional trading concepts
- **Swing Traders** seeking key levels for entries and exits
- **Day Traders** who need quick identification of intraday levels
- **Crypto Traders** navigating volatile digital asset markets
- **Forex Traders** trading major and exotic currency pairs
- **Stock Traders** analyzing equities and indices
- **Risk Managers** who want clear zones for stop loss and take profit placement
---
## 🟧 ALERT SYSTEM
Built-in alert system notifies you of important zone events:
- **Fresh Zone Alert**: Triggered when a new zone is created
- **Retest Alert**: Triggered when price returns to test an existing zone
- **Break Alert**: Triggered when a zone is invalidated by price
Alerts can be configured to send notifications via TradingView app, email, webhook, or other supported methods.
---
## 🟧 SETTINGS OVERVIEW
**Consolidation Settings**
- Consolidation Threshold: Defines what constitutes a base candle (default 73%)
**Move Strength Settings**
- Min Move Strength: Minimum impulse required to create a zone (default 60%)
- Min Move Size (ATR): Minimum move size relative to ATR (default 0.5)
**Zone Filter Settings**
- Enable Zone Filter: Toggle all filtering on/off
- Min Zone Size (ATR): Minimum zone height filter
- Min/Max Zone Thickness: Zone size limits
- Min Base Candles: Required consolidation length
- Overlap Threshold: Controls zone merging behavior
- Max Zones Limit: Maximum zones
**Visual Settings**
- Separate color controls for Fresh and Retest zones
- Border width and style options
- Text size and color customization
- Break zone display options
---
## 🔶 UPGRADE TO PRO 🔶
Looking for more advanced features? **Supply & Demand Zones AI ** includes:
🔸 AI/ML-Based Zone Strength Scoring (0-100%)
🔸 Touch Quality and Bounce Strength Analysis
🔸 Advanced Volume Analysis and Validation
🔸 Multiple Retest Color Levels (1, 2, 3+)
🔸 Professional Break Alerts with Stop Loss Warnings
🔸 Enhanced Visual Indicators and Symbols
🔸 Base Candle Counter for Consolidation Analysis
---
## 🟧 USAGE TIPS
1. **Fresh Zones First**: Prioritize trading from fresh zones as they have the highest probability of holding.
2. **Confluence**: Combine zones with other analysis methods (trendlines, moving averages, Fibonacci) for higher probability setups.
3. **Multi-Timeframe**: Check higher timeframe zones for major levels, then use lower timeframe zones for precise entries.
4. **Risk Management**: Always place your stop loss beyond the zone boundary to account for zone breaks.
5. **Session Awareness**: Use timezone settings to understand when zones were created relative to major trading sessions.
---
## 🟧 DISCLAIMER
This indicator is provided for educational and informational purposes only. It does not constitute financial advice. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management when trading.
ApEn Zones with Delta Confirmation MTF [PhenLabs]📊 ApEn Zones with Delta Confirmation MTF
Version: PineScript™ v6
📌 Description
The ApEn Zones with Delta Confirmation MTF indicator combines Approximate Entropy analysis with cumulative volume delta to identify high-probability support and resistance zones. Approximate Entropy (ApEn) measures the complexity and unpredictability in price data—when ApEn drops significantly, it signals a transition from chaotic to ordered market behavior, often preceding reversals or continuations.
This indicator goes beyond simple ApEn detection by integrating Delta confirmation, which validates zones using volume-based order flow analysis. When a zone forms with Delta confirmation, it indicates institutional participation aligning with the price structure. The multi-timeframe capability allows traders to detect zones forming on higher timeframes while executing on their preferred chart.
🚀 Points of Innovation
First indicator to combine ApEn complexity analysis with cumulative Delta confirmation for zone validation
Pre-built calculation presets eliminate guesswork—optimized parameters for scalping, day trading, and swing trading
Smart zone management automatically removes invalidated zones after two price rejections
Multi-timeframe architecture detects zones on configurable timeframes independent of chart timeframe
Visual style presets provide instant customization from high contrast to subtle overlays
Delta threshold system distinguishes between regular zones and institutionally-confirmed zones
🔧 Core Components
ApEn Calculator: Measures pattern regularity using embedding dimension (m=2) and tolerance factor (r) against price standard deviation to quantify market complexity
Delta Engine: Computes cumulative delta from volume and price movement, comparing against statistical thresholds to identify significant order flow divergence
Zone Generator: Creates visual box zones at signal points with dynamic sizing based on bar range and confirmation status
MTF Request Handler: Fetches ApEn calculations from user-specified timeframe using security() calls for higher timeframe alignment
Zone Manager: Tracks zone interactions, counts rejections, and automatically purges zones that have been tested twice
🔥 Key Features
Calculation Presets: Choose from Aggressive, Conservative, Scalping 1m, Strong Scalping, Swing Trading, or Default—each preset optimizes all parameters for specific trading styles
Visual Style Presets: Select Default, High Contrast, Subtle, Classic, Neutral, or Neutral Reverse to match your chart theme and preference
Delta Confirmation: Zones display with enhanced opacity when cumulative delta confirms institutional participation in the direction of the zone
Automatic Zone Cleanup: Zones self-destruct after two rejections, keeping your chart clean and focused on active levels
Alert System: Four alert conditions for buy zones, sell zones, strong buy signals, and strong sell signals
Maximum Zone Control: Limits display to 5 zones per direction to prevent chart clutter
🎨 Visualization
Buy Zones: Displayed as horizontal boxes at low points when ApEn crosses under threshold—lighter transparency indicates regular zone, darker indicates Delta confirmation
Sell Zones: Displayed as horizontal boxes at high points when ApEn crosses over threshold—visual confirmation follows same transparency logic
Zone Boundaries: Each zone extends 10% of bar range above and below the signal level, providing clear entry and stop areas
Dynamic Extension: All zones automatically extend rightward with each new bar until invalidated
📖 Usage Guidelines
Calculation Preset Selection
Scalping 1m / Strong Scalping: Use for 1-5 minute charts with faster signal generation and tighter thresholds (Length: 15, Zone Length: 5)
Aggressive: Shorter lookback (Length: 10) generates more zones with lower confirmation requirements—higher frequency, more noise
Default: Balanced parameters suitable for 5-15 minute charts (Length: 15, Zone Threshold: 0.5, Delta Length: 4)
Conservative: Extended lookback (Length: 30) with stricter thresholds—fewer but higher probability zones
Swing Trading: Longest parameters (Length: 40, Zone Length: 20) for 1H-4H charts capturing major structural zones
Visual Style Selection
High Contrast: Bright green/red for maximum visibility on any background
Subtle: Muted green/red with transparency for minimal chart distraction
Classic: Traditional lime green and crimson color scheme
Neutral / Neutral Reverse: Grayscale tones for non-directional bias visualization
Timeframe Configuration
Default timeframe is set to 1 minute—adjust based on your execution timeframe
For scalping: Set zone timeframe 1-3x your chart timeframe
For swing trading: Set zone timeframe to 4H or Daily while viewing 1H charts
✅ Best Use Cases
Identifying reversal zones during high-volatility market conditions
Confirming support/resistance levels with volume-based order flow validation
Scalping entries on lower timeframes with higher timeframe zone confluence
Filtering trade setups by requiring Delta confirmation before entry
Setting stop losses beyond zone boundaries after rejection tests
Swing trade positioning at zones detected on 4H/Daily timeframes
⚠️ Limitations
ApEn calculations are computationally intensive—may experience slower loading on very long chart histories
Delta estimation uses (close - open) * volume approximation, not actual order flow data
Zones require sufficient price history—indicator needs max_bars_back of 2000 bars for proper calculation
Low volume instruments may produce unreliable Delta confirmation signals
Zone rejections are counted based on price interaction, not candle close confirmation
Maximum of 5 zones per direction limits visibility during highly active markets
💡 What Makes This Unique
Entropy-Based Detection: Uses mathematical complexity analysis rather than simple price patterns to identify zones
Dual Confirmation System: Combines ApEn signals with Delta divergence for higher probability setups
Adaptive Presets: Six calculation presets and six visual styles create 36 possible configurations without manual parameter adjustment
Self-Managing Zones: Automatic invalidation after two rejections mimics how professional traders track level degradation
🔬 How It Works
Step 1 - ApEn Calculation: The indicator computes Approximate Entropy by measuring how often similar patterns of length m repeat within tolerance r multiplied by standard deviation—lower values indicate more predictable (ordered) price behavior
Step 2 - Signal Generation: Buy signals trigger when higher timeframe ApEn crosses under the average ApEn divided by threshold; sell signals trigger when ApEn crosses over average multiplied by threshold
Step 3 - Delta Confirmation: Cumulative delta is compared against its moving average plus/minus standard deviation times threshold—extreme readings confirm institutional order flow alignment
Step 4 - Zone Creation: Visual boxes are drawn at signal bars with dimensions based on bar range; confirmed zones receive enhanced opacity while unconfirmed zones appear more transparent
Step 5 - Zone Lifecycle: Active zones extend with each bar and track price interactions; after two rejections (price touches zone but reverses), the zone is automatically deleted
💡 Note:
This indicator works best when combined with trend analysis and market structure. Use calculation presets as starting points and adjust the Zone Timeframe setting to align with your trading methodology. Delta confirmation significantly improves zone reliability but requires volume data—instruments with low or unreported volume should rely primarily on ApEn signals alone. Always validate signals with price action context before executing trades.
MSS 15m - R.AlvaradoMSS 15m – R.Alvarado is a minimalist Market Structure Shift indicator designed to highlight real changes in market structure on the 15-minute timeframe.
The indicator plots a single horizontal line and label when a valid Market Structure Shift occurs, marking the exact price level where structure changes from bullish to bearish or vice versa. Only one MSS is displayed at a time and it remains anchored on the chart until a new structure shift appears.
This tool is intended for discretionary traders who already work with higher-timeframe bias, key levels, and liquidity concepts. It does not generate trade entries by itself, but provides clear structural context to support decision-making after liquidity events and during CRT analysis.
Best used in combination with higher-timeframe bias and key levels, especially when refining executions on lower timeframes.






















