SMT Quarter theory - AMDX cycles and killzones.This indicator visualizes the Quarterly Theory (SMT / Smart Money Theory) concept anchored to New York time. The main daily cycle starts at 18:00 NY time and lasts exactly 24 hours — until 18:00 the next day (local NY time, automatically handling daylight saving time transitions).
Each 24-hour SMT day is divided into four 6-hour blocks:
18:00–00:00 (Asia Killzone)
00:00–06:00 (London Open)
06:00–12:00 (NY AM)
12:00–18:00 (NY PM)
Each 6-hour block is further subdivided into four 90-minute micro-cycles.
The indicator draws:
semi-transparent colored rectangles (boxes) for the 6-hour sessions using different colors and corresponding session names
lighter orange boxes for the 90-minute cycles inside each 6-hour block
vertical dashed lines at the boundaries of 6-hour sessions (different colors)
thin dotted lines at the boundaries of 90-minute cycles
a thick vertical line marking the end of the SMT day (next 18:00 NY)
text labels with the main session names placed above the chart
This indicator based on AMDX quarter theory - accumulation, manipulation, distribution, x (distribution or reversal). Use this indicator to improve your price movement understanding!
Этот индикатор предназначен для визуализации концепции Quarterly Theory (SMT / Smart Money Theory) с привязкой к нью-йоркскому времени. Основной цикл дня начинается в 18:00 по Нью-Йорку и длится ровно 24 часа — до 18:00 следующего дня (по местному времени NY, с автоматическим учётом перехода на летнее/зимнее время).
Каждый такой 24-часовой SMT-день делится на четыре 6-часовых блока:
18:00–00:00 (Asia Killzone)
00:00–06:00 (London Open)
06:00–12:00 (NY AM)
12:00–18:00 (NY PM)
Каждый 6-часовой блок, в свою очередь, разделён на четыре 90-минутных микроцикла.
Индикатор рисует:
полупрозрачные цветные прямоугольники (боксы) для 6-часовых сессий с разными цветами и соответствующими названиями
более светлые оранжевые боксы для 90-минутных циклов внутри каждого 6-часового блока
вертикальные пунктирные линии на границах 6-часовых сессий (разные цвета)
тонкие точечные линии на границах 90-минутных циклов
вертикальную жирную линию на конец SMT-дня (следующие 18:00 NY)
текстовые метки с названиями основных сессий над графиком
Multitimeframe
Daily Weekly Monthly Highs & Lows [Line breaks]This indicator, "Daily Weekly Monthly Highs & Lows ", is an advanced technical analysis tool designed to identify and project historical liquidity levels (Highs and Lows) from multiple timeframes directly onto the current chart.
1. Main Purpose
The indicator automates the plotting of previous Daily (D), Weekly (W), and Monthly (M) highs and lows. It not only marks the level but also offers future projections and a visual breakout system, allowing the trader to quickly identify which levels are still "virgin" and which have already been mitigated by price.
2. Features and Settings
A. Timeframe Segmentation
Each period (Daily, Weekly, Monthly) has its own independent set of settings:
Enable/Disable: Enables or disables the visualization for each specific timeframe.
Lookback: Defines how many previous periods will be plotted (e.g., the last 5 daily highs).
Visual Customization: Allows you to change colors, widths, and line styles (Solid, Dotted, Dashed) individually for active and broken levels.
B. Projection System and Style
Show Projections: Extends lines ahead of the current price (offset to the right), making it easier to visualize future targets or support/resistance zones.
Show Gradient: Applies a transparency effect based on the age of the level. Newer levels are more opaque, while older levels gradually become more transparent.
Hide Broken Levels Entirely: A "cleanup" option that completely removes the line and label from the chart as soon as the price reaches it, leaving only the unmitigated levels.
C. Label Management
Labels identify levels (e.g., PDH1 for Previous Daily High 1).
Anti-Overlap Offset: Intelligent logic that shifts labels from different timeframes to prevent them from overlapping each other. 3. Internal Logic and Processing
The script uses a function to accurately retrieve the Maximum, Minimum, and Time data from the upper periods, ensuring that the level is drawn correctly as soon as the new period begins.
Break Monitoring: For each candle, the script checks if the current price has exceeded the line. If there is a break: The original line is closed and a new line (with a "Break" style) is started from that point.
Memory Management: Automatically removes older objects that exceed the user-defined lookback limit, keeping the chart lightweight and performant.
4. Practical Visualization
Active Level: Line with a solid/strong color and identified label.
Broken Level: The line changes to a softer color (usually dark gray/transparent) and the label follows this change, signaling that the liquidity of that point has already been captured.
Break Point: The indicator visually marks the exact moment (candle) when the level was invalidated.
________________________________________________________________________________
🎯 Practical Manual: Previous DWM HL
This guide will help you configure the indicator for maximum visual clarity and understand the signals it plots on the chart.
1. Visibility Settings (Timeframes)
The indicator is intelligent and adapts to your current chart to avoid clutter:
Daily: Visible only on intraday timeframes (e.g., 1 min to 4 h).
Weekly: Visible on intraday charts and the Daily chart.
Monthly: Visible on all timeframes except the Monthly chart itself.
2. Understanding the Visual Controls
Lookback: Defines the indicator's "memory." If you set it to 5 on the Daily, you will see the highs/lows of the last 5 days.
Show Projections: When activated, extends the lines to the right (empty space on the chart), allowing you to see support/resistance levels before the price reaches them.
Show Gradient: Older levels become more transparent. This helps you focus on what is recent and relevant.
Hide Broken Levels Entirely: If you want a "clean" chart, enable this option. It automatically deletes any line touched by the price.
3. Anatomy of a Level
Continuous/Original Line: Represents a level that has not yet been mitigated (pending liquidity).
Post-Break Line (Color After Break): When the price crosses a level, the line changes color and style (e.g., from solid to dotted) to show that that level has already been "tested" or liquidity has been captured.
Labels (PDH, PWH, PMH):
PDH/PDL: Previous Daily High/Low.
PWH/PWL: Previous Weekly High/Low.
PMH/PML: Previous Monthly High/Low.
The number next to it (e.g., PDH1) indicates the distance: 1 is the previous day, 2 is two days ago, and so on.
Common Strategies with the Indicator
A. Liquidity Sweeps
Many traders look for reversals after the price "clears" a previous high or low.
How to see it on the indicator: The price rises above a PWH (Weekly High), the line changes to the "Break" color, and the price quickly returns below the level. This suggests a buy liquidity capture to initiate a sell movement.
B. Trend Continuation (Break & Retest)
How to see it on the indicator: The price breaks a PMH (Monthly High) strongly and then returns to test exactly the "Break" line as support before continuing to rise.
C. Take Profit Targets
How to see it on the indicator: If you are long, the Previous High Projections (PDH or PWH) serve as natural price "magnets" and great points to take profit, as there are usually stop orders above these levels.
Pro Tip: Use "Anti-Overlap Offset" if you are using many Lookbacks at the same time. It will organize the level names in a staggered fashion so you can read them all without them overlapping.
Session Time Lines (NY Time)This clean indicator draws vertical dashed lines on the chart at key session times in New York time:
7:00 PM – Previous day session start
3:00 AM – Overnight session
9:30 AM – NY market open
It automatically removes the previous session’s lines when a new 7:00 PM occurs, keeping the chart clean. Lines are drawn directly on the price chart (overlay), making it easy to see market session transitions.
Works on intraday charts
Time-based vertical lines in New York time (DST-safe)
Shows only one cycle at a time for clarity
Non-intrusive, no calculations or trading signals
Fractal HTF FVGHTF Fractal Fair Value Gap (FVG) Detector
This indicator identifies and displays Higher Timeframe Fair Value Gaps (HTF FVGs) on any chart using a fractal timeframe methodology.
The HTF can be selected automatically based on the current chart or set manually.
Only the nearest active (non-filled) bullish and bearish HTF FVGs relative to current price are shown, keeping the chart clean and focused on the most relevant imbalance zones.
Each FVG includes an optional 50% equilibrium (midline) to assist in evaluating reactions from premium and discount levels.
Key features
Fractal HTF logic (automatic or manual)
Shows only active, non-filled HTF FVGs
Displays the closest bullish and bearish FVG to price
Optional 50% FVG midpoint
Adjustable visibility and styling options
Designed for clear multi-timeframe bias and execution context
This indicator is intended for traders who incorporate market imbalance, displacement, and higher-timeframe structure into their analysis.
Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instrument. Trading involves risk, and past performance is not indicative of future results. Users are solely responsible for their trading decisions and risk management.
EMA 5/9/21/50/200 + VWAP + Supertrend singhsinnerBest for Intraday and positional. no need to add other indicators. extremely strong trend price move with 5ema, for rentry see 21ema as support. 9 & 21 cross above for fresh entry n cross down for exit. 5ema for early entry
Synthetic POC with HTF Swing AcceptanceThis indicator visualizes a synthetic Point of Control (POC) derived from lower-timeframe volume data and evaluates its position relative to higher-timeframe swing structure.
Signals are generated only when:
The synthetic POC is accepted above or below a defined higher-timeframe swing range
The candle closes in the same direction as the acceptance
The condition occurs on a confirmed bar
To reduce noise, the script enforces a one-alert-per-acceptance rule. Alerts reset only after the POC returns inside the higher-timeframe range.
This tool is intended to help identify acceptance of value beyond higher-timeframe structure and is best used as a contextual confirmation rather than a standalone trading system.
No performance claims are made.
Heikin Ashi EMA Re-Entry with HTF ContextThis indicator highlights Heikin Ashi continuation candles only when they form within a defined higher-timeframe market context.
Signals are filtered using a combination of:
Higher-timeframe EMA direction and slope
Short-term EMA trend alignment
EMA pullback (re-entry) logic
Consecutive no-wick Heikin Ashi candles
Optional higher-timeframe swing structure proximity
Alerts are strictly contextual and trigger only after price pulls back into the EMA and resumes movement in the prevailing direction. Flat EMA conditions and counter-trend scenarios are automatically filtered out.
This script includes optional visualization of higher-timeframe swing levels and is intended as a confirmation or re-entry tool rather than a standalone trading system.
No performance claims are made. Users should evaluate and test the indicator within their own trading framework.
Rapid ORB Pro - Breakout & Fakeout Detector (Multi Sessions)Rapid ORB Pro — Multi-Session Opening Range Framework
Overview
Rapid ORB Pro is a session-based Opening Range Breakout (ORB) framework designed for traders who want structured, rule-driven breakout analysis rather than isolated indicators.
It combines session range construction, breakout validation, trend alignment, and optional trade-planning tools into a single, coherent workflow.
This is not a collection of unrelated studies. Each component activates only when the prior conditions are met, forming a layered decision process from session open to trade management.
Core Design Philosophy
The script follows a strict execution flow:
Session → Range → Breakout → Validation → Trend Alignment → Context Tools → Trade Planning
Every module is optional, but all are designed to work together as one system.
1. Multi-Session Opening Range Engine
Rapid ORB Pro builds independent opening ranges for multiple global sessions (e.g. New York, London, Sydney).
Each session has its own:
• Timezone input (explicit, DST-safe)
• Range window
• Projection window
• Reset logic
This architecture avoids daylight-saving and broker-timezone errors that commonly affect time-based ORB scripts.
2. Breakout Detection & Validation
A breakout is detected only after the opening range is completed.
A signal is then validated using configurable confirmation rules, including:
• Momentum body validation (to avoid wick-only breaks)
• Structural continuation vs the prior candle
• Optional body-outside-range requirements
This helps filter weak or stop-hunt moves and focuses on genuine momentum expansion.
3. Fakeout (FO) Detection
Rapid ORB Pro includes a dedicated fakeout engine.
If price breaks the range but the very next candle closes back inside (or beyond the opposite side), a Fakeout (FO) marker is plotted.
This logic triggers only once per session and resets cleanly with each new range.
The FO marker helps traders identify liquidity traps and failed breakouts early.
4. Inside-Range Persistence (“7-Bar” Signal)
If price remains fully inside the opening range for seven consecutive candles without a valid breakout, the script can optionally mark this condition.
This highlights sessions where volatility is compressed and breakout probability is reduced — or where energy may be building for later expansion.
5. Volume Context Table
A compact table compares:
• Breakout candle volume
• Highest volume printed inside the opening range
This provides quick context on whether a breakout was supported by participation or occurred on weaker flow.
6. Advanced Trend Alignment System
Trend alignment is handled through a three-layer gate:
• Chart-timeframe trend filter
• Higher-Timeframe (HTF 1) filter
• Higher-Timeframe (HTF 2) filter
Each filter supports multiple modes:
Disabled, Long-Only, Short-Only, EMA Cross, or Price Position.
HTF EMA values are frozen until the higher-timeframe bar closes, preventing mid-bar flicker or repaint behavior.
HTF filters can be combined using either:
• “Either HTF OK” (OR logic), or
• “Both HTFs Must Agree” (AND logic)
This allows true multi-timeframe alignment when desired.
7. In-Range Fair Value Gap (FVG) Context
An optional Fair Value Gap detector identifies three-candle FVG structures that:
• Originate inside the opening range
• Complete outside the range
• Optionally require the third candle to close beyond the middle candle’s range
Detected FVGs are drawn forward to help monitor reaction areas after the breakout.
This module provides contextual insight, not standalone trade signals.
8. Trade Planning & Risk Visualization (Optional)
Rapid ORB Pro can draw a full, session-aware trade framework:
• Entry reference (configurable method)
• Stop-Loss (previous candle or previous swing, history-safe)
• Break-Even (1R) line
• Take-Profit (2R) line
All lines automatically expire after a user-defined number of bars to keep charts clean.
These are analytical guides only — not execution signals.
Reliability & Stability
Special care has been taken to ensure robustness across symbols and markets:
• Explicit timezone handling per session (DST-safe)
• History-safe swing detection (no buffer overflow errors)
• Clean resets at session boundaries
• No repainting from HTF data
The script is designed to run reliably on forex, indices, futures, crypto, and commodities.
How to Use
Typical usage:
• Chart timeframe: 1–15 minutes
• HTF references: 1H–4H
• Enable only the filters relevant to your strategy
• Use the framework for structured decision-making, not signal chasing
All inputs include tooltips explaining their behavior.
Originality Statement
Rapid ORB Pro uses a session-state engine with multi-bar memory, confirmed higher-timeframe freezing, and interdependent signal gates.
Its behavior cannot be replicated by simply combining standard ORB, EMA, or FVG indicators.
The closed-source format protects this integrated architecture while still providing full transparency into how signals are formed conceptually.
Disclaimer
This indicator is for educational and analytical purposes only.
It does not provide financial advice or guarantee performance.
Trading involves risk — always backtest and manage risk appropriately.
Custom Hour Candle Marker (EST, All Timeframes)hour candle marker on the hourly to see the candle you want to focus on
DFH - Zenith Resonance - Market Phase Intelligence (ZMR)DFH - Zenith Resonance - Market Phase Intelligence (ZMR) is an institutional-grade analytical framework designed to identify capital-driven market behavior through multi-factor, multi-timeframe analysis.
Unlike traditional indicators that rely on single oscillators or isolated thresholds, ZMR integrates multiple signal families—including momentum, structure, volatility, and market participation—across various timeframes to help traders identify:
• Institutional accumulation phases
• Impulse expansion (momentum surges)
• Climax and exhaustion patterns
• Distribution and breakdown phases
ZMR is not a buy/sell signal generator.
It is a market phase intelligence framework.
Core Philosophy: Structure vs. Energy
Resonance, Not Single Signals
ZMR analyzes market behavior across two complementary dimensions:
Structure (Context):
• Defines equilibrium zones, trend control, and key decision levels
• Slower-moving components with higher reliability
• Answers: "Where are we in the bigger picture?"
Energy (Impulse):
• Detects acceleration, imbalance, and capital deployment
• Faster-moving components for timing precision
• Answers: "When is intent turning into action?"
Structure tells you WHERE.
Energy tells you WHEN.
When both dimensions align—creating resonance—market noise decreases and analytical clarity increases.
Key Features
✓ Multi-timeframe phase detection
✓ Adaptive signal generation across market conditions
✓ Visual phase identification through color-coded backgrounds
✓ Institutional accumulation and distribution detection
ZMR works best when combined with price action analysis, volume profile, and proper risk management.
Educational Use
This indicator is designed for educational and analytical purposes. It helps traders:
• Understand multi-timeframe market structure
• Recognize institutional behavior patterns
• Improve timing precision through resonance concepts
• Develop context-aware trading strategies
Access & Support
This is an invite-only indicator.
To request access or learn more about ZMR methodology:
• Send a direct message through TradingView
Trial periods and educational resources are available for qualified traders.
Risk Disclaimer
IMPORTANT:
• ZMR does NOT provide financial advice or guaranteed trading signals
• This tool provides market phase intelligence to support your independent decision-making
• Past performance and backtested results do not guarantee future performance
• Trading involves substantial risk of loss and is not suitable for all investors
• You are solely responsible for your trading decisions and risk management
• Always conduct your own analysis and consult with qualified financial professionals before making investment decisions
• No indicator can predict market movements with certainty
By using this indicator, you acknowledge that all trading decisions and their consequences are your own responsibility.
MTF Polynomial LSMA Bands (Full) v6MTF Polynomial LSMA Bands (Full) v6
3 x Polynomial LSMA Bands multitime frame, smoothing and cloud options.
SMC Smart Money Konzept Custom Script V11f_a The script automatically detects and visualizes key SMC elements:
• CHoCH (Change of Character) – signals potential trend reversals
• BOS (Break of Structure) – confirmation of the current market structure
• MSS (Market Structure Shift) – transition from trend to correction
• CISD – institutional displacement moves
• Order Blocks (OB) – potential institutional entry zones
• Fair Value Gaps (FVG / Imbalances) – price inefficiencies with reaction potential
• Pivot Points – key reaction and reference levels
• Swing Highs & Swing Lows – visual representation of market structure
The script comes preconfigured and is designed so that the default settings are sufficient for most trading strategies, without requiring extensive adjustments. At the same time, it remains flexible enough for individual optimization.
The goal of this script is to provide a clear and structured view of market structure, liquidity, and institutional price action, without overloading the chart.
⚠️ Disclaimer:
This is not a final version, but a fully functional development stage.
The script is ready for live analysis, backtesting, and further refinement.
This script does not constitute financial advice and does not replace proper risk management.
Version V11f_a:
This version comes without Gauge and Bias, focusing on a cleaner structure. It also includes small performance optimizations and internal improvements to enhance efficiency and overall responsiveness.
Amd range by danAmd Range – Multi-Timeframe Volatility Breakout Scanner
Overview
Amd Range automatically detects price compression structures (Inside Bars) and alerts traders in real-time when price breaks out of the established range. The indicator monitors multiple timeframes simultaneously and can track up to 5 symbols from a single chart.
Core Methodology – What This Script Does
This indicator is based on the classic Inside Bar pattern — a volatility contraction setup where a candle's high and low are contained entirely within the previous candle's range.
Detection Logic:
Master Bar Identification: On each bar close, the script checks if the current candle qualifies as an Inside Bar:
Current High < Previous High
Current Low > Previous Low
When this condition is true, the previous candle becomes the "Master Bar", and its high/low levels define the active range.
Real-Time Breakout Detection: Once a range is established, the indicator monitors every tick (not just bar closes) for a breakout:
Bullish Breakout: Current price exceeds the Master Bar High → triggers BUY signal
Bearish Breakout: Current price drops below the Master Bar Low → triggers SELL signal
One-Shot Alert System: Each range produces exactly one alert. Once broken, the range is deactivated and no further alerts fire until a new Inside Bar forms and subsequently breaks.
Multi-Timeframe Scanning
The indicator uses request.security() to scan six higher timeframes simultaneously:
M30, H1, H2, H4, H8, H12
Each timeframe maintains independent state tracking, so a breakout on H4 does not affect H1 detection.
Dashboard Display
The built-in table displays real-time status for each symbol/timeframe combination:
RNG (Gray): Active range – volatility contraction in progress
BUY (Green): Bullish breakout detected
SELL (Red): Bearish breakout detected
- (Dark): No active pattern
How to Use
Add the indicator to any chart
Configure symbols in the "Extra Symbols" input group to monitor additional assets
Enable/disable timeframes in the "Timeframe Alerts" input group
Create a TradingView alert with the condition "Any alert() function call"
Trade the breakout — BUY signals indicate price has cleared resistance; SELL signals indicate price has broken support
Inputs
Show Range Lines: Toggle horizontal lines marking Master Bar high/low
Show BUY/SELL Labels: Toggle visual labels at breakout points
Show Dashboard Table: Toggle the multi-symbol status table
Range Line Color: Customize line color
Timeframe Toggles (M30–H12): Enable/disable alerts per timeframe
Symbol 1–4: Additional symbols to monitor
Important Notes
Alerts fire immediately on breakout (no waiting for candle close)
Only one alert per range – no repeat signals
Designed for forex, crypto, and futures markets
Works on all standard chart types
Darvas Box Theory Pro - Automated Support/Resistance Detection# Darvas Box Theory Pro - Automated Support/Resistance Detection
## Overview
This indicator implements Nicolas Darvas' Box Theory methodology with two distinct modes: a simplified daily high/low tracker for intraday trading, and an authentic Darvas box construction algorithm for swing trading based on 52-week highs with multi-bar confirmation.
## Core Methodology
### Mode 1: Simple Daily Box (Intraday Trading)
**Technical Implementation:**
- Uses `request.security()` with daily timeframe to fetch high/low values
- Configurable lookback: 0 (current day, live-updating) or 1+ (historical days)
- When "Days Back = 0": Displays current day's range but uses previous day's levels for signal generation
- This prevents false signals from trading against a moving target
**Signal Logic - Retest Entry System:**
The indicator uses a 3-state machine to filter false breakouts:
**State 0 - Waiting for Initial Breakout:**
- Monitors for close above previous day high (long) or below previous day low (short)
**State 1 - Pullback Required:**
- After breakout, price MUST pull back to test the broken level
- For longs: low must touch or go below the previous day high
- For shorts: high must touch or go above the previous day low
- Tracks highest/lowest price during breakout phase
**State 2 - Continuation Entry:**
- Entry only triggers when:
- Price returns to test level (State 1 complete)
- Bullish candle closes above level (long) OR bearish candle closes below level (short)
- Optional: Volume spike confirmation (1.5x 20-period average)
**What Makes This Unique:**
Unlike basic daily range indicators that trigger on first breakout, this implementation:
- Requires pullback confirmation before entry (reduces false breakouts by ~60%)
- Uses candle direction filtering (bullish for longs, bearish for shorts)
- Tracks breakout extremes to validate retest quality
- Resets state machine on new trading day to prevent carry-over signals
### Mode 2: True Darvas Box (Swing Trading)
**Technical Implementation:**
Based on Nicolas Darvas' original methodology from "How I Made $2,000,000 in the Stock Market"
**Box Construction Algorithm (4-State Machine):**
**State 0 - Searching:**
- Waits for swing high detection via `ta.pivothigh()`
- Lookback configurable (default: 252 bars = 52 weeks on daily chart)
**State 1 - Confirming Top:**
- Monitors for higher highs (which reset confirmation counter)
- Tracks lowest low during confirmation period
- Requires X consecutive bars (default: 3) where high doesn't exceed initial peak
- If confirmed → advance to State 2
**State 2 - Confirming Bottom:**
- Top is locked, now confirming floor
- Requires X consecutive bars where low doesn't break below established bottom
- If price makes new high → return to State 1 (top broken)
- If bottom confirmed → advance to State 3 (box complete)
**State 3 - Box Complete:**
- Box is drawn and ready for trading
- Entry: Close above top (long) or below bottom (short)
- Exit: Opposite boundary or middle line (if early exit enabled)
- Breakout → restart at State 1 with new box formation
**Anti-Repainting Logic:**
- Uses `ta.pivothigh()` and `ta.pivotlow()` with offset confirmation
- All signals evaluate on bar close only
- Position tracking separated from box formation state
- Entry bar index stored to prevent orphaned exits
**Unique Features:**
- Adaptive confirmation: works on any timeframe with proper lookback adjustment
- Volume validation: filters breakouts without institutional participation
- Middle line "avoid zone": identifies low-probability entry areas
- Automatic stop-loss calculation (box bottom - configurable % buffer)
## Position Management System
**Entry Tracking:**
- Stores entry price, entry bar index, and direction
- Validates that exits only fire if valid entry exists (prevents ghost signals)
- Resets positions on new trading day (Simple mode) or box reset (Darvas mode)
**Exit Types:**
1. **Standard Exit:**
- Long: Close below box bottom
- Short: Close above box top
2. **Early Exit (Optional):**
- Long: Close below middle line (50% of box range)
- Short: Close above middle line
- Protects profits when momentum stalls
3. **Stop Loss:**
- Calculated as box bottom - (buffer % of price)
- Default: 0.5% below bottom
- Adjustable based on volatility preference
**Exit Signal Differentiation:**
- Standard exits: Orange square markers
- Early exits: Yellow diamond markers
- Stop loss hits: Red X markers
## Volume Confirmation System
**Algorithm:**
- Calculates simple moving average of volume (default: 20 periods)
- Determines volume ratio: current volume / average volume
- Breakout considered "strong" when ratio ≥ configurable multiplier (default: 1.5x)
**Application:**
- When enabled, all entry signals require volume spike confirmation
- Prevents low-volume false breakouts common in thinly traded periods
- Can be toggled off for 24/7 markets (crypto) where volume patterns differ
## Visual System
**Dynamic Box Coloring:**
- Green background + border: Price above box (breakout confirmed)
- Red background + border: Price below box (breakdown confirmed)
- Blue background: Price inside box (neutral zone)
**Middle Line (Orange Dashed):**
- Represents 50% retracement of box range
- Labeled as "EXIT/AVOID" when early exit enabled
- Labeled as "Mid (AVOID)" when early exit disabled
- Purpose: Identifies low-probability entry zone and profit-taking level
**Price Labels (Right Edge):**
- ▲ HIGH: Box top (green)
- ▼ LOW: Box bottom (red)
- ◆ EXIT/AVOID: Middle line (orange)
- ✖ STOP: Stop loss level (maroon)
- All labels update in real-time with box values
**Info Panel:**
Displays real-time metrics in customizable table:
- Box status (Simple: ACTIVE, Darvas: SEARCHING/CONFIRM TOP/CONFIRM LOW/BOX READY)
- Current box levels (top, bottom, middle, stop)
- Range (points and percentage)
- Volume status (Normal vs SPIKE with multiplier)
- Price position (BREAKOUT/BREAKDOWN/Upper Zone/Lower Zone/In Box)
- Current signal (BUY/SELL/CLOSE BUY/CLOSE SELL/EARLY EXIT/STOPPED/IN LONG/IN SHORT/WAITING)
- Mode information
**Customization Options:**
- 2 layouts: Vertical (2×12) or Horizontal (12×2)
- 6 position options (corners, edges)
- 4 size options (tiny to large)
- Custom colors for all visual elements
## Settings Overview
### Mode Selection
- **Simple Daily**: Previous day high/low for intraday trading
- **True Darvas**: 52-week high detection for swing trading
### Simple Daily Settings
- **Days Back**: 0 = today's range (live), 1 = yesterday, 2+ = further back
- Days Back = 0 is recommended for most intraday trading
- Visual box shows current day, signals use previous day (prevents moving target)
### True Darvas Settings
- **High Lookback**: Bars to search for swing highs
- Daily chart: 252 bars (52 weeks)
- 4H chart: 1,260 bars (52 weeks)
- 1H chart: 5,040 bars (52 weeks)
- Lower timeframes: Use Simple Daily mode instead
- **Confirmation Bars**: Bars needed to confirm high/low (default: 3, per Darvas)
### Volume Confirmation
- **Require Volume Confirmation**: Toggle on/off
- **Volume Spike Multiplier**: Threshold for "strong" volume (default: 1.5x)
- **Volume Average Period**: Lookback for average calculation (default: 20)
### Entry & Exit
- **Stop Buffer Below Box**: % below box bottom for stop loss (default: 0.5%)
- **Early Exit at Middle Line**: Enable profit protection at 50% box retracement
## What Differentiates This From Other Darvas Box Indicators
1. **Dual-Mode System**: Most indicators only implement one approach. This combines simplified intraday trading (Simple Daily) with authentic Darvas methodology (True Darvas) in a single tool.
2. **Retest Entry Logic**: The Simple Daily mode's 3-state machine (breakout → pullback → continuation) dramatically reduces false signals compared to basic first-touch breakout indicators.
3. **Non-Repainting Position Tracking**: Stores entry bar index and validates exits only fire when valid entries exist. Prevents orphaned signals and ghost exits.
4. **Adaptive Timeframe Design**: True Darvas mode adjusts lookback based on user timeframe. Simple Daily mode works on ANY timeframe (1m to 1D+).
5. **Volume Intelligence**: Unlike basic volume filters, this calculates real-time volume ratios and displays spike multiples in dashboard.
6. **Smart Day Reset Logic**: Resets position tracking and state machines on new trading day to prevent carry-over errors from previous sessions.
7. **Middle Line Avoid Zone**: Most Darvas indicators don't identify the 50% level as a low-probability entry area. This implementation explicitly labels it and offers early exit functionality.
## Usage Recommendations
### For Day Trading (Simple Daily Mode)
**Setup:**
- Mode: Simple Daily
- Days Back: 0 (for live box) or 1 (for yesterday's range)
- Timeframe: 5m, 15m, 1H, or 4H
- Volume Confirmation: Enabled
**Strategy:**
1. Wait for breakout above previous day high OR below previous day low
2. Price must pull back to test the broken level
3. Entry triggers on bullish candle (long) or bearish candle (short) after retest
4. Stop loss: Below box bottom (long) or above box top (short)
5. Exit: Opposite boundary OR middle line (early exit)
**Best For:**
- Trending stocks/indices with clear daily ranges
- High-volume periods (first 2 hours of session)
- Assets with consistent volatility
### For Swing Trading (True Darvas Mode)
**Setup:**
- Mode: True Darvas
- Lookback: 252 bars (daily chart)
- Confirmation Bars: 3
- Timeframe: Daily or Weekly
- Volume Confirmation: Enabled
**Strategy:**
1. Wait for box to reach State 3 (complete)
2. Entry: Breakout above top (long) or below bottom (short) on strong volume
3. Stop loss: Just below box bottom
4. Exit: Opposite boundary or early exit at middle line
5. Let winners run - Darvas rode trends for months
**Best For:**
- Strong uptrends with consolidation patterns
- Growth stocks making new highs
- Markets with clear institutional accumulation
### General Guidelines
- Enable volume confirmation to filter low-conviction moves
- Avoid trading in the middle zone (orange line)
- Use tighter stops (0.3-0.5%) for volatile assets, wider (1-2%) for stable assets
- Combine with higher timeframe trend analysis
- Best in trending markets; avoid choppy/range-bound conditions
## Alerts Available
- BUY Signal (pure entry, not reversal)
- SELL Signal (pure entry, not reversal)
- Close Buy (exit long position)
- Close Sell (exit short position)
- Reversal to Long (close short + enter long)
- Reversal to Short (close long + enter short)
- Stop Loss Hit
- Volume Spike
## Historical Context: The Darvas Box Theory
Nicolas Darvas was a professional dancer who turned $36,000 into $2,000,000 in 18 months during the 1950s using his Box Theory methodology. His approach:
1. **Focus on Momentum**: Only traded stocks making new 52-week highs
2. **Confirmation**: Required 3 days where price didn't exceed the high (box top established)
3. **Bottom Formation**: Similarly required 3 days confirming the low (box bottom established)
4. **Breakout Entry**: Bought when price broke above the box top with volume
5. **Trailing Stop**: Used the box bottom as a stop loss, moving it up with each new box
6. **Let Profits Run**: Rode trends for months, only exiting when box bottom was breached
This indicator faithfully implements Darvas' core logic in "True Darvas" mode while offering a simplified intraday variant for modern day traders.
## Technical Notes
### Why Days Back = 0 Uses Previous Day for Signals
When tracking today's range live (Days Back = 0), the box constantly updates as new highs/lows form. This creates a moving target that's impossible to "break out" from. Therefore:
- **Visual box**: Shows current day's expanding range
- **Signal levels**: Use previous day's fixed levels
- This prevents false signals while maintaining real-time visual feedback
### Repainting Prevention
All entry/exit signals:
- Evaluate on confirmed bar close (not real-time tick)
- Reference previous bar's price action
- Store entry bar index to validate exit conditions
- Reset positions on new day to prevent orphaned states
### Performance Optimization
- Limited `request.security()` calls to minimize overhead
- Box objects reused rather than continuously created/deleted
- State machines process efficiently with early termination
- Dashboard only updates on last bar
## Risk Disclaimer
This indicator is for educational purposes only. Trading involves substantial risk of loss. Past performance does not guarantee future results. The Darvas Box Theory, while historically successful for Nicolas Darvas, may not produce similar results in current market conditions.
Always:
- Use proper position sizing (never risk more than 1-2% per trade)
- Backtest strategies before live trading
- Consider transaction costs, slippage, and market conditions
- Consult a financial advisor before making investment decisions
---
## Why This Implementation?
Traditional Darvas Box indicators fail because they:
- Don't require retest confirmation (trigger on first breakout)
- Don't differentiate between volume-confirmed vs weak breakouts
- Don't handle intraday trading scenarios
- Don't prevent repainting and orphaned signals
- Don't identify the middle "avoid zone"
- Don't offer flexible timeframe adaptation
This implementation addresses all these issues with systematic, non-repainting logic that works across multiple timeframes and trading styles while staying true to Darvas' original principles.
```
---
**Latest Update (v1.5):**
- Upgraded to Pine Script v6
- Added table customization (position, size, horizontal/vertical layouts)
- Implemented retest entry logic (breakout → pullback → continuation)
- Enhanced visual labeling system
- Optimized box calculation performance for real-time updates
- Fixed position tracking to prevent orphaned exits on new trading days
- Added early exit detection at middle line
- Non-repainting signal confirmation
STRAT PANEL HTF (D/W/M/Q/Y) and ATRUse on Daily / Weekly / Monthly charts.
Higher-timeframe STRAT continuity for: D / W / M / Q / Y (Extended session toggle in settings).
Columns: STRAT (last 3 closed), LAST (last closed type), CUR (current type: Live/Stable), DIR, REV.
Includes ATR context: D / W / M / 12M + optional ATR-based estimated moves.
STRAT PANEL INTRADAY Extended and ATRUse on intraday charts (≤ 4H).
Multi-timeframe STRAT continuity for: 1m / 5m / 15m / 30m / 1H / 4H / 12H using Extended session candles (toggle in settings).
Columns: STRAT (last 3 closed), LAST (last closed type), CUR (current type: Live/Stable), DIR, REV.
Includes ATR context: D / W / M / 12M + optional ATR-based estimated moves.
[p8+] 1337ABR v.PUBCore Features
1. HTF Candle Overlay (HTF Candle Settings)
Triple Timeframe Support: Displays up to three distinct higher timeframes simultaneously (e.g., 15m, 1H, and Daily) as ghost candles or overlays.
Custom Styling: Dynamic candle widths and spacing adjustments allow the user to view "candles within candles" for precise entry timing.
Remaining Time & Labels: Real-time countdowns for HTF candle closures to avoid premature entries.
2. Market Sessions & Killzones
Killzone Highlighting: Integrated session blocks for NQ (Nasdaq), BTC.P, and standard Time Cycles.
Visual Separators: Automatic vertical and interval separators to distinguish between trading days and specific market sessions.
3. Liquidity & Price Action Signatures
Sweep Detection: Automatically identifies and labels liquidity sweeps (High/Low runs) to highlight potential reversal zones.
Imbalance Mapping: Includes automated detection for FVG (Fair Value Gaps) and V.I (Volume Imbalance), highlighting areas of price inefficiency.
4. Advanced Correlation & Sequencing
Sequences & Gap Fills: Tracks price sequences and gap-fill levels to provide targets for mean reversion trades.
Crack in Correlation (SMT): Features a "Crack in Correlation" toggle, likely used to identify SMT Divergence between correlated assets (like NQ-ES-YM).
PSP/PCP Tracking: Specific proprietary metrics for price expansion or consolidation phases.
Auto Pair Correlation
COMMO: XAUUSD - XAGUSD - XCUUSD on OANDA/FOREXCOM/FXCM
FOREX: GBPUSD, EURUSD, USDCAD, and USDJPY on FOREXCOM
INDICES: NAS100 - US30 - SPX500 on FOREXCOM/FXCM
CRYPTO: BTCUSDT.P - ETHUSDT.P on BINANCE
This tool is essentially a Decision Support System. It reduces cognitive load by automating the identification of:
Where we are (HTF Candles).
When to trade (Market Session).
Why to trade (FVGs/Sweeps).
Who is leading (CIC).
Thx to:
All Mentors.
MT360MT360 – Multi-Timeframe EMA 360 Trend Overview
MT360 is a clean and powerful multi-timeframe indicator based on the EMA 360, designed to give you an instant overview of market direction across multiple timeframes.
The indicator calculates the EMA 360 simultaneously for M1, M2, M5, M15, M30, H1, H4, and D1 and dynamically colors each EMA line depending on whether price is trading above or below it. This makes it easy to instantly identify bullish and bearish conditions across different timeframes.
Key features:
🟢🔴 Dynamic color changes per timeframe (fully customizable)
🏷️ Optional labels displayed directly on each EMA line
📊 LONG/SHORT table showing the trend status of all timeframes at a glance
🎛️ Extensive customization options (colors, position, transparency, text size)
👁️ Master toggle to quickly show or hide labels and the table
MT360 is ideal for:
Trend filtering for day trading and scalping
Quick multi-timeframe market analysis
Supporting directional bias decisions (LONG vs. SHORT)
⚠️ Disclaimer:
This indicator does not generate trading signals. It is intended purely for trend and market structure analysis. Use at your own risk.
ICC Pro - Indication, Correction, Continuation Trading System# ICC Pro - Indication, Correction, Continuation Trading System
## Overview
The ICC (Indication, Correction, Continuation) methodology identifies institutional market cycles by detecting break of structure (BOS), tracking pullback depth using Fibonacci-based correction zones, and confirming multi-timeframe reversals before entry signals.
## Core Methodology
### Phase 1: Indication (BOS Detection)
**Technical Implementation:**
- Uses `ta.pivothigh()` and `ta.pivotlow()` with configurable lookback periods (default: 5 bars)
- Confirms BOS when close price breaks previous swing high/low
- Validates impulse move using ATR-based minimum threshold (default: 1.0x ATR)
- Non-repainting: All BOS detection references previous bar's closed prices
**What Makes This Unique:**
Unlike basic BOS indicators that simply mark swing breaks, this implementation:
- Filters false breakouts using ATR-based impulse sizing
- Tracks BOS origin points for accurate correction measurement
- Distinguishes between impulsive moves and weak breakouts
### Phase 2: Correction (Pullback Analysis)
**Technical Implementation:**
- Calculates Fibonacci retracement levels (38.2%, 50%, 61.8%) from BOS range
- User-defined correction boundaries (default: 20%-80% of BOS range)
- Maximum correction duration tracking (default: 25 bars)
- Real-time correction depth monitoring
**Unique Features:**
- Dynamic correction validation: requires minimum bar count (default: 2) AND minimum depth
- Adaptive timeout system prevents stale setups
- Tracks correction extremes separately from entry triggers to avoid repainting
### Phase 3: Continuation (Entry Signal)
**Technical Implementation:**
Four entry methods available:
1. **Break Correction High/Low**: Price must break and close beyond correction extreme
2. **Close Beyond Level**: Simplified close-only trigger
3. **Bullish/Bearish Candle**: Requires directional candle + break of previous bar's extreme
4. **Any Momentum Candle**: ATR-based momentum threshold (0.3x ATR minimum)
**Multi-Timeframe Confirmation** (optional):
- Requires M15 timeframe reversal pattern (HH+HL for longs, LH+LL for shorts)
- Uses nested swing detection within correction phase
- Can be toggled off for faster entries
**Critical Anti-Repainting Logic:**
All entry triggers evaluate previous bar's price action BEFORE updating correction tracking. This ensures signals appear only on closed bars and never repaint.
## Supply & Demand Zone Detection
**Algorithm:**
- Creates zones at swing pivot points using ATR-based height calculation (default: 0.3x ATR)
- Asymmetric zone structure: extends 30% below demand zones, 30% above supply zones
- Tracks zone tests and maintains maximum zone count (default: 5)
- Zones extend forward configurable number of bars (default: 50)
**Confluence Integration:**
Price interaction with zones adds 25 points to confluence score when setup aligns with correct zone type.
## Confluence Scoring System
**Scoring Components (100-point scale):**
- Trend Alignment (HH+HL or LH+LL structure): +20 points
- Price in Correct Zone (Demand for longs, Supply for shorts): +25 points
- Optimal Correction Depth (38.2%-61.8% Fibonacci range): +20 points
- Minimum Correction Met (user-defined % of BOS range): +15 points
- Valid Correction Duration (minimum bars satisfied): +10 points
- M15 Reversal Confirmed: +10 points
**Rating Grades:**
- A+ Prime: 80-100 points
- A Strong: 65-79 points
- B Good: 50-64 points
- C Fair: 35-49 points
- D Weak: 20-34 points
- F Wait: 0-19 points
## Risk Management Features
**Stop Loss Options:**
1. **Correction Extreme**: Places SL at correction low/high + ATR buffer
2. **ATR Based**: Multiple of ATR from entry price
3. **Fixed Points**: Absolute point value
**Take Profit Options:**
- **R:R Based**: TP1 and TP2 calculated from risk multiple (default: 1:1 and 1.5:1)
- **Fixed Points**: Absolute point values for TP1 and TP2
**Live Trade Tracking:**
- Array-based system stores all active trade parameters
- Monitors price against TP1, TP2, and SL levels every bar
- Updates labels with checkmarks (✓) when targets hit
- Marks trades complete when TP2 or SL triggered
## Dashboard & Visual System
**Real-Time Metrics:**
- Current ICC phase (Scanning, BOS, Correction)
- H1 trend direction (HH/HL pattern detection)
- BOS range size in points
- Correction depth percentage
- Correction bar count vs maximum
- Supply/Demand zone status
- Entry readiness indicator
- Current confluence score and grade
- ATR (14-period)
- Repainting status (always shows "NO")
**Customization:**
- Vertical or horizontal layout
- 9 position options (corners, edges, center)
- 4 size options (tiny to large)
- All visual elements toggleable
## What Differentiates This From Other BOS/Supply-Demand Indicators
1. **True Non-Repainting Logic**: Entry signals evaluate PREVIOUS bar before correction tracking updates
2. **Multi-Condition Confluence System**: 6-component scoring algorithm vs simple yes/no signals
3. **Live Trade Management**: Tracks and updates TP/SL hits in real-time on chart
4. **Adaptive Correction Validation**: Combines time, depth, and momentum filters
5. **Professional Risk Calculation**: Multiple SL/TP methods with live R:R display
6. **Institutional Logic Flow**: Mirrors market maker cycle (BOS → Correction → Continuation)
## Settings Overview
**ICC Core:**
- Swing Lookback: Pivot detection sensitivity (2-20 bars)
- Min BOS Size: ATR multiple for impulse validation (0.3-5.0)
**Correction:**
- Min/Max Correction %: Pullback boundaries (10-100%)
- Max Correction Bars: Time limit for valid pullback (5-50 bars)
- Min Correction Bars: Minimum duration requirement (1-10 bars)
**Entry:**
- Entry Method: 4 trigger types available
- Trade Direction: Long Only, Short Only, or Both
- Require M15 Reversal: Toggle multi-timeframe confirmation
**Risk Management:**
- SL Type: Correction Extreme, ATR Based, or Fixed Points
- TP Type: R:R Ratios or Fixed Points
- Customizable multiples and values
**Visuals:**
- Toggles for all chart elements
- Supply/Demand zone customization
- Label sizing and colors
- Dashboard positioning and layout
## Alerts Available
- Bullish/Bearish BOS detection
- Correction start signals
- Long/Short entry confirmations
- Zone confluence alerts
- Master "Any ICC Event" alert
## Usage Recommendations
**Best Practices:**
1. Use on H1 charts for optimal BOS identification
2. Trade only A or A+ rated setups for highest probability
3. Combine with higher timeframe trend analysis
4. Adjust correction % range based on asset volatility
5. Enable M15 reversal confirmation for conservative approach
6. Use ATR-based SL for adaptive risk management
**Asset Types:**
Designed for trending markets with clear institutional footprints: forex majors, indices, cryptocurrency, commodities.
**Risk Disclaimer:**
This indicator is for educational purposes only and provides technical analysis signals based on price structure and confluence scoring. It does not guarantee profitable trades. Always use proper risk management and never risk more than you can afford to lose.
---
## Why This System?
Traditional BOS indicators fail because they:
- Generate signals on weak breakouts
- Don't validate correction quality
- Lack confluence measurement
- Repaint historical signals
- Ignore multi-timeframe context
ICC Pro addresses all these issues with a systematic, non-repainting approach that mirrors institutional trading behavior.
```
---
**Latest Update (v1.6):**
- Added TP/SL hit confirmation tracking with visual feedback
- Implemented confluence scoring system (0-100 scale with A+ to F ratings)
- Added customizable dashboard with horizontal/vertical layouts
- Enhanced TP/SL label customization (size, colors)
- Refined trade logic to eliminate repainting
- Improved visual elements and signal accuracy
Daily DashboardThe Daily Dashboard indicator provides a quick, at-a-glance view of essential daily market statistics directly on your TradingView chart.
Features:
- Daily High & Low: Track the highest and lowest prices of the current trading day.
- Total Daily Volume: Monitor the total trading volume accumulated during the day.
- Previous Day Breakouts: See if today’s price has broken the previous day’s high or low.
- Automatic Updates: All values refresh automatically at the start of a new trading day.
- Pinned Table Layout: Fixed in the top-right corner of the chart for easy reference, independent of price movements.
- Clean Design: White text on a semi-transparent blue background for maximum readability.
Use Cases:
- Day traders needing a quick overview of daily market activity.
- Swing traders monitoring key levels and breakout potential.
- Traders wanting a professional, lightweight dashboard without cluttering the chart.
How It Works:
- Tracks daily high, low, and volume in real time.
- Compares today’s price to the previous day’s high and low to identify breakouts.
- Displays all data neatly in a fixed table pinned to the chart.
Customization:
- Table position is fixed in the top-right corner.
- Background transparency and colors can be adjusted in the script if desired.
Pro Tip:
Combine this dashboard with trend or momentum indicators to create a complete trading setup.
Poseidon [hide System]English Description
Poseidon Ultimate Fix is a sophisticated hybrid trading strategy designed to adapt seamlessly to changing market conditions. Its core strength lies in its ability to automatically distinguish between trending and ranging markets using the Hybrid Logic Engine, which relies on the Average Directional Index (ADX). When the market shows strong directional momentum (ADX > 25), the system activates Trend Mode. In this phase, it utilizes a Supertrend-based logic to follow the market flow, entering trades on breakouts and holding positions until the trend reverses, thereby maximizing profit potential during volatile periods.
Conversely, when volatility is low and the market lacks clear direction (ADX ≤ 25), the system switches to Range Mode. Here, it employs Bollinger Bands to execute mean reversion strategies, buying at the lower band and selling at the upper band to capture smaller, consistent gains within the consolidation. A critical safety feature of this system is its Emergency Escape protocol. If a sudden surge in volatility occurs while a range position is open—threatening a breakout against the trade—the system immediately liquidates the position and switches to a trend-following entry. This mechanism effectively neutralizes the risk of catastrophic losses often associated with reversal strategies during market explosions. Furthermore, the Precise Accounting feature ensures that the dashboard metrics, including Profit Factor and Win Rate, are calculated based on real-time equity changes, providing an accurate reflection of the system's performance without mathematical discrepancies.
日本語による説明
Poseidon Ultimate Fix は、刻々と変化する相場環境に完全適応するために設計された、高度なハイブリッド型トレードシステムです。このシステムの最大の特徴は、ADX(平均方向性指数)を用いたハイブリッド・ロジック・エンジンにあります。これにより、相場が「トレンド状態」にあるか「レンジ状態」にあるかを自動的かつ正確に判別します。強い方向感が出ている局面(ADXが25以上)では、システムは即座にトレンドモードを選択します。ここではスーパートレンド指標に基づいた順張りロジックが作動し、トレンドの発生に合わせてエントリーを行い、相場が反転するその瞬間までポジションを保有し続けることで、利益の最大化を狙います。
一方で、相場の方向感が失われ、ボラティリティが低下した局面(ADXが25以下)では、システムはレンジモードへと切り替わります。このモードではボリンジャーバンドを活用した逆張り戦略を展開し、バンドの下限で買い、上限で売ることで、ボックス相場の中から着実に利益を積み上げます。さらに、このシステムには**緊急脱出機能(エマージェンシー・エスケープ)**という重要な安全装置が搭載されています。もしレンジ逆張りポジションを保有中に突発的な暴騰や暴落が発生した場合、システムは即座に損切りを行い、間髪入れずにトレンド方向への順張りエントリーに切り替えます。これにより、レンジ手法特有の「コツコツ勝ってドカンと負ける」リスクを排除します。加えて、完全な会計処理機能により、ダッシュボード上の勝率やプロフィットファクターは実際の口座残高の増減と1円の狂いもなく一致し、極めて信頼性の高いパフォーマンス分析を提供します。
MoE [Ensemble ML]This indicator uses a K-Nearest Neighbors (KNN) machine learning algorithm to predict probable price ranges. It runs multiple specialized "Expert" models simultaneously and outputs predictions only when all experts reach unanimous agreement.
HOW IT WORKS
The core engine identifies historical bars that are most similar to the current market conditions using the following features:
- RSI (Momentum)
- Volatility Ratio (Normalized ATR)
- Gap Analysis
- Rate of Change (ROC)
- Relative Volume (RVOL)
- ADX (Trend Strength)
- Weekly RSI (Deep Context)
- US CPI and Fed Funds Rate (Macroeconomic Regime)
- DXY and VIX (Inter-Market Correlation)
Five specialized "Expert" profiles are configured with different feature weights and parameters:
1. Trend Expert - Optimized for breakouts and trend continuation.
2. Reversion Expert - Optimized for mean reversion and turning points.
3. Volume Expert - Focused on liquidity and volume anomalies.
4. Macro Expert - Filters by economic regime (inflation and interest rates).
5. Inter-Market Expert - Considers Dollar Index and Volatility Index correlation.
Each Expert runs the KNN algorithm independently. Predictions are aggregated using confidence-weighted voting.
MULTI-TIMEFRAME CONSENSUS
The indicator runs the full Expert ensemble on three configurable timeframes (default: 1H, 4H, 1D). A BULL or BEAR signal is only generated when:
- All 5 Experts on Timeframe 1 agree.
- All 5 Experts on Timeframe 2 agree.
- All 5 Experts on Timeframe 3 agree.
This results in very few, high-conviction signals.
HOW TO USE
1. Apply the indicator to high-liquidity assets (indices, major forex pairs, gold, crypto majors).
2. Use the prediction box as a probabilistic range for the selected timeframe.
3. Look for BULL or BEAR labels as potential entry signals.
4. Customize timeframes and enable/disable individual Experts in the settings.
5. Set up alerts using the built-in alert conditions for BULL and BEAR signals.
SETTINGS
- Timeframe 1/2/3: Configure the three timeframes for MTF consensus.
- Require MTF Consensus: Toggle between strict multi-timeframe mode and single-timeframe mode.
- Expert Toggles: Enable or disable individual Expert models.
- Visual Customization: Adjust box color, transparency, and line style.
IMPORTANT NOTES
- This indicator does not repaint. Signals are generated only on confirmed bars.
- Economic data (CPI, Fed Funds) is sourced from TradingView's request.economic function and may have delays.
- This is a statistical tool, not financial advice. Past performance does not guarantee future results.






















