Adaptive Genesis Engine [AGE]ADAPTIVE GENESIS ENGINE (AGE)
Pure Signal Evolution Through Genetic Algorithms
Where Darwin Meets Technical Analysis
🧬 WHAT YOU'RE GETTING - THE PURE INDICATOR
This is a technical analysis indicator - it generates signals, visualizes probability, and shows you the evolutionary process in real-time. This is NOT a strategy with automatic execution - it's a sophisticated signal generation system that you control .
What This Indicator Does:
Generates Long/Short entry signals with probability scores (35-88% range)
Evolves a population of up to 12 competing strategies using genetic algorithms
Validates strategies through walk-forward optimization (train/test cycles)
Visualizes signal quality through premium gradient clouds and confidence halos
Displays comprehensive metrics via enhanced dashboard
Provides alerts for entries and exits
Works on any timeframe, any instrument, any broker
What This Indicator Does NOT Do:
Execute trades automatically
Manage positions or calculate position sizes
Place orders on your behalf
Make trading decisions for you
This is pure signal intelligence. AGE tells you when and how confident it is. You decide whether and how much to trade.
🔬 THE SCIENCE: GENETIC ALGORITHMS MEET TECHNICAL ANALYSIS
What Makes This Different - The Evolutionary Foundation
Most indicators are static - they use the same parameters forever, regardless of market conditions. AGE is alive . It maintains a population of competing strategies that evolve, adapt, and improve through natural selection principles:
Birth: New strategies spawn through crossover breeding (combining DNA from fit parents) plus random mutation for exploration
Life: Each strategy trades virtually via shadow portfolios, accumulating wins/losses, tracking drawdown, and building performance history
Selection: Strategies are ranked by comprehensive fitness scoring (win rate, expectancy, drawdown control, signal efficiency)
Death: Weak strategies are culled periodically, with elite performers (top 2 by default) protected from removal
Evolution: The gene pool continuously improves as successful traits propagate and unsuccessful ones die out
This is not curve-fitting. Each new strategy must prove itself on out-of-sample data through walk-forward validation before being trusted for live signals.
🧪 THE DNA: WHAT EVOLVES
Every strategy carries a 10-gene chromosome controlling how it interprets market data:
Signal Sensitivity Genes
Entropy Sensitivity (0.5-2.0): Weight given to market order/disorder calculations. Low values = conservative, require strong directional clarity. High values = aggressive, act on weaker order signals.
Momentum Sensitivity (0.5-2.0): Weight given to RSI/ROC/MACD composite. Controls responsiveness to momentum shifts vs. mean-reversion setups.
Structure Sensitivity (0.5-2.0): Weight given to support/resistance positioning. Determines how much price location within swing range matters.
Probability Adjustment Genes
Probability Boost (-0.10 to +0.10): Inherent bias toward aggressive (+) or conservative (-) entries. Acts as personality trait - some strategies naturally optimistic, others pessimistic.
Trend Strength Requirement (0.3-0.8): Minimum trend conviction needed before signaling. Higher values = only trades strong trends, lower values = acts in weak/sideways markets.
Volume Filter (0.5-1.5): Strictness of volume confirmation. Higher values = requires strong volume, lower values = volume less important.
Risk Management Genes
ATR Multiplier (1.5-4.0): Base volatility scaling for all price levels. Controls whether strategy uses tight or wide stops/targets relative to ATR.
Stop Multiplier (1.0-2.5): Stop loss tightness. Lower values = aggressive profit protection, higher values = more breathing room.
Target Multiplier (1.5-4.0): Profit target ambition. Lower values = quick scalping exits, higher values = swing trading holds.
Adaptation Gene
Regime Adaptation (0.0-1.0): How much strategy adjusts behavior based on detected market regime (trending/volatile/choppy). Higher values = more reactive to regime changes.
The Magic: AGE doesn't just try random combinations. Through tournament selection and fitness-weighted crossover, successful gene combinations spread through the population while unsuccessful ones fade away. Over 50-100 bars, you'll see the population converge toward genes that work for YOUR instrument and timeframe.
📊 THE SIGNAL ENGINE: THREE-LAYER SYNTHESIS
Before any strategy generates a signal, AGE calculates probability through multi-indicator confluence:
Layer 1 - Market Entropy (Information Theory)
Measures whether price movements exhibit directional order or random walk characteristics:
The Math:
Shannon Entropy = -Σ(p × log(p))
Market Order = 1 - (Entropy / 0.693)
What It Means:
High entropy = choppy, random market → low confidence signals
Low entropy = directional market → high confidence signals
Direction determined by up-move vs down-move dominance over lookback period (default: 20 bars)
Signal Output: -1.0 to +1.0 (bearish order to bullish order)
Layer 2 - Momentum Synthesis
Combines three momentum indicators into single composite score:
Components:
RSI (40% weight): Normalized to -1/+1 scale using (RSI-50)/50
Rate of Change (30% weight): Percentage change over lookback (default: 14 bars), clamped to ±1
MACD Histogram (30% weight): Fast(12) - Slow(26), normalized by ATR
Why This Matters: RSI catches mean-reversion opportunities, ROC catches raw momentum, MACD catches momentum divergence. Weighting favors RSI for reliability while keeping other perspectives.
Signal Output: -1.0 to +1.0 (strong bearish to strong bullish)
Layer 3 - Structure Analysis
Evaluates price position within swing range (default: 50-bar lookback):
Position Classification:
Bottom 20% of range = Support Zone → bullish bounce potential
Top 20% of range = Resistance Zone → bearish rejection potential
Middle 60% = Neutral Zone → breakout/breakdown monitoring
Signal Logic:
At support + bullish candle = +0.7 (strong buy setup)
At resistance + bearish candle = -0.7 (strong sell setup)
Breaking above range highs = +0.5 (breakout confirmation)
Breaking below range lows = -0.5 (breakdown confirmation)
Consolidation within range = ±0.3 (weak directional bias)
Signal Output: -1.0 to +1.0 (bearish structure to bullish structure)
Confluence Voting System
Each layer casts a vote (Long/Short/Neutral). The system requires minimum 2-of-3 agreement (configurable 1-3) before generating a signal:
Examples:
Entropy: Bullish, Momentum: Bullish, Structure: Neutral → Signal generated (2 long votes)
Entropy: Bearish, Momentum: Neutral, Structure: Neutral → No signal (only 1 short vote)
All three bullish → Signal generated with +5% probability bonus
This is the key to quality. Single indicators give too many false signals. Triple confirmation dramatically improves accuracy.
📈 PROBABILITY CALCULATION: HOW CONFIDENCE IS MEASURED
Base Probability:
Raw_Prob = 50% + (Average_Signal_Strength × 25%)
Then AGE applies strategic adjustments:
Trend Alignment:
Signal with trend: +4%
Signal against strong trend: -8%
Weak/no trend: no adjustment
Regime Adaptation:
Trending market (efficiency >50%, moderate vol): +3%
Volatile market (vol ratio >1.5x): -5%
Choppy market (low efficiency): -2%
Volume Confirmation:
Volume > 70% of 20-bar SMA: no change
Volume below threshold: -3%
Volatility State (DVS Ratio):
High vol (>1.8x baseline): -4% (reduce confidence in chaos)
Low vol (<0.7x baseline): -2% (markets can whipsaw in compression)
Moderate elevated vol (1.0-1.3x): +2% (trending conditions emerging)
Confluence Bonus:
All 3 indicators agree: +5%
2 of 3 agree: +2%
Strategy Gene Adjustment:
Probability Boost gene: -10% to +10%
Regime Adaptation gene: scales regime adjustments by 0-100%
Final Probability: Clamped between 35% (minimum) and 88% (maximum)
Why These Ranges?
Below 35% = too uncertain, better not to signal
Above 88% = unrealistic, creates overconfidence
Sweet spot: 65-80% for quality entries
🔄 THE SHADOW PORTFOLIO SYSTEM: HOW STRATEGIES COMPETE
Each active strategy maintains a virtual trading account that executes in parallel with real-time data:
Shadow Trading Mechanics
Entry Logic:
Calculate signal direction, probability, and confluence using strategy's unique DNA
Check if signal meets quality gate:
Probability ≥ configured minimum threshold (default: 65%)
Confluence ≥ configured minimum (default: 2 of 3)
Direction is not zero (must be long or short, not neutral)
Verify signal persistence:
Base requirement: 2 bars (configurable 1-5)
Adapts based on probability: high-prob signals (75%+) enter 1 bar faster, low-prob signals need 1 bar more
Adjusts for regime: trending markets reduce persistence by 1, volatile markets add 1
Apply additional filters:
Trend strength must exceed strategy's requirement gene
Regime filter: if volatile market detected, probability must be 72%+ to override
Volume confirmation required (volume > 70% of average)
If all conditions met for required persistence bars, enter shadow position at current close price
Position Management:
Entry Price: Recorded at close of entry bar
Stop Loss: ATR-based distance = ATR × ATR_Mult (gene) × Stop_Mult (gene) × DVS_Ratio
Take Profit: ATR-based distance = ATR × ATR_Mult (gene) × Target_Mult (gene) × DVS_Ratio
Position: +1 (long) or -1 (short), only one at a time per strategy
Exit Logic:
Check if price hit stop (on low) or target (on high) on current bar
Record trade outcome in R-multiples (profit/loss normalized by ATR)
Update performance metrics:
Total trades counter incremented
Wins counter (if profit > 0)
Cumulative P&L updated
Peak equity tracked (for drawdown calculation)
Maximum drawdown from peak recorded
Enter cooldown period (default: 8 bars, configurable 3-20) before next entry allowed
Reset signal age counter to zero
Walk-Forward Tracking:
During position lifecycle, trades are categorized:
Training Phase (first 250 bars): Trade counted toward training metrics
Testing Phase (next 75 bars): Trade counted toward testing metrics (out-of-sample)
Live Phase (after WFO period): Trade counted toward overall metrics
Why Shadow Portfolios?
No lookahead bias (uses only data available at the bar)
Realistic execution simulation (entry on close, stop/target checks on high/low)
Independent performance tracking for true fitness comparison
Allows safe experimentation without risking capital
Each strategy learns from its own experience
🏆 FITNESS SCORING: HOW STRATEGIES ARE RANKED
Fitness is not just win rate. AGE uses a comprehensive multi-factor scoring system:
Core Metrics (Minimum 3 trades required)
Win Rate (30% of fitness):
WinRate = Wins / TotalTrades
Normalized directly (0.0-1.0 scale)
Total P&L (30% of fitness):
Normalized_PnL = (PnL + 300) / 600
Clamped 0.0-1.0. Assumes P&L range of -300R to +300R for normalization scale.
Expectancy (25% of fitness):
Expectancy = Total_PnL / Total_Trades
Normalized_Expectancy = (Expectancy + 30) / 60
Clamped 0.0-1.0. Rewards consistency of profit per trade.
Drawdown Control (15% of fitness):
Normalized_DD = 1 - (Max_Drawdown / 15)
Clamped 0.0-1.0. Penalizes strategies that suffer large equity retracements from peak.
Sample Size Adjustment
Quality Factor:
<50 trades: 1.0 (full weight, small sample)
50-100 trades: 0.95 (slight penalty for medium sample)
100 trades: 0.85 (larger penalty for large sample)
Why penalize more trades? Prevents strategies from gaming the system by taking hundreds of tiny trades to inflate statistics. Favors quality over quantity.
Bonus Adjustments
Walk-Forward Validation Bonus:
if (WFO_Validated):
Fitness += (WFO_Efficiency - 0.5) × 0.1
Strategies proven on out-of-sample data receive up to +10% fitness boost based on test/train efficiency ratio.
Signal Efficiency Bonus (if diagnostics enabled):
if (Signals_Evaluated > 10):
Pass_Rate = Signals_Passed / Signals_Evaluated
Fitness += (Pass_Rate - 0.1) × 0.05
Rewards strategies that generate high-quality signals passing the quality gate, not just profitable trades.
Final Fitness: Clamped at 0.0 minimum (prevents negative fitness values)
Result: Elite strategies typically achieve 0.50-0.75 fitness. Anything above 0.60 is excellent. Below 0.30 is prime candidate for culling.
🔬 WALK-FORWARD OPTIMIZATION: ANTI-OVERFITTING PROTECTION
This is what separates AGE from curve-fitted garbage indicators.
The Three-Phase Process
Every new strategy undergoes a rigorous validation lifecycle:
Phase 1 - Training Window (First 250 bars, configurable 100-500):
Strategy trades normally via shadow portfolio
All trades count toward training performance metrics
System learns which gene combinations produce profitable patterns
Tracks independently: Training_Trades, Training_Wins, Training_PnL
Phase 2 - Testing Window (Next 75 bars, configurable 30-200):
Strategy continues trading without any parameter changes
Trades now count toward testing performance metrics (separate tracking)
This is out-of-sample data - strategy has never seen these bars during "optimization"
Tracks independently: Testing_Trades, Testing_Wins, Testing_PnL
Phase 3 - Validation Check:
Minimum_Trades = 5 (configurable 3-15)
IF (Train_Trades >= Minimum AND Test_Trades >= Minimum):
WR_Efficiency = Test_WinRate / Train_WinRate
Expectancy_Efficiency = Test_Expectancy / Train_Expectancy
WFO_Efficiency = (WR_Efficiency + Expectancy_Efficiency) / 2
IF (WFO_Efficiency >= 0.55): // configurable 0.3-0.9
Strategy.Validated = TRUE
Strategy receives fitness bonus
ELSE:
Strategy receives 30% fitness penalty
ELSE:
Validation deferred (insufficient trades in one or both periods)
What Validation Means
Validated Strategy (Green "✓ VAL" in dashboard):
Performed at least 55% as well on unseen data compared to training data
Gets fitness bonus: +(efficiency - 0.5) × 0.1
Receives priority during tournament selection for breeding
More likely to be chosen as active trading strategy
Unvalidated Strategy (Orange "○ TRAIN" in dashboard):
Failed to maintain performance on test data (likely curve-fitted to training period)
Receives 30% fitness penalty (0.7x multiplier)
Makes strategy prime candidate for culling
Can still trade but with lower selection probability
Insufficient Data (continues collecting):
Hasn't completed both training and testing periods yet
OR hasn't achieved minimum trade count in both periods
Validation check deferred until requirements met
Why 55% Efficiency Threshold?
If a strategy earned 10R during training but only 5.5R during testing, it still proved an edge exists beyond random luck. Requiring 100% efficiency would be unrealistic - market conditions change between periods. But requiring >50% ensures the strategy didn't completely degrade on fresh data.
The Protection: Strategies that work great on historical data but fail on new data are automatically identified and penalized. This prevents the population from being polluted by overfitted strategies that would fail in live trading.
🌊 DYNAMIC VOLATILITY SCALING (DVS): ADAPTIVE STOP/TARGET PLACEMENT
AGE doesn't use fixed stop distances. It adapts to current volatility conditions in real-time.
Four Volatility Measurement Methods
1. ATR Ratio (Simple Method):
Current_Vol = ATR(14) / Close
Baseline_Vol = SMA(Current_Vol, 100)
Ratio = Current_Vol / Baseline_Vol
Basic comparison of current ATR to 100-bar moving average baseline.
2. Parkinson (High-Low Range Based):
For each bar: HL = log(High / Low)
Parkinson_Vol = sqrt(Σ(HL²) / (4 × Period × log(2)))
More stable than close-to-close volatility. Captures intraday range expansion without overnight gap noise.
3. Garman-Klass (OHLC Based):
HL_Term = 0.5 × ²
CO_Term = (2×log(2) - 1) × ²
GK_Vol = sqrt(Σ(HL_Term - CO_Term) / Period)
Most sophisticated estimator. Incorporates all four price points (open, high, low, close) plus gap information.
4. Ensemble Method (Default - Median of All Three):
Ratio_1 = ATR_Current / ATR_Baseline
Ratio_2 = Parkinson_Current / Parkinson_Baseline
Ratio_3 = GK_Current / GK_Baseline
DVS_Ratio = Median(Ratio_1, Ratio_2, Ratio_3)
Why Ensemble?
Takes median to avoid outliers and false spikes
If ATR jumps but range-based methods stay calm, median prevents overreaction
If one method fails, other two compensate
Most robust approach across different market conditions
Sensitivity Scaling
Scaled_Ratio = (Raw_Ratio) ^ Sensitivity
Sensitivity 0.3: Cube root - heavily dampens volatility impact
Sensitivity 0.5: Square root - moderate dampening
Sensitivity 0.7 (Default): Balanced response to volatility changes
Sensitivity 1.0: Linear - full 1:1 volatility impact
Sensitivity 1.5: Exponential - amplified response to volatility spikes
Safety Clamps: Final DVS Ratio always clamped between 0.5x and 2.5x baseline to prevent extreme position sizing or stop placement errors.
How DVS Affects Shadow Trading
Every strategy's stop and target distances are multiplied by the current DVS ratio:
Stop Loss Distance:
Stop_Distance = ATR × ATR_Mult (gene) × Stop_Mult (gene) × DVS_Ratio
Take Profit Distance:
Target_Distance = ATR × ATR_Mult (gene) × Target_Mult (gene) × DVS_Ratio
Example Scenario:
ATR = 10 points
Strategy's ATR_Mult gene = 2.5
Strategy's Stop_Mult gene = 1.5
Strategy's Target_Mult gene = 2.5
DVS_Ratio = 1.4 (40% above baseline volatility - market heating up)
Stop = 10 × 2.5 × 1.5 × 1.4 = 52.5 points (vs. 37.5 in normal vol)
Target = 10 × 2.5 × 2.5 × 1.4 = 87.5 points (vs. 62.5 in normal vol)
Result:
During volatility spikes: Stops automatically widen to avoid noise-based exits, targets extend for bigger moves
During calm periods: Stops tighten for better risk/reward, targets compress for realistic profit-taking
Strategies adapt risk management to match current market behavior
🧬 THE EVOLUTIONARY CYCLE: SPAWN, COMPETE, CULL
Initialization (Bar 1)
AGE begins with 4 seed strategies (if evolution enabled):
Seed Strategy #0 (Balanced):
All sensitivities at 1.0 (neutral)
Zero probability boost
Moderate trend requirement (0.4)
Standard ATR/stop/target multiples (2.5/1.5/2.5)
Mid-level regime adaptation (0.5)
Seed Strategy #1 (Momentum-Focused):
Lower entropy sensitivity (0.7), higher momentum (1.5)
Slight probability boost (+0.03)
Higher trend requirement (0.5)
Tighter stops (1.3), wider targets (3.0)
Seed Strategy #2 (Entropy-Driven):
Higher entropy sensitivity (1.5), lower momentum (0.8)
Slight probability penalty (-0.02)
More trend tolerant (0.6)
Wider stops (1.8), standard targets (2.5)
Seed Strategy #3 (Structure-Based):
Balanced entropy/momentum (0.8/0.9), high structure (1.4)
Slight probability boost (+0.02)
Lower trend requirement (0.35)
Moderate risk parameters (1.6/2.8)
All seeds start with WFO validation bypassed if WFO is disabled, or must validate if enabled.
Spawning New Strategies
Timing (Adaptive):
Historical phase: Every 30 bars (configurable 10-100)
Live phase: Every 200 bars (configurable 100-500)
Automatically switches to live timing when barstate.isrealtime triggers
Conditions:
Current population < max population limit (default: 8, configurable 4-12)
At least 2 active strategies exist (need parents)
Available slot in population array
Selection Process:
Run tournament selection 3 times with different seeds
Each tournament: randomly sample active strategies, pick highest fitness
Best from 3 tournaments becomes Parent 1
Repeat independently for Parent 2
Ensures fit parents but maintains diversity
Crossover Breeding:
For each of 10 genes:
Parent1_Fitness = fitness
Parent2_Fitness = fitness
Weight1 = Parent1_Fitness / (Parent1_Fitness + Parent2_Fitness)
Gene1 = parent1's value
Gene2 = parent2's value
Child_Gene = Weight1 × Gene1 + (1 - Weight1) × Gene2
Fitness-weighted crossover ensures fitter parent contributes more genetic material.
Mutation:
For each gene in child:
IF (random < mutation_rate):
Gene_Range = GENE_MAX - GENE_MIN
Noise = (random - 0.5) × 2 × mutation_strength × Gene_Range
Mutated_Gene = Clamp(Child_Gene + Noise, GENE_MIN, GENE_MAX)
Historical mutation rate: 20% (aggressive exploration)
Live mutation rate: 8% (conservative stability)
Mutation strength: 12% of gene range (configurable 5-25%)
Initialization of New Strategy:
Unique ID assigned (total_spawned counter)
Parent ID recorded
Generation = max(parent generations) + 1
Birth bar recorded (for age tracking)
All performance metrics zeroed
Shadow portfolio reset
WFO validation flag set to false (must prove itself)
Result: New strategy with hybrid DNA enters population, begins trading in next bar.
Competition (Every Bar)
All active strategies:
Calculate their signal based on unique DNA
Check quality gate with their thresholds
Manage shadow positions (entries/exits)
Update performance metrics
Recalculate fitness score
Track WFO validation progress
Strategies compete indirectly through fitness ranking - no direct interaction.
Culling Weak Strategies
Timing (Adaptive):
Historical phase: Every 60 bars (configurable 20-200, should be 2x spawn interval)
Live phase: Every 400 bars (configurable 200-1000, should be 2x spawn interval)
Minimum Adaptation Score (MAS):
Initial MAS = 0.10
MAS decays: MAS × 0.995 every cull cycle
Minimum MAS = 0.03 (floor)
MAS represents the "survival threshold" - strategies below this fitness level are vulnerable.
Culling Conditions (ALL must be true):
Population > minimum population (default: 3, configurable 2-4)
At least one strategy has fitness < MAS
Strategy's age > culling interval (prevents premature culling of new strategies)
Strategy is not in top N elite (default: 2, configurable 1-3)
Culling Process:
Find worst strategy:
For each active strategy:
IF (age > cull_interval):
Fitness = base_fitness
IF (not WFO_validated AND WFO_enabled):
Fitness × 0.7 // 30% penalty for unvalidated
IF (Fitness < MAS AND Fitness < worst_fitness_found):
worst_strategy = this_strategy
worst_fitness = Fitness
IF (worst_strategy found):
Count elite strategies with fitness > worst_fitness
IF (elite_count >= elite_preservation_count):
Deactivate worst_strategy (set active flag = false)
Increment total_culled counter
Elite Protection:
Even if a strategy's fitness falls below MAS, it survives if fewer than N strategies are better. This prevents culling when population is generally weak.
Result: Weak strategies removed from population, freeing slots for new spawns. Gene pool improves over time.
Selection for Display (Every Bar)
AGE chooses one strategy to display signals:
Best fitness = -1
Selected = none
For each active strategy:
Fitness = base_fitness
IF (WFO_validated):
Fitness × 1.3 // 30% bonus for validated strategies
IF (Fitness > best_fitness):
best_fitness = Fitness
selected_strategy = this_strategy
Display selected strategy's signals on chart
Result: Only the highest-fitness (optionally validated-boosted) strategy's signals appear as chart markers. Other strategies trade invisibly in shadow portfolios.
🎨 PREMIUM VISUALIZATION SYSTEM
AGE includes sophisticated visual feedback that standard indicators lack:
1. Gradient Probability Cloud (Optional, Default: ON)
Multi-layer gradient showing signal buildup 2-3 bars before entry:
Activation Conditions:
Signal persistence > 0 (same directional signal held for multiple bars)
Signal probability ≥ minimum threshold (65% by default)
Signal hasn't yet executed (still in "forming" state)
Visual Construction:
7 gradient layers by default (configurable 3-15)
Each layer is a line-fill pair (top line, bottom line, filled between)
Layer spacing: 0.3 to 1.0 × ATR above/below price
Outer layers = faint, inner layers = bright
Color transitions from base to intense based on layer position
Transparency scales with probability (high prob = more opaque)
Color Selection:
Long signals: Gradient from theme.gradient_bull_mid to theme.gradient_bull_strong
Short signals: Gradient from theme.gradient_bear_mid to theme.gradient_bear_strong
Base transparency: 92%, reduces by up to 8% for high-probability setups
Dynamic Behavior:
Cloud grows/shrinks as signal persistence increases/decreases
Redraws every bar while signal is forming
Disappears when signal executes or invalidates
Performance Note: Computationally expensive due to linefill objects. Disable or reduce layers if chart performance degrades.
2. Population Fitness Ribbon (Optional, Default: ON)
Histogram showing fitness distribution across active strategies:
Activation: Only draws on last bar (barstate.islast) to avoid historical clutter
Visual Construction:
10 histogram layers by default (configurable 5-20)
Plots 50 bars back from current bar
Positioned below price at: lowest_low(100) - 1.5×ATR (doesn't interfere with price action)
Each layer represents a fitness threshold (evenly spaced min to max fitness)
Layer Logic:
For layer_num from 0 to ribbon_layers:
Fitness_threshold = min_fitness + (max_fitness - min_fitness) × (layer / layers)
Count strategies with fitness ≥ threshold
Height = ATR × 0.15 × (count / total_active)
Y_position = base_level + ATR × 0.2 × layer
Color = Gradient from weak to strong based on layer position
Line_width = Scaled by height (taller = thicker)
Visual Feedback:
Tall, bright ribbon = healthy population, many fit strategies at high fitness levels
Short, dim ribbon = weak population, few strategies achieving good fitness
Ribbon compression (layers close together) = population converging to similar fitness
Ribbon spread = diverse fitness range, active selection pressure
Use Case: Quick visual health check without opening dashboard. Ribbon growing upward over time = population improving.
3. Confidence Halo (Optional, Default: ON)
Circular polyline around entry signals showing probability strength:
Activation: Draws when new position opens (shadow_position changes from 0 to ±1)
Visual Construction:
20-segment polyline forming approximate circle
Center: Low - 0.5×ATR (long) or High + 0.5×ATR (short)
Radius: 0.3×ATR (low confidence) to 1.0×ATR (elite confidence)
Scales with: (probability - min_probability) / (1.0 - min_probability)
Color Coding:
Elite (85%+): Cyan (theme.conf_elite), large radius, minimal transparency (40%)
Strong (75-85%): Strong green (theme.conf_strong), medium radius, moderate transparency (50%)
Good (65-75%): Good green (theme.conf_good), smaller radius, more transparent (60%)
Moderate (<65%): Moderate green (theme.conf_moderate), tiny radius, very transparent (70%)
Technical Detail:
Uses chart.point array with index-based positioning
5-bar horizontal spread for circular appearance (±5 bars from entry)
Curved=false (Pine Script polyline limitation)
Fill color matches line color but more transparent (88% vs line's transparency)
Purpose: Instant visual probability assessment. No need to check dashboard - halo size/brightness tells the story.
4. Evolution Event Markers (Optional, Default: ON)
Visual indicators of genetic algorithm activity:
Spawn Markers (Diamond, Cyan):
Plots when total_spawned increases on current bar
Location: bottom of chart (location.bottom)
Color: theme.spawn_marker (cyan/bright blue)
Size: tiny
Indicates new strategy just entered population
Cull Markers (X-Cross, Red):
Plots when total_culled increases on current bar
Location: bottom of chart (location.bottom)
Color: theme.cull_marker (red/pink)
Size: tiny
Indicates weak strategy just removed from population
What It Tells You:
Frequent spawning early = population building, active exploration
Frequent culling early = high selection pressure, weak strategies dying fast
Balanced spawn/cull = healthy evolutionary churn
No markers for long periods = stable population (evolution plateaued or optimal genes found)
5. Entry/Exit Markers
Clear visual signals for selected strategy's trades:
Long Entry (Triangle Up, Green):
Plots when selected strategy opens long position (position changes 0 → +1)
Location: below bar (location.belowbar)
Color: theme.long_primary (green/cyan depending on theme)
Transparency: Scales with probability:
Elite (85%+): 0% (fully opaque)
Strong (75-85%): 10%
Good (65-75%): 20%
Acceptable (55-65%): 35%
Size: small
Short Entry (Triangle Down, Red):
Plots when selected strategy opens short position (position changes 0 → -1)
Location: above bar (location.abovebar)
Color: theme.short_primary (red/pink depending on theme)
Transparency: Same scaling as long entries
Size: small
Exit (X-Cross, Orange):
Plots when selected strategy closes position (position changes ±1 → 0)
Location: absolute (at actual exit price if stop/target lines enabled)
Color: theme.exit_color (orange/yellow depending on theme)
Transparency: 0% (fully opaque)
Size: tiny
Result: Clean, probability-scaled markers that don't clutter chart but convey essential information.
6. Stop Loss & Take Profit Lines (Optional, Default: ON)
Visual representation of shadow portfolio risk levels:
Stop Loss Line:
Plots when selected strategy has active position
Level: shadow_stop value from selected strategy
Color: theme.short_primary with 60% transparency (red/pink, subtle)
Width: 2
Style: plot.style_linebr (breaks when no position)
Take Profit Line:
Plots when selected strategy has active position
Level: shadow_target value from selected strategy
Color: theme.long_primary with 60% transparency (green, subtle)
Width: 2
Style: plot.style_linebr (breaks when no position)
Purpose:
Shows where shadow portfolio would exit for stop/target
Helps visualize strategy's risk/reward ratio
Useful for manual traders to set similar levels
Disable for cleaner chart (recommended for presentations)
7. Dynamic Trend EMA
Gradient-colored trend line that visualizes trend strength:
Calculation:
EMA(close, trend_length) - default 50 period (configurable 20-100)
Slope calculated over 10 bars: (current_ema - ema ) / ema × 100
Color Logic:
Trend_direction:
Slope > 0.1% = Bullish (1)
Slope < -0.1% = Bearish (-1)
Otherwise = Neutral (0)
Trend_strength = abs(slope)
Color = Gradient between:
- Neutral color (gray/purple)
- Strong bullish (bright green) if direction = 1
- Strong bearish (bright red) if direction = -1
Gradient factor = trend_strength (0 to 1+ scale)
Visual Behavior:
Faint gray/purple = weak/no trend (choppy conditions)
Light green/red = emerging trend (low strength)
Bright green/red = strong trend (high conviction)
Color intensity = trend strength magnitude
Transparency: 50% (subtle, doesn't overpower price action)
Purpose: Subconscious awareness of trend state without checking dashboard or indicators.
8. Regime Background Tinting (Subtle)
Ultra-low opacity background color indicating detected market regime:
Regime Detection:
Efficiency = directional_movement / total_range (over trend_length bars)
Vol_ratio = current_volatility / average_volatility
IF (efficiency > 0.5 AND vol_ratio < 1.3):
Regime = Trending (1)
ELSE IF (vol_ratio > 1.5):
Regime = Volatile (2)
ELSE:
Regime = Choppy (0)
Background Colors:
Trending: theme.regime_trending (dark green, 92-93% transparency)
Volatile: theme.regime_volatile (dark red, 93% transparency)
Choppy: No tint (normal background)
Purpose:
Subliminal regime awareness
Helps explain why signals are/aren't generating
Trending = ideal conditions for AGE
Volatile = fewer signals, higher thresholds applied
Choppy = mixed signals, lower confidence
Important: Extremely subtle by design. Not meant to be obvious, just subconscious context.
📊 ENHANCED DASHBOARD
Comprehensive real-time metrics in single organized panel (top-right position):
Dashboard Structure (5 columns × 14 rows)
Header Row:
Column 0: "🧬 AGE PRO" + phase indicator (🔴 LIVE or ⏪ HIST)
Column 1: "POPULATION"
Column 2: "PERFORMANCE"
Column 3: "CURRENT SIGNAL"
Column 4: "ACTIVE STRATEGY"
Column 0: Market State
Regime (📈 TREND / 🌊 CHAOS / ➖ CHOP)
DVS Ratio (current volatility scaling factor, format: #.##)
Trend Direction (▲ BULL / ▼ BEAR / ➖ FLAT with color coding)
Trend Strength (0-100 scale, format: #.##)
Column 1: Population Metrics
Active strategies (count / max_population)
Validated strategies (WFO passed / active total)
Current generation number
Total spawned (all-time strategy births)
Total culled (all-time strategy deaths)
Column 2: Aggregate Performance
Total trades across all active strategies
Aggregate win rate (%) - color-coded:
Green (>55%)
Orange (45-55%)
Red (<45%)
Total P&L in R-multiples - color-coded by positive/negative
Best fitness score in population (format: #.###)
MAS - Minimum Adaptation Score (cull threshold, format: #.###)
Column 3: Current Signal Status
Status indicator:
"▲ LONG" (green) if selected strategy in long position
"▼ SHORT" (red) if selected strategy in short position
"⏳ FORMING" (orange) if signal persisting but not yet executed
"○ WAITING" (gray) if no active signal
Confidence percentage (0-100%, format: #.#%)
Quality assessment:
"🔥 ELITE" (cyan) for 85%+ probability
"✓ STRONG" (bright green) for 75-85%
"○ GOOD" (green) for 65-75%
"- LOW" (dim) for <65%
Confluence score (X/3 format)
Signal age:
"X bars" if signal forming
"IN TRADE" if position active
"---" if no signal
Column 4: Selected Strategy Details
Strategy ID number (#X format)
Validation status:
"✓ VAL" (green) if WFO validated
"○ TRAIN" (orange) if still in training/testing phase
Generation number (GX format)
Personal fitness score (format: #.### with color coding)
Trade count
P&L and win rate (format: #.#R (##%) with color coding)
Color Scheme:
Panel background: theme.panel_bg (dark, low opacity)
Panel headers: theme.panel_header (slightly lighter)
Primary text: theme.text_primary (bright, high contrast)
Secondary text: theme.text_secondary (dim, lower contrast)
Positive metrics: theme.metric_positive (green)
Warning metrics: theme.metric_warning (orange)
Negative metrics: theme.metric_negative (red)
Special markers: theme.validated_marker, theme.spawn_marker
Update Frequency: Only on barstate.islast (current bar) to minimize CPU usage
Purpose:
Quick overview of entire system state
No need to check multiple indicators
Trading decisions informed by population health, regime state, and signal quality
Transparency into what AGE is thinking
🔍 DIAGNOSTICS PANEL (Optional, Default: OFF)
Detailed signal quality tracking for optimization and debugging:
Panel Structure (3 columns × 8 rows)
Position: Bottom-right corner (doesn't interfere with main dashboard)
Header Row:
Column 0: "🔍 DIAGNOSTICS"
Column 1: "COUNT"
Column 2: "%"
Metrics Tracked (for selected strategy only):
Total Evaluated:
Every signal that passed initial calculation (direction ≠ 0)
Represents total opportunities considered
✓ Passed:
Signals that passed quality gate and executed
Green color coding
Percentage of evaluated signals
Rejection Breakdown:
⨯ Probability:
Rejected because probability < minimum threshold
Most common rejection reason typically
⨯ Confluence:
Rejected because confluence < minimum required (e.g., only 1 of 3 indicators agreed)
⨯ Trend:
Rejected because signal opposed strong trend
Indicates counter-trend protection working
⨯ Regime:
Rejected because volatile regime detected and probability wasn't high enough to override
Shows regime filter in action
⨯ Volume:
Rejected because volume < 70% of 20-bar average
Indicates volume confirmation requirement
Color Coding:
Passed count: Green (success metric)
Rejection counts: Red (failure metrics)
Percentages: Gray (neutral, informational)
Performance Cost: Slight CPU overhead for tracking counters. Disable when not actively optimizing settings.
How to Use Diagnostics
Scenario 1: Too Few Signals
Evaluated: 200
Passed: 10 (5%)
⨯ Probability: 120 (60%)
⨯ Confluence: 40 (20%)
⨯ Others: 30 (15%)
Diagnosis: Probability threshold too high for this strategy's DNA.
Solution: Lower min probability from 65% to 60%, or allow strategy more time to evolve better DNA.
Scenario 2: Too Many False Signals
Evaluated: 200
Passed: 80 (40%)
Strategy win rate: 45%
Diagnosis: Quality gate too loose, letting low-quality signals through.
Solution: Raise min probability to 70%, or increase min confluence to 3 (all indicators must agree).
Scenario 3: Regime-Specific Issues
⨯ Regime: 90 (45% of rejections)
Diagnosis: Frequent volatile regime detection blocking otherwise good signals.
Solution: Either accept fewer trades during chaos (recommended), or disable regime filter if you want signals regardless of market state.
Optimization Workflow:
Enable diagnostics
Run 200+ bars
Analyze rejection patterns
Adjust settings based on data
Re-run and compare pass rate
Disable diagnostics when satisfied
⚙️ CONFIGURATION GUIDE
🧬 Evolution Engine Settings
Enable AGE Evolution (Default: ON):
ON: Full genetic algorithm (recommended for best results)
OFF: Uses only 4 seed strategies, no spawning/culling (static population for comparison testing)
Max Population (4-12, Default: 8):
Higher = more diversity, more exploration, slower performance
Lower = faster computation, less exploration, risk of premature convergence
Sweet spot: 6-8 for most use cases
4 = minimum for meaningful evolution
12 = maximum before diminishing returns
Min Population (2-4, Default: 3):
Safety floor - system never culls below this count
Prevents population extinction during harsh selection
Should be at least half of max population
Elite Preservation (1-3, Default: 2):
Top N performers completely immune to culling
Ensures best genes always survive
1 = minimal protection, aggressive selection
2 = balanced (recommended)
3 = conservative, slower gene pool turnover
Historical: Spawn Interval (10-100, Default: 30):
Bars between spawning new strategies during historical data
Lower = faster evolution, more exploration
Higher = slower evolution, more evaluation time per strategy
30 bars = ~1-2 hours on 15min chart
Historical: Cull Interval (20-200, Default: 60):
Bars between culling weak strategies during historical data
Should be 2x spawn interval for balanced churn
Lower = aggressive selection pressure
Higher = patient evaluation
Live: Spawn Interval (100-500, Default: 200):
Bars between spawning during live trading
Much slower than historical for stability
Prevents population chaos during live trading
200 bars = ~1.5 trading days on 15min chart
Live: Cull Interval (200-1000, Default: 400):
Bars between culling during live trading
Should be 2x live spawn interval
Conservative removal during live trading
Historical: Mutation Rate (0.05-0.40, Default: 0.20):
Probability each gene mutates during breeding (20% = 2 out of 10 genes on average)
Higher = more exploration, slower convergence
Lower = more exploitation, faster convergence but risk of local optima
20% balances exploration vs exploitation
Live: Mutation Rate (0.02-0.20, Default: 0.08):
Mutation rate during live trading
Much lower for stability (don't want population to suddenly degrade)
8% = mostly inherits parent genes with small tweaks
Mutation Strength (0.05-0.25, Default: 0.12):
How much genes change when mutated (% of gene's total range)
0.05 = tiny nudges (fine-tuning)
0.12 = moderate jumps (recommended)
0.25 = large leaps (aggressive exploration)
Example: If gene range is 0.5-2.0, 12% strength = ±0.18 possible change
📈 Signal Quality Settings
Min Signal Probability (0.55-0.80, Default: 0.65):
Quality gate threshold - signals below this never generate
0.55-0.60 = More signals, accept lower confidence (higher risk)
0.65 = Institutional-grade balance (recommended)
0.70-0.75 = Fewer but higher-quality signals (conservative)
0.80+ = Very selective, very few signals (ultra-conservative)
Min Confluence Score (1-3, Default: 2):
Required indicator agreement before signal generates
1 = Any single indicator can trigger (not recommended - too many false signals)
2 = Requires 2 of 3 indicators agree (RECOMMENDED for balance)
3 = All 3 must agree (very selective, few signals, high quality)
Base Persistence Bars (1-5, Default: 2):
Base bars signal must persist before entry
System adapts automatically:
High probability signals (75%+) enter 1 bar faster
Low probability signals (<68%) need 1 bar more
Trending regime: -1 bar (faster entries)
Volatile regime: +1 bar (more confirmation)
1 = Immediate entry after quality gate (responsive but prone to whipsaw)
2 = Balanced confirmation (recommended)
3-5 = Patient confirmation (slower but more reliable)
Cooldown After Trade (3-20, Default: 8):
Bars to wait after exit before next entry allowed
Prevents overtrading and revenge trading
3 = Minimal cooldown (active trading)
8 = Balanced (recommended)
15-20 = Conservative (position trading)
Entropy Length (10-50, Default: 20):
Lookback period for market order/disorder calculation
Lower = more responsive to regime changes (noisy)
Higher = more stable regime detection (laggy)
20 = works across most timeframes
Momentum Length (5-30, Default: 14):
Period for RSI/ROC calculations
14 = standard (RSI default)
Lower = more signals, less reliable
Higher = fewer signals, more reliable
Structure Length (20-100, Default: 50):
Lookback for support/resistance swing range
20 = short-term swings (day trading)
50 = medium-term structure (recommended)
100 = major structure (position trading)
Trend EMA Length (20-100, Default: 50):
EMA period for trend detection and direction bias
20 = short-term trend (responsive)
50 = medium-term trend (recommended)
100 = long-term trend (position trading)
ATR Period (5-30, Default: 14):
Period for volatility measurement
14 = standard ATR
Lower = more responsive to vol changes
Higher = smoother vol calculation
📊 Volatility Scaling (DVS) Settings
Enable DVS (Default: ON):
Dynamic volatility scaling for adaptive stop/target placement
Highly recommended to leave ON
OFF only for testing fixed-distance stops
DVS Method (Default: Ensemble):
ATR Ratio: Simple, fast, single-method (good for beginners)
Parkinson: High-low range based (good for intraday)
Garman-Klass: OHLC based (sophisticated, considers gaps)
Ensemble: Median of all three (RECOMMENDED - most robust)
DVS Memory (20-200, Default: 100):
Lookback for baseline volatility comparison
20 = very responsive to vol changes (can overreact)
100 = balanced adaptation (recommended)
200 = slow, stable baseline (minimizes false vol signals)
DVS Sensitivity (0.3-1.5, Default: 0.7):
How much volatility affects scaling (power-law exponent)
0.3 = Conservative, heavily dampens vol impact (cube root)
0.5 = Moderate dampening (square root)
0.7 = Balanced response (recommended)
1.0 = Linear, full 1:1 vol response
1.5 = Aggressive, amplified response (exponential)
🔬 Walk-Forward Optimization Settings
Enable WFO (Default: ON):
Out-of-sample validation to prevent overfitting
Highly recommended to leave ON
OFF only for testing or if you want unvalidated strategies
Training Window (100-500, Default: 250):
Bars for in-sample optimization
100 = fast validation, less data (risky)
250 = balanced (recommended) - about 1-2 months on daily, 1-2 weeks on 15min
500 = patient validation, more data (conservative)
Testing Window (30-200, Default: 75):
Bars for out-of-sample validation
Should be ~30% of training window
30 = minimal test (fast validation)
75 = balanced (recommended)
200 = extensive test (very conservative)
Min Trades for Validation (3-15, Default: 5):
Required trades in BOTH training AND testing periods
3 = minimal sample (risky, fast validation)
5 = balanced (recommended)
10+ = conservative (slow validation, high confidence)
WFO Efficiency Threshold (0.3-0.9, Default: 0.55):
Minimum test/train performance ratio required
0.30 = Very loose (test must be 30% as good as training)
0.55 = Balanced (recommended) - test must be 55% as good
0.70+ = Strict (test must closely match training)
Higher = fewer validated strategies, lower risk of overfitting
🎨 Premium Visuals Settings
Visual Theme:
Neon Genesis: Cyberpunk aesthetic (cyan/magenta/purple)
Carbon Fiber: Industrial look (blue/red/gray)
Quantum Blue: Quantum computing (blue/purple/pink)
Aurora: Northern lights (teal/orange/purple)
⚡ Gradient Probability Cloud (Default: ON):
Multi-layer gradient showing signal buildup
Turn OFF if chart lags or for cleaner look
Cloud Gradient Layers (3-15, Default: 7):
More layers = smoother gradient, more CPU intensive
Fewer layers = faster, blockier appearance
🎗️ Population Fitness Ribbon (Default: ON):
Histogram showing fitness distribution
Turn OFF for cleaner chart
Ribbon Layers (5-20, Default: 10):
More layers = finer fitness detail
Fewer layers = simpler histogram
⭕ Signal Confidence Halo (Default: ON):
Circular indicator around entry signals
Size/brightness scales with probability
Minimal performance cost
🔬 Evolution Event Markers (Default: ON):
Diamond (spawn) and X (cull) markers
Shows genetic algorithm activity
Minimal performance cost
🎯 Stop/Target Lines (Default: ON):
Shows shadow portfolio stop/target levels
Turn OFF for cleaner chart (recommended for screenshots/presentations)
📊 Enhanced Dashboard (Default: ON):
Comprehensive metrics panel
Should stay ON unless you want zero overlays
🔍 Diagnostics Panel (Default: OFF):
Detailed signal rejection tracking
Turn ON when optimizing settings
Turn OFF during normal use (slight performance cost)
📈 USAGE WORKFLOW - HOW TO USE THIS INDICATOR
Phase 1: Initial Setup & Learning
Add AGE to your chart
Recommended timeframes: 15min, 30min, 1H (best signal-to-noise ratio)
Works on: 5min (day trading), 4H (swing trading), Daily (position trading)
Load 1000+ bars for sufficient evolution history
Let the population evolve (100+ bars minimum)
First 50 bars: Random exploration, poor results expected
Bars 50-150: Population converging, fitness improving
Bars 150+: Stable performance, validated strategies emerging
Watch the dashboard metrics
Population should grow toward max capacity
Generation number should advance regularly
Validated strategies counter should increase
Best fitness should trend upward toward 0.50-0.70 range
Observe evolution markers
Diamond markers (cyan) = new strategies spawning
X markers (red) = weak strategies being culled
Frequent early activity = healthy evolution
Activity slowing = population stabilizing
Be patient. Evolution takes time. Don't judge performance before 150+ bars.
Phase 2: Signal Observation
Watch signals form
Gradient cloud builds up 2-3 bars before entry
Cloud brightness = probability strength
Cloud thickness = signal persistence
Check signal quality
Look at confidence halo size when entry marker appears
Large bright halo = elite setup (85%+)
Medium halo = strong setup (75-85%)
Small halo = good setup (65-75%)
Verify market conditions
Check trend EMA color (green = uptrend, red = downtrend, gray = choppy)
Check background tint (green = trending, red = volatile, clear = choppy)
Trending background + aligned signal = ideal conditions
Review dashboard signal status
Current Signal column shows:
Status (Long/Short/Forming/Waiting)
Confidence % (actual probability value)
Quality assessment (Elite/Strong/Good)
Confluence score (2/3 or 3/3 preferred)
Only signals meeting ALL quality gates appear on chart. If you're not seeing signals, population is either still learning or market conditions aren't suitable.
Phase 3: Manual Trading Execution
When Long Signal Fires:
Verify confidence level (dashboard or halo size)
Confirm trend alignment (EMA sloping up, green color)
Check regime (preferably trending or choppy, avoid volatile)
Enter long manually on your broker platform
Set stop loss at displayed stop line level (if lines enabled), or use your own risk management
Set take profit at displayed target line level, or trail manually
Monitor position - exit if X marker appears (signal reversal)
When Short Signal Fires:
Same verification process
Confirm downtrend (EMA sloping down, red color)
Enter short manually
Use displayed stop/target levels or your own
AGE tells you WHEN and HOW CONFIDENT. You decide WHETHER and HOW MUCH.
Phase 4: Set Up Alerts (Never Miss a Signal)
Right-click on indicator name in legend
Select "Add Alert"
Choose condition:
"AGE Long" = Long entry signal fired
"AGE Short" = Short entry signal fired
"AGE Exit" = Position reversal/exit signal
Set notification method:
Sound alert (popup on chart)
Email notification
Webhook to phone/trading platform
Mobile app push notification
Name the alert (e.g., "AGE BTCUSD 15min Long")
Save alert
Recommended: Set alerts for both long and short, enable mobile push notifications. You'll get alerted in real-time even if not watching charts.
Phase 5: Monitor Population Health
Weekly Review:
Check dashboard Population column:
Active count should be near max (6-8 of 8)
Validated count should be >50% of active
Generation should be advancing (1-2 per week typical)
Check dashboard Performance column:
Aggregate win rate should be >50% (target: 55-65%)
Total P&L should be positive (may fluctuate)
Best fitness should be >0.50 (target: 0.55-0.70)
MAS should be declining slowly (normal adaptation)
Check Active Strategy column:
Selected strategy should be validated (✓ VAL)
Personal fitness should match best fitness
Trade count should be accumulating
Win rate should be >50%
Warning Signs:
Zero validated strategies after 300+ bars = settings too strict or market unsuitable
Best fitness stuck <0.30 = population struggling, consider parameter adjustment
No spawning/culling for 200+ bars = evolution stalled (may be optimal or need reset)
Aggregate win rate <45% sustained = system not working on this instrument/timeframe
Health Check Pass:
50%+ strategies validated
Best fitness >0.50
Aggregate win rate >52%
Regular spawn/cull activity
Selected strategy validated
Phase 6: Optimization (If Needed)
Enable Diagnostics Panel (bottom-right) for data-driven tuning:
Problem: Too Few Signals
Evaluated: 200
Passed: 8 (4%)
⨯ Probability: 140 (70%)
Solutions:
Lower min probability: 65% → 60% or 55%
Reduce min confluence: 2 → 1
Lower base persistence: 2 → 1
Increase mutation rate temporarily to explore new genes
Check if regime filter is blocking signals (⨯ Regime high?)
Problem: Too Many False Signals
Evaluated: 200
Passed: 90 (45%)
Win rate: 42%
Solutions:
Raise min probability: 65% → 70% or 75%
Increase min confluence: 2 → 3
Raise base persistence: 2 → 3
Enable WFO if disabled (validates strategies before use)
Check if volume filter is being ignored (⨯ Volume low?)
Problem: Counter-Trend Losses
⨯ Trend: 5 (only 5% rejected)
Losses often occur against trend
Solutions:
System should already filter trend opposition
May need stronger trend requirement
Consider only taking signals aligned with higher timeframe trend
Use longer trend EMA (50 → 100)
Problem: Volatile Market Whipsaws
⨯ Regime: 100 (50% rejected by volatile regime)
Still getting stopped out frequently
Solutions:
System is correctly blocking volatile signals
Losses happening because vol filter isn't strict enough
Consider not trading during volatile periods (respect the regime)
Or disable regime filter and accept higher risk
Optimization Workflow:
Enable diagnostics
Run 200+ bars with current settings
Analyze rejection patterns and win rate
Make ONE change at a time (scientific method)
Re-run 200+ bars and compare results
Keep change if improvement, revert if worse
Disable diagnostics when satisfied
Never change multiple parameters at once - you won't know what worked.
Phase 7: Multi-Instrument Deployment
AGE learns independently on each chart:
Recommended Strategy:
Deploy AGE on 3-5 different instruments
Different asset classes ideal (e.g., ES futures, EURUSD, BTCUSD, SPY, Gold)
Each learns optimal strategies for that instrument's personality
Take signals from all 5 charts
Natural diversification reduces overall risk
Why This Works:
When one market is choppy, others may be trending
Different instruments respond to different news/catalysts
Portfolio-level win rate more stable than single-instrument
Evolution explores different parameter spaces on each chart
Setup:
Same settings across all charts (or customize if preferred)
Set alerts for all
Take every validated signal across all instruments
Position size based on total account (don't overleverage any single signal)
⚠️ REALISTIC EXPECTATIONS - CRITICAL READING
What AGE Can Do
✅ Generate probability-weighted signals using genetic algorithms
✅ Evolve strategies in real-time through natural selection
✅ Validate strategies on out-of-sample data (walk-forward optimization)
✅ Adapt to changing market conditions automatically over time
✅ Provide comprehensive metrics on population health and signal quality
✅ Work on any instrument, any timeframe, any broker
✅ Improve over time as weak strategies are culled and fit strategies breed
What AGE Cannot Do
❌ Win every trade (typical win rate: 55-65% at best)
❌ Predict the future with certainty (markets are probabilistic, not deterministic)
❌ Work perfectly from bar 1 (needs 100-150 bars to learn and stabilize)
❌ Guarantee profits under all market conditions
❌ Replace your trading discipline and risk management
❌ Execute trades automatically (this is an indicator, not a strategy)
❌ Prevent all losses (drawdowns are normal and expected)
❌ Adapt instantly to regime changes (re-learning takes 50-100 bars)
Performance Realities
Typical Performance After Evolution Stabilizes (150+ bars):
Win Rate: 55-65% (excellent for trend-following systems)
Profit Factor: 1.5-2.5 (realistic for validated strategies)
Signal Frequency: 5-15 signals per 100 bars (quality over quantity)
Drawdown Periods: 20-40% of time in equity retracement (normal trading reality)
Max Consecutive Losses: 5-8 losses possible even with 60% win rate (probability says this is normal)
Evolution Timeline:
Bars 0-50: Random exploration, learning phase - poor results expected, don't judge yet
Bars 50-150: Population converging, fitness climbing - results improving
Bars 150-300: Stable performance, most strategies validated - consistent results
Bars 300+: Mature population, optimal genes dominant - best results
Market Condition Dependency:
Trending Markets: AGE excels - clear directional moves, high-probability setups
Choppy Markets: AGE struggles - fewer signals generated, lower win rate
Volatile Markets: AGE cautious - higher rejection rate, wider stops, fewer trades
Market Regime Changes:
When market shifts from trending to choppy overnight
Validated strategies can become temporarily invalidated
AGE will adapt through evolution, but not instantly
Expect 50-100 bar re-learning period after major regime shifts
Fitness may temporarily drop then recover
This is NOT a holy grail. It's a sophisticated signal generator that learns and adapts using genetic algorithms. Your success depends on:
Patience during learning periods (don't abandon after 3 losses)
Proper position sizing (risk 0.5-2% per trade, not 10%)
Following signals consistently (cherry-picking defeats statistical edge)
Not abandoning system prematurely (give it 200+ bars minimum)
Understanding probability (60% win rate means 40% of trades WILL lose)
Respecting market conditions (trending = trade more, choppy = trade less)
Managing emotions (AGE is emotionless, you need to be too)
Expected Drawdowns:
Single-strategy max DD: 10-20% of equity (normal)
Portfolio across multiple instruments: 5-15% (diversification helps)
Losing streaks: 3-5 consecutive losses expected periodically
No indicator eliminates risk. AGE manages risk through:
Quality gates (rejecting low-probability signals)
Confluence requirements (multi-indicator confirmation)
Persistence requirements (no knee-jerk reactions)
Regime awareness (reduced trading in chaos)
Walk-forward validation (preventing overfitting)
But it cannot prevent all losses. That's inherent to trading.
🔧 TECHNICAL SPECIFICATIONS
Platform: TradingView Pine Script v5
Indicator Type: Overlay indicator (plots on price chart)
Execution Type: Signals only - no automatic order placement
Computational Load:
Moderate to High (genetic algorithms + shadow portfolios)
8 strategies × shadow portfolio simulation = significant computation
Premium visuals add additional load (gradient cloud, fitness ribbon)
TradingView Resource Limits (Built-in Caps):
Max Bars Back: 500 (sufficient for WFO and evolution)
Max Labels: 100 (plenty for entry/exit markers)
Max Lines: 150 (adequate for stop/target lines)
Max Boxes: 50 (not heavily used)
Max Polylines: 100 (confidence halos)
Recommended Chart Settings:
Timeframe: 15min to 1H (optimal signal/noise balance)
5min: Works but noisier, more signals
4H/Daily: Works but fewer signals
Bars Loaded: 1000+ (ensures sufficient evolution history)
Replay Mode: Excellent for testing without risk
Performance Optimization Tips:
Disable gradient cloud if chart lags (most CPU intensive visual)
Disable fitness ribbon if still laggy
Reduce cloud layers from 7 to 3
Reduce ribbon layers from 10 to 5
Turn off diagnostics panel unless actively tuning
Close other heavy indicators to free resources
Browser/Platform Compatibility:
Works on all modern browsers (Chrome, Firefox, Safari, Edge)
Mobile app supported (full functionality on phone/tablet)
Desktop app supported (best performance)
Web version supported (may be slower on older computers)
Data Requirements:
Real-time or delayed data both work
No special data feeds required
Works with TradingView's standard data
Historical + live data seamlessly integrated
🎓 THEORETICAL FOUNDATIONS
AGE synthesizes advanced concepts from multiple disciplines:
Evolutionary Computation
Genetic Algorithms (Holland, 1975): Population-based optimization through natural selection metaphor
Tournament Selection: Fitness-based parent selection with diversity preservation
Crossover Operators: Fitness-weighted gene recombination from two parents
Mutation Operators: Random gene perturbation for exploration of new parameter space
Elitism: Preservation of top N performers to prevent loss of best solutions
Adaptive Parameters: Different mutation rates for historical vs. live phases
Technical Analysis
Support/Resistance: Price structure within swing ranges
Trend Following: EMA-based directional bias
Momentum Analysis: RSI, ROC, MACD composite indicators
Volatility Analysis: ATR-based risk scaling
Volume Confirmation: Trade activity validation
Information Theory
Shannon Entropy (1948): Quantification of market order vs. disorder
Signal-to-Noise Ratio: Directional information vs. random walk
Information Content: How much "information" a price move contains
Statistics & Probability
Walk-Forward Analysis: Rolling in-sample/out-of-sample optimization
Out-of-Sample Validation: Testing on unseen data to prevent overfitting
Monte Carlo Principles: Shadow portfolio simulation with realistic execution
Expectancy Theory: Win rate × avg win - loss rate × avg loss
Probability Distributions: Signal confidence quantification
Risk Management
ATR-Based Stops: Volatility-normalized risk per trade
Volatility Regime Detection: Market state classification (trending/choppy/volatile)
Drawdown Control: Peak-to-trough equity measurement
R-Multiple Normalization: Performance measurement in risk units
Machine Learning Concepts
Online Learning: Continuous adaptation as new data arrives
Fitness Functions: Multi-objective optimization (win rate + expectancy + drawdown)
Exploration vs. Exploitation: Balance between trying new strategies and using proven ones
Overfitting Prevention: Walk-forward validation as regularization
Novel Contribution:
AGE is the first TradingView indicator to apply genetic algorithms to real-time indicator parameter optimization while maintaining strict anti-overfitting controls through walk-forward validation.
Most "adaptive" indicators simply recalibrate lookback periods or thresholds. AGE evolves entirely new strategies through competitive selection - it's not parameter tuning, it's Darwinian evolution of trading logic itself.
The combination of:
Genetic algorithm population management
Shadow portfolio simulation for realistic fitness evaluation
Walk-forward validation to prevent overfitting
Multi-indicator confluence for signal quality
Dynamic volatility scaling for adaptive risk
...creates a system that genuinely learns and improves over time while avoiding the curse of curve-fitting that plagues most optimization approaches.
🏗️ DEVELOPMENT NOTES
This project represents months of intensive development, facing significant technical challenges:
Challenge 1: Making Genetics Actually Work
Early versions spawned garbage strategies that polluted the gene pool:
Random gene combinations produced nonsensical parameter sets
Weak strategies survived too long, dragging down population
No clear convergence toward optimal solutions
Solution:
Comprehensive fitness scoring (4 factors: win rate, P&L, expectancy, drawdown)
Elite preservation (top 2 always protected)
Walk-forward validation (unproven strategies penalized 30%)
Tournament selection (fitness-weighted breeding)
Adaptive culling (MAS decay creates increasing selection pressure)
Challenge 2: Balancing Evolution Speed vs. Stability
Too fast = population chaos, no convergence. Too slow = can't adapt to regime changes.
Solution:
Dual-phase timing: Fast evolution during historical (30/60 bar intervals), slow during live (200/400 bar intervals)
Adaptive mutation rates: 20% historical, 8% live
Spawn/cull ratio: Always 2:1 to prevent population collapse
Challenge 3: Shadow Portfolio Accuracy
Needed realistic trade simulation without lookahead bias:
Can't peek at future bars for exits
Must track multiple portfolios simultaneously
Stop/target checks must use bar's high/low correctly
Solution:
Entry on close (realistic)
Exit checks on current bar's high/low (realistic)
Independent position tracking per strategy
Cooldown periods to prevent unrealistic rapid re-entry
ATR-normalized P&L (R-multiples) for fair comparison across volatility regimes
Challenge 4: Pine Script Compilation Limits
Hit TradingView's execution limits multiple times:
Too many array operations
Too many variables
Too complex conditional logic
Solution:
Optimized data structures (single DNA array instead of 8 separate arrays)
Minimal visual overlays (only essential plots)
Efficient fitness calculations (vectorized where possible)
Strategic use of barstate.islast to minimize dashboard updates
Challenge 5: Walk-Forward Implementation
Standard WFO is difficult in Pine Script:
Can't easily "roll forward" through historical data
Can't re-optimize strategies mid-stream
Must work in real-time streaming environment
Solution:
Age-based phase detection (first 250 bars = training, next 75 = testing)
Separate metric tracking for train vs. test
Efficiency calculation at fixed interval (after test period completes)
Validation flag persists for strategy lifetime
Challenge 6: Signal Quality Control
Early versions generated too many signals with poor win rates:
Single indicators produced excessive noise
No trend alignment
No regime awareness
Instant entries on single-bar spikes
Solution:
Three-layer confluence system (entropy + momentum + structure)
Minimum 2-of-3 agreement requirement
Trend alignment checks (penalty for counter-trend)
Regime-based probability adjustments
Persistence requirements (signals must hold multiple bars)
Volume confirmation
Quality gate (probability + confluence thresholds)
The Result
A system that:
Truly evolves (not just parameter sweeps)
Truly validates (out-of-sample testing)
Truly adapts (ongoing competition and breeding)
Stays within TradingView's platform constraints
Provides institutional-quality signals
Maintains transparency (full metrics dashboard)
Development time: 3+ months of iterative refinement
Lines of code: ~1500 (highly optimized)
Test instruments: ES, NQ, EURUSD, BTCUSD, SPY, AAPL
Test timeframes: 5min, 15min, 1H, Daily
🎯 FINAL WORDS
The Adaptive Genesis Engine is not just another indicator - it's a living system that learns, adapts, and improves through the same principles that drive biological evolution. Every bar it observes adds to its experience. Every strategy it spawns explores new parameter combinations. Every strategy it culls removes weakness from the gene pool.
This is evolution in action on your charts.
You're not getting a static formula locked in time. You're getting a system that thinks , that competes , that survives through natural selection. The strongest strategies rise to the top. The weakest die. The gene pool improves generation after generation.
AGE doesn't claim to predict the future - it adapts to whatever the future brings. When markets shift from trending to choppy, from calm to volatile, from bullish to bearish - AGE evolves new strategies suited to the new regime.
Use it on any instrument. Any timeframe. Any market condition. AGE will adapt.
This indicator gives you the pure signal intelligence. How you choose to act on it - position sizing, risk management, execution discipline - that's your responsibility. AGE tells you when and how confident . You decide whether and how much .
Trust the process. Respect the evolution. Let Darwin work.
"In markets, as in nature, it is not the strongest strategies that survive, nor the most intelligent - but those most responsive to change."
Taking you to school. — Dskyz, Trade with insight. Trade with anticipation.
— Happy Holiday's
Penunjuk dan strategi
Cloud Matrix [CongTrader]🚀 Cloud Matrix — Advanced Multi-Layer Ichimoku System
Cloud Matrix is an enhanced trend-analysis system built on the public-domain Ichimoku Kinko Hyo methodology.
This indicator delivers a multi-dimensional view of trend, momentum, and market structure, allowing traders to evaluate market conditions at a glance.
Cloud Matrix is not a simple Ichimoku clone. It introduces advanced confirmation logic, multi-timeframe trend filtering, and a modern visual framework designed for today’s dynamic markets.
🔥 Key Features & Highlights
1️⃣ Smart Preset Engine (4 Modes)
Choose from optimized presets for different markets and volatility levels:
Traditional 9/26/52
Crypto Fast 10/30/60
Crypto Medium 20/60/120
Custom Mode
→ Fast, adaptable, and beginner-friendly.
2️⃣ Advanced Trend Confirmation Engine
Cloud Matrix uses a 5-factor scoring system to filter high-quality signals:
Tenkan vs Kijun
Price vs Cloud
Cloud Twist
Chikou Position
Close vs Kijun
A bullish/bearish signal only triggers when multiple Ichimoku conditions align, reducing noise dramatically.
3️⃣ Higher-Timeframe EMA200 Filter
One of the signature strengths of Cloud Matrix:
EMA200 from a higher timeframe
Helps you follow the dominant macro trend
Avoids counter-trend traps
Ideal for swing and position traders
4️⃣ Intelligent Auto Signals
The indicator includes refined and clean signals for:
Bullish / Bearish TK Cross
Bullish / Bearish Kumo Breakout
All signals support:
Labels
Alerts
“Alert on Close” mode to avoid repaint-related confusion
5️⃣ Enhanced Kumo Cloud Visualization
Adjustable opacity (strong / soft)
Clear bullish/bearish cloud shading
Improved readability on fast markets
6️⃣ Real-Time Market State Dashboard
A compact dashboard shows all key Ichimoku conditions:
Price vs Cloud
Cloud Twist (Bullish/Bearish)
Tenkan–Kijun Relationship
Chikou Status
HTF EMA Trend
Active Preset
→ Designed for instant market diagnostics.
🎯 How Traders Use Cloud Matrix
Perfect for:
Trend following
Swing trading
Crypto, Stocks, Forex
Early breakout detection
Filtering low-quality setups
📌 Suggested Usage
Bullish Bias When:
Price is above the Cloud
Cloud Twist is bullish
Tenkan crosses above Kijun
Chikou is above price
HTF EMA200 is bullish
Bearish Bias When:
Opposite conditions apply.
⚠️ Important Note
This indicator is for analysis and educational purposes only.
It does not provide financial advice or guaranteed trading results.
Ichimoku concepts belong to the public domain; this is a modernized expansion built for study and research.
✍️ Author
CongTrader – 2025
Designed to help traders see the market through a multi-layered, structured lens..
TRI - Multi-Timeframe FVGTRI - MULTI-TIMEFRAME FAIR VALUE GAPS v1.0.0
DESCRIPTION:
Advanced multi-timeframe Fair Value Gap (FVG) indicator that displays FVG zones from higher timeframes
on your current chart. Supports automatic or manual timeframe selection with comprehensive visualization
and alert system.
KEY FEATURES:
Multi-timeframe FVG detection - view FVG from any higher timeframe
Automatic timeframe selection - configure different FVG timeframes for each chart timeframe
Automatic mitigation detection - zones change color when price mitigates them
Configurable FVG threshold - filter out small gaps
Customizable visualization - colors, borders, labels, text colors
Smart zone inclusion - larger zones automatically remove smaller included zones
Memory efficient - automatic cleanup of expired zones
HOW IT WORKS:
A Fair Value Gap (FVG) is detected when there's a 3-candle pattern with a gap between candle 1 and
candle 3, indicating institutional order flow imbalances. Bullish FVG occurs when candle 3's low is
above candle 1's high (gap up), creating a demand zone shown in green. Bearish FVG occurs when candle
3's high is below candle 1's low (gap down), creating a supply zone shown in red.
The indicator uses request.security() to fetch data from the selected higher timeframe, detects FVG
patterns on that timeframe, and displays them on your current chart. FVG zones remain active until
price closes through them (mitigation), then change color and remain visible for a configurable
number of bars before disappearing.
TIMEFRAME CONFIGURATION:
Configure different FVG timeframes based on current chart timeframe:
1m-5m charts → Default 4h FVG
15m charts → Default 4h FVG
30m-1h charts → Default 4h FVG
4h charts → Default 4h FVG
Daily charts → Default Daily FVG
Weekly charts → Default Weekly FVG
Monthly charts → Default Monthly FVG
All timeframes are configurable via input settings.
BEST USE:
Works on all timeframes and asset classes. Particularly useful for intraday traders who want to see
higher timeframe FVG zones on their lower timeframe charts. FVG zones often act as support/resistance
and are frequently filled by price returning to rebalance the imbalance. Use them to identify potential
entry/exit points, stop-loss placement, and institutional order flow areas.
Estrategia Infalible Futuros Supertrend+RSI+EMAS+VWAP (30m) Estrategia para futuros especialmente enfocada en MBT
Trend Vector Pro v2.0Title: Trend Vector Pro v2.0
👨💻 Developed by: Mohammed Bedaiwi
💡 Strategy Overview & Coherence
Trend Vector Pro (TVPro) is a momentum-based trend & reversal strategy that uses a custom smoothed oscillator, an optional ADX filter, and classic Pivot Points to create a single, coherent trading framework.
Instead of stacking random indicators, TVPro is built around these integrated components:
A custom momentum engine (signal generation)
An optional ADX filter (trend quality control)
Daily Pivot Points (context, targets & S/R)
Swing-based “Golden Bar” trailing stops (trade management)
Optional extended bar detection (overextension alerts)
All parts are designed to work together and are documented below to address originality & usefulness requirements.
🔍 Core Components & Justification
1. Custom Momentum Engine (Main Signal Source)
TVPro’s engine is a custom oscillator derived from the bar midpoint ( hl2 ), similar in spirit to the Awesome Oscillator but adapted and fully integrated into the strategy. It measures velocity and acceleration of price, letting the script distinguish between strong impulses, weakening trends, and pure noise.
2. ADX Filter (Trend Strength Validation – Optional)
Uses Average Directional Index (ADX) as a gatekeeper.
Why this matters: This prevents the strategy from firing signals in choppy, non-trending environments (when ADX is below the threshold) and keeps trades focused on periods of clear directional strength.
3. Classic Pivot Points (Context & Targets)
Calculates Daily Pivot Points ( PP, R1-R3, S1-S3 ) via request.security() using prior session data.
Why this matters: Momentum gives the signal, ADX validates the environment, and Pivots add external structure for risk and target planning. This is a designed interaction, not a random mashup.
🧭 Trend State Logic (5-State Bar Coloring)
The strategy uses the momentum's value + slope to define five states, turning the chart into a visual momentum map:
🟢 STRONG BULL (Bright Green): Momentum accelerating UP. → Strong upside impulse.
🌲 WEAK BULL (Dark Green): Momentum decelerating DOWN (while positive). → Pullback/pause zone.
🔴 STRONG BEAR (Bright Red): Momentum accelerating DOWN. → Strong downside impulse.
🍷 WEAK BEAR (Dark Red): Momentum decelerating UP (while negative). → Rally/short-covering zone.
🔵 NEUTRAL / CHOP (Cyan): Momentum is near zero (based on noise threshold). → Consolidation / low volatility.
🎯 Signal Logic Modes
TVPro provides two selectable entry styles, controlled by input:
Reversals Only (Cleaner Mode – Default): Targets trend flips. Entry triggers when the current state is Bullish (or Bearish) and the previous state was not. This reduces noise and over-trading.
All Strong Pulses (Aggressive Mode): Targets acceleration phases. Entry triggers when the bar turns to STRONG BULL or STRONG BEAR after any other state. This mode produces more trades.
📌 Risk Management Tools
Golden Bars – Trailing Stops: Yellow “Trail” Arrows mark confirmed Swing Highs/Lows. These are used as logical trailing stop levels based on market structure.
Extended Bars: Detects when price closes outside a 2-standard-deviation channel, flagging overextension where a pullback is more likely.
Pivot Points: Used as external targets for Take Profit and structural stop placement.
⚙️ Strategy Defaults (Crucial for Publication Compliance)
To keep backtest results realistic and in line with House Rules, TVPro is published with the following fixed default settings:
Order Size: 5% of equity per trade ( default_qty_value = 5 )
Commission: 0.04% per order ( commission_value = 0.04 )
Slippage: 2 ticks ( slippage = 2 )
Initial Capital: 10,000
📘 How to Trade with Trend Vector Pro
Entry: Take Long when a Long signal appears and confirm the bar is Green (Bull state). Short for Red (Bear state).
Stop Loss: Place the initial SL near the latest swing High/Low, or near a relevant Pivot level.
Trade Management: Follow Golden (Trail) Arrows to trail your stop behind structure.
Exits: Exit when: the trailing stop is hit, Price reaches a major Pivot level, or an opposite signal prints.
🛑 Disclaimer
This script is for educational purposes only and does not constitute financial advice. Past performance does not guarantee future results. Always forward-test and use proper risk management before applying any strategy to live trading.
Ultra Optimized + Strong S/R + Sure-Shot Signals + Screen PanelUltra Optimized + Strong S/R + Sure-Shot Signals + Screen Panel
Failed 2 + 3→1 & 1→3 & 1 bar Alerts Failed 2 + Enhanced Strength + 3→1 & 1→3 & Inside Bar Alerts (with Dashboard)
This indicator is a strict, rule-based market structure and reversal framework built on The Strat methodology. It detects Failed 2 reversals, compression/expansion sequences (3→1 and 1→3), and confirmed Inside Bars, then grades Failed 2 signals using a multi-factor strength scoring system. A real-time dashboard displays the most recent Failed 2 signal and its strength.
The script is designed for bar-close accuracy, objective signal qualification, and visual clarity, without directional bias baked into the dashboard.
1. Core Signal Types Detected
A. Strict Failed 2 Reversals
Only true, textbook Failed 2 structures are detected. No loose or interpretive logic is used.
Failed 2 Up (F2U)
A bearish reversal following an attempted break higher:
Current bar makes a higher high than the prior bar
Current bar does NOT make a lower low
Close is below the prior bar’s high
Candle closes red (close < open)
Failed 2 Down (F2D)
A bullish reversal following an attempted break lower:
Current bar makes a lower low than the prior bar
Current bar does NOT make a higher high
Close is above the prior bar’s low
Candle closes green (close > open)
These rules ensure the market attempted continuation and failed, which is the defining characteristic of a Failed 2.
B. Inside Bars (IB)
An Inside Bar is defined as:
High is lower than the prior bar’s high
Low is higher than the prior bar’s low
Inside Bars are only confirmed on bar close.
⚠️ Important filtering rule:
Inside Bar labels are NOT displayed if the bar is part of a 3→1 or 1→3 sequence, preventing duplicate or misleading labels.
C. 3→1 and 1→3 Sequences
3→1 Compression
Prior bar is a 3-bar (engulfs the previous bar)
Current bar is an Inside Bar
This represents volatility compression and potential energy build-up.
1→3 Expansion
Prior bar is an Inside Bar
Current bar is a 3-bar
This represents range expansion and initiative activity.
2. Failed 2 Strength Scoring System (0–5 Points)
Each Failed 2 signal is objectively graded using five independent criteria. Each criterion contributes 1 point.
Scoring Components
Rejection Strength
Measures how deeply price rejected back inside the prior bar’s range
Strong rejection = 1 point
Range vs ATR
Current bar range > 75% of ATR
Indicates expansion and participation
Relative Volume
Volume > 1.2× the moving average volume
Confirms real interest, not low-liquidity noise
Wick Dominance
Upper wick dominance for F2U
Lower wick dominance for F2D
Wick must exceed 50% of total candle range
Key Level Proximity
Close is within a configurable percentage of:
Prior High (for F2U)
Prior Low (for F2D)
Strength Tiers
0–2 points → Weak
3 points → Strong
4–5 points → Very Strong
Strength is displayed both visually on the chart and numerically in the dashboard.
3. Visual Labels
Failed 2 Labels
Displayed only when enabled:
F2U / F2D → Weak
F2U! / F2D! → Strong
F2U!! / F2D!! → Very Strong
Color intensity increases with strength:
Red tones for Failed 2 Up
Green tones for Failed 2 Down
Labels are positioned:
Above the bar for F2U
Below the bar for F2D
Sequence Labels
3→1: Green label below the bar
1→3: Orange label above the bar
Inside Bar Label
Label text: IB
Only shown on confirmed close
Only shown if not part of a sequence
Small, unobtrusive visual style
4. Alerts (Bar-Close Accurate)
The indicator provides four independent alert conditions:
Strict Failed 2
Triggers on bar close
Fires for either F2U or F2D
3→1 Sequence
Compression detected on bar close
1→3 Sequence
Expansion detected on bar close
Inside Bar
Confirmed Inside Bar on bar close
All alerts are non-repainting and designed for automation or discretionary execution.
5. Dashboard (Signal Memory System)
The dashboard provides context continuity beyond the signal bar itself.
What It Displays
Current Bar Signal
F2U, F2D, or “none”
Strength
Numeric score (e.g., 4/5)
Persists after the signal
Sequence
3→1, 1→3, or none
Persistence Logic
When a Failed 2 occurs:
Strength and direction are stored
They remain visible for a configurable number of minutes (default: 2)
This allows traders to:
Enter on pullbacks
Maintain context after the signal bar closes
Customization
Toggle dashboard on/off
Choose screen corner placement
Custom text color
⚠️ The dashboard is neutral:
It does not infer bias
It only reports factual, most-recent structure
6. Inputs Summary
Toggle labels for:
Failed 2
Sequences
Inside Bars
ATR length for strength normalization
Volume average length
Key level proximity threshold
Strength persistence duration (minutes)
Dashboard visibility and positioning
Squeeze Momentum OmniViewSqueeze Momentum OmniView+ is an enhanced and modernized version of the classic Squeeze Momentum Indicator by LazyBear, rebuilt from the ground up in Pine Script v6.
This upgraded edition introduces OmniView color-mapping, adaptive histogram scaling, extreme detection, heat-zone alerts, and dynamic fire/ice icons, all fully synchronized with your selected visualization mode.
Key Features
1. OmniView Color Engine (Exact Price-State Matching)
Reproduces the full OmniView color logic (aqua → yellow → red), tracking market compression, expansion, and directional strength using a seamless multi-gradient system.
2. Dual Histogram Modes
Choose how the histogram is normalized:
Price-State Mode: Colors reflect price position within its recent range.
Self-Normalized Mode: Colors adapt to the histogram’s own momentum curve.
Both modes automatically adjust alerts, extremes, and icons.
3. Enhanced Squeeze Logic
The script includes the classic squeeze states (ON / OFF / Neutral) with clean visual dots and improved logic for precise state transitions.
4. Adaptive Extreme Detection (Upper & Lower Extremes)
Detects when price or momentum sets new highs/lows according to the active mode.
Automatically draws 🔥 fire labels near upper extremes and ❄️ ice labels near lower extremes, with:
Adaptive or fixed offsets
Customizable sizes
Optional dimming on momentum fade
Icon colors matching the histogram
5. Full Alert Suite
Includes alerts for:
New Upper / Lower Extremes
Heat-Zone Crossings (25%, 50%, 75%)
Momentum Turning Up / Down
Zero-Line Crossovers
Squeeze ON / OFF
All alert conditions adapt dynamically to the mode selected.
6. Clean, modern, and fully customizable
Every visual element—colors, transparency, icon sizing, offsets, squeeze dots, fades—can be adjusted from the settings panel.
What This Indicator Helps You See
Momentum acceleration and deceleration
Market compression/expansion phases
Heat levels in the current price context
Momentum extremes that often signal turning points
Trend continuation or exhaustion patterns
High-precision squeeze entries with visual clarity
Designed For
Traders looking for a more intelligent version of Squeeze Momentum with:
Better visual clarity
Stronger adaptive behavior
More actionable alerts
More information per bar without clutter
A special thanks to LazyBear, the original author of the Squeeze Momentum engine.
This script is not affiliated with or endorsed by him, but it extends his outstanding contribution to the TradingView community.
HVTC 1HVTC – SMC Market Structure & Trend Indicator
HVTC is a Smart Money Concepts–based tool that helps traders visualize market structure and trend direction with clarity.
Features:
CHoCH & BOS Detection
Automatically identifies structural shifts using true SMC logic and labels them directly on the chart.
Trend Filter
Confirms bullish or bearish conditions using an internal trend system to keep trades aligned with the major direction.
EMA 25 Guide
EMA 25 acts as dynamic support/resistance, helping define momentum and bias.
Alerts (Optional)
Notify traders when CHoCH/BOS or key retests occur—ideal for those who don’t monitor charts continuously.
Use Cases:
Works for Crypto, Forex, Gold, Indices, and Stocks across all timeframes. Helps improve entries, exits, and overall market understanding based on institutional structure.
Not financial advice. Use with proper risk management.
SNIPER ORB V2# 🎯 SNIPER ORB TRADING CHEAT SHEET
## Quick Reference Guide for Live Trading
---
## 📊 VISUAL IDENTIFICATION GUIDE
```
═══════════════════════════════════════════════════════════════════
YOUR CHART AT A GLANCE
═══════════════════════════════════════════════════════════════════
🔵 BRIGHT BLUE LINES (3px) → 5min ORB High/Low
🔷 CYAN LINES (2px) → 15min ORB High/Low
🟣 PURPLE LINES (2px) → 30min ORB High/Low (PRIMARY)
🟢 GREEN DASHED LINES (1px) → Upside targets (1x, 2x, 3x from 30min ORB)
🔴 RED DASHED LINES (1px) → Downside targets (1x, 2x, 3x from 30min ORB)
🟡 GOLD LINE (2px) → Anchored VWAP (9:30 AM anchor for NY, 3:00 AM for London)
📋 INFO TABLE (top-right) → Shows live ORB ranges, VWAP price, status
═══════════════════════════════════════════════════════════════════
```
**KEY DIFFERENCE FROM OTHER ORB INDICATORS:**
- You see **ALL 3 ORB PERIODS SIMULTANEOUSLY** (5min, 15min, 30min)
- Targets calculated from **30min ORB ONLY** (not 5min or 15min)
- **NO BOX FILLS** - clean line-only display for sniper precision
- Auto-disappears at session end (no clutter from old sessions)
---
## 🔘 NEW FEATURE: ORB DISPLAY TOGGLES
**You now have FULL CONTROL over which ORB periods to display!**
```
In indicator settings → "ORB Display" section:
☑ Show 5min ORB → Toggle blue lines ON/OFF
☑ Show 15min ORB → Toggle cyan lines ON/OFF
☑ Show 30min ORB → Toggle purple lines ON/OFF
USE CASES:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. FOCUS MODE (30min only)
☐ 5min ☐ 15min ☑ 30min
→ Clean chart, just your primary trading range
→ Best for beginners or minimalist traders
2. EARLY WARNING MODE (5min + 30min)
☑ 5min ☐ 15min ☑ 30min
→ See early breaks with 5min, trade 30min confirmation
→ Reduces visual noise from 15min
3. CONFLUENCE MODE (all 3 ORBs)
☑ 5min ☑ 15min ☑ 30min
→ Maximum information, all alignment signals
→ For advanced traders seeking highest probability
4. INTRADAY SCALP MODE (5min only)
☑ 5min ☐ 15min ☐ 30min
→ Ultra-fast entries on 5min breaks
→ High-risk, high-frequency approach
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 PRO TIP: Start with 30min only, then add 5min/15min as you gain experience
```
---
## 🎯 FIXED: ANCHORED VWAP (TIMESTAMP-BASED)
**The VWAP now anchors with SURGICAL PRECISION to the exact session start candle!**
```
LONDON SESSION:
• Anchors at the EXACT 3:00 AM ET candle
• Uses timestamp checking: hour == 3 AND minute == 0
• Resets every morning at London Open
NEW YORK SESSION:
• Anchors at the EXACT 9:30 AM ET candle
• Uses timestamp checking: hour == 9 AND minute == 30
• Resets every day at NY Open
WHAT THIS MEANS:
✅ VWAP starts accumulating from the first tick of the session
✅ No more "off by one bar" errors
✅ Institutional-grade VWAP anchoring
✅ Perfect alignment with your ORB start times
HOW TO VERIFY IT'S WORKING:
1. Load indicator on 1min or 5min chart
2. Find the exact 9:30 AM candle (NY) or 3:00 AM candle (London)
3. VWAP should START appearing from that exact bar
4. Not the bar before, not the bar after - THAT EXACT BAR
```
---
## ⏰ SESSION TIMING MATRIX
| Session | Start Time | 5min Complete | 15min Complete | 30min Complete | Session End |
|---------|-----------|---------------|----------------|----------------|-------------|
| **London** | 3:00 AM ET | 3:05 AM | 3:15 AM | 3:30 AM | 9:30 AM ET (disappears) |
| **New York** | 9:30 AM ET | 9:35 AM | 9:45 AM | 10:00 AM | 5:00 PM ET (disappears) |
**💡 GOLDEN RULES:**
1. **WAIT FOR 30MIN ORB TO COMPLETE** before trading targets (10:00 AM NY / 3:30 AM London)
2. Use 5min and 15min ORBs as **early warning signals** only
3. All ORB lines + VWAP **auto-delete** at session end (clean chart)
---
## 🎯 THE 3-ORB SYSTEM: HOW IT WORKS
### **Hierarchical ORB Structure**
```
TIME: 9:30 AM ─────────────────────────────────> 10:00 AM ──────> 5:00 PM
↓ ↓
SESSION START 30min ORB COMPLETE
(all 3 ORBs begin forming) (targets appear)
📍 5min ORB (9:30-9:35 AM): ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━>
Purpose: EARLY breakout signal, fastest-moving boundary
📍 15min ORB (9:30-9:45 AM): ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━>
Purpose: MID-TERM institutional reference level
📍 30min ORB (9:30-10:00 AM): ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━>
Purpose: PRIMARY TRADING RANGE - all targets calculated from this
🎯 TARGETS (10:00 AM onward): ▪ ▪ ▪ ▪ ▪ (1x, 2x, 3x from 30min ORB)
Purpose: Profit-taking levels based on 30min range
```
**Why 3 ORBs Instead of 1?**
- **5min ORB**: Captures early institutional positioning (first 5 minutes)
- **15min ORB**: Confirms directional bias (more stable than 5min)
- **30min ORB**: Full market digestion of overnight news + opening orders
- **Confluence = Higher Win Rate**: When all 3 align, breakouts are extremely reliable
---
## 🎯 THE 5 HIGH-PROBABILITY SETUPS
### **SETUP #1: TRIPLE ORB BREAKOUT CONFLUENCE** ⭐⭐⭐⭐⭐
```
CONDITIONS:
✅ 30min ORB complete (10:00 AM NY / 3:30 AM London)
✅ Price breaks ALL 3 ORBs simultaneously:
• 5min high/low (blue line)
• 15min high/low (cyan line)
• 30min high/low (purple line)
✅ VWAP confirms direction (below price = bullish, above = bearish)
✅ Volume spike on breakout candle
ENTRY: Close of breakout candle (must close beyond ALL 3 ORBs)
STOP: Inside 30min ORB at 30m low (long) or 30m high (short)
TARGET 1: First green/red dashed line (0.5x 30m range)
TARGET 2: Second target (1x 30m range)
TARGET 3: Third target (1.5x 30m range)
WIN RATE: 75-85% | R:R = 1:2.5 minimum
NOTES: When all 3 ORBs align, institutional order flow is unanimous
```
---
### **SETUP #2: 5MIN EARLY BREAKOUT → 30MIN CONFIRMATION** ⭐⭐⭐⭐
```
CONDITIONS:
✅ Price breaks 5min ORB first (blue line crossed)
✅ 15min ORB holds initially (cyan line not crossed yet)
✅ After 30min ORB completes, price breaks 30min boundary (purple)
✅ VWAP alignment confirms direction
✅ All 3 ORBs now broken in same direction
ENTRY: When 30min ORB breaks (purple line) + 5min/15min already broken
STOP: 30min ORB opposite boundary
TARGET 1-3: Standard targets from 30min ORB
WIN RATE: 70-80% | R:R = 1:2+
NOTES: 5min gave early warning, 30min confirms institutional commitment
```
---
### **SETUP #3: FALSE 5MIN BREAKOUT → 30MIN REVERSAL** ⭐⭐⭐⭐⭐
```
CONDITIONS:
✅ Price breaks 5min ORB (blue line)
✅ Fails to break 15min or 30min ORBs (cyan/purple lines hold)
✅ Price reverses back inside 5min ORB
✅ Then breaks OPPOSITE side of 30min ORB (purple line)
✅ VWAP flips to confirm new direction
ENTRY: When 30min ORB breaks in OPPOSITE direction of failed 5min break
STOP: Failed 5min breakout high/low (now a liquidity grab zone)
TARGET 1-3: Standard targets
WIN RATE: 80-90% | R:R = 1:3+ (trapped traders forced to exit)
NOTES: Most profitable setup - 5min breakout was liquidity hunt
```
---
### **SETUP #4: TIGHT COMPRESSION → EXPLOSION** ⭐⭐⭐⭐
```
CONDITIONS:
✅ All 3 ORBs tightly overlapping (5m, 15m, 30m within 50 points on YM)
✅ Range < 0.3% of price (very tight consolidation)
✅ VWAP sitting in middle of compression
✅ 30min ORB complete, price still inside all 3
ENTRY: Simultaneous break of ALL 3 ORBs + VWAP cross
STOP: Middle of compression zone
TARGET: 2x-4x normal targets (volatility expansion)
WIN RATE: 65-75% | R:R = 1:5+ (explosive breakout)
NOTES: Low volatility → high volatility shift, institutions coiling spring
```
---
### **SETUP #5: VWAP BOUNCE WITHIN 30MIN ORB** ⭐⭐⭐⭐
```
CONDITIONS:
✅ Price stayed inside 30min ORB for 1+ hours post-formation
✅ VWAP acting as dynamic support (long) or resistance (short)
✅ Price bouncing between VWAP and 30min ORB boundaries
✅ Clear rejection candles at VWAP
ENTRY: When price bounces off VWAP toward 30min ORB boundary
• Long: VWAP bounce up toward 30m high (purple)
• Short: VWAP rejection down toward 30m low (purple)
STOP: Beyond VWAP by 20 points
TARGET: 30min ORB opposite boundary
WIN RATE: 70-80% | R:R = 1:1.5-2
NOTES: Range-bound play, NOT for breakout traders
```
---
## 🛡️ RISK MANAGEMENT RULES
### **Position Sizing by ORB Range**
```
30min ORB Range | Stop Distance | Risk $500 (1%) | YM Contracts
-----------------|------------------|-----------------|-------------
< 50 points | 50 pts | $500 ÷ $250 = | 2 contracts
50-100 points | 100 pts | $500 ÷ $500 = | 1 contract
100-150 points | 150 pts | $500 ÷ $750 = | 0.66 (use 1)
150-200 points | 200 pts | $500 ÷ $1000 = | 0.5 (use 1)
> 200 points | Don't trade | Too wide | Skip setup
Formula: Risk $ ÷ (Stop Distance × $5 per YM point) = Max Contracts
```
### **The 3-Strike Rule (MANDATORY)**
```
✅ Trade 1: Full position size (based on 30m ORB range)
❌ Stop hit → Trade 2: HALF position size
❌ Stop hit → Trade 3: QUARTER position size
❌ Stop hit → DONE FOR THE DAY (no exceptions)
```
### **Profit Taking Ladder**
```
TARGET 1 (0.5x 30m range): Take 50% off, move stop to breakeven
TARGET 2 (1.0x 30m range): Take 30% off, trail stop by 25 points
TARGET 3 (1.5x 30m range): Take 15% off, let 5% run with 50pt trail
```
---
## ⚠️ DO NOT TRADE IF...
```
🚫 30min ORB incomplete (< 10:00 AM NY / < 3:30 AM London)
🚫 30min ORB range < 40 points YM (too tight, likely chop)
🚫 30min ORB range > 250 points YM (too wide, unpredictable)
🚫 All 3 ORBs wildly divergent (5m=100pts, 15m=180pts, 30m=240pts)
🚫 Major news release within 30 minutes (wait for ORB to reform)
🚫 You've hit 3 losses in the session (3-strike rule)
🚫 You're tired, emotional, revenge trading, or distracted
🚫 Time > 12:00 PM ET (lunch, avoid until 1:00 PM)
🚫 Time > 3:00 PM ET unless Power Hour (3:00-4:00 PM) momentum
```
---
## 🔍 PRE-SESSION CHECKLIST
**15 Minutes Before London (2:45 AM ET) or NY (9:15 AM ET):**
```
□ Check economic calendar (FOMC? NFP? CPI? → extra caution)
□ Review previous session's ORB ranges (context for today's volatility)
□ Load SNIPER ORB on 1min or 5min chart
□ Select correct session: "London" or "New York"
□ Verify indicator settings:
• Number of Targets: 3
• Target % of 30min Range: 50%
• Show Anchored VWAP: ON
□ Set TradingView alerts:
• 30min ORB complete (10:00 AM or 3:30 AM)
• Price crossing 30min high/low
• VWAP crosses
□ Prepare bracket orders mentally (entry, stop, 3 targets)
□ Review yesterday's P&L and lessons learned
□ Set phone to "Do Not Disturb" mode
```
---
## 🎨 INDICATOR SETTINGS GUIDE
### **Core Settings (Updated with Toggles)**
```
SESSION SETTINGS:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Active Session: "London" or "New York"
ORB DISPLAY (NEW!):
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
☑ Show 5min ORB (toggle blue lines)
☑ Show 15min ORB (toggle cyan lines)
☑ Show 30min ORB (toggle purple lines)
💡 Turn OFF any ORB to declutter your chart!
TARGET SETTINGS:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Number of Targets: 3 (default)
• Target % of 30min Range: 50% (default)
VWAP SETTINGS:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
☑ Show Anchored VWAP
• VWAP Color: Gold (#FFC107)
• VWAP Width: 2px
```
### **Color Customization (Optimized for Dark Charts)**
```
DEFAULT COLORS:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5min ORB: Bright Blue (#2196F3) - 3px wide
15min ORB: Cyan (#00BCD4) - 2px wide
30min ORB: Purple (#9C27B0) - 2px wide
Upside Targets: Green (#4CAF50) - 1px dashed
Downside Targets: Red (#F44336) - 1px dashed
VWAP: Gold (#FFC107) - 2px solid
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY THESE COLORS?
• Blue family (5m/15m) = short-term, high-frequency
• Purple (30m) = primary, institutional level
• Green/Red = universal up/down
• Gold VWAP = fair value anchor (stands out)
```
### **Settings by Trading Style**
**BEGINNER (Clean & Simple):**
```
ORB Display:
☐ Show 5min ORB
☐ Show 15min ORB
☑ Show 30min ORB (30min only - focus mode)
Number of Targets: 2-3
Target % of 30min Range: 50%
Chart Timeframe: 5-minute
```
**SCALPER (5-15 min holds):**
```
ORB Display:
☑ Show 5min ORB (early signals)
☐ Show 15min ORB
☑ Show 30min ORB (confirmation)
Number of Targets: 5
Target % of 30min Range: 30-40%
Label Size: Tiny
Chart Timeframe: 1-minute
```
**DAY TRADER (30-90 min holds):**
```
ORB Display:
☑ Show 5min ORB
☑ Show 15min ORB
☑ Show 30min ORB (all 3 - confluence mode)
Number of Targets: 3
Target % of 30min Range: 50%
Label Size: Small
Chart Timeframe: 5-minute (RECOMMENDED)
```
**SWING TRADER (2-4 hour holds):**
```
ORB Display:
☐ Show 5min ORB (too noisy for swings)
☑ Show 15min ORB
☑ Show 30min ORB
Number of Targets: 2-3
Target % of 30min Range: 75-100%
Label Size: Normal
Chart Timeframe: 15-minute
```
---
## 📈 TIMEFRAME SELECTION GUIDE
| Your Timeframe | What You See | Best For |
|---------------|--------------|----------|
| **1-minute** | Every tick, high noise | Scalping, precision entries |
| **5-minute** | Balanced clarity | Day trading (RECOMMENDED) |
| **15-minute** | Clean structure | Swing positions |
| **30-minute** | Too compressed | Not recommended (can't see ORB form) |
**💡 PRO TIP:**
- **Primary chart: 5-minute** (for entries and monitoring)
- **Secondary chart: 1-minute** (for precise timing)
- **Never go above 15-minute** (ORBs won't form properly)
---
## 🧠 READING THE 3-ORB STRUCTURE
### **Bullish Alignment Patterns**
```
PATTERN 1: "Staircase Expansion"
5min: ━━━━ (tight, 60 pts)
15min: ━━━━━━ (wider, 90 pts)
30min: ━━━━━━━━ (widest, 120 pts)
→ Bullish expansion, expect upside breakout
PATTERN 2: "Nested Compression"
5min: ━━ (30 pts)
15min: ━━━ (35 pts)
30min: ━━━━ (40 pts)
→ All tight, explosive breakout likely
PATTERN 3: "Early Commitment"
5min: ━━━━━━ (100 pts, already broken up)
15min: ━━━━━ (80 pts, holding)
30min: ━━━━━ (110 pts, about to break)
→ 5min led the way, 30min confirmation coming
```
### **Bearish Alignment Patterns**
```
PATTERN 1: "Waterfall Setup"
5min: ━━━━ (50 pts, broke down)
15min: ━━━━━ (70 pts, broke down)
30min: ━━━━━━ (90 pts, about to break)
→ Sequential breakdown, strong bearish momentum
PATTERN 2: "Failed Highs"
5min: ━━━━━━ (upper wick rejections)
15min: ━━━━━━ (couldn't break)
30min: ━━━━━━━ (topped out)
→ All 3 rejecting highs, bearish reversal likely
```
### **Neutral/Chop Patterns (AVOID TRADING)**
```
PATTERN 1: "Wide Divergence"
5min: ━━ (30 pts)
15min: ━━━━━━━ (120 pts)
30min: ━━━━━━━━━━━ (200 pts)
→ No consensus, unpredictable, skip
PATTERN 2: "Whipsaw City"
• Price breaking 5min up, then down, then up again
• 15min and 30min not aligned
• VWAP getting crossed every 5 minutes
→ Chop day, step aside, wait for clarity
```
---
## 📊 INTEGRATION WITH YM ULTIMATE SNIPER v8.1
**The 2-System Confluence Method:**
```
┌─────────────────────────────────────────────────────────────┐
│ STEP 1: SNIPER ORB → Defines "Zones That Matter" │
│ • 30min ORB = primary institutional range │
│ • VWAP = fair value anchor │
│ • Targets = profit zones │
│ • 5min/15min = early warning signals │
└─────────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────────┐
│ STEP 2: YM ULTIMATE SNIPER → Triggers precise entry │
│ • Wait for GOD MODE signal AT 30min ORB boundary │
│ • 6-gate filter: Score ≥9, fat body ≥70%, delta ≥70% │
│ • Candle Dominance Index (CDI) ≥7 │
│ • Intrabar pressure consistent throughout formation │
└─────────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────────┐
│ STEP 3: EXECUTE TRADE │
│ • ORB breakout + GOD MODE = MAXIMUM PROBABILITY │
│ • Enter ONLY when BOTH systems align │
│ • This is TRUE "sniper" trading (2-5 trades/day max) │
└─────────────────────────────────────────────────────────────┘
```
**Confluence Scoring for Combined System:**
```
SNIPER ORB Criteria:
□ 30min ORB complete (10:00 AM+) +2 points
□ All 3 ORBs broken in same direction +2 points
□ VWAP alignment (below=bull, above=bear) +1 point
□ Volume spike on breakout candle +1 point
□ Tight 3-ORB compression (<100pt divergence) +1 point
YM ULTIMATE SNIPER Criteria:
□ GOD MODE signal at ORB boundary +3 points
□ Score ≥9.0 (tier classification) +1 point
□ Candle Dominance Index (CDI) ≥8 +1 point
TOTAL POSSIBLE: 12 points
TRADE EXECUTION RULES:
• 10-12 points = MAX SIZE (this is the holy grail setup)
• 8-9 points = FULL SIZE (high probability)
• 6-7 points = HALF SIZE (moderate probability)
• <6 points = NO TRADE (wait for better alignment)
```
---
## 💡 COMMON MISTAKES & FIXES
```
❌ MISTAKE: Trading before 30min ORB completes
✅ FIX: Wait until 10:00 AM (NY) or 3:30 AM (London), NO EXCEPTIONS
❌ MISTAKE: Ignoring 5min and 15min ORBs (only watching 30min)
✅ FIX: Use all 3 for confluence - they're your early warning system
❌ MISTAKE: Chasing breakouts 100+ points beyond 30min ORB
✅ FIX: Wait for pullback to VWAP or 30min boundary for re-entry
❌ MISTAKE: Not adjusting target % for market conditions
✅ FIX: Volatile day (ORB >200pts)? Use 75-100% targets
Calm day (ORB <80pts)? Use 30-40% targets
❌ MISTAKE: Trading when all 3 ORBs are wildly different sizes
✅ FIX: Skip the day if 5m/15m/30m diverge by >100pts - no consensus
❌ MISTAKE: Forgetting VWAP position
✅ FIX: VWAP MUST confirm bias:
• Long: price > VWAP
• Short: price < VWAP
• If VWAP contradicts, skip the trade
❌ MISTAKE: Not respecting the 3-strike rule
✅ FIX: 3 losses = DONE for the session, no rationalization
❌ MISTAKE: Trading during lunch (12:00-1:00 PM ET)
✅ FIX: Volume dies, ORBs lose relevance, false signals increase
```
---
## 🔔 ALERT SETUP (ESSENTIAL)
**TradingView Alerts You MUST Set:**
```
ALERT 1: "30min ORB Complete"
• Type: Time-based
• Trigger: 10:00 AM ET (NY) or 3:30 AM ET (London)
• Message: "🎯 30min ORB complete - targets now active"
ALERT 2: "30min ORB High Breakout"
• Type: Crossing Up
• Value 1: Close
• Value 2: 30min ORB High (purple line)
• Message: "🚀 30m ORB HIGH broken - check for long setup"
ALERT 3: "30min ORB Low Breakdown"
• Type: Crossing Down
• Value 1: Close
• Value 2: 30min ORB Low (purple line)
• Message: "📉 30m ORB LOW broken - check for short setup"
ALERT 4: "VWAP Cross"
• Type: Crossing
• Value 1: Close
• Value 2: VWAP
• Message: "⚡ VWAP crossed - check institutional bias shift"
ALERT 5: "Target 1 Hit"
• Type: Crossing
• Value 1: High (for longs) or Low (for shorts)
• Value 2: First target line
• Message: "🎯 Target 1 hit - take 50% off, move stop to BE"
```
---
## 📱 MOBILE TRADING WORKFLOW
**TradingView Mobile App Setup:**
```
1. SAVE LAYOUT
• Chart: 5-minute timeframe
• SNIPER ORB indicator loaded
• YM Ultimate SNIPER v8.1 loaded (if using)
• Save as "SNIPER ORB - YM"
2. ENABLE NOTIFICATIONS
• Settings → Notifications → Push Alerts: ON
• All 5 alerts above configured
3. QUICK ACCESS
• Add YM futures to Watchlist: "MYM" or "YM1!"
• Pin SNIPER ORB layout to favorites
4. EXECUTION READY
• Broker app (TastyTrade, NinjaTrader, etc.) logged in
• Preset bracket orders:
- Entry: market order
- Stop: 30m ORB opposite boundary
- Targets: 3 levels (50%, 30%, 20% of position)
5. BATTERY & CONNECTIVITY
• Phone charged 100% before session
• Stable WiFi or LTE connection
• Backup power bank available
```
---
## 🎓 DAILY PERFORMANCE JOURNAL
**After Each Trading Session (MANDATORY):**
```
═══════════════════════════════════════════════════════════════
DATE: __________ SESSION: □ London □ New York
═══════════════════════════════════════════════════════════════
ORB DATA:
• 5min ORB Range: ______ points
• 15min ORB Range: ______ points
• 30min ORB Range: ______ points
• Alignment: □ Tight □ Moderate □ Wide (skip if wide)
VWAP BEHAVIOR:
• Opening position: □ Above price □ Below price □ Mixed
• Did VWAP act as support/resistance? □ Yes □ No
TRADES TAKEN:
Total Setups Identified: _____
Trades Executed: _____
Win/Loss Record: _____ W / _____ L
Win Rate: _____%
Gross P&L: $_______
Net P&L (after commissions): $_______
BEST TRADE:
• Setup: ____________________ (which of the 5 setups?)
• Entry Price: ______ Exit Price: ______
• Profit: $_______
• What went RIGHT: _________________________________
_________________________________________________
WORST TRADE:
• Setup: ____________________
• Entry Price: ______ Exit Price: ______
• Loss: $_______
• What went WRONG: _________________________________
_________________________________________________
• Lesson Learned: ___________________________________
3-STRIKE RULE STATUS:
□ No losses (great day)
□ 1 loss (still in game)
□ 2 losses (caution, half size)
□ 3 losses (stopped for day, as required)
TOMORROW'S ADJUSTMENTS:
□ _________________________________________________
□ _________________________________________________
□ _________________________________________________
EMOTIONAL STATE TODAY:
□ Calm & focused (optimal)
□ Anxious/rushed (need to work on patience)
□ Overconfident (dial back position size)
□ Fearful (review winning trades to build confidence)
═══════════════════════════════════════════════════════════════
```
---
## 🚀 YOUR FIRST LIVE TRADE WALKTHROUGH
**Step-by-Step for New York Session (Most Common):**
```
⏰ 9:15 AM ET - PREPARATION
□ Load SNIPER ORB on YM 5-minute chart
□ Select "New York" session in indicator settings
□ Verify VWAP is showing (gold line)
□ Check economic calendar (any big news at 9:30?)
□ Prepare mentally: "I will wait for 30min ORB to complete"
⏰ 9:30 AM ET - SESSION OPENS
□ Watch 3 ORBs begin forming:
• Blue lines (5min) will lock in at 9:35 AM
• Cyan lines (15min) will lock in at 9:45 AM
• Purple lines (30min) will lock in at 10:00 AM
□ Observe VWAP anchoring at 9:30 AM candle
□ DO NOT TRADE YET - just observe
⏰ 9:35 AM - 5MIN ORB COMPLETE
□ Note 5min high/low (blue lines locked)
□ Check info table: "5m Range = XX points"
□ If 5min ORB breaks early, note direction but DON'T ENTER
⏰ 9:45 AM - 15MIN ORB COMPLETE
□ Note 15min high/low (cyan lines locked)
□ Compare to 5min ORB: Aligned? Expanding?
□ Still waiting... patience pays
⏰ 10:00 AM - 30MIN ORB COMPLETE (TARGETS APPEAR!)
□ Purple lines locked (30m high/low)
□ Green/red dashed target lines appear automatically
□ Info table shows "Status: ✓ Complete"
□ NOW you can trade breakouts
⏰ 10:00 AM - 11:30 AM - TRADING WINDOW
□ Wait for price to break purple line (30m ORB high or low)
□ Confirm:
1. All 3 ORBs broken in same direction?
2. VWAP confirming (below=bullish, above=bearish)?
3. Volume spike visible?
4. YM SNIPER GOD MODE signal? (if using)
□ If all YES → ENTER TRADE:
• Market order at breakout close
• Stop at 30m ORB opposite boundary
• Targets at green/red dashed lines
⏰ TARGET MANAGEMENT
□ Price hits first target (1x) → Take 50% off, move stop to BE
□ Price hits second target (2x) → Take 30% off, trail stop
□ Price hits third target (3x) → Take 15% off, let 5% run
⏰ 12:00 PM - LUNCH (AVOID TRADING)
□ Volume dies down
□ ORBs become less relevant
□ Take a break, review morning trades
⏰ 1:00 PM - 3:00 PM - AFTERNOON SESSION
□ ORBs still valid but less reliable
□ Consider waiting for Power Hour (3:00-4:00 PM)
⏰ 5:00 PM - SESSION END
□ All ORB lines disappear automatically
□ VWAP disappears automatically
□ Chart cleans itself - ready for tomorrow
□ Fill out daily journal
```
---
## 🏆 WINNING MINDSET AFFIRMATIONS
Read these BEFORE each trading session:
```
"I trade ORBs, not chaos. Structure gives me edge."
"3 high-quality trades beat 20 mediocre ones."
"The 30min ORB is my anchor. I wait for it. Every. Single. Time."
"When all 3 ORBs align, institutions are unified. I follow."
"VWAP is my institutional compass. I respect its guidance."
"3 strikes and I'm out. Discipline > Ego."
"I am a SNIPER, not a machine gunner. Precision wins."
"My edge is patience. Let the ORBs complete."
"I don't predict. I react to proven structure."
"One perfect setup is worth waiting all morning."
```
---
## 📞 TROUBLESHOOTING
**"ORB lines not showing on chart!"**
→ Check timeframe: Must be 1min-30min (not daily/weekly)
→ Verify session time: Must be during London (3AM-9:30AM) or NY (9:30AM-5PM)
→ Check indicator status: Should say "⏳ Forming" or "✓ Complete" in table
**"Targets not appearing!"**
→ 30min ORB must be complete (10:00 AM NY / 3:30 AM London)
→ Check "Number of Targets" setting (must be ≥1)
→ Verify "Target % of 30min Range" is set (default 50%)
**"VWAP disappeared!"**
→ Normal behavior: VWAP auto-deletes at session end (5PM NY / 9:30AM London)
→ Toggle "Show Anchored VWAP" OFF then ON to reset
→ Check if you're viewing chart outside session hours
**"All 3 ORBs look the same!"**
→ This is actually GOOD - means tight alignment (high-probability setup)
→ If they're diverging wildly (>100pts difference), that's a skip signal
**"Info table blocking my view!"**
→ Info table is in top-right corner by default
→ Drag it to a different position (TradingView allows moving)
→ Or minimize it by clicking the small arrow
**"Colors are hard to see on my chart!"**
→ Go to indicator settings:
• "5min ORB", "15min ORB", "30min ORB" color pickers
• "Upside Targets", "Downside Targets" color pickers
• Recommended: Use contrasting colors vs your chart background
---
## 📚 ADVANCED INTEGRATION TECHNIQUES
### **Combining with Market Profile**
```
• Use Volume Profile to identify Value Area High (VAH) and Low (VAL)
• If 30min ORB aligns with VAH/VAL → extra confluence
• POC (Point of Control) acts similar to VWAP
```
### **Combining with Cumulative Delta**
```
• Check if delta is positive on 30min ORB high break (bullish confirmation)
• Negative delta on low break confirms bearish institutional flow
• Your YM SNIPER already tracks this - use together!
```
### **Combining with Options Flow**
```
• Large call buying near 30min ORB high? Institutions positioning for breakout
• Large put buying near 30min ORB low? Smart money hedging/shorting
• Tools: Unusual Whales, Cheddar Flow, OptionStrat
```
---
## 🎯 FINAL PRE-LIVE CHECKLIST
**DO NOT GO LIVE UNTIL ALL CHECKED:**
```
□ Practiced on TradingView Replay for 2+ weeks
□ Can identify all 5 setups by pattern recognition
□ Understand why targets come from 30min ORB only
□ Know difference between 5min/15min/30min roles
□ Risk management rules memorized (position sizing, 3-strike)
□ YM Ultimate SNIPER v8.1 loaded (optional but recommended)
□ All 5 TradingView alerts configured
□ Broker platform tested with demo account
□ Stop/target orders can be placed in <10 seconds
□ Daily journal template prepared
□ Emotional state: calm, patient, focused
□ Account size: Minimum $10,000 recommended
□ Understand auto-disappear behavior (ORBs delete at session end)
□ Know NOT to trade before 30min ORB complete
□ Comfortable with looking at chart and seeing 6+ lines (3 ORBs + targets)
IF ALL CHECKED → YOU'RE READY TO SNIPE! 🎯
IF ANY UNCHECKED → KEEP PRACTICING, DON'T RUSH
```
---
## 💎 THE CORE PRINCIPLE
```
╔═══════════════════════════════════════════════════════════╗
║ ║
║ "The ORB doesn't predict the market. ║
║ The ORB reveals where institutions are positioned. ║
║ ║
║ When you see all 3 ORBs align and break, ║
║ you're not guessing direction— ║
║ you're following the billion-dollar order flow." ║
║ ║
║ THAT'S YOUR EDGE. ║
║ ║
╚═══════════════════════════════════════════════════════════╝
```
**🎯 Good luck, stay patient, and happy sniping! 🎯**
═══════════════════════════════════════════════════════════════════
END OF SNIPER ORB TRADING CHEAT SHEET v1.0
═══════════════════════════════════════════════════════════════════
EMA & SMA StackA clean, lightweight trend-structure tool that overlays six moving averages on price so you can instantly see direction, momentum, and trend health.
Includes
3 Exponential Moving Averages with adjustable lengths
3 Simple Moving Averages with adjustable lengths
Thin, color-coded lines for fast visual clarity
Default layout: 8 EMA (red), 21 EMA (orange), 34 EMA (yellow), 50 SMA (green), 100 SMA (blue), 200 SMA (purple)
How to use
When faster EMAs are above slower EMAs and price is above all lines, trend strength is bullish.
When faster EMAs fall below slower SMAs and price is under all lines, trend strength is bearish.
Tight stacking = compression and potential breakout zones.
Wide separation = strong trend or exhaustion risk.
Why it helps
This removes guesswork. You get immediate confirmation of trend direction, support and resistance, and momentum shift on any timeframe.
Minimal clutter. Maximum signal.
Advanced Breakout System v2.0Advanced Breakout System v2.0
Developed by: Mohammed Bedaiwi
This script hunts for high-probability breakouts by combining price consolidation zones, volume spikes vs. average volume, smart money flow (OBV), and a Momentum Override for explosive moves that skip consolidation. Additionally, it automatically identifies and plots Support and Resistance levels with price labels to help you visualize market structure.
The system follows a "Watch & Confirm" logic: it first prints a WATCH setup, then a BUY only if price confirms strength.
💡 JUSTIFICATION OF CONCEPTS (MASHUP & ORIGINALITY)
This script is an original mashup combining several analytical concepts to address common breakout failures:
Volatility Compression Engine: Uses built-in functions like ta.highest() and ta.lowest() to mathematically define the setup phase where price volatility is compressed below a user-defined threshold.
Volume Spike Confirmation: The breakout must be confirmed by a volume increase greater than a moving average of volume, signaling strong market interest.
Smart Volume Filter (OBV): This is the key component. By checking if ta.obv is above its own Moving Average, we confirm that accumulation has been occurring during the consolidation period, suggesting institutional positioning before the price break.
Multi-Exit Risk System: Employs dynamic exits (EMA cross, volume dump, bearish pattern) instead of static stop-losses to manage risk adaptively based on real-time market action.
Market Structure Visualization: The script also includes a Support & Resistance engine to plot key swing pivots and price labels for visual context.
✅ STRATEGY RESULTS & POLICY COMPLIANCE
To ensure non-misleading and transparent backtesting results, this strategy is published with the following fully compliant properties:
Dataset Compliance: The backtest is performed on the CMTL Daily (1D) chart across a long history, generating 201 total trades. This significantly exceeds the minimum requirement of 100 trades, providing a robust test dataset.
Risk Control: The strategy uses a conservative order size set to 2% of equity (default_qty_value=2), strictly adhering to the sustainable risk recommendation of 5-10% of equity per trade.
Transaction Costs: Realistic trading conditions are modeled using 0.07% commission and 3 ticks slippage to prevent the overestimation of profitability.
⚙️ VISUAL GUIDE & SIGNAL LOGIC
Key Color Legend (Visual Guide):
WATCH – Setup (Yellow Arrow Down): Potential breakout setup detected.
BUY – Confirmation (Green Arrow Up): Confirmed breakout, triggered when price trades above the high of the WATCH candle.
SELL – Break (Orange Arrow): Short-term trend weakness, triggered when price closes below the Fast EMA (9).
SELL – Dump (Dark Red Arrow): Distribution / volume dump, triggered by a bearish candle with abnormally high volume.
SELL – Pattern (Purple Arrow): Bearish price-action pattern (such as a bearish engulfing).
Support & Resistance Lines (Red/Green): Small horizontal lines plotted at key swing points with exact price labels.
⌨️ INPUTS (DEFAULT SETTINGS)
Entry settings: Consolidation Lookback (default 20) = bars used to detect consolidation. Consolidation Range % (default 12%) = max allowed range size. Volume Spike Multiplier (default 1.2) = factor above average volume to count as a spike. Force Signal on Big Moves (default ON) = forces a WATCH signal on high-momentum moves.
Exit settings: Enable Fast Exit (EMA 9) toggles the SELL – Break signal. Dump Volume Multiplier defines what counts as “dump” volume.
Support & Resistance: Adjustable Pivot Left/Right bars control the sensitivity of the support and resistance lines.
⚠️ Disclaimer Trading involves significant risk of loss. This script is for educational and informational purposes only and is not financial advice or a recommendation to buy or sell any asset. BUY and SELL signals are rule-based and derived from historical behavior and do not guarantee future performance. Always use your own analysis and risk management. This is an open-source strategy; users are encouraged to test it across different symbols and timeframes.
Volume Orderblock Breakout — Naaganeunja Lite v3.6Upgrade for stable signals when candle is finished it stay forever, no signal same side
you can not be confused about signal so we can play with trading
FUCKING fantastic trading
MACD Momentum Pro MACD Momentum Pro is an enhanced version of the classic MACD designed to help traders identify momentum strength with far greater clarity.
In addition to the traditional MACD line, Signal line, and histogram, this tool introduces two new momentum-intensity alerts:
• Strong Green – bullish momentum accelerating above the zero line
• Strong Red – bearish momentum accelerating below the zero line
These conditions allow traders to quickly spot when market pressure is truly strengthening, reducing noise and improving decision-making in trending environments.
The indicator also includes real-time alerts for:
• MACD/Signal crosses (bullish & bearish)
• MACD zero-line crosses
• Shifts between rising/falling histogram states
All moving averages (EMA or SMA) are fully customizable, and the visual histogram automatically adapts color to reflect momentum transitions.
Whether you are trading breakouts, trend reversals, or momentum continuation setups, this upgraded MACD version provides a clearer, more actionable view of market strength—while keeping the original MACD logic intact.
Adaptive Volatility Stop by Pedro Paulo de MeloStop ATR is a clean and reliable volatility-based trailing stop system, built to adapt dynamically to market conditions using the Average True Range (ATR).
It identifies trend direction, adjusts the stop level using stair-step logic, and automatically flips the stop when price reversals occur.
How it works
Uses ATR × Multiplier to calculate an adaptive volatility buffer
Tracks trend direction internally
Recomputes and repositions the stop when a trend flip is detected
Plots separate lines for bullish and bearish stop states
Works on any market and timeframe (crypto, forex, commodities, indices, stocks)
Why it’s useful
This Stop ATR implementation is extremely stable and visually clean.
It is particularly effective for:
Trend following
Position management
Swing and position trading
Systematic stop placement
Unlike many ATR-based stop versions, this script uses a corrected flip-handling method that prevents stop misalignment and ensures consistent trend state tracking.
Inputs
Period — ATR length
Multiplier — ATR factor that defines stop distance
Author
Developed by Pedro Paulo de Melo, open-source version.
Volume Orderblock Breakout — Naaganeunja Lite v3.6Upgrade for stable signals when candle is finished it stay forever
you can not be confused about signal so we can play with trading
FUCKING fantastic trading
UNDETECTED FX - Psychologic LevelsThis indicator automatically plots major 250-pip psychological levels on XAUUSD and highlights the price zones around them. These levels act as strong reaction points where liquidity, reversals, and institutional activity commonly occur.
What the Indicator Does
✔ Plots every 250-pip level starting from a user-defined base (e.g., 4050 → 4075 → 4100 → 4125 → …)
✔ Each level is represented by a thick black horizontal line for maximum visual clarity
✔ Around every 250-pip level, the indicator draws a liquidity zone
Top of zone: +200 pips
Bottom of zone: –200 pips
(configured as ± zoneHalf in settings)
✔ Uses extend: both, so levels stretch across the entire chart and stay fixed, no matter how far you scroll
✔ Zones are filled with a customizable color for clear premium/discount visualization
✔ The indicator never repaints and requires no updates after drawing — all levels are fixed on their price coordinates
Why It’s Useful
🔹 Helps quickly identify institutional levels where gold often reacts
🔹 Acts as a framework for scalping, intraday trading, and swing bias
🔹 Makes it easy to spot liquidity sweeps, rejections, and premium/discount areas
🔹 Clearly shows market structure breaks around key psychological levels
🔹 Forces discipline by creating predefined, fixed levels for trading decisions
Best Use Case
XAUUSD scalpers
Intraday traders who rely on precision entries
Traders who use psychological levels, liquidity grabs, or smart-money concepts
Anyone wanting a clean, non-cluttered chart with high-impact levels only
15 min Trailstop15m High/Low Liquidity Lines (1m) — Indicator Description
15m High/Low Liquidity Lines (1m) is a precision liquidity-mapping tool designed for intraday traders who understand the importance of higher-timeframe liquidity levels while executing on the 1-minute chart.
This indicator automatically detects confirmed 15-minute swing highs and swing lows using pivot logic. When a new 15m high or low forms:
✔ Liquidity Line Generation
A horizontal line is drawn exactly at the price level of the pivot.
The line is anchored to the exact 1-minute candle that produced the 15m high/low, ensuring perfect visual alignment.
The line extends only up to the current bar — not across the whole chart.
Optional text labels (“15m High”, “15m Low”) can be shown at the start of each line.
✔ Auto-Cleanup (Smart Liquidity Sweep Detection)
If price trades through the level, the corresponding line and label are:
Instantly deleted
Marking the level as taken/swept
Allowing the chart to stay clean and focused on active liquidity only
This mimics institutional liquidity logic: once the high or low is violated, the target is considered filled and removed.
✔ Alerts
The indicator includes built-in alerts that fire when:
A new 15m high is confirmed
A new 15m low is confirmed
This allows the trader to react immediately when fresh liquidity levels appear.
✔ Customization Options
You can fully tailor the visual representation:
Turn highs and/or lows on or off
Choose line style (solid, dashed, dotted)
Customize line color and thickness
Customize the label style, size, and transparency
Who Is This For?
This indicator is ideal for:
ICT-style traders
Liquidity-based scalpers
1-minute ES/NQ traders
Anyone who uses HTF liquidity levels to frame trades on the LTF
It provides a clean, automated method to track active 15-minute liquidity levels directly on the 1-minute chart with zero clutter and perfect alignment.
Volume Orderblock Breakout — Naaganeunja Lite v3.6 Upgrade for stable signals when candle is finished it stay forever, no signal same side
you can not be confused about signal so we can play with trading
FUCKING fantastic trading
MODIFY AGAIN we can earn the fuckin money
Continuation Model by XausThis report summarizes the historical performance of the Institutional Daily Bias Probability Model on
EURUSD daily data for the 2025 calendar year. The model combines three components: 1.
Continuation bias around the previous day's high/low (PDH/PDL). 2. Reversal bias based on failed
continuation, failed breakouts, and exhaustion. 3. Neutral bias to identify liquidity-building days when no
directional trades should be taken. A fixed 25-pip stop loss (0.0025) is assumed for R-multiple
calculations. Trades are only taken when Neutral score < 50 and either Continuation or Reversal score
is at least 70, with Neutral overriding, then Reversal, then Continuation.
Advanced Confluence DashboardAdvanced Confluence Dashboard - Multi-Indicator Technical Analysis Tool
OVERVIEW
The Advanced Confluence Dashboard is a comprehensive technical analysis tool designed to help traders identify high-probability trade setups by tracking multiple technical indicators simultaneously. The indicator displays up to 13 different technical confluences in an easy-to-read dashboard format, providing both individual signals and an overall market bias percentage. Switch between full table view and condensed view for maximum chart flexibility.
FEATURES
- 13 Technical Confluences: RSI, VWAP, EMA Cross (9/21), MACD, Stochastic, Trend (50 EMA), Bollinger Bands, ADX Strength, Price Momentum, Volume Breakout, VWAP Bands, 200 EMA, and Price Action (Higher Highs/Lower Lows)
- Real-time Confluence Scoring: Automatically calculates bullish vs bearish signal strength
- Multi-Timeframe Support: Analyze indicators on any timeframe while viewing your chart on another
- Customizable Display: Toggle individual indicators on/off, adjust table position, size, and transparency
- ATR Information: Optional ATR display for volatility-based position sizing
- Condensed View Mode: Ultra-minimal display showing only confluence score and ATR (perfect for scalpers who want maximum chart visibility)
- Full Table View: Detailed breakdown of each indicator's value and signal
- Color-Coded Signals: Green (bullish), red (bearish), white (neutral) for instant visual clarity
HOW IT WORKS
The indicator evaluates each enabled technical indicator and assigns it either a bullish or bearish signal based on its current state. The confluence score shows how many indicators are aligned in each direction, giving you a clear percentage-based view of market bias. For example, if 8 out of 13 indicators are bullish, you'll see a 62% LONG BIAS signal.
DISPLAY MODES
Full View: Shows all enabled indicators with their current values and signals in a detailed table format. Perfect for understanding exactly which indicators are bullish or bearish and why.
Condensed View: Shows only the confluence score (e.g., "4/13 LONG | 9/13 SHORT - SHORT BIAS 69%") and optional ATR information. This minimal display keeps your chart clean while still providing the essential confluence data you need for quick trading decisions. Ideal for scalpers and traders who want maximum chart space.
CONFLUENCES EXPLAINED
- RSI: Momentum oscillator (>50 bullish, <50 bearish, shows overbought/oversold)
- VWAP: Volume-weighted average price (above = bullish, below = bearish)
- EMA Cross: Fast EMA (9) vs Slow EMA (21) with price position
- MACD: Trend-following momentum (line above signal = bullish)
- Stochastic: Momentum oscillator (>50 bullish, <50 bearish)
- Trend (50 EMA): Price position relative to 50-period EMA
- Bollinger Bands: Volatility and mean reversion (above middle = bullish)
- ADX Strength: Trend strength indicator (shows strong trends)
- Price Momentum: Rate of price change over specified period
- Volume Breakout: Detects unusual volume with directional bias
- VWAP Bands: Standard deviation bands around VWAP
- 200 EMA: Long-term trend indicator
- Price Action: Higher Highs and Lower Lows pattern detection
SETTINGS
Timeframe Settings:
- Indicator Timeframe: Analyze indicators on a different timeframe than your chart
Display Options:
- Condensed View: Toggle between full table and minimal display
- Show ATR Info: Display/hide ATR information
- Table Position: 9 positions (top/middle/bottom + left/center/right)
- Text Size: Auto, tiny, small, normal, large, huge
- Table Transparency: 0-100%
- Border Width: 1-5 pixels
Confluence Toggles:
- Enable/disable any of the 13 confluences individually
- Confluence score automatically adjusts based on enabled indicators
Indicator Settings:
- RSI Length (default: 14)
- ATR Length (default: 14)
- Fast/Slow EMA (default: 9/21)
- Trend EMA (default: 50)
- Volume SMA Length (default: 20)
- Volume Breakout Multiplier (default: 2.0x)
- Bollinger Bands Length/StdDev (default: 20/2.0)
- ADX Length (default: 14)
- ADX Strength Threshold (default: 25)
- Momentum Length (default: 10)
IDEAL USE CASES
- Scalping: Quick identification of confluence for fast entries/exits - use condensed view for clean charts
- Day Trading: Multi-timeframe analysis for intraday setups
- Swing Trading: Confirmation of longer-term bias
- Risk Management: Higher confluence = higher probability trades
- Trade Filtering: Only take trades when confluence reaches your threshold
- Multi-Monitor Setups: Use condensed view on execution charts, full view on analysis charts
HOW TO USE
1. Add the indicator to your chart
2. Toggle on/off the confluences you prefer to use
3. Choose between Full View (detailed) or Condensed View (minimal)
4. Adjust the table position and size to your preference
5. Look for high confluence percentages (70%+ is strong bias)
6. Use the individual indicator signals (full view) to understand market structure
7. Combine with your trading strategy for entry/exit confirmation
TIPS
- Use Condensed View when scalping to keep your chart clean and uncluttered
- Switch to Full View when you need to analyze which specific indicators are conflicting
- Higher confluence doesn't guarantee success - always use proper risk management
- Consider using 60%+ confluence as a minimum threshold for trades
- Pay attention to which specific indicators are aligned vs conflicting
- Use the ATR display for quick reference on position sizing
- Experiment with different timeframes to find what works for your style
- Disable indicators you don't use to simplify your confluence scoring
DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice, investment advice, trading advice, or any other type of advice. Trading and investing in financial markets involves substantial risk of loss and is not suitable for every investor. Past performance is not indicative of future results. Always do your own research and consult with a qualified financial advisor before making any investment decisions.
CRR HUT NEON TARGET You look for this combo:
Trend up
White EMA 20 above red EMA 200.
Price above EMA 20 and EMA 30.
HUD BUY status
Row says:
“COMPRA MICRO 10-20p” (aggressive scalp) or
“COMPRA SCALPING” or
“COMPRA NORMAL”
Green / teal text and green “●” on the left.
Micro engine conditions
Multi-TF bullish (1m–5m–15m–30m agree, multiTfBull = true).
RSI > 50 and MACD bullish on 1m.
ATR filter OK (sufAtrBuy = true) → volatility is not dead.
If aggressive mode ON: it accepts big bullish candle (pump) + at least not bearish on 15m.
Fibo Long Zone (extra confluence, not mandatory)
Last big up move detected.
Green 0–25% band (long zone).
Best: price pulls back into that 0–25% long zone and HUD gives BUY (green bar / triangle).
Execution (Block A – Fibo Targets)
When longSignal triggers, script draws:
ENTRY LONG line at entryPrice.
SL below low – ATR * SLmult.
TP1 / TP2 / TP3 = +1R / +2R / +3R.
Stop moves to break-even and then trails as TP1/TP2/TP3 are hit.
👉 Summary BUY sentence:
Buy when trend is UP, HUD shows green BUY (COMPRA MICRO/SCALPING/NORMAL), volatility is enough, and (ideally) price is in the green 0–25% pullback zone of the last strong up move.
3. WHEN TO SELL (SHORT)
Mirror logic:
Trend down
White EMA 20 below red EMA 200.
Price below EMA 20 and EMA 30.
HUD SELL status
Row says:
“VENTA MICRO 10-20p” (aggressive scalp) or
“VENTA SCALPING” or
“VENTA NORMAL”
Red / orange text and red “●” on the right.
Micro engine conditions
Multi-TF bearish (1m–5m–15m–30m agree, multiTfBear = true).
RSI < 50 and MACD bearish on 1m.
ATR filter OK (sufAtrSell = true).
If aggressive mode ON: it accepts big bearish candle (drop) + at least not bullish on 15m.
Fibo Short Zone (extra confluence)
Last big down move detected.
Red 0–25% band (short zone).
Best: price pulls back into that 0–25% short zone and HUD gives SELL.
Execution (Block A – Fibo Targets)
When shortSignal triggers, script draws:
ENTRY SHORT line at entryPrice.
SL above high + ATR * SLmult.
TP1 / TP2 / TP3 = –1R / –2R / –3R.
Stop moves to break-even and then trails as TP1/TP2/TP3 are hit.
👉 Summary SELL sentence:
Sell when trend is DOWN, HUD shows red SELL (VENTA MICRO/SCALPING/NORMAL), volatility is enough, and (ideally) price is in the red 0–25% pullback zone of the last strong down move.
4. EXTRA FILTERS / CONFIRMATIONS
Use these only as extra confluence, not as the main trigger:
SMC (BOS + Liquidity) filter
Optional: useSMCfilter = true.
Longs: recent BOS UP + liquidity sweep low (SWEEP LOW).
Shorts: recent BOS DOWN + liquidity sweep high (SWEEP HIGH).
Trendline Breakouts (ChartPrime block)
Long: green “Target” label above price + breakout arrow below bar → extra confirmation to follow an up breakout.
Short: red “Target” label below price + breakout arrow above bar.
Angle Market Structure (BigBeluga)
Green counts 1–2–3 above highs → bullish strength zones.
Pink counts 1–2–3 below lows → bearish strength zones.
Buy closer to +1/+2 after demand; sell closer to –1/–2 after supply.
Target Trend (TT)
TT candles green → bullish bias, TT Up triangles below price.
TT candles brown → bearish bias, TT Down triangles above price.
Best: BUY when HUD BUY + TT is green/up; SELL when HUD SELL + TT is brown/down.
5. WHEN TO STAY OUT
Don’t trade when:
HUD shows “NEUTRO (NO COMPRA)” and “NEUTRO (NO VENTA)”.
ATR filters fail (low volatility) → sufAtrBuy or sufAtrSell false.
Multi-TF is mixed (no clear bull or bear alignment).
Price is far from Fibo zones and far from EMAs (chasing extended move).






















