Legacy Lab FX Pro [Ultra]Legacy Lab FX Pro is a comprehensive trading system designed to automate the detection of institutional liquidity sweeps during the New York Session. Built on the logic that "breakouts" during specific time windows are often liquidity traps, this tool helps traders identify high-probability reversals at the 8:00 AM EST Open.
1. The Methodology: The London Sweep
The core logic of this indicator is based on time-segmented price action. It tracks the specific "Liquidity Build" phase established during the London Session (default 02:00 – 07:00 EST).
The Trap: Retail traders often place stop losses just above or below this range.
The Sweep: Institutions push price past these levels to collect liquidity before reversing.
The Logic: The indicator waits for a "Sweep" (a wick that breaks the range but closes back inside) during the Execution Window (08:00 – 12:00 EST).
2. Key Features
A. Visual Liquidity Ranges The script automatically highlights the specific Highs and Lows of the London session with an Orange Liquidity Box. This removes the need to manually draw lines or calculate time zones.
B. "Gold Candle" Confirmation When a valid sweep occurs that meets all filter criteria (ATR, Trend, Time), the signal candle is painted GOLD. This serves as a visual execution trigger.
C. Integrated Risk Management The indicator projects a fixed, rule-based risk framework onto the chart:
Stop Loss (Red): Fixed pip distance (Default: 10 pips) from the sweep level.
TP1 (Green): 0.8R (Conservative banking).
TP2 (Green): 1.6R (Standard target).
TP3 (Green): 2.4R (Extended institutional target).
D. Smart Data Dashboard The bottom-right panel provides real-time backtesting data for the current chart. It features a unique "Best Reached" logic, which calculates the maximum potential R-multiple of every signal (e.g., if price hits TP2 then reverses, it is recorded as a +1.6R win rather than a loss).
Win Rate %
Net R (Return on Risk)
Total Trade Count
3. Institutional Filters
To prevent false signals during high-volatility news events or strong trends, the script includes:
ATR Filter: Rejects signals if the candle is abnormally large (Volatility protection).
Trend Filter: Optional 200 EMA filter to only take trades in the direction of the long-term trend.
Sweep Size: Configurable minimum pip distance required for a sweep to be valid.
4. How to Use
Timezone: Ensure your chart is set to New York time (or adjust the settings to match your local time).
Wait: Allow the Orange Liquidity Box to form (2am-7am).
Signal: Wait for a Gold Candle to appear during the 8am-12pm window.
Execute: Enter at the close of the Gold Candle. Place SL at the Red Line and TPs at the Green Lines.
5. Settings Configuration
Session Timing: fully customizable start/end times for the range and the entry window.
Risk Protocol: Adjust the fixed SL pips and R-Multiples for TP1, TP2, and TP3.
Backtest Engine: Toggle between "TP1 Only" mode (conservative stats) or "Best Reached" mode (maximum potential stats).
This script is Invite-Only. It is the official tool of the Legacy Lab FX trading community. Access is granted to members to ensure proper understanding of the liquidity protocols used within the code.
Trend Analizi
TL HITL v3.3 (Pine v6) Bespoke Dynamic Trendline Alerts Indicator - you're free to take a look at it, but I'm only publishing it so I can access it from external workflows that are activated by webhook alerts
Adaptive Market Wave Theory - ProAdaptive Market Wave Theory
🌊 CORE INNOVATION: PROBABILISTIC PHASE DETECTION WITH MULTI-AGENT CONSENSUS
Adaptive Market Wave Theory (AMWT) represents a fundamental paradigm shift in how traders approach market phase identification. Rather than counting waves subjectively or drawing static breakout levels, AMWT treats the market as a hidden state machine —using Hidden Markov Models, multi-agent consensus systems, and reinforcement learning algorithms to quantify what traditional methods leave to interpretation.
The Wave Analysis Problem:
Traditional wave counting methodologies (Elliott Wave, harmonic patterns, ABC corrections) share fatal weaknesses that AMWT directly addresses:
1. Non-Falsifiability : Invalid wave counts can always be "recounted" or "adjusted." If your Wave 3 fails, it becomes "Wave 3 of a larger degree" or "actually Wave C." There's no objective failure condition.
2. Observer Bias : Two expert wave analysts examining the same chart routinely reach different conclusions. This isn't a feature—it's a fundamental methodology flaw.
3. No Confidence Measure : Traditional analysis says "This IS Wave 3." But with what probability? 51%? 95%? The binary nature prevents proper position sizing and risk management.
4. Static Rules : Fixed Fibonacci ratios and wave guidelines cannot adapt to changing market regimes. What worked in 2019 may fail in 2024.
5. No Accountability : Wave methodologies rarely track their own performance. There's no feedback loop to improve.
The AMWT Solution:
AMWT addresses each limitation through rigorous mathematical frameworks borrowed from speech recognition, machine learning, and reinforcement learning:
• Non-Falsifiability → Hard Invalidation : Wave hypotheses die permanently when price violates calculated invalidation levels. No recounting allowed.
• Observer Bias → Multi-Agent Consensus : Three independent analytical agents must agree. Single-methodology bias is eliminated.
• No Confidence → Probabilistic States : Every market state has a calculated probability from Hidden Markov Model inference. "72% probability of impulse state" replaces "This is Wave 3."
• Static Rules → Adaptive Learning : Thompson Sampling multi-armed bandits learn which agents perform best in current conditions. The system adapts in real-time.
• No Accountability → Performance Tracking : Comprehensive statistics track every signal's outcome. The system knows its own performance.
The Core Insight:
"Traditional wave analysis asks 'What count is this?' AMWT asks 'What is the probability we are in an impulsive state, with what confidence, confirmed by how many independent methodologies, and anchored to what liquidity event?'"
🔬 THEORETICAL FOUNDATION: HIDDEN MARKOV MODELS
Why Hidden Markov Models?
Markets exist in hidden states that we cannot directly observe—only their effects on price are visible. When the market is in an "impulse up" state, we see rising prices, expanding volume, and trending indicators. But we don't observe the state itself—we infer it from observables.
This is precisely the problem Hidden Markov Models (HMMs) solve. Originally developed for speech recognition (inferring words from sound waves), HMMs excel at estimating hidden states from noisy observations.
HMM Components:
1. Hidden States (S) : The unobservable market conditions
2. Observations (O) : What we can measure (price, volume, indicators)
3. Transition Matrix (A) : Probability of moving between states
4. Emission Matrix (B) : Probability of observations given each state
5. Initial Distribution (π) : Starting state probabilities
AMWT's Six Market States:
State 0: IMPULSE_UP
• Definition: Strong bullish momentum with high participation
• Observable Signatures: Rising prices, expanding volume, RSI >60, price above upper Bollinger Band, MACD histogram positive and rising
• Typical Duration: 5-20 bars depending on timeframe
• What It Means: Institutional buying pressure, trend acceleration phase
State 1: IMPULSE_DN
• Definition: Strong bearish momentum with high participation
• Observable Signatures: Falling prices, expanding volume, RSI <40, price below lower Bollinger Band, MACD histogram negative and falling
• Typical Duration: 5-20 bars (often shorter than bullish impulses—markets fall faster)
• What It Means: Institutional selling pressure, panic or distribution acceleration
State 2: CORRECTION
• Definition: Counter-trend consolidation with declining momentum
• Observable Signatures: Sideways or mild counter-trend movement, contracting volume, RSI returning toward 50, Bollinger Bands narrowing
• Typical Duration: 8-30 bars
• What It Means: Profit-taking, digestion of prior move, potential accumulation for next leg
State 3: ACCUMULATION
• Definition: Base-building near lows where informed participants absorb supply
• Observable Signatures: Price near recent lows but not making new lows, volume spikes on up bars, RSI showing positive divergence, tight range
• Typical Duration: 15-50 bars
• What It Means: Smart money buying from weak hands, preparing for markup phase
State 4: DISTRIBUTION
• Definition: Top-forming near highs where informed participants distribute holdings
• Observable Signatures: Price near recent highs but struggling to advance, volume spikes on down bars, RSI showing negative divergence, widening range
• Typical Duration: 15-50 bars
• What It Means: Smart money selling to late buyers, preparing for markdown phase
State 5: TRANSITION
• Definition: Regime change period with mixed signals and elevated uncertainty
• Observable Signatures: Conflicting indicators, whipsaw price action, no clear momentum, high volatility without direction
• Typical Duration: 5-15 bars
• What It Means: Market deciding next direction, dangerous for directional trades
The Transition Matrix:
The transition matrix A captures the probability of moving from one state to another. AMWT initializes with empirically-derived values then updates online:
From/To IMP_UP IMP_DN CORR ACCUM DIST TRANS
IMP_UP 0.70 0.02 0.20 0.02 0.04 0.02
IMP_DN 0.02 0.70 0.20 0.04 0.02 0.02
CORR 0.15 0.15 0.50 0.10 0.10 0.00
ACCUM 0.30 0.05 0.15 0.40 0.05 0.05
DIST 0.05 0.30 0.15 0.05 0.40 0.05
TRANS 0.20 0.20 0.20 0.15 0.15 0.10
Key Insights from Transition Probabilities:
• Impulse states are sticky (70% self-transition): Once trending, markets tend to continue
• Corrections can transition to either impulse direction (15% each): The next move after correction is uncertain
• Accumulation strongly favors IMP_UP transition (30%): Base-building leads to rallies
• Distribution strongly favors IMP_DN transition (30%): Topping leads to declines
The Viterbi Algorithm:
Given a sequence of observations, how do we find the most likely state sequence? This is the Viterbi algorithm—dynamic programming to find the optimal path through the state space.
Mathematical Formulation:
δ_t(j) = max_i × B_j(O_t)
Where:
δ_t(j) = probability of most likely path ending in state j at time t
A_ij = transition probability from state i to state j
B_j(O_t) = emission probability of observation O_t given state j
AMWT Implementation:
AMWT runs Viterbi over a rolling window (default 50 bars), computing the most likely state sequence and extracting:
• Current state estimate
• State confidence (probability of current state vs alternatives)
• State sequence for pattern detection
Online Learning (Baum-Welch Adaptation):
Unlike static HMMs, AMWT continuously updates its transition and emission matrices based on observed market behavior:
f_onlineUpdateHMM(prev_state, curr_state, observation, decay) =>
// Update transition matrix
A *= decay
A += (1.0 - decay)
// Renormalize row
// Update emission matrix
B *= decay
B += (1.0 - decay)
// Renormalize row
The decay parameter (default 0.85) controls adaptation speed:
• Higher decay (0.95): Slower adaptation, more stable, better for consistent markets
• Lower decay (0.80): Faster adaptation, more reactive, better for regime changes
Why This Matters for Trading:
Traditional indicators give you a number (RSI = 72). AMWT gives you a probabilistic state assessment :
"There is a 78% probability we are in IMPULSE_UP state, with 15% probability of CORRECTION and 7% distributed among other states. The transition matrix suggests 70% chance of remaining in IMPULSE_UP next bar, 20% chance of transitioning to CORRECTION."
This enables:
• Position sizing by confidence : 90% confidence = full size; 60% confidence = half size
• Risk management by transition probability : High correction probability = tighten stops
• Strategy selection by state : IMPULSE = trend-follow; CORRECTION = wait; ACCUMULATION = scale in
🎰 THE 3-BANDIT CONSENSUS SYSTEM
The Multi-Agent Philosophy:
No single analytical methodology works in all market conditions. Trend-following excels in trending markets but gets chopped in ranges. Mean-reversion excels in ranges but gets crushed in trends. Structure-based analysis works when structure is clear but fails in chaotic markets.
AMWT's solution: employ three independent agents , each analyzing the market from a different perspective, then use Thompson Sampling to learn which agents perform best in current conditions.
Agent 1: TREND AGENT
Philosophy : Markets trend. Follow the trend until it ends.
Analytical Components:
• EMA Alignment: EMA8 > EMA21 > EMA50 (bullish) or inverse (bearish)
• MACD Histogram: Direction and rate of change
• Price Momentum: Close relative to ATR-normalized movement
• VWAP Position: Price above/below volume-weighted average price
Signal Generation:
Strong Bull: EMA aligned bull AND MACD histogram > 0 AND momentum > 0.3 AND close > VWAP
→ Signal: +1 (Long), Confidence: 0.75 + |momentum| × 0.4
Moderate Bull: EMA stack bull AND MACD rising AND momentum > 0.1
→ Signal: +1 (Long), Confidence: 0.65 + |momentum| × 0.3
Strong Bear: EMA aligned bear AND MACD histogram < 0 AND momentum < -0.3 AND close < VWAP
→ Signal: -1 (Short), Confidence: 0.75 + |momentum| × 0.4
Moderate Bear: EMA stack bear AND MACD falling AND momentum < -0.1
→ Signal: -1 (Short), Confidence: 0.65 + |momentum| × 0.3
When Trend Agent Excels:
• Trend days (IB extension >1.5x)
• Post-breakout continuation
• Institutional accumulation/distribution phases
When Trend Agent Fails:
• Range-bound markets (ADX <20)
• Chop zones after volatility spikes
• Reversal days at major levels
Agent 2: REVERSION AGENT
Philosophy: Markets revert to mean. Extreme readings reverse.
Analytical Components:
• Bollinger Band Position: Distance from bands, percent B
• RSI Extremes: Overbought (>70) and oversold (<30)
• Stochastic: %K/%D crossovers at extremes
• Band Squeeze: Bollinger Band width contraction
Signal Generation:
Oversold Bounce: BB %B < 0.20 AND RSI < 35 AND Stochastic < 25
→ Signal: +1 (Long), Confidence: 0.70 + (30 - RSI) × 0.01
Overbought Fade: BB %B > 0.80 AND RSI > 65 AND Stochastic > 75
→ Signal: -1 (Short), Confidence: 0.70 + (RSI - 70) × 0.01
Squeeze Fire Bull: Band squeeze ending AND close > upper band
→ Signal: +1 (Long), Confidence: 0.65
Squeeze Fire Bear: Band squeeze ending AND close < lower band
→ Signal: -1 (Short), Confidence: 0.65
When Reversion Agent Excels:
• Rotation days (price stays within IB)
• Range-bound consolidation
• After extended moves without pullback
When Reversion Agent Fails:
• Strong trend days (RSI can stay overbought for days)
• Breakout moves
• News-driven directional moves
Agent 3: STRUCTURE AGENT
Philosophy: Market structure reveals institutional intent. Follow the smart money.
Analytical Components:
• Break of Structure (BOS): Price breaks prior swing high/low
• Change of Character (CHOCH): First break against prevailing trend
• Higher Highs/Higher Lows: Bullish structure
• Lower Highs/Lower Lows: Bearish structure
• Liquidity Sweeps: Stop runs that reverse
Signal Generation:
BOS Bull: Price breaks above prior swing high with momentum
→ Signal: +1 (Long), Confidence: 0.70 + structure_strength × 0.2
CHOCH Bull: First higher low after downtrend, breaking structure
→ Signal: +1 (Long), Confidence: 0.75
BOS Bear: Price breaks below prior swing low with momentum
→ Signal: -1 (Short), Confidence: 0.70 + structure_strength × 0.2
CHOCH Bear: First lower high after uptrend, breaking structure
→ Signal: -1 (Short), Confidence: 0.75
Liquidity Sweep Long: Price sweeps below swing low then reverses strongly
→ Signal: +1 (Long), Confidence: 0.80
Liquidity Sweep Short: Price sweeps above swing high then reverses strongly
→ Signal: -1 (Short), Confidence: 0.80
When Structure Agent Excels:
• After liquidity grabs (stop runs)
• At major swing points
• During institutional accumulation/distribution
When Structure Agent Fails:
• Choppy, structureless markets
• During news events (structure becomes noise)
• Very low timeframes (noise overwhelms structure)
Thompson Sampling: The Bandit Algorithm
With three agents giving potentially different signals, how do we decide which to trust? This is the multi-armed bandit problem —balancing exploitation (using what works) with exploration (testing alternatives).
Thompson Sampling Solution:
Each agent maintains a Beta distribution representing its success/failure history:
Agent success rate modeled as Beta(α, β)
Where:
α = number of successful signals + 1
β = number of failed signals + 1
On Each Bar:
1. Sample from each agent's Beta distribution
2. Weight agent signals by sampled probabilities
3. Combine weighted signals into consensus
4. Update α/β based on trade outcomes
Mathematical Implementation:
// Beta sampling via Gamma ratio method
f_beta_sample(alpha, beta) =>
g1 = f_gamma_sample(alpha)
g2 = f_gamma_sample(beta)
g1 / (g1 + g2)
// Thompson Sampling selection
for each agent:
sampled_prob = f_beta_sample(agent.alpha, agent.beta)
weight = sampled_prob / sum(all_sampled_probs)
consensus += agent.signal × agent.confidence × weight
Why Thompson Sampling?
• Automatic Exploration : Agents with few samples get occasional chances (high variance in Beta distribution)
• Bayesian Optimal : Mathematically proven optimal solution to exploration-exploitation tradeoff
• Uncertainty-Aware : Small sample size = more exploration; large sample size = more exploitation
• Self-Correcting : Poor performers naturally get lower weights over time
Example Evolution:
Day 1 (Initial):
Trend Agent: Beta(1,1) → samples ~0.50 (high uncertainty)
Reversion Agent: Beta(1,1) → samples ~0.50 (high uncertainty)
Structure Agent: Beta(1,1) → samples ~0.50 (high uncertainty)
After 50 Signals:
Trend Agent: Beta(28,23) → samples ~0.55 (moderate confidence)
Reversion Agent: Beta(18,33) → samples ~0.35 (underperforming)
Structure Agent: Beta(32,19) → samples ~0.63 (outperforming)
Result: Structure Agent now receives highest weight in consensus
Consensus Requirements by Mode:
Aggressive Mode:
• Minimum 1/3 agents agreeing
• Consensus threshold: 45%
• Use case: More signals, higher risk tolerance
Balanced Mode:
• Minimum 2/3 agents agreeing
• Consensus threshold: 55%
• Use case: Standard trading
Conservative Mode:
• Minimum 2/3 agents agreeing
• Consensus threshold: 65%
• Use case: Higher quality, fewer signals
Institutional Mode:
• Minimum 2/3 agents agreeing
• Consensus threshold: 75%
• Additional: Session quality >0.65, mode adjustment +0.10
• Use case: Highest quality signals only
🌀 INTELLIGENT CHOP DETECTION ENGINE
The Chop Problem:
Most trading losses occur not from being wrong about direction, but from trading in conditions where direction doesn't exist . Choppy, range-bound markets generate false signals from every methodology—trend-following, mean-reversion, and structure-based alike.
AMWT's chop detection engine identifies these low-probability environments before signals fire, preventing the most damaging trades.
Five-Factor Chop Analysis:
Factor 1: ADX Component (25% weight)
ADX (Average Directional Index) measures trend strength regardless of direction.
ADX < 15: Very weak trend (high chop score)
ADX 15-20: Weak trend (moderate chop score)
ADX 20-25: Developing trend (low chop score)
ADX > 25: Strong trend (minimal chop score)
adx_chop = (i_adxThreshold - adx_val) / i_adxThreshold × 100
Why ADX Works: ADX synthesizes +DI and -DI movements. Low ADX means price is moving but not directionally—the definition of chop.
Factor 2: Choppiness Index (25% weight)
The Choppiness Index measures price efficiency using the ratio of ATR sum to price range:
CI = 100 × LOG10(SUM(ATR, n) / (Highest - Lowest)) / LOG10(n)
CI > 61.8: Choppy (range-bound, inefficient movement)
CI < 38.2: Trending (directional, efficient movement)
CI 38.2-61.8: Transitional
chop_idx_score = (ci_val - 38.2) / (61.8 - 38.2) × 100
Why Choppiness Index Works: In trending markets, price covers distance efficiently (low ATR sum relative to range). In choppy markets, price oscillates wildly but goes nowhere (high ATR sum relative to range).
Factor 3: Range Compression (20% weight)
Compares recent range to longer-term range, detecting volatility squeezes:
recent_range = Highest(20) - Lowest(20)
longer_range = Highest(50) - Lowest(50)
compression = 1 - (recent_range / longer_range)
compression > 0.5: Strong squeeze (potential breakout imminent)
compression < 0.2: No compression (normal volatility)
range_compression_score = compression × 100
Why Range Compression Matters: Compression precedes expansion. High compression = market coiling, preparing for move. Signals during compression often fail because the breakout hasn't occurred yet.
Factor 4: Channel Position (15% weight)
Tracks price position within the macro channel:
channel_position = (close - channel_low) / (channel_high - channel_low)
position 0.4-0.6: Center of channel (indecision zone)
position <0.2 or >0.8: Near extremes (potential reversal or breakout)
channel_chop = abs(0.5 - channel_position) < 0.15 ? high_score : low_score
Why Channel Position Matters: Price in the middle of a range is in "no man's land"—equally likely to go either direction. Signals in the channel center have lower probability.
Factor 5: Volume Quality (15% weight)
Assesses volume relative to average:
vol_ratio = volume / SMA(volume, 20)
vol_ratio < 0.7: Low volume (lack of conviction)
vol_ratio 0.7-1.3: Normal volume
vol_ratio > 1.3: High volume (conviction present)
volume_chop = vol_ratio < 0.8 ? (1 - vol_ratio) × 100 : 0
Why Volume Quality Matters: Low volume moves lack institutional participation. These moves are more likely to reverse or stall.
Combined Chop Intensity:
chopIntensity = (adx_chop × 0.25) + (chop_idx_score × 0.25) +
(range_compression_score × 0.20) + (channel_chop × 0.15) +
(volume_chop × i_volumeChopWeight × 0.15)
Regime Classifications:
Based on chop intensity and component analysis:
• Strong Trend (0-20%): ADX >30, clear directional momentum, trade aggressively
• Trending (20-35%): ADX >20, moderate directional bias, trade normally
• Transitioning (35-50%): Mixed signals, regime change possible, reduce size
• Mid-Range (50-60%): Price trapped in channel center, avoid new positions
• Ranging (60-70%): Low ADX, price oscillating within bounds, fade extremes only
• Compression (70-80%): Volatility squeeze, expansion imminent, wait for breakout
• Strong Chop (80-100%): Multiple chop factors aligned, avoid trading entirely
Signal Suppression:
When chop intensity exceeds the configurable threshold (default 80%), signals are suppressed entirely. The dashboard displays "⚠️ CHOP ZONE" with the current regime classification.
Chop Box Visualization:
When chop is detected, AMWT draws a semi-transparent box on the chart showing the chop zone. This visual reminder helps traders avoid entering positions during unfavorable conditions.
💧 LIQUIDITY ANCHORING SYSTEM
The Liquidity Concept:
Markets move from liquidity pool to liquidity pool. Stop losses cluster at predictable locations—below swing lows (buy stops become sell orders when triggered) and above swing highs (sell stops become buy orders when triggered). Institutions know where these clusters are and often engineer moves to trigger them before reversing.
AMWT identifies and tracks these liquidity events, using them as anchors for signal confidence.
Liquidity Event Types:
Type 1: Volume Spikes
Definition: Volume > SMA(volume, 20) × i_volThreshold (default 2.8x)
Interpretation: Sudden volume surge indicates institutional activity
• Near swing low + reversal: Likely accumulation
• Near swing high + reversal: Likely distribution
• With continuation: Institutional conviction in direction
Type 2: Stop Runs (Liquidity Sweeps)
Definition: Price briefly exceeds swing high/low then reverses within N bars
Detection:
• Price breaks above recent swing high (triggering buy stops)
• Then closes back below that high within 3 bars
• Signal: Bullish stop run complete, reversal likely
Or inverse for bearish:
• Price breaks below recent swing low (triggering sell stops)
• Then closes back above that low within 3 bars
• Signal: Bearish stop run complete, reversal likely
Type 3: Absorption Events
Definition: High volume with small candle body
Detection:
• Volume > 2x average
• Candle body < 30% of candle range
• Interpretation: Large orders being filled without moving price
• Implication: Accumulation (at lows) or distribution (at highs)
Type 4: BSL/SSL Pools (Buy-Side/Sell-Side Liquidity)
BSL (Buy-Side Liquidity):
• Cluster of swing highs within ATR proximity
• Stop losses from shorts sit above these highs
• Breaking BSL triggers short covering (fuel for rally)
SSL (Sell-Side Liquidity):
• Cluster of swing lows within ATR proximity
• Stop losses from longs sit below these lows
• Breaking SSL triggers long liquidation (fuel for decline)
Liquidity Pool Mapping:
AMWT continuously scans for and maps liquidity pools:
// Detect swing highs/lows using pivot function
swing_high = ta.pivothigh(high, 5, 5)
swing_low = ta.pivotlow(low, 5, 5)
// Track recent swing points
if not na(swing_high)
bsl_levels.push(swing_high)
if not na(swing_low)
ssl_levels.push(swing_low)
// Display on chart with labels
Confluence Scoring Integration:
When signals fire near identified liquidity events, confluence scoring increases:
• Signal near volume spike: +10% confidence
• Signal after liquidity sweep: +15% confidence
• Signal at BSL/SSL pool: +10% confidence
• Signal aligned with absorption zone: +10% confidence
Why Liquidity Anchoring Matters:
Signals "in a vacuum" have lower probability than signals anchored to institutional activity. A long signal after a liquidity sweep below swing lows has trapped shorts providing fuel. A long signal in the middle of nowhere has no such catalyst.
📊 SIGNAL GRADING SYSTEM
The Quality Problem:
Not all signals are created equal. A signal with 6/6 factors aligned is fundamentally different from a signal with 3/6 factors aligned. Traditional indicators treat them the same. AMWT grades every signal based on confluence.
Confluence Components (100 points total):
1. Bandit Consensus Strength (25 points)
consensus_str = weighted average of agent confidences
score = consensus_str × 25
Example:
Trend Agent: +1 signal, 0.80 confidence, 0.35 weight
Reversion Agent: 0 signal, 0.50 confidence, 0.25 weight
Structure Agent: +1 signal, 0.75 confidence, 0.40 weight
Weighted consensus = (0.80×0.35 + 0×0.25 + 0.75×0.40) / (0.35 + 0.40) = 0.77
Score = 0.77 × 25 = 19.25 points
2. HMM State Confidence (15 points)
score = hmm_confidence × 15
Example:
HMM reports 82% probability of IMPULSE_UP
Score = 0.82 × 15 = 12.3 points
3. Session Quality (15 points)
Session quality varies by time:
• London/NY Overlap: 1.0 (15 points)
• New York Session: 0.95 (14.25 points)
• London Session: 0.70 (10.5 points)
• Asian Session: 0.40 (6 points)
• Off-Hours: 0.30 (4.5 points)
• Weekend: 0.10 (1.5 points)
4. Energy/Participation (10 points)
energy = (realized_vol / avg_vol) × 0.4 + (range / ATR) × 0.35 + (volume / avg_volume) × 0.25
score = min(energy, 1.0) × 10
5. Volume Confirmation (10 points)
if volume > SMA(volume, 20) × 1.5:
score = 10
else if volume > SMA(volume, 20):
score = 5
else:
score = 0
6. Structure Alignment (10 points)
For long signals:
• Bullish structure (HH + HL): 10 points
• Higher low only: 6 points
• Neutral structure: 3 points
• Bearish structure: 0 points
Inverse for short signals
7. Trend Alignment (10 points)
For long signals:
• Price > EMA21 > EMA50: 10 points
• Price > EMA21: 6 points
• Neutral: 3 points
• Against trend: 0 points
8. Entry Trigger Quality (5 points)
• Strong trigger (multiple confirmations): 5 points
• Moderate trigger (single confirmation): 3 points
• Weak trigger (marginal): 1 point
Grade Scale:
Total Score → Grade
85-100 → A+ (Exceptional—all factors aligned)
70-84 → A (Strong—high probability)
55-69 → B (Acceptable—proceed with caution)
Below 55 → C (Marginal—filtered by default)
Grade-Based Signal Brightness:
Signal arrows on the chart have transparency based on grade:
• A+: Full brightness (alpha = 0)
• A: Slight fade (alpha = 15)
• B: Moderate fade (alpha = 35)
• C: Significant fade (alpha = 55)
This visual hierarchy helps traders instantly identify signal quality.
Minimum Grade Filter:
Configurable filter (default: C) sets the minimum grade for signal display:
• Set to "A" for only highest-quality signals
• Set to "B" for moderate selectivity
• Set to "C" for all signals (maximum quantity)
🕐 SESSION INTELLIGENCE
Why Sessions Matter:
Markets behave differently at different times. The London open is fundamentally different from the Asian lunch hour. AMWT incorporates session-aware logic to optimize signal quality.
Session Definitions:
Asian Session (18:00-03:00 ET)
• Characteristics: Lower volatility, range-bound tendency, fewer institutional participants
• Quality Score: 0.40 (40% of peak quality)
• Strategy Implications: Fade extremes, expect ranges, smaller position sizes
• Best For: Mean-reversion setups, accumulation/distribution identification
London Session (03:00-12:00 ET)
• Characteristics: European institutional activity, volatility pickup, trend initiation
• Quality Score: 0.70 (70% of peak quality)
• Strategy Implications: Watch for trend development, breakouts more reliable
• Best For: Initial trend identification, structure breaks
New York Session (08:00-17:00 ET)
• Characteristics: Highest liquidity, US institutional activity, major moves
• Quality Score: 0.95 (95% of peak quality)
• Strategy Implications: Best environment for directional trades
• Best For: Trend continuation, momentum plays
London/NY Overlap (08:00-12:00 ET)
• Characteristics: Peak liquidity, both European and US participants active
• Quality Score: 1.0 (100%—maximum quality)
• Strategy Implications: Highest probability for successful breakouts and trends
• Best For: All signal types—this is prime time
Off-Hours
• Characteristics: Thin liquidity, erratic price action, gaps possible
• Quality Score: 0.30 (30% of peak quality)
• Strategy Implications: Avoid new positions, wider stops if holding
• Best For: Waiting
Smart Weekend Detection:
AMWT properly handles the Sunday evening futures open:
// Traditional (broken):
isWeekend = dayofweek == saturday OR dayofweek == sunday
// AMWT (correct):
anySessionActive = not na(asianTime) or not na(londonTime) or not na(nyTime)
isWeekend = calendarWeekend AND NOT anySessionActive
This ensures Sunday 6pm ET (when futures open) correctly shows "Asian Session" rather than "Weekend."
Session Transition Boosts:
Certain session transitions create trading opportunities:
• Asian → London transition: +15% confidence boost (volatility expansion likely)
• London → Overlap transition: +20% confidence boost (peak liquidity approaching)
• Overlap → NY-only transition: -10% confidence adjustment (liquidity declining)
• Any → Off-Hours transition: Signal suppression recommended
📈 TRADE MANAGEMENT SYSTEM
The Signal Spam Problem:
Many indicators generate signal after signal, creating confusion and overtrading. AMWT implements a complete trade lifecycle management system that prevents signal spam and tracks performance.
Trade Lock Mechanism:
Once a signal fires, the system enters a "trade lock" state:
Trade Lock Duration: Configurable (default 30 bars)
Early Exit Conditions:
• TP3 hit (full target reached)
• Stop Loss hit (trade failed)
• Lock expiration (time-based exit)
During lock:
• No new signals of same type displayed
• Opposite signals can override (reversal)
• Trade status tracked in dashboard
Target Levels:
Each signal generates three profit targets based on ATR:
TP1 (Conservative Target)
• Default: 1.0 × ATR
• Purpose: Quick partial profit, reduce risk
• Action: Take 30-40% off position, move stop to breakeven
TP2 (Standard Target)
• Default: 2.5 × ATR
• Purpose: Main profit target
• Action: Take 40-50% off position, trail stop
TP3 (Extended Target)
• Default: 5.0 × ATR
• Purpose: Runner target for trend days
• Action: Close remaining position or continue trailing
Stop Loss:
• Default: 1.9 × ATR from entry
• Purpose: Define maximum risk
• Placement: Below recent swing low (longs) or above recent swing high (shorts)
Invalidation Level:
Beyond stop loss, AMWT calculates an "invalidation" level where the wave hypothesis dies:
invalidation = entry - (ATR × INVALIDATION_MULT × 1.5)
If price reaches invalidation, the current market interpretation is wrong—not just the trade.
Visual Trade Management:
During active trades, AMWT displays:
• Entry arrow with grade label (▲A+, ▼B, etc.)
• TP1, TP2, TP3 horizontal lines in green
• Stop Loss line in red
• Invalidation line in orange (dashed)
• Progress indicator in dashboard
Persistent Execution Markers:
When targets or stops are hit, permanent markers appear:
• TP hit: Green dot with "TP1"/"TP2"/"TP3" label
• SL hit: Red dot with "SL" label
These persist on the chart for review and statistics.
💰 PERFORMANCE TRACKING & STATISTICS
Tracked Metrics:
• Total Trades: Count of all signals that entered trade lock
• Winning Trades: Signals where at least TP1 was reached before SL
• Losing Trades: Signals where SL was hit before any TP
• Win Rate: Winning / Total × 100%
• Total R Profit: Sum of R-multiples from winning trades
• Total R Loss: Sum of R-multiples from losing trades
• Net R: Total R Profit - Total R Loss
Currency Conversion System:
AMWT can display P&L in multiple formats:
R-Multiple (Default)
• Shows risk-normalized returns
• "Net P&L: +4.2R | 78 trades" means 4.2 times initial risk gained over 78 trades
• Best for comparing across different position sizes
Currency Conversion (USD/EUR/GBP/JPY/INR)
• Converts R-multiples to currency based on:
- Dollar Risk Per Trade (user input)
- Tick Value (user input)
- Selected currency
Example Configuration:
Dollar Risk Per Trade: $100
Display Currency: USD
If Net R = +4.2R
Display: Net P&L: +$420.00 | 78 trades
Ticks
• For futures traders who think in ticks
• Converts based on tick value input
Statistics Reset:
Two reset methods:
1. Toggle Reset
• Turn "Reset Statistics" toggle ON then OFF
• Clears all statistics immediately
2. Date-Based Reset
• Set "Reset After Date" (YYYY-MM-DD format)
• Only trades after this date are counted
• Useful for isolating recent performance
🎨 VISUAL FEATURES
Macro Channel:
Dynamic regression-based channel showing market boundaries:
• Upper/lower bounds calculated from swing pivot linear regression
• Adapts to current market structure
• Shows overall trend direction and potential reversal zones
Chop Boxes:
Semi-transparent overlay during high-chop periods:
• Purple/orange coloring indicates dangerous conditions
• Visual reminder to avoid new positions
Confluence Heat Zones:
Background shading indicating setup quality:
• Darker shading = higher confluence
• Lighter shading = lower confluence
• Helps identify optimal entry timing
EMA Ribbon:
Trend visualization via moving average fill:
• EMA 8/21/50 with gradient fill between
• Green fill when bullish aligned
• Red fill when bearish aligned
• Gray when neutral
Absorption Zone Boxes:
Marks potential accumulation/distribution areas:
• High volume + small body = absorption
• Boxes drawn at these levels
• Often act as support/resistance
Liquidity Pool Lines:
BSL/SSL levels with labels:
• Dashed lines at liquidity clusters
• "BSL" label above swing high clusters
• "SSL" label below swing low clusters
Six Professional Themes:
• Quantum: Deep purples and cyans (default)
• Cyberpunk: Neon pinks and blues
• Professional: Muted grays and greens
• Ocean: Blues and teals
• Matrix: Greens and blacks
• Ember: Oranges and reds
🎓 PROFESSIONAL USAGE PROTOCOL
Phase 1: Learning the System (Week 1)
Goal: Understand AMWT concepts and dashboard interpretation
Setup:
• Signal Mode: Balanced
• Display: All features enabled
• Grade Filter: C (see all signals)
Actions:
• Paper trade ONLY—no real money
• Observe HMM state transitions throughout the day
• Note when agents agree vs disagree
• Watch chop detection engage and disengage
• Track which grades produce winners vs losers
Key Learning Questions:
• How often do A+ signals win vs B signals? (Should see clear difference)
• Which agent tends to be right in current market? (Check dashboard)
• When does chop detection save you from bad trades?
• How do signals near liquidity events perform vs signals in vacuum?
Phase 2: Parameter Optimization (Week 2)
Goal: Tune system to your instrument and timeframe
Signal Mode Testing:
• Run 5 days on Aggressive mode (more signals)
• Run 5 days on Conservative mode (fewer signals)
• Compare: Which produces better risk-adjusted returns?
Grade Filter Testing:
• Track A+ only for 20 signals
• Track A and above for 20 signals
• Track B and above for 20 signals
• Compare win rates and expectancy
Chop Threshold Testing:
• Default (80%): Standard filtering
• Try 70%: More aggressive filtering
• Try 90%: Less filtering
• Which produces best results for your instrument?
Phase 3: Strategy Development (Weeks 3-4)
Goal: Develop personal trading rules based on system signals
Position Sizing by Grade:
• A+ grade: 100% position size
• A grade: 75% position size
• B grade: 50% position size
• C grade: 25% position size (or skip)
Session-Based Rules:
• London/NY Overlap: Take all A/A+ signals
• NY Session: Take all A+ signals, selective on A
• Asian Session: Only A+ signals with extra confirmation
• Off-Hours: No new positions
Chop Zone Rules:
• Chop >70%: Reduce position size 50%
• Chop >80%: No new positions
• Chop <50%: Full position size allowed
Phase 4: Live Micro-Sizing (Month 2)
Goal: Validate paper trading results with minimal risk
Setup:
• 10-20% of intended full position size
• Take ONLY A+ signals initially
• Follow trade management religiously
Tracking:
• Log every trade: Entry, Exit, Grade, HMM State, Chop Level, Agent Consensus
• Calculate: Win rate by grade, by session, by chop level
• Compare to paper trading (should be within 15%)
Red Flags:
• Win rate diverges significantly from paper trading: Execution issues
• Consistent losses during certain sessions: Adjust session rules
• Losses cluster when specific agent dominates: Review that agent's logic
Phase 5: Scaling Up (Months 3-6)
Goal: Gradually increase to full position size
Progression:
• Month 3: 25-40% size (if micro-sizing profitable)
• Month 4: 40-60% size
• Month 5: 60-80% size
• Month 6: 80-100% size
Scale-Up Requirements:
• Minimum 30 trades at current size
• Win rate ≥50%
• Net R positive
• No revenge trading incidents
• Emotional control maintained
💡 DEVELOPMENT INSIGHTS
Why HMM Over Simple Indicators:
Early versions used standard indicators (RSI >70 = overbought, etc.). Win rates hovered at 52-55%. The problem: indicators don't capture state. RSI can stay "overbought" for weeks in a strong trend.
The insight: markets exist in states, and state persistence matters more than indicator levels. Implementing HMM with state transition probabilities increased signal quality significantly. The system now knows not just "RSI is high" but "we're in IMPULSE_UP state with 70% probability of staying in IMPULSE_UP."
The Multi-Agent Evolution:
Original version used a single analytical methodology—trend-following. Performance was inconsistent: great in trends, destroyed in ranges. Added mean-reversion agent: now it was inconsistent the other way.
The breakthrough: use multiple agents and let the system learn which works . Thompson Sampling wasn't the first attempt—tried simple averaging, voting, even hard-coded regime switching. Thompson Sampling won because it's mathematically optimal and automatically adapts without manual regime detection.
Chop Detection Revelation:
Chop detection was added almost as an afterthought. "Let's filter out obviously bad conditions." Testing revealed it was the most impactful single feature. Filtering chop zones reduced losing trades by 35% while only reducing total signals by 20%. The insight: avoiding bad trades matters more than finding good ones.
Liquidity Anchoring Discovery:
Watched hundreds of trades. Noticed pattern: signals that fired after liquidity events (stop runs, volume spikes) had significantly higher win rates than signals in quiet markets. Implemented liquidity detection and anchoring. Win rate on liquidity-anchored signals: 68% vs 52% on non-anchored signals.
The Grade System Impact:
Early system had binary signals (fire or don't fire). Adding grading transformed it. Traders could finally match position size to signal quality. A+ signals deserved full size; C signals deserved caution. Just implementing grade-based sizing improved portfolio Sharpe ratio by 0.3.
🚨 LIMITATIONS & CRITICAL ASSUMPTIONS
What AMWT Is NOT:
• NOT a Holy Grail : No system wins every trade. AMWT improves probability, not certainty.
• NOT Fully Automated : AMWT provides signals and analysis; execution requires human judgment.
• NOT News-Proof : Exogenous shocks (FOMC surprises, geopolitical events) invalidate all technical analysis.
• NOT for Scalping : HMM state estimation needs time to develop. Sub-minute timeframes are not appropriate.
Core Assumptions:
1. Markets Have States : Assumes markets transition between identifiable regimes. Violation: Random walk markets with no regime structure.
2. States Are Inferable : Assumes observable indicators reveal hidden states. Violation: Market manipulation creating false signals.
3. History Informs Future : Assumes past agent performance predicts future performance. Violation: Regime changes that invalidate historical patterns.
4. Liquidity Events Matter : Assumes institutional activity creates predictable patterns. Violation: Markets with no institutional participation.
Performs Best On:
• Liquid Futures : ES, NQ, MNQ, MES, CL, GC
• Major Forex Pairs : EUR/USD, GBP/USD, USD/JPY
• Large-Cap Stocks : AAPL, MSFT, TSLA, NVDA (>$5B market cap)
• Liquid Crypto : BTC, ETH on major exchanges
Performs Poorly On:
• Illiquid Instruments : Low volume stocks, exotic pairs
• Very Low Timeframes : Sub-5-minute charts (noise overwhelms signal)
• Binary Event Days : Earnings, FDA approvals, court rulings
• Manipulated Markets : Penny stocks, low-cap altcoins
Known Weaknesses:
• Warmup Period : HMM needs ~50 bars to initialize properly. Early signals may be unreliable.
• Regime Change Lag : Thompson Sampling adapts over time, not instantly. Sudden regime changes may cause short-term underperformance.
• Complexity : More parameters than simple indicators. Requires understanding to use effectively.
⚠️ RISK DISCLOSURE
Trading futures, stocks, options, forex, and cryptocurrencies involves substantial risk of loss and is not suitable for all investors. Adaptive Market Wave Theory, while based on rigorous mathematical frameworks including Hidden Markov Models and multi-armed bandit algorithms, does not guarantee profits and can result in significant losses.
AMWT's methodologies—HMM state estimation, Thompson Sampling agent selection, and confluence-based grading—have theoretical foundations but past performance is not indicative of future results.
Hidden Markov Model assumptions may not hold during:
• Major news events disrupting normal market behavior
• Flash crashes or circuit breaker events
• Low liquidity periods with erratic price action
• Algorithmic manipulation or spoofing
Multi-agent consensus assumes independent analytical perspectives provide edge. Market conditions change. Edges that existed historically can diminish or disappear.
Users must independently validate system performance on their specific instruments, timeframes, and broker execution environment. Paper trade extensively before risking capital. Start with micro position sizing.
Never risk more than you can afford to lose completely. Use proper position sizing. Implement stop losses without exception.
By using this indicator, you acknowledge these risks and accept full responsibility for all trading decisions and outcomes.
"Elliott Wave was a first-order approximation of market phase behavior. AMWT is the second—probabilistic, adaptive, and accountable."
Initial Public Release
Core Engine:
• True Hidden Markov Model with online Baum-Welch learning
• Viterbi algorithm for optimal state sequence decoding
• 6-state market regime classification
Agent System:
• 3-Bandit consensus (Trend, Reversion, Structure)
• Thompson Sampling with true Beta distribution sampling
• Adaptive weight learning based on performance
Signal Generation:
• Quality-based confluence grading (A+/A/B/C)
• Four signal modes (Aggressive/Balanced/Conservative/Institutional)
• Grade-based visual brightness
Chop Detection:
• 5-factor analysis (ADX, Choppiness Index, Range Compression, Channel Position, Volume)
• 7 regime classifications
• Configurable signal suppression threshold
Liquidity:
• Volume spike detection
• Stop run (liquidity sweep) identification
• BSL/SSL pool mapping
• Absorption zone detection
Trade Management:
• Trade lock with configurable duration
• TP1/TP2/TP3 targets
• ATR-based stop loss
• Persistent execution markers
Session Intelligence:
• Asian/London/NY/Overlap detection
• Smart weekend handling (Sunday futures open)
• Session quality scoring
Performance:
• Statistics tracking with reset functionality
• 7 currency display modes
• Win rate and Net R calculation
Visuals:
• Macro channel with linear regression
• Chop boxes
• EMA ribbon
• Liquidity pool lines
• 6 professional themes
Dashboards:
• Main Dashboard: Market State, Consensus, Trade Status, Statistics
• AMWT Advisor : Market Pulse, Agent Matrix, Structure, Watch For
Taking you to school. - Dskyz, Trade with probability. Trade with consensus. Trade with AMWT.
QSS v18.3 Institutional Quant EngineQSS v18.3 | Institutional Quant Engine
💎 The Ultimate Algorithmic Trading Suite
QSS (Quantitative Signal System) v18.3 is a complete institutional-grade trading engine designed to replace the noise of multiple indicators with a single, high-probability decision model.
This is not just a "Buy/Sell" indicator. It is a "Fortress" of filters, combining Trend, Momentum, Volume, Volatility, Market Cycles, and Support/Resistance into one unified system.
🚀 What is New in v18.3 ?
1. Dynamic Support & Resistance Engine: The system now automatically detects and draws Support (Green) and Resistance (Red) lines based on pivot points.
The "Fortress" Filter: QSS intelligently scans these lines. If a trade setup appears right below a resistance wall or right above a support floor, the system BLOCKS the signal to prevent buying the top or selling the bottom.
Breakout Logic: The system is smart enough to detect a true Breakout. If a candle closes through a resistance line, the filter is overridden, allowing you to catch the explosion.
2. Visual Clarity:
S/R Labels: Horizontal lines are now clearly labelled "RES" (Resistance) and "SUP" (Support).
Entry/Exit Dots: Stop Loss lines now use distinct dotted styling for better visibility.
⚔️ Core Features
1. Dual-Core Signal Engine
Choose the engine that fits your asset class:
Engine A: OTT (Optimized Trend Tracker): Default. A next-gen algorithm based on VIDYA (Variable Index Dynamic Average). It is volatility-adaptive and reacts faster than traditional tools. Perfect for Crypto & Scalping.
Engine B: SuperTrend (Classic): The industry standard for trend following. Slower, steadier, and reliable. Best for Stocks & Swing Trading.
2. Institutional Intelligence (Smart Money)
Koncorde Logic (The Sharks): Analyzing NVI (Negative Volume Index) vs. PVI (Positive Volume Index). Logic: It tracks "Sharks" (Institutions) vs. "Minnows" (Retail). Signals are BLOCKED if Sharks are selling into a pump.
Order Block Filter (SMC): Automatically detects Supply (Red Zones) and Demand (Green Zones). Logic: The system will refuse to Buy if price is hitting a Bearish Order Block (Resistance).
3. The "Cycle Hunter" Filter
Schaff Trend Cycle (STC): A cyclical momentum filter that replaces MACD/Stochastic. Logic: Signals are only valid if the market cycle is turning in your direction. This prevents getting trapped in "fake outs" where price moves slightly but the cycle is actually exhausted.
4. Advanced Noise Cancellation
ADX Trend Strength: Blocks trades during "dead" markets (Chopping/Sideways) where trend followers usually lose money.
Candle Stability Index: Ignores "wicky" candles and dojis. If the market is undecided, QSS waits for a solid candle before firing.
Trend Ribbon: A dual-SMA cloud (21/34) acting as a macro-trend governor.
5. Pro Dashboard & Risk Management
Dynamic Panel: Displays Trend Status, Smart Money Flow (Accumulation/Distribution), Cycle State, and Volatility %.
Live Trade Monitor: When a signal fires, the dashboard expands to show your exact Entry Price, Stop Loss, and TP1/TP2/TP3 targets.
Status Monitor: When waiting for a trade, the dashboard tells you exactly what it is waiting for (e.g., "Wait: Money Flow" or "Wait: S/R Wall").
🛠️ Settings Guide
🔥 SIGNAL ENGINE
Strategy Engine: Choose between OTT (Fast/Crypto) or SuperTrend (Safe/Stocks).
🏰 SUPPORT & RESISTANCE
Filter: S/R Proximity: Enables the "Fortress" logic. Blocks trades too close to walls unless they are breakouts.
Show S/R Lines: Toggles the visible horizontal lines.
🧱 ORDER BLOCK FILTER
Respect Order Blocks: Highly recommended. Prevents buying into institutional supply zones.
📊 QUANT FILTERS
Smart Money (Sharks): Essential for avoiding retail traps. Read more info below on how the filter protects you
ADX Threshold: Default 20. Increase to 25 for safer entries.
Candle Stability: Filters out high-volatility wicks.
🛡️ RISK MANAGEMENT
SL Multiplier: Distance of Stop Loss (Default 2.0x ATR).
TP Multipliers: Adjust your Risk:Reward ratios. (Default is 1:1, 1:2, and 1:3).
💡 How to Trade with QSS v18
The Signal:
Wait for a "BUY" or "SELL" label. Note if it says "OTT" or "ST".
The Confluence:
Check the Ribbon: Is it the right color?
Check the Dashboard: Is Smart Money "ACCUM" (for buys)? Is the Cycle "BULL"?
The Execution:
Enter at the Entry Price displayed on the chart/dashboard.
Set Stop Loss at the Red Dotted Line.
Take Profit at the Blue Dotted Lines.
Troubleshooting:
I see the trend change colour, but no Buy/Sell label?
Turn on "🔧 Debug Mode" in the settings. Grey labels will appear on the chart explaining exactly why the trade was rejected (e.g., "⛔ REJECTED: Hitting S/R Wall" or "⛔ REJECTED: Low ADX").
The Smart Money (Sharks) Filter Explained
The "Smart Money" filter in QSS v16.0 is based on the famous "Koncorde" indicator logic developed by Blai5. It is designed to reveal what "Institutional Investors (Sharks)" are doing, as opposed to "Retail Traders (Minnows)".
It solves the classic problem: "Why is the price going up, but the volume looks weak?"
---
1. How it Works (The Logic)
The filter uses volume analysis to separate money flow into two categories:
The Sharks (Institutions): Calculated using the NVI (Negative Volume Index). Theory: Institutions accumulate positions quietly on low volume days to avoid spiking the price and alerting the market.
The Minnows (Retail): Calculated using the PVI (Positive Volume Index). Theory: Retail traders tend to chase price on high volume days (FOMO/Panic).
The Calculation in QSS:
The system takes the NVI, smooths it with an EMA, and normalizes it into a specific range.
Blue Area (Sharks) > 0: Institutions are BUYING (Accumulation).
Blue Area (Sharks) < 0: Institutions are SELLING (Distribution).
---
2. How the Filter Protects You
When you enable **"Filter: Smart Money (Sharks)"** in the settings, the system enforces the following strict rules:
Buying Rule: QSS will BLOCK a Buy signal if the Sharks are selling (Value < 0). Scenario: Price is pumping due to retail FOMO, but institutions are selling into the pump. This is a "Bull Trap." QSS saves you from buying the top.
Selling Rule: QSS will BLOCK a Sell signal if the Sharks are buying (Value > 0). Scenario: Price is dropping due to retail panic, but institutions are scooping up cheap coins. This is a "Bear Trap." QSS saves you from selling the bottom.
---
3. How to Set It Up
This filter is Pre-Calibrated inside the code, so you do not need to adjust the math. You only need to toggle it.
In the Indicator Settings:
1. Scroll down to the **"Quant Filters"** section.
2. Look for the checkbox: **"Filter: Smart Money (Sharks)"**.
✅ Checked (Default): The safety guard is ON. You will receive fewer signals, but they will have institutional backing.
⬜ Unchecked: The safety guard is OFF. You will get more signals, catching raw price moves, but you risk getting trapped by fake-outs.
In the Dashboard:
Look at the row labelled "Smart Money".
ACCUM (Green): Sharks are buying. Safe to Long.
DIST (Red): Sharks are selling. Safe to Short.
Summary
Think of this filter as an "Institutional Background Check." Before the system lets you enter a trade, it asks: "Are the whales coming with us?" If the answer is No, the trade is rejected.
Disclaimer: Trading involves high risk. This indicator is a tool for analysis and confirmation, not financial advice. No algorithm is 100% accurate; always use stop losses.
Credits:
OTT Logic adapted from Anıl Özekşi.
Koncorde Logic adapted from Blai5.
STC Logic adapted from Doug Schaff.
SMC logic adapted from FluxCharts concepts.
MA 50/200This MA 50/200 indicator is a classic TradingView overlay that plots the 50-period Simple Moving Average (SMA) in solid green and the 200-period SMA in solid red directly on the price chart.
It highlights major trend-reversal signals:
A Golden Cross occurs when the faster 50-period SMA crosses above the slower 200-period SMA, often interpreted as a bullish signal suggesting potential upward momentum. This is marked by a prominent green cross symbol (linewidth 5) plotted at the level of the 200 SMA on the bar where the crossover happens.
A Death Cross occurs when the 50-period SMA crosses below the 200-period SMA, often seen as a bearish signal indicating potential downward momentum. This is marked by a red cross symbol (slightly translucent for subtlety) at the 200 SMA level on the crossover bar.
The layout keeps the chart clean and focused: continuous thick lines for the moving averages with clear, oversized cross markers only at crossover points to make Golden and Death Cross events instantly visible without clutter.
Adaptive Score Pro - Trade Intelligence ⚠️ IMPORTANT RISK DISCLAIMER
This script, "Adaptive Score Pro - Trade Intelligence" is published for informational and educational purposes only. It is a technical analysis tool that automates calculations based on market data.
1. Not Investment Advice
The information generated by this script does not constitute financial, investment, or trading advice of any kind . It is not a recommendation to buy, sell, or hold any security or other financial product. You should not rely on this script as a substitute for independent research or professional financial advice .
2. Trading is High Risk
Trading financial instruments carries a high degree of risk. You can lose more than your initial investment, especially when using leverage . Past performance, including any hypothetical or backtested results shown, is not indicative of future results.
3. No Warranties or Liability
The script and its outputs are provided "as is" without any guarantees of accuracy, reliability, or profitability . By using this script, you agree that the author and TradingView, Inc. are not liable for any trading decisions you make, or for any losses or damages that may arise from your use of or reliance on this script .
4. Your Responsibility
You are solely and fully responsible for evaluating the risks of any trade and for your own trading decisions . Ensure you understand the risks involved and only trade with capital you can afford to lose .
By using this script, you acknowledge that you have read, understood, and agree to this disclaimer.
📈 Indicator Overview & Purpose
"Adaptive Score Pro - Trade Intelligence MFE_MAE4" is a comprehensive, all-in-one trading system designed for systematic traders. It goes beyond basic signal generation by integrating real-time trade management, detailed performance analytics, and advanced market regime detection into a single, visually intuitive dashboard.
The core philosophy is to provide trade intelligence—not just entry signals. It analyzes market conditions, assigns a quality grade to every signal, and actively monitors open positions to suggest management adjustments, helping traders move from guesswork to data-driven decisions.
🎯 Unique Selling Points & Key Features
Your script's depth sets it apart. Here are its standout features presented in a table for clarity:
Feature Category What It Does Why It's Valuable
Open Trade Intelligence Monitor Replaces simple signal panels with a dynamic dashboard for each open trade. It compares entry vs. current conditions (score, grade, confidence, regime) and suggests specific actions (HOLD, ADD, DEF, EXIT, TP) and adjustments to stops/targets. Provides actionable, real-time management suggestions, turning a static indicator into an active trading assistant.
Expanded MFE/MAE & High/Low Analysis Tracks the Maximum Favorable and Adverse Excursion in ATR terms and records price highs/lows at strategic intervals (Bars 1, 2, 3, 5, 7, 10, 15) after entry for both long and short trades. Offers deep, standardized post-trade analytics to evaluate entry quality and trade behavior, helping refine future strategy.
Adaptive Signal Engine Generates a composite score from trend, momentum, and volume components, with weights that adapt to market regime (e.g., STRONG TREND, ACTIVE RANGE). Each signal receives a quality grade (A+ to F) and confidence score. Filters out low-probability setups, ensuring you focus on high-quality, regime-appropriate trades.
Holistic Performance Suite Displays complete trade history and detailed statistics (Win Rate, Profit Factor, Sharpe/Sortino Ratios, Max Drawdown). Includes a Threshold Analysis table showing historical win rates for specific score bands. Enables continuous strategy validation and optimization based on your actual historical performance.
Integrated Risk & Portfolio Management Features multi-position risk control, position sizing (with optional Kelly Criterion), and tracks total portfolio equity and drawdown. It enforces maximum open positions and position-size limits. Manages portfolio-level risk, a critical feature often missing from standalone indicators.
🛠️ How to Use the Indicator
Signal Generation: The indicator plots signals on the chart. Focus on trades with a B- grade or higher and high confidence for best results.
Trade Management: Once in a trade, the Open Trade Monitor (top of the table) becomes your control center. Use the suggested "ACT" (action) and adjust stops/targets based on the "NewS" and "NewT" columns.
Post-Trade Analysis: Review the "Recent Trades" section and "Performance" statistics to understand what's working. Use the "Threshold Analysis" to see which score ranges are most profitable for your asset.
💡 Ideal User & Best Practices
This script is ideal for traders who employ a systematic, discretionary approach and want a unified tool for signal filtering, trade management, and performance tracking.
Recommended Timeframes: 1-hour charts and above for reliable regime detection and to avoid excessive noise.
Initial Setup: Start with the default settings. After 20-30 trades, use the Threshold Analysis to see if adjusting the buy/sell thresholds (default 56/44) could improve your edge.
Core Philosophy: Use the A/B-grade signals as high-probatility alerts, not automated orders. The intelligence is in the context it provides—always apply your own final judgment.
⚠️ Important Considerations
Learning Curve: The indicator is feature-rich and may be overwhelming for complete beginners.
Not a "Set-and-Forget" System: It is a sophisticated decision-support tool. Successful use requires understanding its outputs and integrating them into a complete trading plan.
Historical Data: The statistical models and threshold analysis become more reliable as more trade history is accumulated.
In summary, "Adaptive Score Pro" packages the tools of a professional trading desk—from signal generation and quality grading to active trade management and detailed analytics—into a single TradingView indicator. Its standout Open Trade Intelligence Monitor and expanded trade analytics make it a powerful platform for traders aiming to systematize and improve their process.
TRADERREVIEW GENERIC 200SMA 50/45 + ADX Filtersector trend trading based on % of stocks above their50 day moving average in the S&P500. Can speed up (more signals) or slow down (less signals) with ADX and hard stop on SMA.
Specifically designed to GET YOU IN WINNERS AND LET THEM RUN.
[devtool] Dynamic MTF Supertrend This script provides a robust, non-repainting implementation of the classic Supertrend indicator, enhanced with Multi-Timeframe (MTF) capabilities and dynamic adjustment features. It is designed for traders who require stable trend signals and reliable support/resistance levels across various market conditions.
Concept and Inspiration
First and foremost, huge respect is due to Kivanc Ozbilgic, the pioneer who popularized the Supertrend concept and made it a staple in technical analysis. This script builds upon that foundational logic but adapts it for modern charting needs, specifically addressing the issue of repainting in higher timeframe data.
Key Features
Non-Repainting Logic: The core of this indicator is built to ensure that once a candle closes, the signal and the trend line remain fixed. This is crucial for backtesting accuracy and real-time execution.
Dynamic Multi-Timeframe (MTF): You can view higher timeframe Supertrend levels on your current chart without the lag or repainting issues often associated with standard request.security calls.
Returning Levels: As seen in the examples below, the indicator clearly delineates "returning levels." These steps in the Supertrend line often act as significant support or resistance zones where price action may retest.
How to Use
Trend Identification: The primary use is trend following. Green indicates a bullish trend, while red indicates a bearish trend.
Support & Resistance: The horizontal "steps" of the Supertrend line serve as trailing stop-loss levels or dynamic support/resistance.
Multi-Timeframe Analysis: Use the settings to overlay a higher timeframe trend on a lower timeframe chart (e.g., viewing a Daily Supertrend on a 1-hour chart) to align your entries with the dominant trend.
Visual Examples
Below are examples of the indicator applied to various assets and timeframes, demonstrating its stability and the relevance of the returning levels.
Bitcoin (Daily): Capturing the major trend shifts with clear trailing levels.
Dow Jones (Daily): Demonstrating long-term trend stability.
EUR/USD (1-Hour): Intraday application showing reaction to dynamic levels.
ETH/USDT (Daily): Handling high volatility crypto markets.
Gold (15-Minute): Scalping perspective with tight trend adherence.
For Developers and Backtesters
This script is published as "Protected" to ensure the integrity of the logic while allowing users to utilize it freely. Professional developers and algorithmic traders will appreciate the non-repainting nature of this script, as it allows for reliable backtesting results that match live performance. If you are building automated systems, ensuring your source data does not repaint is the first step toward a viable strategy.
Disclaimer
This tool is for informational purposes only. Past performance DOES NOT guarantee future results. Always manage your risk appropriately.
3 BAR BUDDY3 Bar Buddy — Multi-Timeframe Engulfing Level Tracker
3 Bar Buddy scans the selected timeframe for valid 3-bar engulfing structures and builds an interactive queue of target levels above and below price. The table displays the last 10 active levels in order from closest to furthest.
For each engulfing candle, the indicator records both the high and low price of that structure and identifies whether the stored price comes from the High or the Low of that candle.
Levels dynamically update in real-time. When price reaches a level, it is marked as hit and a new level is generated further out in the queue — allowing the tool to continuously track evolving upside and downside targets.
No candle close is required — levels and hit-status react instantly as price moves above or below the engulfing structure.
Table Columns
Closest → Furthest
Order of levels relative to current price
Below / Above
Stored target price level
H / L
Indicates whether the level is derived from:
• High = Engulfing candle high
• Low = Engulfing candle low
Key Features
• Multi-timeframe selectable scan source
• Tracks most recent 10 active engulfing levels
• Separate Above-price & Below-price queues
• Real-time ✓ hit detection (no close required)
• Hit levels roll off & new targets are added
• Displays whether price came from candle high or low
• Visual levels extend on chart for confluence
Intended Use
Designed to help traders:
• Track structural reaction levels created by engulfing candles
• Monitor liquidity sweep / wick-through behavior
• Identify retests & continuation zones
• Build confluence with support-resistance or FVG areas
• Visually map upside & downside expansion targets
Notes
• Levels are ordered relative to current price (closest first)
• Levels remain active until price interacts with them
• Once hit, the level is cleared and a new level is added to the list
SMC Trend Reversal by Pooja🌟 SMC Trend Reversal by Pooja — CHoCH + BOS + RSI Confirmation
🔥 Smart Money Concepts • Trend Reversal Detection • Multi-Asset Optimized
The SMC Trend Reversal by Pooja is a powerful market-structure indicator designed for traders who follow Smart Money Concepts (SMC) and want to identify trend reversals, BOS, and CHoCH with high clarity.
It blends pivot-based structure breaks, RSI confirmation, and an optional session filter, giving traders a clean and reliable view of market shifts across Crypto, Forex, Indices, and Equity Derivatives.
✨ 🔰 Why SMC Matters in Crypto & Forex?
Both Crypto and Forex markets:
Trade 24/7 / 5 days with high volatility
React strongly to liquidity zones, market structure shifts, and smart money footprints
Often reverse sharply after liquidity grabs
Follow clean CHoCH → BOS → Trend progression sequences
This is why CHoCH (Change of Character) and BOS (Break of Structure) are crucial tools used by professional SMC traders to catch early trend reversals.
This indicator automates that process for you.
No clutter. No repaints. No noise.
Just pure SMC structure.
🚀 Key Features
🟣 CHoCH Detection (Change of Character)
Detects when the market shifts direction
A CHoCH appears when the trend flips from down → up or up → down
Highlights the earliest sign of a trend reversal
Draws a clean CHoCH line across structure
Works beautifully in volatile markets like Crypto & Forex
🔵 BOS Detection (Break of Structure)
Identifies structural continuation in the same direction
Helps confirm the new trend after CHoCH
Clear BOS lines to visualize progression of market flow
Ideal for trend-following and breakout traders
🧠 RSI-Based Confirmation (Optional)
To avoid fake CHoCH signals, the indicator uses RSI filtering:
RSI > Upper Level → Show “B” Buy Label
RSI < Lower Level → Show “S” Sell Label
This improves accuracy especially in:
Fast crypto markets (BTC, ETH, SOL etc.)
Liquidity-driven assets (Forex, Indices)
⏱️ Session Block (Asia/Kolkata Compatible)
Avoid signals in the first few minutes of market open or in volatile windows.
Block signals in a selected time range
Perfect for Indian market opening volatility (09:00–09:25)
🎯 Clean, Minimal, Easy-to-Read Visuals
✔ Horizontal structural lines
✔ Color-coded CHoCH and BOS
✔ Buy (B) / Sell (S) labels only when meaningful
✔ No unnecessary clutter
✔ Suitable for both beginners and advanced SMC traders
📢 Built-In Alerts
Receive notifications for:
🔔 Bullish CHoCH
🔔 Bearish CHoCH
🔔 Bullish BOS
🔔 Bearish BOS
Perfect for mobile, desktop, and webhook automation.
📈 How It Helps Your Trading
✔ Catch early trend reversals with confidence
✔ Avoid false signals with RSI filtering
✔ Trade like Smart Money (Institutional concepts)
✔ Works on all timeframes — scalping to swing
✔ Specially powerful on Crypto & Forex due to their structure-driven nature
✔ Cleaner charts → Better decisions → Higher probability trades
🧩 Who Should Use This Indicator?
✔ SMC / ICT style traders
✔ Breakout and trend-following traders
✔ Reversal traders
✔ Crypto & Forex scalpers
✔ Option buyers looking for early trend shifts
✔ Intraday NIFTY / BANKNIFTY traders
⚠️ Disclaimer
This indicator is for educational purposes and market analysis only.
It does not guarantee profits. Always practice risk management and test your settings before using it live.
Draw Trendline with Breakout by Pooja🌟 Draw Trendline with Breakout by Pooja
Draw Trendline with Breakout by Pooja
✨ A smart & clean auto–trendline tool that detects swings, plots dynamic trendlines, and highlights real-time breakouts — designed for intraday, swing & positional traders.
Indicator intelligently reads market structure using objective statistical calculations (ATR / Stdev / LinReg) and gives you clarity on trend direction, structural shifts, and breakout opportunities.
Works on Stocks • Indian Stock Market • Crypto • Forex • Commodities
Suitable for Scalping • Day Trading • Swing Trading
🔥 Key Features
🔹 Auto Trendline Detection
Auto-detects swing highs/lows
Draws adaptive upper & lower trendlines
No manual drawing required
🔹 Dynamic Slope Engine
Choose from 3 professional slope methods:
📏 ATR Mode – volatility-adaptive
📊 Stdev Mode – statistical noise filtering
📐 Linear Regression Mode – structural slope mapping
🔹 Real-Time Breakout Signals
⚡ Instant breakout markers (Up/Down)
🔔 Alert support for both breakout types
Helps catch trend continuation & reversals early
🔹 Extended Projection Lines
➡️ Projects trendlines forward
🎯 Helps identify possible future reaction zones
🔹 Backpaint Control
🧩 Optional historical offset display
Great for forward testing & clean charts
🔹 Flexible Customization
Swing length
Colors
Slope sensitivity
Extended line visibility
📈 How to Use
Apply indicator
Set swing length based on volatility
Choose slope mode (ATR/Stdev/LinReg)
Observe auto trendlines
Watch for breakout markers
Set alerts for faster entries
Best used together with:
📌 Support & Resistance
📉 Price Action
🧭 Market Structure
🔊 Volume
💡 Why Traders Like It
Clean & lag-free structure mapping
Zero manual drawing
Breakouts are visually clear
Works on all assets & timeframes
⚠️ Disclaimer
This indicator is a technical analysis tool meant for charting assistance.
It does not guarantee profits or predict markets with certainty.
Always combine with your own analysis and proper risk management.
Past performance ≠ future results.
Trend Cross Filter by Pooja⭐ Trend Cross Filter by Pooja
Trend Cross Filter by Pooja is a clean and efficient crossover-based entry tool designed to help traders identify momentum shifts with clarity. This indicator combines a fast RSI and a smoothed RSI-MA baseline with optional trend and volatility filters, allowing users to focus on higher-quality crossover signals.
The goal of this tool is to offer structured, easy-to-read entries without clutter or complexity. All signals appear directly on the chart using markers, making it suitable for intraday and short-term decision-making.
⭐ Key Features
🔶 1. RSI–MA Crossover Signals
Generates BUY/SELL signals when RSI crosses above or below its moving average.
Clean visual markers help highlight potential momentum changes.
🔶 2. Trend Strength Filter (Optional)
Uses a custom ADX calculation to allow signals only when trend strength meets the selected threshold.
🔶 3. Volatility Filter (ATR-Based)
An optional ATR/Price filter helps avoid signals during extremely low-volatility or flat periods.
🔶 4. RSI-MA Slope Filter
Allows users to accept only those signals where the slope of the RSI-MA indicates meaningful directional strength.
🔶 5. Minimum Bars Between Signals
Prevents back-to-back signals in noisy or sideways conditions.
🔶 6. Chart-Based Visual Signals
Signals appear directly on the price chart:
BUY markers for upward crossover
SELL markers for downward crossover
Users can choose between triangle or label-style signals.
🔶 7. Alert + Webhook Compatible
Built-in alert conditions for BUY and SELL signals.
Users can connect alerts to webhooks or automation tools if they wish.
🔶 8. Flexible Customization
All filters, thresholds, colors, and label styles can be adjusted easily based on personal preference.
⭐ How to Use
Add the indicator to your chart.
Choose your preferred signal style (Label / Triangle).
Enable or disable the ADX, ATR, or slope filters as needed.
Create TradingView alerts using the built-in BUY and SELL alert conditions if automation or notifications are required.
Combine signals with your own risk management and market analysis.
⭐ Notes
Works across multiple timeframes and different instruments.
Filtering options help reduce noise, but users should test settings based on their trading approach.
⚠️ Disclaimer
This indicator is a technical analysis tool created for educational and chart-analysis purposes.
It does not provide financial advice, does not guarantee profits, and should not be used as the sole basis for trading decisions.
Market conditions vary, and users are fully responsible for their own trades, risk management, and results.
Always test any tool or strategy on historical data or a demo environment before using in live markets.
AI Astra Pro - Options Intelligence by Pooja📘 AI Astra Pro – Options Intelligence
by Pooja
Invite-Only • Option Premium–Focused • Rule-Based Intelligence System
🔔 IMPORTANT (PLEASE READ FIRST)
AI Astra Pro is designed exclusively for OPTION PREMIUM charts.
This indicator will not work on index or equity charts.
It internally calculates approximate option Greeks (Delta, Gamma, Theta, Vega) using option premium behavior and underlying index price.
For safety and correctness, the script automatically restricts usage to option premium symbols only.
🔍 What AI Astra Pro Does (Purpose)
AI Astra Pro is an advanced intraday options intelligence indicator designed to help option traders:
Reduce false entries
Avoid over-trading
Filter out low-energy and sideways market conditions
Trade only when multiple independent confirmations align
Instead of producing frequent signals, this indicator focuses on signal quality, confirmation, and controlled re-entries, making it suitable for serious intraday option traders.
⚙️ Core Features (Explained Clearly)
🔹 1. Option-Only Safety System
Script runs only on option premium charts
Prevents incorrect usage on index or equity charts
Ensures Greeks and premium logic remain valid
🔹 2. Confirmed BUY & SELL Signals (No Repainting)
Signals appear only after candle close
No intrabar repainting or blinking signals
Suitable for live trading and automation alerts
🔹 3. Dual RSI Engine (Buy & Sell Separation)
Separate RSI + RSI-MA logic for BUY and SELL
Minimum RSI-MA distance filter
Directional slope validation
Prevents mixed or contradictory signals
➡️ This avoids the common issue where one RSI controls both sides incorrectly.
🔹 4. RSI 60 / 40 Momentum Filter
BUY signals allowed only in bullish momentum
SELL signals allowed only in bearish momentum
➡️ Blocks trades during unclear or weak momentum phases.
🔹 5. ADX + ATR Strength & Volatility Filter
ADX confirms trend strength
ATR confirms sufficient intraday volatility
➡️ Prevents entries during sideways or low-energy markets where options decay faster.
🔹 6. EMA + VWAP Trend Alignment
BUY signals only when price is above EMA & VWAP
SELL signals only when price is below EMA & VWAP
➡️ Avoids counter-trend option entries, reducing drawdowns.
🔹 7. Strategy-2 Positional Re-Entry Logic
Re-entries allowed only after proper pullback
Price must cross and re-accept EMA/VWAP
Prevents repeated signals without real retracement
➡️ Controls over-trading in strong trends.
🔹 8. Trendline-Based Structure Filter
Dynamic trendlines from swing highs/lows
Multiple slope calculation modes (ATR / Stdev / Linear Regression)
Signals aligned with structural zones
➡️ Helps avoid chasing overextended moves.
🔹 9. Pivot Points for Context
Traditional pivot levels
Multi-timeframe support
Optional price labels
➡️ Used for context only, not direct signal generation.
🔹 10. Option Greeks Intelligence Dashboard (Approximate)
The dashboard displays approximate option Greeks, derived from option premium behavior:
Delta Sensitivity – responsiveness of premium to index movement
Approx. Delta Projection – estimated premium movement for a 100-point index move
Gamma Activity – rate of delta change
Theta Status – time decay behavior
Vega / IV State – implied volatility expansion or compression
⚠️ These are approximate analytical values, not exchange-provided Greeks.
11. 🔹 Session Filter
Optional disabling of signals during selected intraday time windows
(e.g. noisy market open).
🧩 Why This Is NOT a Simple Indicator Merge
AI Astra Pro is not a basic combination of RSI, EMA, VWAP, or Supertrend.
Instead, it uses a state-driven architecture, where different indicator logics work as independent filters, not as simple triggers.
Key architectural differences:
Independent BUY and SELL logic engines
No shared oscillator state between buy & sell
Reset-based signal eligibility
Sequential condition validation
Anti-overtrading enforcement
Oscillators and Non Oscillators Combination Filters for more Accuracy.
Option Dashboard with Option Greeks Status which really make it unique.
This structure makes the script original and structurally different from common indicator combinations.
🧠 What “AI” Means in This Indicator
This script does NOT use machine learning, neural networks, or predictive models.
The term “AI” refers to a rule-based decision intelligence system, where:
Multiple market conditions are evaluated together
Signals are allowed only after sequential validation
Internal state logic decides when a signal is allowed or blocked
Signals trigger only on confirmed candle close
This approach mimics disciplined decision-making rather than prediction.
Different kinds of Filters like adx, atr, Rsi slope which helps you to filter fake breakout and help to reduce overtrading.
🔔 Alerts & Automation
BUY / SELL alerts on confirmed signals only
Webhook-compatible
Suitable for Telegram, Tradetron, or other platforms
No repaint behavior
👤 Who This Indicator Is For
✔️ Intraday option buyers
✔️ Intraday option sellers
✔️ Option premium–based directional traders
✔️ Traders who prefer quality over quantity
✔️ Rule-based and confirmation-driven setups
✔️ Traders who want discipline, not over-signals
❌ Not suitable for:
Equity delivery trading
Long-term investing
Index chart analysis without option premium
🔒 Why Invite-Only
This script includes:
Internal state tracking
Reset logic
Independent signal engines
Option-specific intelligence logic
Source access is restricted to protect the originality and structure of the implementation.
⚠️ Disclaimer
This indicator is provided for educational and analytical purposes only.
It does not provide financial advice, investment recommendations, or profit guarantees.
All trading decisions and risk management remain the sole responsibility of the user.
All option dashboard values are approximate and derived using option pricing and option Greeks–based formulas.
Pinnacle ICT BasicOverview
Pinnacle ICT Basic (PICT Basic) is a contextual market regime overlay inspired by Inner Circle Trader (ICT) principles. It analyzes price behavior relative to recent structure and momentum to classify current conditions as orderly (directional progression), transitional (consolidation/stall), or unstable (chop/stand-down).
Important: This script provides no trade entries, exits, targets, alerts for execution, or performance predictions. It serves purely as a visual aid for discretionary decision-making, highlighting market context to help traders avoid low-quality conditions.
Originality and Value of This Integration
This script stands out by combining classic elements (EMA baseline for trend bias, pivot-based liquidity sweeps, displacement via candle body analysis, volume spikes, ATR-based separation, ADX/range for chop detection, and HTF EMA alignment) in a unique hierarchical filtering system. The proprietary tuning creates cleaner, more reliable contextual reads than simple individual indicators or basic mashups.
Key differentiators include:
Adaptive stall detection using a rolling baseline cross-count scaled as a percentage of lookback period (combined with ADX and range/ATR ratios) to identify hidden consolidation early, reducing false directional reads in ranging markets.
Deterministic market-mode adjustments (offsets for stocks vs. futures) for consistent behavior across asset classes without over-optimization.
Binary quality gating on setups (configurable OR/AND logic for volume + displacement) before confirmation, with limits like one-setup-per-leg, one-confirm-per-swing, cooldown bars, and micro-trend alignment.
Strict CONT (continuation first-touch) arming that requires pre-separation from baseline (ATR-scaled) and optional close-side requirements, preventing premature or noisy signals.
These interactions form a multi-layer filter: structure → quality → confirmation → regime shading. This reduces noise significantly compared to freely available scripts that plot sweeps or displacements independently, offering refined contextual awareness that justifies protected source code and selective access.
How It Works (Conceptual)
The script evaluates price movement progression, not just position.
At a high level:
A baseline EMA defines primary bias (bullish/bearish), with optional micro EMA for short-term alignment.
Market state detection combines traditional chop filters with proprietary stall logic to flag "stand down" periods of indecision.
Liquidity sweeps identify breaches of recent swing highs/lows (configurable key-swing strength or lookback).
Displacement requires strong candle bodies exceeding averages (with optional ATR filter).
Volume confirmation demands spikes above SMA.
HTF filter checks true bias alignment (not just LTF close vs. HTF EMA).
Setups trigger on recent sweeps or armed first-touch continuations at baseline.
Confirms require confluence of displacement, volume, micro alignment, and HTF OK—gated to avoid over-signaling.
The HUD displays regime (bullish/bearish/stand-down), bias, HTF status, alignment (OK or mismatch), and active filters (vol/disp). Background shading and optional labels/shapes provide visual cues for orderly vs. compressed/unstable action.
Visual Output
The script overlays:
Baseline (and optional micro) EMA.
Background regime shading.
Setup/confirm labels or shapes (configurable sizes/modes: Minimal, Standard, Debug).
On-chart HUD with real-time state summary.
No predictive elements, offsets into future, or non-standard chart assumptions are used.
What This Script Is Not
Does not generate buy/sell signals or alerts for direct execution.
Does not rely on fixed oscillator thresholds or simple MA crossovers alone.
Does not forecast direction or replace risk management.
Does not constitute a standalone system—all decisions remain discretionary.
Intended Use
Use as a contextual filter alongside your existing approach:
Avoid participation in "stand down" or mismatched conditions.
Monitor transitions from compression to expansion.
Assess structural continuity or disruption.
Apply across timeframes and assets (with auto-mode detection for stocks/futures).
Disclaimer
This script is for educational and informational purposes only. It does not constitute financial, investment, or trading advice. Trading involves risk; apply proper risk management. Past observations do not guarantee future behavior.
To request access, send a private message on TradingView with your username and brief intended use.
The RayAlgo Pro 3.0 (SMC+Filters)The RayAlgo Pro 3.0 (SMC+Filters) is a multi-module market-structure and trend framework designed to organize price action into a clear, repeatable workflow.
The core idea is layered confluence: each component answers a different “trading question” (direction, location, timing, and conditions). The goal is to build a coherent view where signals are interpreted in context.
Signal Filters introduce an additional confirmation layer, allowing classic SMC logic to be refined through strength, volatility, timeframe alignment, and session context.
The modules are designed to agree with each other, not compete.
Market Structure defines direction and key swing references (HH/HL/LH/LL, BOS/CHoCH).
Trend Engine transforms that structure into an actionable state (bull / bear) using volatility-adaptive bands.
Execution Context is added through continuation touches, reversal events, order blocks, and optional S/R zones.
Decision Support is handled via a dashboard that summarizes trend, strength, volatility, session, and higher-timeframe alignment.
1) Market Structure
Swing points derived from pivot highs/lows.
BOS / CHoCH lines drawn when price breaks the most recent active swing high/low.
Trend Change labels (“BUY” / “SELL”) triggered on a confirmed directional change in the structure state (ChoCH)
2) Trend Engine & Visual Layer (bands + candles)
Wireframe bands built from:
a WMA basis (trend anchor)
an ATR-smoothed volatility envelope
Trend Continuation markers (⬆ / ⬇) when price interacts with the active band in the direction of the trend (throttled to reduce clutter).
A bull / bear main line:
bullish state plots the lower band as the “active” trend line
bearish state plots the upper band as the “active” trend line
3) Clarity Candles (Trend-Based Coloring)
Candles are colored based on the active market structure trend state.
Bullish color during bullish structure, bearish color during bearish structure.
Helps visually separate trend phases, pullbacks, and transitions, reducing noise and improving directional focus.
4) Trend Reversal Reference
A dedicated reversal marker printed simultaneously with the main BUY / SELL signal.
Marks the exact previous swing high or low from which the trend changed.
Acts as a key structural reference and a natural trade invalidation level if price is reclaimed.
5) Smart Order Blocks
Bullish / bearish Order Block boxes created at structure break events.
Each block prints:
direction (BULL / BEAR)
a relative “strength” marker (+, ++, +++) based on box height vs ATR
the volume at the originating bar (formatted K/M/B)
Blocks are automatically managed:
a maximum number can remain active
blocks are removed when “mitigated” (price closes beyond the block boundary)
6) Optional Support & Resistance Zones
Pivot-based zones with:
minimum distance filtering (avoid stacking zones too close)
zone thickness scaled by ATR
extension into the future
7) Optional Sessions
Tight session boxes drawn around the price. Visualize high-activity trading hours and their price ranges.
London (08:00–17:00 UTC)
New York (13:00–22:00 UTC)
Tokyo (00:00–09:00 UTC)
Sydney (22:00–07:00 UTC)
8) Optional TP/SL levels
When a trend change triggers, the script can plot:
SL at the most recent opposite swing reference
TP1 / TP2 / TP3 derived from risk (entry → SL) and your selected R:R multipliers
9) Info Panel / Dashboard (table)
A compact dashboard (position + size configurable) showing:
current timeframe trend status (BULLISH / BEARISH / NEUTRAL)
strength using ADX classification (Weak / Range / Strong)
trend age (bars since last trend-change)
a volatility score (0–10) based on ATR vs its longer-term average
current session label
MTF alignment for 3 user-selected timeframes (Bull / Bear / Flat / N/A)
10) Optional Signal Filters
An optional confirmation layer applied only to Trend Change (BUY / SELL) signals.
Filters can require:
multi-timeframe directional alignment
a defined volatility regime
minimum trend strength (ADX)
a specific trading sessions
Signals failing the active filters are suppressed, and candles visually indicate filtered conditions until a valid signal appears.
HOW DOES IT WORK?
A) Market Structure State
1. The script detects swing highs/lows using pivot logic.
2. A swing is considered “active” until price breaks it.
3. When price breaks:
breaking a swing high flips/sets state to bullish
breaking a swing low flips/sets state to bearish
4. The break is drawn as a horizontal line and labeled:
BOS (break in the direction of the existing trend)
CHoCH (a change-of-character event — break against the prior direction)
B) Trend Engine (volatility-adaptive bands)
A WMA basis defines the baseline direction.
An ATR-based volatility measure is smoothed and multiplied
When market structure is bullish, the script emphasizes the lower band as the active trend line; in bearish states, it emphasizes the upper band.
This creates a trend framework that adapts to changing volatility, rather than using fixed-distance bands.
C) Timing Tools (continuation + reversal event markers)
Trend Change (BUY/SELL) appears only when the structure state flips (change-of-trend condition).
Continuation markers (⬆/⬇) appear when price “tags” the active band while the trend state remains intact.
Continuation signals are throttled (a minimum spacing between prints) to reduce signal clustering.
D) Order Blocks (structure-driven zones)
Order blocks are created at structure break moments, then managed dynamically:
Bullish OB prints on bullish structure resolution
bearish OB prints on bearish resolution.
Each OB box includes:
direction
strength grade based on box size relative to ATR
originating volume (formatted)
SETTINGS GUIDE
Structure Settings
Swing Size: controls pivot sensitivity.
lower = faster swing detection (more structure events, more noise)
higher = fewer, more “major” swings (cleaner structure, slower reactions)
BOS/CHoCH Line Style: visual preference (solid/dashed/dotted).
Show BOS / Show CHoCH: toggle structure event labeling.
Show Swing Labels: prints HH/HL/LH/LL at confirmed pivots.
Trend Reversal Signal
Show Trend Reversal Signals: adds a reversal label/line when the trend state flips.
Signal Line Length (bars): how far the reversal reference line extends.
Line/Text Colors: visuals.
Smart Order Blocks
Show Order Blocks: enables OB zones at structure events.
Bull/Bear OB Colors: visuals.
Max Active OBs: performance and chart cleanliness control.
How OB “strength” works:
Strength is graded by block height relative to ATR, giving a quick “size vs volatility” context.
Support & Resistance
Pivot Strength: how many bars left/right define a pivot (higher = fewer zones).
Minimum Zone Distance (%): prevents clustering.
Zone Thickness (ATR Mult): thickness adapts to volatility.
Max Zones / Extension (bars): visual management + horizon.
Main Trend Settings
Basis Length: WMA length (higher = smoother, slower).
ATR: volatility sampling window.
Smoothing: smooths volatility to prevent jitter.
Vol Multiplier: expands/contracts the envelope (higher = wider bands).
Visuals
Show Wireframe Bands + Wireframe Spread: adds multiple “distance lines” from the active band scaled by volatility.
Show Volatility Shadow: adds a separate volatility visualization layer (useful for regime awareness).
Sessions
Toggle session boxes (UTC-based).
TP/SL Settings
Show TP/SL Levels: plots SL + 3 targets on trend-change events.
TP risk/reward ratios: set R:R multipliers for TP1/2/3.
Info Panel
Show Info Panel / Position / Size
ADX Length: strength classification sensitivity.
Volume MA Length: average volume reference (currently used for averaging; the dashboard focuses on volatility/ADX/trend age).
MTF 1/2/3: three timeframes for trend alignment readout.
Appearance
Bull/Bear Colors
Trend Background: optional shading keyed off the trend state.
Signal Filters
Enable Signal Filters: applies additional rules to BUY/SELL signals only.
Filtered Candle Color: candles turn gray when a signal is filtered out.
MTF Alignment
Require MTF 1/2/3: only allow signals aligned with selected higher timeframes.
ADX Strength
Require ADX ≥ Min: filters out weak or ranging conditions.
Volatility
Vol Score Min/Max: limits signals to a chosen volatility regime (0–10).
Sessions
Restrict to Selected Sessions: signals only fire during chosen sessions.
ALERTS
This script includes alert conditions for:
Trend state events
Bullish Trend Change (trend changed to bullish)
Bearish Trend Change (trend changed to bearish)
Structure events
Bullish BOS
Bearish BOS
Continuation events
Bullish Trend Continuation (price touched bullish band)
Bearish Trend Continuation (price touched bearish band)
Order block events
Bullish Order Block Detected
Bearish Order Block Detected
Disclaimer
This indicator is an analytical and educational tool only. It does not provide financial advice or trade recommendations. All signals, levels, and visual elements are meant to assist in market analysis and must be used alongside proper risk management and independent decision-making. Trading involves risk, and past performance does not guarantee future results.
P2P Indicator [MOT]P2P Indicator - Time & Structural Liquidity System
The P2P Indicator is a comprehensive market structure tool designed to assist traders in identifying structural reversal scenarios where Time, Price, and Momentum converge.
ORIGINALITY & SYSTEMIC SYNERGY
While indicators for Session times, Fibonacci levels, and Fair Value Gaps (FVG) exist individually, this script is not a simple collection of these tools. It is an algorithmic system where five distinct components must align to generate a valid signal:
Session High/Low & Daily Refs: These define the Interest Zone (Context).
Fair Value Gap: This serves as the Structural Trigger (Entry Mechanism).
Pivot Points: These confirm the Market Structure Shift (MSS) (Trend Validation).
ATR Volatility: This acts as the Momentum Filter (Quality Control).
Fibonacci Projections: These provide the Objective Targets (Trade Management). The script's originality lies in this conditional dependency : A signal is ONLY generated when a specific chronological sequence (Zone Test → Inversion → MSS → Volatility) occurs, and the trade is managed specifically by the coupled Fibonacci projections and opposing Fair Value Gaps. This automates a complex institutional workflow that would otherwise require manual interpretation of multiple disparate tools.
The P2P System in action: Visualizing the automated confluence of Time (Sessions), Structure (FVGs), and Momentum (Signals).
METHODOLOGY: THE ALGORITHMIC SEQUENCE
The script generates signals based on a strict logic flow. This ensures that trades are only identified when market structure actually shifts, rather than blindly fading support or resistance.
1. Context: Time-Based Reference Zones
First, the script defines the playing field. It tracks the High and Low of the Asia (20:00-00:00 NY) and London (02:00-05:00 NY) sessions, as well as Daily Reference Points (PDH/PDL).
The Concept: These are treated as "Interest Zones"—statistical areas where price is likely to react.
2. Setup: Boundary Interaction State
The algorithm constantly monitors price action relative to these defined pools.
The Logic: When price engages with these key levels, the system enters a "Primed State." It registers that the asset has reached a statistical extreme, but strictly refrains from signaling until a reversal is structurally confirmed. This prevents premature entries during strong trends by waiting for specific interaction criteria to be met.
3. Trigger: Internal Efficiency Check
Once the system is primed, the script monitors internal price action for specific inefficiencies created during the move.
The Concept: It validates that the interaction was a reversal by identifying aggressive counter-momentum that forcefully reclaims internal zones. This ensures the move has sufficient energy to invalidate the previous structure.
4. Confirmation: Trend Geometry Validation
To prevent false reversals, the script employs a secondary trend filter.
The Concept: It cross-references the reversal against recent swing points to confirm that the short-term market geometry has aligned with the new direction (Market Structure Shift). This step filters out "wicks" that don't result in a true trend change.
5. Filter: Volatility Validation (ATR)
Finally, the move is measured against the Average True Range (ATR) .
The Logic: The structural shift must meet a minimum volatility threshold (customizable via settings). If the price action is too compressed relative to recent volatility, the signal is suppressed to avoid consolidation chop.
Algorithmic Entry: Buy and Sell signals forming after key liquidity pools are taken out and reversals are confirmed.
FEATURES & SETTINGS
Session & Daily Management
Session Visualization: Toggle specific ranges for Asia and London to define the intraday liquidity pools.
Daily Reference Points: Automatically plots PDH, PDL, Daily Midpoint (PD50), and True Day Open as higher-timeframe targets. Just like the session levels, these function as major liquidity pools for the system's sweep detection logic.
Gap Analysis & Filtering
State-Aware FVG Architecture: Unlike standard gap indicators, this engine dynamically tracks the lifecycle of every inefficiency. It distinguishes between "Active" gaps (potential triggers) and "Mitigated" zones, specifically filtering for the structural arrays required by the P2P algorithm.
Noise Filtering: Custom "Min/Max Gap Size" inputs allow users to filter out insignificant noise, ensuring the "Inversion" logic only reacts to key structural arrays.
Fair Value Gap visualization with noise filtering enabled.
Signal Logic & Customization
MSS Confirmation: Option to enable/disable the "Market Structure Shift" requirement for looser or stricter entries.
ATR Sensitivity: Tuning the "ATR Percentage" adjusts the volatility requirement for the entry model. Higher values demand a more explosive structural reclaim.
Dynamic Fib Projections
Target Generation: Once a signal is active, the script uses a proprietary Fibonacci engine based on the session range (Global/Pre-Market) to project dynamic extension targets (e.g., -0.236, -0.786). Full customization control over sessions, colors, and sensitivity.
HOW TO USE & BEST PRACTICES
This tool is optimized for trading intraday reversals during key volume windows.
Identify: Wait for price to interact with a plotted Session or Daily Level (e.g., Asia Low).
Execute: Wait for the P2P Signal. This confirms the boundary interaction has transitioned into a valid structure shift.
Target: Use the opposing Session Liquidity, FVGs, or the plotted Fib Projections as take-profit levels.
Time of Day: Signals generated during key volume injection times (e.g., London Open, NY Open) tend to be more significant due to increased market participation.
ALERTS
The script simplifies automation by aggregating the complex logic flow into a single alert condition.
Any Signal: Triggers on valid Buy/Sell setups, allowing for automated notifications of these specific structural events.
⚠️ DISCLAIMER
This script is for educational and analytical purposes only. It does not constitute financial advice. Trading involves significant risk. Past performance of the logic described is not indicative of future results.
STRX - Institutional 30H QuartilesOverview: The Mathematics of the Weekly Cycle Institutional markets (like Forex) operate on a 120-hour active weekly cycle (24 hours x 5 days). To truly understand the Weekly Profile , we must divide the week into four precise quartiles. 120 Hours / 4 = 30 Hours.
The STRX - Institutional 30H Quartiles indicator reveals this hidden market rhythm, allowing you to align your trading with the institutional flow of money. It moves beyond standard daily candles to show you the true structural blocks of the week.
Key Features:
• 🟦 Dynamic 30H Structure: Visualizes each quartile (Q1, Q2, Q3, Q4) as a clean box, showing the true Open, High, Low, and Close of the 30-hour period directly on lower timeframes (best used on 15m or 1H).
• ⚖️ Equilibrium (EQ) & Fair Value: Automatically plots the 50% level of the current range.
o Above EQ: Premium Zone (Potential Shorts).
o Below EQ: Discount Zone (Potential Longs).
• 🌊 Institutional Open Bias: Displays the opening price of the 30H block. Price holding above the Open suggests bullish strength; below suggests bearish weakness.
• 💰 Previous Liquidity Levels: Projects the High and Low of the previous 30H block into the current session. This is critical for spotting Liquidity Sweeps, Stop Hunts, and Swing Failure Patterns (SFP).
• ⏱️ Candle Timer: A built-in countdown timer ensures you know exactly when the current 30H candle is about to close, helping you avoid end-of-cycle volatility.
Trading Strategies:
1. Trend Continuation: If the current box is Green and price is above the Blue Line (Open), look for retracements to the Equilibrium (dotted line) to go Long.
2. Liquidity Reversals: Watch the Orange Dashed Lines (Previous High/Low). If price breaks a Previous High but closes back inside the range, it signals a potential reversal (Liquidity Sweep).
3. The "Quarter" Shift: Pay close attention when a new Box begins. This is often when trends reverse or accelerate.
Alerts Included:
• Price Crossing 30H Open.
• Price Crossing 30H Equilibrium (50%).
• Liquidity Sweep (Price breaking Previous High/Low).
Settings:
• Fully customizable colors for Bull/Bear boxes.
• Toggle visibility for Wicks, EQ, Open Line, and Liquidity Levels.
• Works on all assets (Forex, Crypto, Indices). Note: For 24/7 markets like Crypto, it will display extended quartiles.
STRX - Heikin Ashi LogicOverview This script provides a powerful Multi-Timeframe Dashboard designed to scan trend direction across 8 different timeframes instantly.
Many traders struggle with Heikin Ashi candles giving false signals during ranging markets. This utility solves that problem by integrating an ADX Trend Filter . It keeps you out of choppy markets and highlights only high-probability trends.
How it Works (The Logic) The indicator performs a "Triple-Check" algorithm on every timeframe:
Momentum (Heikin Ashi): It detects the candle structure.
Strong Trend: Flat-bottom (Bullish) or Flat-top (Bearish) candles.
Normal Trend: Standard Heikin Ashi candles.
Strength (ADX Filter): The background color only lights up if the ADX is above the threshold (Default: 20). If the market is ranging (low ADX), the cell turns GRAY, signaling you to stay away.
Risk (RSI Warning): A warning icon appears if the RSI enters Overbought (>70) or Oversold (<30) zones, warning you against chasing a trend that might be overextended.
Dashboard Legend
🚀 / 🩸 = Strong Momentum (Flat HA candle + High ADX).
↗️ / ↘️ = Standard Trend .
⇢ / ⇠ = Weak / Ranging (Filtered by ADX).
⚠️ = RSI Warning (Extreme Overbought/Oversold levels).
Configuration & Anti-Repaint
Use CLOSED bars (No Repaint): By default, the script updates in real-time. Enable this option in settings to wait for confirmed candle closes. This ensures zero repainting and is safer for historical analysis.
ADX Threshold: Customizable level to define what you consider a "trending market" (Standard is 20-25).
Usage Tip Use this dashboard to align your entry timeframe with higher timeframes. Look for "Strong Buy" (🚀) signals on higher timeframes before entering on a lower one.
STRX - Pro Session Range & Liquidity TrapsOverview STRX - Pro Session Range & Liquidity Traps is an advanced institutional trading tool designed to visualize key market sessions and detect liquidity grabs (fakeouts). Unlike standard session indicators that simply draw boxes, this script implements smart logic to identify when the market is manipulating Highs and Lows to trap traders before a reversal.
Core Concept The indicator tracks four major market sessions: Asia, Frankfurt, London, and New York . It defines the initial High/Low range for each session and then extends these levels into a specific "Hunting Phase".
The unique feature of this script is the Trap Detection Algorithm . It monitors price action during the extension phase to validate false breakouts.
Key Features
1. Smart Session Management
• Displays High, Low, and 50% Equilibrium (Midline) for 4 customizable sessions.
• Clearly marks the session box and extends crucial levels forward in time.
2. Liquidity Trap Detection (The "Trap" Signal) The indicator looks for specific "Fakeout" patterns during the extension time:
• ⚠️ TRAP (Red Label): Occurs when price trades ABOVE the session High but the candle Closes BELOW it. This indicates a Bull Trap (Liquidity Grab on buy stops).
• ⚠️ TRAP (Green Label): Occurs when price trades BELOW the session Low but the candle Closes ABOVE it. This indicates a Bear Trap (Liquidity Grab on sell stops).
• Reliability: The logic includes a filter to show only the first clear signal per side to keep the chart clean. Signals do not repaint once the candle is closed.
3. Live Dashboard A comprehensive data table on the chart provides an instant market overview:
• STATUS: Tells you if the session is Active (forming), Hunt (looking for traps), or Done.
• RANGE: Displays the session volatility size in points/pips.
• ACTION: Indicates if the current price is BULL (above range), BEAR (below range), or INSIDE.
4. Optimized UX
• Includes tooltips for all settings to guide the user.
• Fully customizable colors and times.
• Clean visual style to avoid chart clutter.
How to Trade with STRX
1. Identify the defined Range of a completed session (e.g., Asia Range).
2. Wait for the price to interact with the High or Low bounds during the "Extension/Hunt" window.
3. Look for the TRAP label. This confirms that a breakout attempt has failed and institutional liquidity has been taken.
4. This setup often suggests a potential reversal back towards the Session Midline or the opposing range boundary.
Settings
• General: Toggle labels, adjust line width, and position dashboard.
• Sessions: Enable/Disable individual sessions, set times for Range Formation and Trap Extension, and toggle Midlines.
Tori-Style Trend PullbackA rule-based 4H trend pullback system using the 200 MA regime filter, 50 MA pullbacks, strong-candle confirmation, fixed risk, and transparent performance stats.
Designed for calls & puts, no discretion.
This indicator implements a strict, non-discretionary 4H trend-pullback model.
CORE LOGIC
• 200 MA defines the trend regime
• 50 MA defines the pullback zone
• Entries require strong candles (body % based)
• Optional volume confirmation
• Stops are locked at entry
• Exits are rules-based (trend failure, stop, or TP)
TIMEFRAME
• All trade logic is calculated on 4H (forced or native)
• Lower timeframes are for visual reference only
DASHBOARDS
• Top-right: Regime + multi-timeframe bias (1D / 4H / 15m / 5m)
• Bottom-right: Trade statistics (calls, puts, stops, trend exits, TP)
WHAT THIS IS
• A systematic trend-continuation model
• Designed for consistency and repeatability
• Suitable for options (calls & puts) or directional trading
WHAT THIS IS NOT
• Not a liquidity / ICT / MSS engine
• Not predictive
• Not a scalping strategy
• No discretionary signals
Best used on trending markets. Avoid sideways conditions around the 200 MA.
Monthly First Day 15m High Low (FIXED)Monthly First Day 15m High/Low
Captures and displays the High and Low from the first 15-minute candle of each month as horizontal lines.
Features:
Locks first 15m bar levels at month start
Extends lines across entire month
Customizable label position (Right/Left)
Adjustable offset to avoid clutter
Works on any timeframe
Use Case:
Monthly opening range trading and key support/resistance levels.
Tags: monthly levels, opening range, 15min, support resistance, key levels
Trader Otto - Market Structure Engine [SMC]Trader Otto - Market Structure Engine is a streamlined Smart Money Concepts (SMC) tool designed to map the true flow of the market by identifying Break of Structure (BOS) and Change of Character (CHoCH) events.
Unlike generic ZigZag indicators, this engine uses a strict structural validation logic to filter out noise and liquidity sweeps, focusing only on confirmed trend continuations and reversals.
**Key Features:**
* **BOS (Break of Structure):** Identifies trend continuations with solid lines.
* **CHoCH (Change of Character):** Identifies potential trend reversals with dashed lines.
* **Smart Validation:** The system defaults to "Close" validation (candle body must close beyond the pivot) to avoid fakeouts caused by wicks (liquidity sweeps). This can be adjusted in the settings.
* **Pivot Sensitivity:** A proprietary tuning parameter (default 1.0) allows traders to adjust the structural depth for scalping or swing trading without breaking the core algorithm.
**Usage:**
* **Bullish Trend:** Look for a series of Bullish BOS. Enter on pullbacks after a confirmed BOS.
* **Reversal:** Wait for a CHoCH against the current trend as the first sign of a potential shift.
*Protected script with proprietary calibration.*
Trader Otto - Premium/Discount & Liquidity Zones [SMC]Trader Otto - Premium/Discount & Liquidity Zones is an institutional-grade Smart Money Concepts (SMC) system designed to map high-probability pricing arrays and liquidity pools automatically.
This tool acts as a "Market Structure GPS," helping traders instantly identify if price is in an expensive (Premium) or cheap (Discount) area relative to the current dealing range, and pinpointing where the next major liquidity pools (BSL/SSL) are located.
**Core Features:**
1. **Premium/Discount Arrays (PD Array):**
* **Dynamic Mode:** Automatically detects the active trend's dealing range (High/Low) based on a multi-period lookback and projects the Premium (Red), Discount (Green), and Equilibrium (Grey) zones.
* **Smart OTE (Optimal Trade Entry):** Highlights the Golden Pocket (61.8% - 79%) within the dynamic range for precision entries.
* **Daily & Previous Day Modes:** Projects the PD zones of the current and previous daily candles, essential for intraday continuation strategies.
2. **Institutional Liquidity Zones:**
* **Multi-Fractal Structure:** Automatically plots Buy-Side Liquidity (BSL) and Sell-Side Liquidity (SSL) across 4 proprietary timeframes: Micro, Short, Medium, and Macro.
* **Smart Filtering:** Filters out overlapping levels to keep the chart clean, showing only the most relevant liquidity pools.
**Proprietary Calibration:**
This system uses a specific multi-fractal calibration to detect market structure.
* **Structure Sensitivity:** A proprietary input (default 1.0) allows users to fine-tune the depth of fractal detection (from 0.5 to 2.0). This enables the system to adapt to different volatility profiles while protecting the core institutional lookback periods used by the algorithm.
**Usage Strategy:**
* **Trend:** Look for buy setups (Longs) only in the Discount zone (Green) and sell setups (Shorts) in the Premium zone (Red).
* **Targets:** Use the BSL/SSL lines as magnet targets for your take-profits.
* **Confluence:** Combine OTE levels with Order Blocks to increase win rate.
*This script is protected to maintain the integrity of the specific structural calibration logic.*






















