Multi-Contraction VCP DetectorThis indicator highlights low volume and contracted price movement prior to possible breakouts.
波动率
Microstructure Participation & Acceptance Indicator📊 Microstructure Participation & Acceptance Indicator
An advanced participation-based filter combining VWAP distance analysis, volume delta detection, and real-time acceptance/rejection state identification—designed for smaller timeframe trading.
📊 FEATURES
VWAP Distance Normalization
Context-aware fair value measurement:
Automatically resets based on selected anchor (Session/Week/Month)
ATR-normalized distance calculation for universal application
Identifies when price is extended or compressed relative to equilibrium
Configurable extreme distance threshold (default: 1.5 ATR)
Adjustable source input (default: HLC3)
Volume Delta Proxy
Bull vs Bear participation tracking:
Calculates volume imbalance between bullish and bearish candles
EMA smoothing for cleaner signal generation (default: 9 periods)
Delta ratio measurement to identify dominant side
Expansion/compression detection to gauge momentum commitment
Configurable expansion threshold (default: 1.3x)
Acceptance/Rejection State Machine
Real-time market regime identification with six distinct states:
🟢 Accepted Long
Price moving away from VWAP with expanding bullish delta
Distance from VWAP increasing
Volume confirming the move
Indicates real buying pressure—trade WITH the move
🟢 Accepted Short
Price moving away from VWAP with expanding bearish delta
Distance from VWAP increasing
Volume confirming the move
Indicates real selling pressure—trade WITH the move
🟠 Fade Long
Price extended beyond threshold (>1.5 ATR above VWAP)
Delta not supporting the extension
Volume participation absent or diminishing
Potential mean-reversion short setup
🟠 Fade Short
Price extended beyond threshold (>1.5 ATR below VWAP)
Delta not supporting the extension
Volume participation absent or diminishing
Potential mean-reversion long setup
⚪ Chop
Price compressed near VWAP
Bollinger Bands tight (width compressed)
Delta neutral—no clear commitment
NO TRADE ZONE—wait for expansion
⚪ Neutral
Transitional state between regimes
Momentum shifting but not yet confirmed
Monitor for next acceptance signal
Bollinger Bands
Standard volatility measurement with TradingView default styling:
Adjustable period length (default: 20)
Configurable standard deviation multiplier (default: 2.0)
Visual fill between bands for volatility context
Used internally for chop/compression detection
Live Dashboard
Real-time metrics display (top-right corner):
Current market state with color coding
VWAP distance in ATR units
Delta ratio (bull/bear volume balance)
Delta state (Expanding/Compressing)
High-contrast design for instant readability
🎯 HOW TO USE
For Trend Trading:
Accepted Long/Short backgrounds indicate confirmed participation—stay with the trend
Strong moves typically travel 1-1.5 ATR from VWAP with delta support
Use VWAP as dynamic support/resistance
Combine with momentum indicators (MACD, RSI) for confluence
Price above VWAP + Accepted Long state = bullish bias
Price below VWAP + Accepted Short state = bearish bias
For Mean Reversion:
Fade Long/Short states signal overextension without participation
Price beyond 1.5 ATR from VWAP with weak delta = potential reversal
Look for price return to VWAP when extended
Bollinger Band extremes + Fade state = high-probability mean reversion setup
VWAP acts as mean reversion anchor during range-bound sessions
For Risk Management:
Chop state = avoid new entries
Bollinger Band compression + Chop = pre-expansion zone (wait for breakout)
Delta compression after strong move = early exhaustion warning
State transitions (Accepted → Neutral → Fade) = tighten stops
Signal Confirmation:
Strongest setups occur when multiple factors align:
BB breakout + Accepted state + price above/below VWAP
Price rejection at BB bands + Fade state
VWAP support/resistance hold + state transition
Delta expansion + distance increasing + trend direction
⚙️ SETTINGS
All components are fully customizable through organized input groups:
VWAP Distance Group:
VWAP source (default: HLC3)
Anchor period (Session/Week/Month)
ATR length for normalization (default: 14)
Extreme distance threshold in ATR multiples (default: 1.5)
Volume Delta Group:
Delta EMA length (default: 9)
Delta expansion threshold (default: 1.3)
Acceptance Logic Group:
Acceptance lookback period (default: 5)
Chop threshold in VWAP/ATR units (default: 0.3)
Bollinger Bands Group:
BB length (default: 20)
Standard deviation multiplier (default: 2.0)
Display Group:
Toggle state backgrounds
Toggle state change labels
Toggle VWAP line
Toggle Bollinger Bands
💡 EDUCATIONAL VALUE
This indicator teaches important concepts:
How institutional money identifies fair value (VWAP)
The difference between price movement and market acceptance
Why volume participation matters more than price action alone
How to distinguish between noise and committed directional moves
The relationship between volatility compression and expansion cycles
Why distance from equilibrium predicts mean reversion probability
⚠️ IMPORTANT NOTES
This indicator is for educational and informational purposes only
This is a filter, not a standalone trading system
No indicator is perfect—always use proper risk management
Past performance does not guarantee future results
Combine with your own analysis and risk tolerance
Test thoroughly on historical data before live trading
This is not financial advice—use at your own risk
🔧 TECHNICAL DETAILS
Pine Script Version 6
Overlay indicator (displays on price chart)
All calculations use standard, well-documented formulas
No repainting—all signals are confirmed on bar close
Compatible with all timeframes and instruments
Optimized for smaller timeframes (1-5 minute charts)
Minimal computational overhead
📝 CHANGELOG
Version 1.0
Initial release
VWAP distance normalization with ATR scaling
Volume delta proxy system (bull/bear EMA)
6-state acceptance/rejection state machine
Bollinger Bands integration
Real-time dashboard with live metrics
State change labels and background coloring
Full customization options
Developed for traders who need objective participation filters to distinguish high-probability setups from low-quality noise—without cluttering their charts with multiple indicator panels.
DMI Direction TableCompact table for Directional Movement Index (DMI) built to stay readable and configurable.
What it shows
DI+ and DI– from a fixed timeframe via request.security (default 4H), independent of the chart timeframe.
Trend text: Bullish/Bearish/Sideways with strength bucket (Mild/Normal/Strong/Very Strong) derived from the absolute gap |DI+ − DI–|, not ADX.
Values printed with two decimals, no percent sign.
Key controls
Fixed Timeframe (for DMI): choose any resolution; the label auto-displays as 1m/5m/1H/4H/1D/1W/1M.
Gap thresholds: Sideways, Mild, Normal, Strong, Very Strong.
Table Position: top/middle/bottom × left/center/right.
Font Size: tiny/small/normal/large/huge.
Styling
Full manual palette for headers and value cells.
Separate background and text colors for Bullish, Bearish, and Sideways trend states.
Independent colors for DI+ and DI– cells.
Deliberate omissions
No RSI.
No ADX; strength comes solely from the DI gap.
Purpose
Quick, at-a-glance DMI state that remains consistent across timeframes while letting you tune thresholds and visuals to your chart.
Cosmic Emergence v1.3: Ontological Liquid (Hybrid)Overview
In the vast expanse of market chaos, where prices flicker like quantum particles in superposition, the Ontological Liquid emerges as a beacon of cosmic clarity. This indicator is not merely a tool—it's a philosophical lens, fusing quantum uncertainty, gravitational selection, and ontological probability into a dynamic "liquid" cloud that projects the market's existential state into the future.
Inspired by Heisenberg's uncertainty principle and general relativity, the Ontological Liquid models price as a conscious entity navigating through probabilistic fields. It reveals the market's "being" (Psi_U consciousness score) and gravitational pull (g_m vector), rendering a flowing, adaptive cloud that evolves with each bar—never breaking, always expanding into the unknown.
Key Features
Psi_U Consciousness Field: A weighted fusion of momentum (CCI), compression potential (Bollinger width inverse), and capital flow (CMF), normalized dynamically to the asset's history. Scores the market's "clarity" from Superposition (chaotic uncertainty) to Crystallized (defined trend).
Gravitational Vector (g_m): Log-damped gravity calculation incorporating mass density (volume/range), spacetime curvature (VWAP deviation), and volatility correlation. Dictates the cloud's directional drift—positive for emergent ascent, negative for entropic descent.
Liquid Projection Geometry: A seamless, unbreakable cloud using LineFill Technology. It features a dense "Core" (high probability) and an "Atmosphere" (outer bounds at Golden Ratio 1.618). The cloud expands conically into the future, with sinusoidal wave offsets tied to Psi_U—high uncertainty amplifies waves, crystallizing clarity smooths them.
Adaptive Visualization: Gradient colors shift with g_m intensity—Teal to Emerald for bullish emergence, Crimson to Maroon for bearish collapse. Past trails in subtle gray maintain ontological continuity.
Intellectual Panel: Real-time existential readout: Gravity (g_m) and Entity State (Crystallized / Fluid / Superposition), color-coded for intuitive grasp.
Philosophical Foundation
Markets are not random noise but emergent realities shaped by collective consciousness. The Ontological Liquid visualizes this as a probabilistic fluid:
Superposition (Psi_U < 30): Wide, wavy cloud. The market is in pure potential, birthing new realities. Wait.
Fluid (30-80): Adaptive flow. Uncertainty resolves, trends begin to form. Prepare.
Crystallized (80+): Narrow, directed cloud. The market's being is solidified, momentum is crystallized. Act.
This is beyond technical analysis; it's an ontological probe into the market's essence, where gravity selects possibilities from infinite chaos.
How to Trade (Ontological Strategy)
This indicator does not give simple signals; it reveals the environment.
Bullish Emergence:
Cloud Color: Shifts to Teal/Green.
State: Panel shows "Fluid" or "Crystallized".
Action: Look for Long entries when price is supported by the Core (Inner Cloud).
Bearish Collapse:
Cloud Color: Shifts to Red/Maroon.
State: Panel shows "Fluid" or "Crystallized".
Action: Look for Short entries when price is rejected by the Core.
The Void (Do Not Trade):
State: "Superposition".
Visual: The cloud is wide, wavy, and directionless.
Meaning: No ontological reality has formed yet. Trading here is gambling against chaos.
Disclaimer: This tool is for educational and analytical purposes only. It is not financial advice.
© MuratKavak | Idea Architect
Standard Deviation Vidya Moving Average | QuantLapseStandard Deviation Vidya MA by QuantLapse
Overview
The Standard Deviation Vidya MA indicator by QuantLapse is an dynamic and unique trend-following tool that leverages Variable Index Dynamic Average (VIDYA) along with a statistical measure of standard deviation to assess trend strength, direction and volatility. By utilizing adaptive smoothing and volatility adjustment this indicator provides a more responsive and robust signal framework for traders.
______
Technical Composition, Calculation, Key Components & Features
📌 VIDYA (Variable Index Dynamic Average)
An adaptive moving average that automatically adjusts its sensitivity based on prevailing market volatility.
Employs a volatility-weighted smoothing constant derived from standard deviation ratios, allowing the average to respond faster during high-momentum phases and slow down during consolidation.
Reduces lag during trend expansion while suppressing noise in low-volatility environments.
Provides clearer trend structure and regime awareness compared to fixed-length moving averages.
Serves as a dynamic baseline for volatility envelopes and trend-state classification within the system.
📌 Volatility Adjustment – Standard Deviation
The system constructs a volatility-adaptive envelope around the VIDYA baseline using standard deviation, allowing band width to expand and contract dynamically with changing market conditions.
VIDYA’s smoothing factor is adjusted by comparing short-term and longer-term standard deviation, increasing responsiveness during volatility expansion and dampening noise during compression.
Upper and lower bands are calculated by applying a configurable standard deviation multiplier to the VIDYA value, creating a proportional volatility boundary rather than a fixed offset.
Price movement beyond these bands confirms volatility-supported momentum, while price contained within the bands signals consolidation or transitional phases.
📌 Trend Signal Calculation
A bullish trend state is triggered when price closes above the upper standard deviation band, indicating sustained upward momentum with volatility confirmation.
A bearish trend state is triggered when price closes below the lower band, confirming downside momentum under expanding volatility.
Once established, the trend state persists until an opposing volatility break occurs, reducing whipsaw and improving regime stability.
Trend direction is visually reinforced through dynamic color-coding of the VIDYA line and its envelope, providing immediate directional context at a glance.
______
How It Works in Trading
✅ Trend Strength Detection – Evaluates cumulative price movement over a defined window to assess directional conviction.
✅ Noise Reduction – Applies adaptive smoothing techniques to minimize whipsaws during choppy conditions.
✅ Dynamic Thresholding – Utilizes volatility-aware bands to define customizable trend continuation and invalidation levels.
✅ Color-Coded Visualization – Enhances chart readability by clearly distinguishing bullish, bearish, and neutral states.
______
Visual Representation
Trend Signals on Moving Average and Background Color:
🟢 Green/Teal Moving Average – Strong Uptrend
🔴 Red/Pink Candles – Strong Downtrend
✅ Long & Short Labels can be turned on or off for trade signal clarity.
📊 Display of entry & exit points based on entry and exit criteria's.
📊 Display of Indicators equity and buy and hold equity to compare performance.
______
Features and User Inputs
The Standard Deviation Vidya MA framework incorporates a flexible set of user-defined inputs designed to balance adaptability, clarity, and analytical control.
VIDYA Configuration – Customize the Variable Index Dynamic Average length and price source to control trend responsiveness based on volatility-adjusted smoothing.
Volatility & Deviation Controls – Adjust standard deviation lookback periods and multipliers to fine-tune adaptive upper and lower thresholds used for trend qualification.
Backtesting & Date Filters – Define a start date for historical evaluation and enable range filtering to analyze performance during specific market periods.
Display & Visualization Options – Toggle labels, equity curves, and visual overlays to tailor the chart presentation to personal trading preferences.
Color Customization – Fully configurable buy/sell colors for both trend signals and equity curves, allowing intuitive visual differentiation between bullish and bearish phases.
______
Practical Applications
The Standard Deviation VIDYA MA is designed for traders seeking an adaptive trend-following framework that dynamically responds to changing market volatility. By combining VIDYA’s volatility-sensitive smoothing with standard deviation–based thresholds, the indicator offers a robust approach to directional analysis across multiple market conditions.
Key applications include:
Adaptive Trend Identification – Detect sustained bullish and bearish trends using a volatility-adjusted moving average that automatically accelerates or slows based on market activity.
Volatility-Aware Entry & Exit Signals – Utilize standard deviation bands to define dynamic breakout and invalidation zones, helping reduce false signals during low-volatility consolidation phases.
Noise-Filtered Trend Participation – Avoid whipsaws by requiring price expansion beyond adaptive deviation thresholds before confirming trend direction.
Systematic Backtesting & Evaluation – Analyze historical trend performance using built-in equity curves and date filters to assess effectiveness across different market regimes.
Visual Trend Confirmation – Leverage color-coded VIDYA lines, deviation zones, and optional labels to clearly interpret trend state and momentum strength in real time.
This framework bridges volatility analysis with adaptive trend logic, providing a disciplined and data-driven method for trend participation while maintaining clarity and interpretability in live trading environments.
______
Conclusion
The Standard Deviation VIDYA MA by QuantLapse represents a modern evolution of adaptive trend analysis, blending volatility-weighted smoothing with statistically driven deviation thresholds. By integrating VIDYA’s responsiveness with standard deviation-based confirmation, the system delivers clearer trend structure, reduced noise, and more reliable directional context across varying market regimes.
This indicator is particularly well-suited for traders who value adaptability, clarity, and rule-based decision-making over static moving average techniques.
🔹 Who should use Standard Deviation VIDYA MA:
📊 Trend-Following Traders – Identify and stay aligned with sustained directional moves while avoiding premature reversals.
⚡ Momentum Traders – Capture volatility-supported expansions when price breaks beyond adaptive deviation bands.
🤖 Systematic & Algorithmic Traders – Ideal as a volatility-aware trend filter for rule-based entries, exits, and portfolio frameworks.
🔹 Disclaimer: Past performance does not guarantee future results. All trading involves risk, and no indicator or methodology can ensure profitability.
🔹 Strategic Advice: Always backtest thoroughly, optimize parameters responsibly, and align settings with your personal risk tolerance, timeframe, and market conditions before deploying the indicator in live trading.
ORB Fusion ML AdaptiveORB FUSION ML - ADAPTIVE OPENING RANGE BREAKOUT SYSTEM
INTRODUCTION
ORB Fusion ML is an advanced Opening Range Breakout (ORB) system that combines traditional ORB methodology with machine learning probability scoring and adaptive reversal trading. Unlike basic ORB indicators, this system features intelligent breakout filtering, failed breakout detection, and complete trade lifecycle management with real-time visual feedback.
This guide explains the theoretical concepts, system components, and educational examples of how the indicator operates.
WHAT IS OPENING RANGE BREAKOUT (ORB)?
Core Concept:
The Opening Range Breakout strategy is based on the observation that the first 15-60 minutes of trading often establish a range that serves as support/resistance for the remainder of the session. Breakouts beyond this range have historically indicated potential directional moves.
How It Works:
Range Formation: System identifies high and low during opening period (default 30 minutes)
Breakout Detection: Monitors price for confirmed breaks above/below range
Signal Generation: Generates signals based on breakout method and filters
Target Projection: Projects extension targets based on range size
Why ORB May Be Effective:
Opening period often represents institutional positioning
Range boundaries historically act as support/resistance
Breakouts may indicate strong directional bias
Failed breakouts may signal reversal opportunities
Note: Historical patterns do not guarantee future occurrences.
SYSTEM COMPONENTS
1. OPENING RANGE DETECTION
Primary ORB:
Default: First 30 minutes of regular trading hours (9:30-10:00 AM ET)
Configurable: 5, 15, 30, or 60-minute ranges
Precision: Optional lower timeframe (LTF) data for exact high/low detection
LTF Precision Mode:
When enabled, system uses 1-minute data to identify precise range boundaries, even on higher timeframe charts. This may improve accuracy of breakout detection.
Session ORBs (Optional):
Asian Session: Typically 00:00-01:00 UTC
London Session: Typically 08:00-09:00 UTC
NY Session: Typically 13:30-14:30 UTC
These provide additional reference levels for 24-hour markets.
2. INITIAL BALANCE (IB)
The Initial Balance concept extends ORB methodology:
Components:
A-Period: First 30 minutes (9:30-10:00)
B-Period: Second 30 minutes (10:00-10:30)
IB Range: Combined high/low of both periods
IB Extensions:
System projects multiples of IB range (0.5×, 1.0×, 1.5×, 2.0×) as potential targets and key reference levels.
Historical Context:
IB methodology was popularized by traders observing that the first hour often establishes the day's trading range. Extensions beyond IB may indicate trend day development.
3. BREAKOUT CONFIRMATION METHODS
The system offers three confirmation methods:
A. Close Beyond Range (Default):
Bullish: Close > ORB High
Bearish: Close < ORB Low
Most balanced approach - requires bar to close beyond level.
B. Wick Beyond Range:
Bullish: High > ORB High
Bearish: Low < ORB Low
Most sensitive - any touch triggers. May generate more signals but higher false breakout rate.
C. Body Beyond Range:
Bullish: Min(Open, Close) > ORB High
Bearish: Max(Open, Close) < ORB Low
Most conservative - entire candle body must be beyond range.
Volume Confirmation:
Optional requirement that breakout occurs on above-average volume (default 1.5× 20-bar average). May filter weak breakouts lacking institutional participation.
4. MACHINE LEARNING PROBABILITY SCORING
The system's key differentiator is ML-based breakout filtering using logistic regression.
How It Works:
Feature Extraction:
When breakout candidate detected, system calculates:
ORB Range / ATR (range size normalization)
Volume Ratio (current vs. average)
VWAP Distance × Direction (alignment)
Gap Size × Direction (overnight gap influence)
Bar Impulse (momentum strength)
Probability Calculation:
pContinue = Probability breakout continues
pFail = Probability breakout fails and reverses
Calculated via logistic regression:
P = 1 / (1 + e^(-z))
where z = β₀ + β₁×Feature₁ + β₂×Feature₂ + ...
Coefficient Examples (User Configurable):
pContinue Model:
Intercept: -0.20 (slight bearish bias)
ORB Range/ATR: +0.80 (larger ranges favored)
Volume Ratio: +0.60 (higher volume increases probability)
VWAP Alignment: +0.50 (aligned with VWAP helps)
pFail Model:
Intercept: -0.30 (assumes most breakouts valid)
Volume Ratio: -0.50 (low volume increases failure risk)
VWAP Alignment: -0.90 (breaking away from VWAP risky)
ML Gating:
When enabled, breakout only signaled if:
pContinue ≥ Minimum Threshold (default 55%)
pFail ≤ Maximum Threshold (default 35%)
This filtering aims to reduce false breakouts by requiring favorable probability scores.
Model Training:
Users should backtest and optimize coefficients for their specific instrument and timeframe. Default values are educational starting points, not guaranteed optimal parameters.
Educational Note: ML models assume past feature relationships continue into the future. Market conditions may change in ways not captured by historical data.
5. FAILED BREAKOUT DETECTION & REVERSAL TRADING
A unique feature is automatic detection of failed breakouts and generation of counter-trend reversal setups.
Detection Logic:
Failure Conditions:
For Bullish Breakout that fails:
- Initially broke above ORB High
- After N bars (default 3), price closes back inside range
- Must close below (ORB High - Buffer)
- Buffer = ATR × 0.1 (default)
For Bearish Breakout that fails:
- Initially broke below ORB Low
- After N bars, price closes back inside range
- Must close above (ORB Low + Buffer)
Automatic Reversal Entry:
When failure detected, system automatically:
Generates reversal entry at current close
Sets stop loss beyond recent extreme + small buffer
Projects 3 targets based on ORB range multiples
Target Calculations:
For failed bullish breakout (now SHORT):
Entry = Close (when failure confirmed)
Stop = Recent High + (ATR × 0.10)
T1 = ORB High - (ORB Range × 0.5) // 50% retracement
T2 = ORB High - (ORB Range × 1.0) // Full retracement
T3 = ORB High - (ORB Range × 1.5) // Beyond opposite boundary
Trade Lifecycle Management:
The system tracks reversal trades in real-time through multiple states:
State 0: No trade
State 1: Breakout active (monitoring for failure)
State 2: Breakout failed (not used currently)
State 3: Reversal entry taken
State 4: Target 1 hit
State 5: Target 2 hit
State 6: Target 3 hit
State 7: Stopped out
State 8: Complete
Real-Time Tracking:
MFE (Maximum Favorable Excursion): Best price achieved
MAE (Maximum Adverse Excursion): Worst price against position
Dynamic Lines & Labels: Visual updates as trade progresses
Color Coding: Green for hit targets, gray for stopped trades
Visual Feedback:
Entry line (solid when active, dotted when stopped)
Stop loss line (red dashed)
Target lines (green when hit, gray when stopped)
Labels update in real-time with status
This complete lifecycle tracking provides educational insight into trade development and risk/reward realization.
Educational Context: Failed breakouts are a recognized pattern in technical analysis. The theory is that trapped traders may need to exit, creating momentum in the opposite direction. However, not all failed breakouts result in profitable reversals.
6. EXTENSION TARGETS
System projects Fibonacci-based extension levels beyond ORB boundaries.
Bullish Extensions (Above ORB High):
1.272× (ORB High + ORB Range × 0.272)
1.5× (ORB High + ORB Range × 0.5)
1.618× (ORB High + ORB Range × 0.618)
2.0× (ORB High + ORB Range × 1.0)
2.618× (ORB High + ORB Range × 1.618)
3.0× (ORB High + ORB Range × 2.0)
Bearish Extensions (Below ORB Low):
Same multipliers applied below ORB Low
Visual Representation:
Dotted lines until reached
Solid lines after price touches level
Color coding (green for bullish, red for bearish)
These serve as potential profit targets and key reference levels.
7. DAY TYPE CLASSIFICATION
System attempts to classify trading day based on price movement relative to Initial Balance.
Classification Logic:
IB Extension = (Current Price - IB Boundary) / IB Range
Day Types:
Trend Day: Extension ≥ 1.5× IB Range
- Strong directional movement
- Price extends significantly beyond IB
Normal Day: Extension between 0.5× and 1.5×
- Moderate movement
- Some extension but not extreme
Rotation Day: Price stays within IB
- Range-bound conditions
- Limited directional conviction
Historical Context:
Day type classification comes from market profile analysis, suggesting different trading approaches for different conditions. However, classification is backward-looking and may change throughout the session.
8. VWAP INTEGRATION
Volume-Weighted Average Price included as institutional reference level.
Calculation:
VWAP = Σ(Typical Price × Volume) / Σ(Volume)
Typical Price = (High + Low + Close) / 3
Standard Deviation Bands:
Band 1: VWAP ± 1.0 σ
Band 2: VWAP ± 2.0 σ
Usage:
Alignment with VWAP may indicate institutional support
Distance from VWAP factored into ML probability scoring
Bands suggest potential overbought/oversold extremes
Note: VWAP is widely used by institutional traders as a benchmark, but this does not guarantee its predictive value.
9. GAP ANALYSIS
Tracks overnight gaps and fill statistics.
Gap Detection:
Gap Size = Open - Previous Close
Classification:
Gap Up: Gap > ATR × 0.1
Gap Down: Gap < -ATR × 0.1
No Gap: Otherwise
Gap Fill Tracking:
Monitors if price returns to previous close
Calculates fill rate over time
Displays previous close as reference level
Historical Context:
Market folklore suggests "gaps get filled," though statistical evidence varies by market and timeframe.
10. MOMENTUM CANDLE VISUALIZATION
Optional colored boxes around candles showing position relative to ORB.
Color Coding:
Blue: Inside ORB range
Green: Above ORB High (bullish momentum)
Red: Below ORB Low (bearish momentum)
Bright Green: Breakout bar
Orange: Failed breakout bar
Gray: Stopped out bar
Lime: Target hit bar
Provides quick visual context of price location and key events.
DISPLAY MODES
Three complexity levels to suit different user preferences:
SIMPLE MODE
Minimal display focusing on essentials:
✓ Primary ORB levels (High, Low, Mid)
✓ Basic breakout signals
✓ Essential dashboard metrics
✗ No session ORBs
✗ No IB analysis
✗ No extensions
Best for: Clean charts, beginners, focus on core ORB only
STANDARD MODE
Balanced feature set:
✓ Primary ORB levels
✓ Initial Balance with extensions
✓ Session ORBs (Asian, London, NY)
✓ VWAP with bands
✓ Breakout and reversal signals
✓ Gap analysis
✗ Detailed statistics
Best for: Most traders, good balance of information and clarity
ADVANCED MODE
Full feature set:
✓ All Standard features
✓ ORB extensions (1.272×, 1.5×, 1.618×, 2.0×, etc.)
✓ Complete statistics dashboard
✓ Detailed performance metrics
✓ All visual enhancements
Best for: Experienced users, research, full analysis
DASHBOARD INTERPRETATION
Main Dashboard Sections:
ORB Status:
Status: Complete / Building / Waiting
Range: Actual range size in price units
Trade State:
State: Current trade status (see 8 states above)
Vol: Volume confirmation (Confirmed / Low)
Targets (when reversal active):
T1, T2, T3: Hit / Pending / Stopped
Color: Green = hit, Gray = pending or stopped
ML Section (when enabled):
ML: ON Pass / ON Reject / OFF
pC/pF: Probability scores as percentages
Setup:
Action: LONG / SHORT / REVERSAL / FADE / WAIT
Grade: A+ to D based on confidence
Status: ACTIVE / STOPPED / T1 HIT / etc.
Conf: Confidence percentage
Context:
Bias: Overall market direction assessment
VWAP: Above / Below / At VWAP
Gap: Gap type and fill status
Statistics (Advanced Mode):
Bull WR: Bullish breakout win rate
Bear WR: Bearish breakout win rate
Rev WR: Reversal trade win rate
Rev Count: Total reversals taken
Narrative Dashboard:
Plain-language interpretation:
Phase: Building ORB / Trading Phase / Pre-market
Status: Current market state in plain English
ML: Probability scores
Setup: Trade recommendation with grade
All metrics based on historical simulation, not live trading results.
USAGE GUIDELINES - EDUCATIONAL EXAMPLES
Getting Started:
Step 1: Chart Setup
Add indicator to chart
Select appropriate timeframe (1-5 min recommended for ORB trading)
Choose display mode (start with Standard)
Step 2: Opening Range Formation
During first 30 minutes (9:30-10:00 ET default)
Watch ORB High/Low levels form
Note range size relative to ATR
Step 3: Breakout Monitoring
After ORB complete, watch for breakout candidates
Check ML scores if enabled
Verify volume confirmation
Step 4: Signal Evaluation
Consider confidence grade
Review trade state and targets
Evaluate risk/reward ratio
Interpreting ML Scores:
Example 1: High Probability Breakout
Breakout: Bullish
pContinue: 72%
pFail: 18%
ML Status: Pass
Grade: A
Interpretation:
- High continuation probability
- Low failure probability
- Passes ML filter
- May warrant consideration
Example 2: Rejected Breakout
Breakout: Bearish
pContinue: 48%
pFail: 52%
ML Status: Reject
Grade: D
Interpretation:
- Low continuation probability
- High failure probability
- ML filter blocks signal
- Small 'X' marker shows rejection
Note: ML scores are mathematical outputs based on historical data. They do not guarantee outcomes.
Reversal Trade Example:
Scenario:
9:45 AM: Bullish breakout above ORB High
9:46 AM: Price extends to +0.8× ORB range
9:48 AM: Price reverses, closes back below ORB High
9:49 AM: Failure confirmed (3 bars inside range)
System Response:
- Marks failed breakout with 'FAIL' label
- Generates SHORT reversal entry
- Sets stop above recent high
- Projects 3 targets
- Trade State → 3 (Reversal Active)
- Entry line and targets display
Potential Outcomes:
- Stop hit → State 7 (Stopped), lines gray out
- T1 hit → State 4, T1 line turns green
- T2 hit → State 5, T2 line turns green
- T3 hit → State 6, T3 line turns green
All tracked in real-time with visual updates.
Risk Management Considerations:
Position Sizing Example:
Account: $25,000
Risk per trade: 1% = $250
Stop distance: 1.5 ATR = $150 per share
Position size: $250 / $150 = 1.67 shares (round to 1)
Stop Loss Guidelines:
Breakout trades: ORB midpoint or opposite boundary
Reversal trades: System-provided stop (recent extreme + buffer)
Never widen system stops
Target Management:
Consider scaling out at T1, T2, T3
Trail stops after T1 reached
Full exit if stopped
These are educational examples, not recommendations. Users must develop their own risk management based on personal tolerance and account size.
OPTIMIZATION SUGGESTIONS
For Stock Indices (ES, NQ):
Suggested Settings:
ORB Timeframe: 30 minutes
Confirmation: Close
Volume Filter: ON (1.5×)
ML Filter: ON
Display Mode: Standard
Rationale:
30-min ORB standard for equity indices
Close confirmation balances speed and reliability
Volume important for institutional participation
ML helps filter noise
Historical Observation:
Indices often respect ORB levels during regular hours.
For Individual Stocks:
Suggested Settings:
ORB Timeframe: 5-15 minutes
Confirmation: Close or Body
Volume Filter: ON (1.8-2.0×)
RTH Only: ON
Failed Breakouts: ON
Rationale:
Shorter ORB may be appropriate for volatile stocks
Volume critical to filter low-liquidity moves
RTH avoids pre-market noise
Failed breakouts common in stocks
For Forex:
Suggested Settings:
ORB Timeframe: 60 minutes
Session ORBs: ON (Asian, London)
Volume Filter: OFF or low threshold
24-hour mode: ON
Rationale:
Forex trades 24 hours, need session awareness
Volume data less reliable in forex
Longer ORB for slower forex movement
For Crypto:
Suggested Settings:
ORB Timeframe: 30-60 minutes
Confirmation: Body (more conservative)
Volume Filter: ON (2.0×+)
Display Mode: Advanced
Rationale:
High volatility requires conservative confirmation
Volume crucial to distinguish real moves from noise
24-hour market benefits from multiple session ORBs
ML COEFFICIENT TUNING
Users can optimize ML model coefficients through backtesting.
Approach:
Data Collection: Review rejected breakouts - were they correct to reject?
Pattern Analysis: Which features correlate with success/failure?
Coefficient Adjustment: Increase weights for predictive features
Threshold Tuning: Adjust minimum pContinue and maximum pFail
Validation: Test on out-of-sample data
Example Optimization:
If finding:
High-volume breakouts consistently succeed
Low-volume breakouts often fail
Action:
Increase pCont w(Volume Ratio) from 0.60 to 0.80
Increase pFail w(Volume Ratio) magnitude (more negative)
If finding:
VWAP alignment highly predictive
Gap direction not helpful
Action:
Increase pCont w(VWAP Distance×Dir) from 0.50 to 0.70
Decrease pCont w(Gap×Dir) toward 0.0
Important: Optimization should be done on historical data and validated on out-of-sample periods. Overfitting to past data does not guarantee future performance.
STATISTICS & PERFORMANCE TRACKING
System maintains comprehensive statistics:
Breakout Statistics:
Total Days: Number of trading days analyzed
Bull Breakouts: Total bullish breakouts
Bull Wins: Breakouts that reached 2.0× extension
Bull Win Rate: Percentage that succeeded
Bear Breakouts: Total bearish breakouts
Bear Wins: Breakouts that reached 2.0× extension
Bear Win Rate: Percentage that succeeded
Reversal Statistics:
Reversals Taken: Total failed breakouts traded
T1 Hit: Number reaching first target
T2 Hit: Number reaching second target
T3 Hit: Number reaching third target
Stopped: Number stopped out
Reversal Win Rate: Percentage reaching at least T1
Day Type Statistics:
Trend Days: Days with 1.5×+ IB extension
Normal Days: Days with 0.5-1.5× extension
Rotation Days: Days staying within IB
Extension Statistics:
Average Extension: Mean extension level reached
Max Extension: Largest extension observed
Gap Statistics:
Total Gaps: Number of significant gaps
Gaps Filled: Number that filled during session
Gap Fill Rate: Percentage filled
Note: All statistics based on indicator's internal simulation logic, not actual trading results. Past statistics do not predict future outcomes.
ALERTS
Customizable alert system for key events:
Available Alerts:
Breakout Alert:
Trigger: Initial breakout above/below ORB
Message: Direction, price, volume status, ML scores, grade
Frequency: Once per bar
Failed Breakout Alert:
Trigger: Breakout failure detected
Message: Reversal setup with entry, stop, and 3 targets
Frequency: Once per bar
Extension Alert:
Trigger: Price reaches extension level
Message: Extension multiple and price level
Frequency: Once per bar per level
IB Break Alert:
Trigger: Price breaks Initial Balance
Message: Potential trend day warning
Frequency: Once per bar
Reversal Stopped Alert:
Trigger: Reversal trade hits stop loss
Message: Stop level and original entry
Frequency: Once per bar
Target Hit Alert:
Trigger: T1, T2, or T3 reached
Message: Which target and price level
Frequency: Once per bar
Users can enable/disable alerts individually based on preferences.
VISUAL CUSTOMIZATION
Extensive visual options:
Color Schemes:
All colors fully customizable:
ORB High, Low, Mid colors
Extension colors (bull/bear)
IB colors
VWAP colors
Momentum box colors
Session ORB colors
Display Options:
Line widths (1-5 pixels)
Box transparencies (50-95%)
Fill transparencies (80-98%)
Momentum box transparency
Label Behavior:
Label Modes:
All: Always show all labels
Adaptive: Fade labels far from price
Minimal: Only show labels very close to price
Label Proximity:
Adjustable threshold (1.0-5.0× ATR)
Labels beyond threshold fade or hide
Reduces clutter on wide-range charts
Gradient Fills:
Optional gradient zones between levels:
ORB High to Mid (bullish gradient)
ORB Mid to Low (bearish gradient)
Creates visual "heatmap" of tension
FREQUENTLY ASKED QUESTIONS
Q: What timeframe should I use?
A: ORB methodology is typically applied to intraday charts. Suggestions:
1-5 min: Active trading, multiple setups per day
5-15 min: Balanced view, clearer signals
15-30 min: Higher timeframe confirmation
The indicator works on any timeframe, but ORB is traditionally an intraday concept.
Q: Do I need the ML filter enabled?
A: This is a user choice:
ML Enabled:
Fewer signals
Potentially higher quality (filters low-probability)
Requires coefficient optimization
More complex
ML Disabled:
More signals
Simpler operation
Traditional ORB approach
May include lower-quality breakouts
Consider paper trading both approaches to determine preference.
Q: How should I interpret pContinue and pFail?
A: These are probability estimates from the logistic regression model:
pContinue 70% / pFail 25%: Model suggests favorable continuation odds
pContinue 45% / pFail 55%: Model suggests breakout likely to fail
pContinue 60% / pFail 35%: Borderline, depends on thresholds
Remember: These are mathematical outputs based on historical feature relationships. They are not certainties.
Q: Should I always take reversal trades?
A: Reversal trades are optional setups. Considerations:
Potential Advantages:
Trapped traders may need to exit
Clear stop loss levels
Defined targets
Potential Risks:
Counter-trend trading
Original breakout may resume
Requires quick reaction
Users should evaluate reversal setups like any other trade based on personal strategy and risk tolerance.
Q: What if ORB range is very small?
A: Small ranges may indicate:
Low volatility session opening
Potential for expansion later
Less reliable breakout levels
Considerations:
Larger ranges often more significant
Small ranges may need wider stops relative to range
ORB Range/ATR ratio helps normalize
The ML model includes this via the ORB Range/ATR feature.
Q: Can I use this on stocks, forex, crypto?
A: System is adaptable:
Stocks: Designed primarily for stock indices and equities. Use RTH mode.
Forex: Enable session ORBs. Volume filter less relevant. Adjust for 24-hour nature.
Crypto: Very volatile. Consider conservative confirmation method (Body). Higher volume thresholds.
Each market has unique characteristics. Extensive testing recommended.
Q: How do I optimize ML coefficients?
A: Systematic approach:
Collect data on 50-100+ breakouts
Note which succeeded/failed
Analyze feature values for each
Identify correlations
Adjust coefficients to emphasize predictive features
Validate on different time period
Iterate
Alternatively, use regression analysis on historical breakout data if you have programming skills.
Q: What does "Stopped Out" mean for reversals?
A: Reversal trade hit its stop loss:
Price moved against reversal position
Original breakout may have resumed
Trade closed at loss
Lines and labels gray out
Trade State → 7
This is part of normal trading - not all reversals succeed.
Q: Can I change ORB timeframe intraday?
A: ORB timeframe setting affects the next day's ORB. Current day's ORB remains fixed. To see different ORB sizes, you would need to change setting and wait for next session.
Q: Why do rejected breakouts show an 'X'?
A: When "Mark Rejected Breakout Candidates" enabled:
Small 'X' appears when ML filter rejects a breakout
Shows where system prevented a signal
Useful for model calibration
Helps evaluate if ML making good decisions
You can disable this marker if it creates clutter.
ADVANCED CONCEPTS
1. Adaptive vs. Static ORB:
Traditional ORB uses fixed time windows. This system adds adaptability through:
ML probability scoring (adapts to current conditions)
Multiple session ORBs (adapts to global markets)
Failed breakout detection (adapts when setup fails)
Real-time trade management (adapts as trade develops)
This creates a more dynamic approach than simple static levels.
2. Confluence Scoring:
System internally calculates confluence (agreement of factors):
Breakout direction
Volume confirmation
VWAP alignment
ML probability scores
Gap direction
Momentum strength
Higher confluence typically results in higher grade (A+, A, B+, etc.).
3. Trade State Machine:
The 8-state system provides complete trade lifecycle:
State 0: Waiting → No setup
State 1: Breakout → Monitoring for failure
State 2: Failed → (transition state)
State 3: Reversal Active → In counter-trend position
State 4: T1 Hit → First target reached
State 5: T2 Hit → Second target reached
State 6: T3 Hit → Third target reached (full success)
State 7: Stopped → Hit stop loss
State 8: Complete → Trade resolved
Each state has specific visual properties and logic.
4. Real-Time Performance Attribution:
MFE/MAE tracking provides insight:
Maximum Favorable Excursion (MFE):
Best price achieved during trade
Shows potential if optimal exit used
Educational metric for exit strategy analysis
Maximum Adverse Excursion (MAE):
Worst price against position
Shows drawdown during trade
Helps evaluate stop placement
These appear in Narrative Dashboard during active reversals.
THEORETICAL FOUNDATIONS
Why Opening Range Matters:
Several theories support ORB methodology:
1. Information Incorporation:
Opening period represents initial consensus on overnight news and pre-market sentiment. Range boundaries may reflect this information.
2. Order Flow:
Institutional traders often execute during opening period, establishing supply/demand zones.
3. Behavioral Finance:
Traders psychologically anchor to opening range levels. Self-fulfilling prophecy may strengthen these levels.
4. Market Microstructure:
Opening auction establishes price discovery. Breaks beyond may indicate new information or momentum.
Academic Note: While ORB is widely used, academic evidence on its effectiveness varies. Like all technical analysis, it should be evaluated empirically for each specific application.
Machine Learning in Trading:
This system uses supervised learning (logistic regression):
Advantages:
Interpretable (can see feature weights)
Fast calculation
Probabilistic output
Well-understood mathematically
Limitations:
Assumes linear relationships
Requires feature engineering
Needs periodic retraining
Not adaptive to regime changes automatically
More sophisticated ML (neural networks, ensemble methods) could potentially improve performance but at cost of interpretability and speed.
Failed Breakouts & Market Psychology:
Failed breakout trading exploits several concepts:
1. Stop Hunting:
Large players may push price to trigger stops, then reverse.
2. False Breakouts:
Insufficient conviction leads to failed breakout and quick reversal.
3. Trapped Traders:
Those who entered breakout now forced to exit, creating momentum opposite direction.
4. Mean Reversion:
After failed directional attempt, price may revert to range or beyond.
These are theoretical frameworks, not guaranteed patterns.
BEST PRACTICES - EDUCATIONAL SUGGESTIONS
1. Paper Trade Extensively:
Before live trading:
Test on historical data
Forward test in real-time (paper)
Evaluate statistics over 50+ occurrences
Understand system behavior in different conditions
2. Start with Simple Mode:
Initial learning:
Use Simple or Standard mode
Focus on primary ORB only
Master basic breakout interpretation
Add features incrementally
3. Optimize ML Coefficients:
If using ML filter:
Backtest on your specific instrument
Note which features predictive
Adjust coefficients systematically
Validate on out-of-sample data
Re-optimize periodically
4. Respect Risk Management:
Always:
Define maximum risk per trade (1-2% recommended)
Use system-provided stops
Size positions appropriately
Never override stops wider
Keep statistics of your actual trading
b]5. Understand Context:
Consider:
Is it a trending or ranging market?
What's the day type developing?
Is volume confirming moves?
Are you aligned with VWAP?
What's the overall market condition?
Context may inform which setups to emphasize.
6. Journal Results:
Track:
Which setup types work best for you
Your execution quality
Emotional responses to different scenarios
Missed opportunities and why
Losses and lessons
Systematic journaling improves over time.
FINAL EDUCATIONAL SUMMARY
ORB Fusion ML combines traditional Opening Range Breakout methodology with modern
enhancements:
✓ ML Probability Scoring: Filters breakouts using logistic regression
✓ Failed Breakout Detection: Automatic reversal trade generation
✓ Complete Trade Management: Real-time tracking with visual updates
✓ Multi-Session Support: Asian, London, NY ORBs for global markets
✓ Institutional Reference: VWAP and Initial Balance integration
✓ Comprehensive Statistics: Track performance across breakout types
✓ Full Customization: Three display modes, extensive visual options
✓ Educational Transparency: Dashboard shows all relevant metrics
This is an educational tool demonstrating advanced ORB concepts.
Critical Reminders:
The system:
✓ Identifies potential ORB breakout and reversal setups
✓ Provides ML-based probability estimates
✓ Tracks trades through complete lifecycle
✓ Offers comprehensive performance statistics
Users must understand:
✓ No system guarantees profitable results
✓ Past performance does not predict future results
✓ All indicators require proper risk management
✓ Paper trading essential before live trading
✓ Market conditions change unpredictably
✓ This is educational software, not financial advice
Success requires: Proper education, disciplined risk management, realistic expectations, personal responsibility for all trading decisions, and understanding that indicators are tools, not crystal balls.
For Educational Use Only - ORB Fusion ML Development Staff
⚠️ FINAL DISCLAIMER
This indicator and documentation are provided strictly for educational and informational purposes.
NOT FINANCIAL ADVICE: Nothing in this guide constitutes financial advice, investment advice, trading advice, or any recommendation to buy or sell any security or engage in any trading strategy.
NO GUARANTEES: No representation is made that any account will or is likely to achieve profits or losses similar to those shown. The statistics, probabilities, and examples are from historical backtesting and do not represent actual trading results.
SUBSTANTIAL RISK: Trading involves substantial risk of loss and is not suitable for every investor. The high degree of leverage can work against you as well as for you.
YOUR RESPONSIBILITY: You are solely responsible for your own trading decisions. You should conduct your own research, perform your own analysis, paper trade extensively, and consult with qualified financial advisors before making any trading decisions.
NO LIABILITY: The developers, contributors, and distributors of this indicator disclaim all liability for any losses or damages, direct or indirect, that may result from use of this indicator or reliance on any information provided.
PAPER TRADE FIRST: Users are strongly encouraged to thoroughly test this indicator in a paper trading environment before risking any real capital.
By using this indicator, you acknowledge that you have read this disclaimer, understand the substantial risks involved in trading, and agree that you are solely responsible for your own trading decisions and their outcomes.
Educational Software Only | Trade at Your Own Risk | Not Financial Advice
Taking you to school. — Dskyz, Trade with insight. Trade with anticipation.
Trinity Moving Average SlopeThe Trinity Moving Average Slope indicator quantifies the steepness of a moving average's direction in a dedicated oscillator pane on TradingView. It normalizes this slope with ATR to ensure consistent readings across varying assets, volatilities, and timeframes, enabling traders to distinguish robust trends from sideways or choppy markets objectively.
Calculation Method
The process starts by calculating a primary moving average based on the selected type and length (default: 16-period HMA on ohlc4 source). It then determines the one-bar change in this MA value, divides it by the ATR (default length 10) for volatility normalization, applies the arctangent function, and converts the result to degrees. This produces a slope angle that typically oscillates between roughly -10° and +10°, with higher absolute values indicating steeper trends.
Visual Elements and Interpretation
The main slope line appears with dynamic coloring: bright green for values above the top threshold (default +2°), signifying a strong uptrend; red below the bottom threshold (default -2°), for strong downtrends; and gray in the neutral zone between them. Horizontal lines mark these thresholds, along with a dotted zero line for quick reference on trend direction changes.
Usage Guidelines
Traders primarily use this as a trend strength filter—favor long positions or continuations when the line sustains green, shorts or profit-taking in red, and stand aside during gray periods to avoid false trend signals in ranging conditions. Zero-line crosses serve as early warnings of momentum shifts, while the built-in alerts notify on strong trend activations or these crosses.
Highlight: Secondary Moving Average
An optional secondary MA (toggleable, default off) smooths the slope line itself, functioning like a signal line (default: 14-period EMA in yellow). Enabling it introduces crossover opportunities: the main slope crossing above the secondary MA suggests accelerating bullish momentum, while crossing below indicates potential bearish slowdowns or reversals. This adds confirmation and helps filter noise, especially useful in volatile markets.
Available Moving Average Types
Both the main (slope-generating) MA and the secondary MA offer the same six types, each with distinct characteristics for different trading styles:
SMA (Simple Moving Average): Equal weighting to all periods—smooth but with significant lag, ideal for identifying long-term trends.
EMA (Exponential Moving Average): Greater weight to recent prices—responsive with moderate lag, a balanced choice for most trend-following setups.
WMA (Weighted Moving Average): Linear weighting favoring newer data—faster than SMA but smoother than EMA, good for intermediate responsiveness.
HMA (Hull Moving Average): Engineered to reduce lag while maintaining smoothness—highly responsive, excellent for shorter timeframes or catching early trend changes (default in the main MA here).
RMA (Running Moving Average): Similar to EMA but with adjustable alpha—robust and less prone to overshooting in wild swings.
VWMA (Volume Weighted Moving Average): Weights by volume—useful in stock trading where volume confirms price moves, emphasizing high-activity periods.
Suggested Settings
For stocks (slower moves): Use longer main lengths like 30-50 with EMA or HMA on daily charts, or 20-34 on intraday, keeping thresholds around ±2° to ±3°.
For crypto (faster action): Opt for shorter lengths like 10-20 with HMA for responsiveness, ATR 10, and thresholds ±1.8° to ±2.5°; enable the secondary EMA for extra signal confirmation on 15-min to 4H charts. Experiment to match your risk tolerance.
QuantLabs Multi Asset Similarity Matrix [V3 Final]The Market is a graph. See the flows:
The QuantLabs MASM is not a standard correlation table. It is an Alpha-Grade Scanner architected to reveal the hidden "hydraulic" relationships between global macro assets in real-time.
Rebuilt from the ground up for Version 3, this engine pushes the absolute limits of the Pine Script™ runtime. It utilizes a proprietary Logarithmic Math Engine, Symmetric Compute Optimization, and a futuristic "Ghost Mode" interface to deliver a 15x15 real-time correlation matrix with zero lag.
Under the Hood: The Quant Architecture
We stripped away standard libraries to build a lean, high-performance engine designed for institutional-grade accuracy.
1. Alpha Math Engine (Logarithmic Returns) Most tools calculate correlation based on Price, which generates spurious signals (e.g., "Everything is correlated in a bull run").
The Solution: Our engine computes Logarithmic Returns (log(close /close )) by default. This measures the correlation of change (Velocity & Vector), not price levels.
The Result: A mathematically rigorous view of statistical relationships that filters out the noise of general market drift.
Dual-Core: Toggle seamlessly between "Alpha Mode" (Log Returns) for verified stats and "Visual Mode" (Price) for trend alignment.
Calculation Modes: Pearson (Standard), Euclidean (Distance), Cosine (Vector), Manhattan (Grid).
2. Symmetric Compute Optimization Calculating a 15x15 matrix requires evaluating 225 unique relationships per bar, which often crashes memory limits.
The Fix: The V3 Engine utilizes Symmetric Logic, recognizing that Correlation(A, B) == Correlation(B, A).
The Gain: By computing only the lower triangle of the matrix and mirroring pointers to the upper triangle, we reduced computational load by 50%, ensuring a lightning-fast data feed even on lower timeframes.
3. Context-Aware "Ghost Mode" The UI is designed for professional traders who need focus, not clutter.
Smart Detection: The matrix automatically detects your current chart's Ticker ID. If you are trading QQQ, the matrix will visually highlight the Nas100 row and column, making them opaque and bright while dimming the rest.
Dynamic Transparency: Irrelevant data ("Noise" < 0.3 correlation) fades into the background. Only significant "Alpha Signals" (> 0.7) glow with full Neon Saturation.
Key Features
Dominant Flow Scanner: The matrix scans all 105 unique pairs every tick and prints the #1 Strongest Correlation at the bottom of the pane (e.g., DOMINANT FLOW: Bitcoin ↔ Nas100 ).
Streak Counter: A "Stubbornness" metric that tracks how many consecutive days a strong correlation has persisted. Instantly identify if a move is a "flash event" or a "structural trend."
Neon Palette: Proprietary color mapping using Electric Blue (+1.0) for lockstep correlation and Deep Red (-1.0) for inverse hedging.
Usage Guide
Placement: Best viewed in a bottom pane (Footer).
Assets: Pre-loaded with the Essential 15 Macro Drivers (Indices, BTC, Gold, Oil, Rates, FX, Key Sectors). Fully editable via settings (Ticker|Name).
Reading the Grid:
🔵 Bright Blue: Assets moving in lockstep (Risk-On).
🔴 Bright Red: Assets moving perfectly opposite (Hedge/Risk-Off).
⚫ Faded/Black: No statistical relationship (Decoupled).
Key Improvements Made:
Formatting: Added clear bullet points and bolding to make it scannable.
Clarity: Clarified the "Logarithmic Returns" section to explain why it matters (Velocity vs. Price Levels).
Tone: Maintained the "high-tech/quant" vibe but removed slightly clunky phrases like "spurious signals" (unless you prefer that academic tone, in which case I left it in as it fits the persona).
Structure: Grouped the "Modes" under the Math Engine for better logic.
Created and designed with love by David James @QuantLabs : )
EW AIO Elliott Wave Engine Invite OnlyEW AIO — Elliott Wave Engine
EW AIO automatically detects impulsive Elliott Wave structures (1–5) and highlights Wave-5 exhaustion zones using structure, momentum divergence, and volatility confirmation.
Key Features
• Automated Elliott Wave detection
• Wave-5 TOP / BOTTOM exhaustion signals
• RSI divergence confirmation (optional)
• Fibonacci retrace & extension framework
• HTF EMA trend bias
• ATR & Keltner volatility filters
• Visual Entry / SL / TP levels
• Webhook-ready alerts
Access
This is an Invite-Only premium indicator.
Access is granted after purchase.
⚠️ Educational use only. Not financial advice.
TSIM Volatility Weather ModelThe Volatility Weather Model is an indicator that delivers a unified "weather report" on market volatility by averaging 10 specialized estimators into actionable insights. It helps traders gauge price swing intensity, anticipate regime shifts, and align strategies with current market conditions—turning volatile environments into opportunities rather than hazards.
How Traders Can Use This Indicator
Focus on volatility as a leading signal for risk and opportunity:
- Spotting Expansions and Compressions: High readings (>70% or Z>1) indicate expanding volatility—ideal for breakouts or trend-following in active regimes, but scale back positions to avoid whipsaws in ranging ones. Low readings (<30% or Z<-1) signal compression; accumulate positions gradually, as these often precede explosive moves (e.g., enter calls/puts pre-earnings when the dashboard predicts "major breakout setup").
- Risk Management: Rely on the risk filter and behavioral alerts to adjust sizing—cut leverage in "high risk" phases (e.g., implement trailing stops at 1-2% risk per trade) and increase it in "low risk" for higher conviction setups. The cycle behavior helps time cycles: "Late expansion" warns of reversals, prompting profit-taking.
- Regime-Based Strategies: In trending regimes (fast EMA > slow), use high volatility for momentum trades (e.g., buy dips on pullbacks with tight stops). In cash regimes, exploit mean reversion—short extremes when the expected behavior flags "volatility mean reversion likely imminent."
- Multi-Timeframe Application: Day traders: Short lookbacks (20-40 bars) for intraday swings, watching bar colors for quick entries/exits. Swing traders: Longer periods (50-200) to filter noise, combining with support/resistance. For portfolios, scan multiple assets; if averages cluster high, hedge overall exposure.
- Scenario Examples:
- Bull Market Rally: If structure behavior shows "Trending with expanding volatility," add to winners but watch for "extreme" statuses signaling pullback risks.
- Sideways Consolidation: Low volatility + ranging regime = patience mode; use "deep compression" alerts to position for volatility spikes.
- News/Event Trading: Pre-event, low readings build setups; post-event, monitor averages—if Z>1.5, fade overreactions per the predictive insights.
Key Features for Practical Use
- Dual Display Modes (Normalized or Z-Score): Switch between percentile rankings (0-100%) for quick intensity checks or standard deviation scores for spotting statistical extremes. Use Normalized for broad overviews (e.g., 80% signals "hot" markets) and Z-Score for precise deviation alerts (e.g., +2σ warns of overextension).
- Average Line and Regime Filters: The core trend line shows consensus volatility; overlay fast/slow EMAs to identify "ACTIVE" (trending, above slow EMA) vs. "CASH" (ranging, below). Risk flags color bars/backgrounds (purple for high risk, aqua for low) to signal when to dial up or down exposure.
- Dashboard Table: A customizable table (position/size adjustable) lists individual estimators with statuses (e.g., "Extreme," "Low") and five behavioral summaries: Volatility Phase, Structure, Risk, Cycle, and Expected Behavior. These narratives provide instant guidance, like "High risk phase—reduce exposure" or "Breakout setup developing."
- Visual Alerts: Gradient fills, reference lines (e.g., 50% midline, ±1σ), and optional plots highlight thresholds. Toggle smoothing and line widths for cleaner charts in real-time trading.
Trading Volatility Clock⏰ TRADING VOLATILITY CLOCK - Know When the Action Happens (Anywhere in the World)
A real-time session tracker with multi-timezone support for active traders who need to know when US market volatility strikes - no matter where they are in the world. Perfect for day traders, scalpers, and anyone trading liquid US markets.
══════════════════════════════════════════════════════
📊 WHAT IT DOES
This indicator displays a live clock showing:
- Current time in YOUR selected timezone (10 major timezones supported)
- Active US market session with color-coded volatility levels
- Countdown timer showing time remaining in current session
- Preview of the next upcoming session
- Optional alerts when entering high-volatility periods
══════════════════════════════════════════════════════
🌍 MULTI-TIMEZONE SUPPORT
SESSIONS ALWAYS TRACK US MARKET HOURS (Eastern Time):
No matter which timezone you select, the sessions always trigger at the correct US market times. Perfect for international traders who want to:
• See their local time while tracking US market sessions
• Know exactly when US volatility hits in their timezone
• Plan their trading day around US market hours
SUPPORTED TIMEZONES:
• America/New_York (ET) - Eastern Time
• America/Chicago (CT) - Central Time
• America/Los_Angeles (PT) - Pacific Time
• Europe/London (GMT) - Greenwich Mean Time
• Europe/Berlin (CET) - Central European Time
• Asia/Tokyo (JST) - Japan Standard Time
• Asia/Shanghai (CST) - China Standard Time
• Asia/Hong_Kong (HKT) - Hong Kong Time
• Australia/Sydney (AEDT) - Australian Eastern Time
• UTC - Coordinated Universal Time
EXAMPLE: A trader in Tokyo selects "Asia/Tokyo"
• Clock shows: 11:30 PM JST
• Session shows: "Opening Drive" 🔥 HIGH
• They know: US market just opened (9:30 AM ET in New York)
══════════════════════════════════════════════════════
🎯 WHY IT'S USEFUL
Whether you trade futures, high-volume stocks, or ETFs, volatility isn't constant throughout the day. Knowing WHEN to expect movement is critical:
🔥 HIGH VOLATILITY (Red):
• Opening Drive (9:30-10:30 AM ET) - Highest volume of the day
• Power Hour (3:00-4:00 PM ET) - Second-highest volume, final push
⚡ MEDIUM VOLATILITY (Yellow):
• Pre-Market (8:00-9:30 AM ET) - Building momentum
• Lunch Return (1:00-2:00 PM ET) - Traders returning
• Afternoon Session (2:00-3:00 PM ET) - Trend continuation
• After Hours (4:00-5:00 PM ET) - News reactions
💤 LOW VOLATILITY (Gray):
• Overnight Grind (12:00-8:00 AM ET) - Thin volume
• Mid-Morning Chop (10:30-11:30 AM ET) - Ranges form
• Lunch Hour (11:30 AM-1:00 PM ET) - Dead zone
• Evening Fade (5:00-8:00 PM ET) - Volume dropping
══════════════════════════════════════════════════════
⚙️ CUSTOMIZATION OPTIONS
TIMEZONE SETTINGS:
• Select from 10 major timezones worldwide
• Clock automatically displays in your local time
• Sessions remain locked to US market hours
SESSION TIME CUSTOMIZATION:
• Every session boundary is adjustable (in minutes from midnight ET)
• Perfect for traders who define sessions differently
• Advanced users can create custom volatility schedules
DISPLAY OPTIONS:
• Toggle next session preview on/off
• Enable/disable high volatility alerts
• Clean, unobtrusive table display in top-right corner
══════════════════════════════════════════════════════
💡 HOW TO USE
1. Add indicator to any chart (works on all timeframes)
2. Select your timezone in Settings → Timezone Settings
3. Set your chart to 1-minute timeframe for real-time updates
4. Customize session times if needed (Settings → Session Time Customization)
5. Watch the top-right corner for live session tracking
TRADING APPLICATIONS:
• Avoid trading during dead zones (lunch hour, mid-morning chop)
• Increase position size during high volatility windows
• Set alerts for Opening Drive and Power Hour
• Plan your trading day around US market volatility schedule
• International traders can track US sessions in their local time
══════════════════════════════════════════════════════
🎓 EDUCATIONAL VALUE
This indicator teaches traders:
• Market microstructure and volume patterns
• Why certain times produce better opportunities
• How institutional flows create intraday patterns
• The importance of timing in active trading
• How to adapt US market trading to any timezone
══════════════════════════════════════════════════════
⚠️ IMPORTANT NOTES
- Works best on 1-minute charts for frequent updates
- Sessions are ALWAYS based on US Eastern Time (ET)
- Timezone selection only changes the clock display
- Clock updates when new bar closes (not tick-by-tick)
- Alerts trigger once per bar when enabled
- Perfect for international traders tracking US markets
══════════════════════════════════════════════════════
📈 BEST USED WITH
- High-volume US stocks: TSLA, NVDA, AAPL, AMD, META
- Major US ETFs: SPY, QQQ, IWM, DIA
- US Futures: ES, NQ, RTY, YM, MES, MNQ
- Any liquid US instrument with clear intraday volume patterns
══════════════════════════════════════════════════════
🌏 FOR INTERNATIONAL TRADERS
This tool is specifically designed for traders outside the US who need to:
• Track US market sessions in their local timezone
• Know when to be at their desk for US volatility
• Avoid waking up for low-volatility periods
• Maximize trading efficiency around US market hours
No more timezone confusion. No more missing the opening bell. Just set your timezone and trade with confidence.
══════════════════════════════════════════════════════
This is an open-source educational tool. Feel free to modify and adapt to your trading style!
Happy Trading! 🚀
Goldilocks Regime FilterGoldilocks Regime Filter is a lightweight market condition confirmation indicator engineered specifically for 1-minute Gold scalping.
Rather than generating trade signals, this tool focuses on identifying the current market regime—helping traders quickly determine whether price action is behaving in a directional (trending) or rotational (ranging) manner. This allows traders to align their existing entry strategies with appropriate market conditions and avoid applying momentum tactics in unfavorable environments.
The indicator synthesizes multiple aspects of market behavior—trend strength, volatility behavior, and price efficiency—into a simple, intuitive top-right table with a clear regime label and confidence reading. This makes it easy to assess market state at a glance without adding clutter to the chart.
Key Features
Designed specifically for 1-minute Gold charts
Clear Trending / Ranging / Neutral regime classification
Confidence score to gauge strength of the current condition
Non-repainting, confirmation-only logic
Minimalist table display that stays out of the way
Works alongside any strategy or discretionary approach
Intended Use
This indicator is designed to be used as a confirmation filter, not a standalone trading system. It is best applied to:
Confirm momentum-based setups during directional conditions
Avoid overtrading during low-efficiency, rotational markets
Improve discipline and context during fast intraday sessions
Goldilocks Regime Filter does not provide buy or sell signals and should be used in conjunction with proper risk management and a defined trading plan.
Kinetic Elasticity Reversion System - Adaptive Genesis Engine🧬 KERS-AGE - EVOLVED KINETIC ELASTICITY REVERSION SYSTEM
EDUCATIONAL GUIDE & THEORETICAL FOUNDATION
⚠️ IMPORTANT DISCLAIMER
This indicator and guide are provided for educational and informational purposes only. This is NOT financial advice, investment advice, or a recommendation to buy or sell any security.
Trading involves substantial risk of loss. Past performance does not guarantee future results. The performance metrics, win rates, and examples shown are from historical backtesting and do not represent actual trading results. Always conduct your own research, paper trade extensively, and never risk capital you cannot afford to lose.
The developers assume no responsibility for any trading losses incurred through use of this indicator.
INTRODUCTION
KERS-AGE (Kinetic Elasticity Reversion System - Adaptive Genetic Evolution) represents an educational exploration of adaptive trading systems. Unlike traditional indicators with fixed parameters, KERS-AGE demonstrates a dynamic, evolving approach that adjusts to market conditions through genetic algorithms and machine learning techniques.
This guide explains the theoretical concepts, technical implementation, and educational examples of how the system operates.
CONCEPTUAL FRAMEWORK
Traditional Indicators vs. Adaptive Systems:
Traditional Indicators:
Fixed parameters
Single strategy approach
Static behavior
Designed for specific conditions
Require manual optimization
Adaptive System Approach (KERS-AGE):
Dynamic parameters (adjust based on conditions)
Multiple strategies tested simultaneously
Pattern recognition (cluster analysis)
Regime-aware (speciation)
Automated optimization (genetic algorithms)
Transparent operation (detailed dashboard)
CORE CONCEPTS EXPLAINED
1. THE ELASTICITY ANALOGY 🎯
The indicator models price behavior as if connected to a moving average by an elastic band:
Price extends away → Elastic tension builds → Potential reversion point identified
Key Measurements:
STRETCH: Distance from price to equilibrium (MA)
TENSION: Normalized force calculation
THRESHOLD: Point where multiple factors align
Theoretical Foundation:
Markets have historically shown mean-reverting tendencies around fair value. This concept quantifies the deviation and identifies potential reversal zones based on multiple confluence factors.
Mathematical Approach:
text
Tension Score = (Price Distance from MA) / (Band Width) × Volatility Scaling
Signal Threshold = Multiple of ATR × Dynamic Volatility Ratio
Confluence = Tension Score + Additional Factors
2. THE 6 SIGNAL TYPES 📊
The system recognizes 6 distinct pattern categories:
A. ELASTIC SIGNALS
Pattern: Price reaches statistical band extremes
Theory: Maximum deviation from mean suggests potential reversion
Detection: Price touches outer zones (typically 2-3× ATR from MA)
Component: Mathematical band extension measurement
Historical Context: Often observed in markets with clear swing patterns
B. WICK SIGNALS
Pattern: Extended rejection wicks on candles
Theory: Failed breakout attempts may indicate directional exhaustion
Detection: Upper/lower wick exceeding 2× body size
Component: Real-time price rejection measurement
Historical Context: Common in volatile conditions with rapid reversals
C. EXHAUSTION SIGNALS
Pattern: Decelerating momentum despite price extension
Theory: Velocity and acceleration divergence may precede reversals
Detection: Decreasing velocity with negative acceleration
Component: Momentum derivative analysis
Historical Context: Often seen at trend maturity points
D. CLIMAX SIGNALS
Pattern: Volume spike at price extreme
Theory: Unusual volume at extremes historically correlates with turning points
Detection: Volume 1.5-2.5× average at band extreme
Component: Volume-price relationship analysis
Historical Context: Associated with institutional activity or capitulation
E. STRUCTURE SIGNALS
Pattern: Fractal pivot formations (swing highs/lows)
Theory: Market structure points have historically acted as support/resistance
Detection: 2-4 bar pivot patterns
Component: Classical technical analysis
Historical Context: Universal across timeframes and markets
F. DIVERGENCE SIGNALS
Pattern: RSI divergence versus price
Theory: Momentum divergence has historically preceded price reversals
Detection: Price makes new extreme but RSI does not
Component: Oscillator divergence detection
Historical Context: Considered a leading indicator in technical analysis
Pattern Confluence:
Historical testing suggests stronger signals when multiple types align:
Elastic + Wick + Volume = Higher confluence score
Elastic + Exhaustion + Divergence = Multiple confirmation factors
Any 3+ types = Increased pattern strength
Note: Past pattern performance does not guarantee future occurrence.
3. REGIME DETECTION 🌍
The system attempts to classify market conditions into three behavioral regimes:
📈 TREND REGIME
Detection Methodology:
text
Efficiency Ratio = Net Movement / Total Movement
Classification: Efficiency > 0.5 AND Volatility < 1.3 → TREND
Characteristics Observed:
Directional price movement
Relatively lower volatility
Defined higher highs/lower lows
Persistent directional momentum
System Response:
Reduces signal frequency
Prioritizes trend-specialist strategies
Applies additional filtering to counter-trend signals
Increases confluence requirements
Educational Note:
In trending conditions, counter-trend mean reversion signals historically have shown reduced reliability. Users may consider additional confirmation when trend regime is detected.
↔️ RANGE REGIME
Detection Methodology:
text
Classification: Efficiency < 0.5 AND Volatility 0.9-1.4 → RANGE
Characteristics Observed:
Oscillating price action
Defined support/resistance zones
Mean-reverting behavior patterns
Relatively balanced directional flow
System Response:
Increases signal frequency
Activates range-specialist strategies
Adjusts bands relative to volatility
Reduces confluence threshold
Educational Note:
Historical backtesting suggests mean reversion systems have performed better in ranging conditions. This does not guarantee future performance.
🌊 VOLATILE REGIME
Detection Methodology:
text
Classification: DVS (Dynamic Volatility Scaling) > 1.5 → VOLATILE
Characteristics Observed:
Erratic price swings
Expanded ranges
Elevated ATR readings
Often news or event-driven
System Response:
Activates volatility-specialist strategies
Widens bands automatically
Prioritizes wick rejection signals
Emphasizes volume confirmation
Educational Note:
Volatile conditions historically present both opportunity and increased risk. Wider stops may be appropriate for risk management.
4. GENETIC EVOLUTION EXPLAINED 🧬
The system employs genetic algorithms to optimize parameters - an approach used in computational finance research.
The Evolution Process:
STEP 1: INITIALIZATION
text
Initial State: System creates 4 starter strategies
- Strategy 0: Range-optimized parameters
- Strategy 1: Trend-optimized parameters
- Strategy 2: Volatility-optimized parameters
- Strategy 3: Balanced parameters
Each contains 14 adjustable parameters (genes):
- Band sensitivity
- Extension multiplier
- Wick threshold
- Momentum threshold
- Volume multiplier
- Component weights (elastic, wick, momentum, volume, fractal)
- Target percentage
STEP 2: COMPETITION (Shadow Trading)
text
Early Bars: All strategies generate signals in parallel
- Each tracks hypothetical performance independently
- Simulated P&L, win rate, Sharpe ratio calculated
- No actual trades executed (educational simulation)
- Performance metrics recorded for analysis
STEP 3: FITNESS EVALUATION
text
Fitness Calculation =
0.25 × Win Rate +
0.25 × PnL Score +
0.15 × Drawdown Score +
0.30 × Sharpe Ratio Score +
0.05 × Trade Count Score
With Walk-Forward enabled:
Fitness = 0.60 × Test Score + 0.40 × Train Score
With Speciation enabled:
Fitness adjusted by Diversity Penalty
STEP 4: SELECTION (Tournament)
text
Periodically (default every 50 bars):
- Randomly select 4 active strategies
- Compare fitness scores
- Top 2 selected as "parents"
STEP 5: CROSSOVER (Breeding)
text
Parent 1 Fitness: 0.65
Parent 2 Fitness: 0.55
Weight calculation: 0.65/(0.65+0.55) = 54%
For each parameter:
Child Parameter = (0.54 × Parent1) + (0.46 × Parent2)
Example:
Band Sensitivity: (0.54 × 1.5) + (0.46 × 2.0) = 1.73
STEP 6: MUTATION
text
For each parameter:
if random(0-1) < Mutation Rate (default 0.15):
Add random variation: -12% to +12%
Purpose: Prevents premature convergence
Enables: Discovery of novel parameter combinations
ADAPTIVE MUTATION:
If population fitness converges → Mutation rate × 1.5
(Encourages exploration when diversity decreases)
STEP 7: INSERTION
text
New strategy added to population:
- Assigned unique ID number
- Generation counter incremented
- Begins shadow trading
- Competes with existing strategies
STEP 8: CULLING (Selection Pressure)
text
Periodically (default every 100 bars):
- Identify lowest fitness strategy
- Verify not elite (protected top performers)
- Verify not last of species
- Remove from population
Result: Maintains selection pressure
Effect: Prevents weak strategies from diluting signals
STEP 9: SIGNAL GENERATION LOGIC
text
When determining signals to display:
If Ensemble enabled:
- All strategies cast weighted votes
- Weights based on fitness scores
- Specialists receive boost in matching regime
- Signal generated if consensus threshold reached
If Ensemble disabled:
- Single highest-fitness strategy used
STEP 10: ADAPTATION OBSERVATION
text
Over time: Population characteristics may shift
- Lower-performing strategies removed
- Higher-performing strategies replicated
- Parameters adjust toward observed optima
- Fitness scores generally trend upward
Long-term: Population reaches maturity
- Strategies become specialized
- Parameters optimized for recent conditions
- Performance stabilizes
Educational Context:
Genetic algorithms are a recognized computational method for optimization problems. This implementation applies those concepts to trading parameter optimization. Past optimization results do not guarantee future performance.
5. SPECIATION (Niche Specialization) 🐟🦎🦅
Inspired by biological speciation theory applied to algorithmic trading.
The Three Species:
RANGE SPECIALISTS 📊
text
Optimized for: Sideways market conditions
Parameter tendencies:
- Tighter bands (1.0-1.5× ATR)
- Higher sensitivity to elastic stretch
- Emphasis on fractal structure
- More frequent signal generation
Typically emerge when:
- Range regime detected
- Clear support/resistance present
- Mean reversion showing historical success
Historical backtesting observations:
- Win rates often in 55-65% range
- Smaller reward/risk ratios (0.5-1.5R)
- Higher trade frequency
TREND SPECIALISTS 📈
text
Optimized for: Directional market conditions
Parameter tendencies:
- Wider bands (2.0-2.5× ATR)
- Focus on momentum exhaustion
- Emphasis on divergence patterns
- More selective signal generation
Typically emerge when:
- Trend regime detected
- Strong directional movement observed
- Counter-trend exhaustion signals sought
Historical backtesting observations:
- Win rates often in 40-55% range
- Larger reward/risk ratios (1.5-3.0R)
- Lower trade frequency
VOLATILITY SPECIALISTS 🌊
text
Optimized for: High-volatility conditions
Parameter tendencies:
- Expanded bands (1.5-2.0× ATR)
- Priority on wick rejection patterns
- Strong volume confirmation requirement
- Very selective signals
Typically emerge when:
- Volatile regime detected
- High DVS ratio (>1.5)
- News-driven or event-driven conditions
Historical backtesting observations:
- Win rates often in 50-60% range
- Variable reward/risk ratios (1.0-2.5R)
- Opportunistic trade timing
Species Protection Mechanism:
text
Minimum Per Species: Configurable (default 2)
If Range specialists = 1:
→ Preferential spawning of Range type
→ Protection from culling process
Purpose: Ensures coverage across regime types
Theory: Markets cycle between behavioral states
Goal: Prevent extinction of specialized approaches
Fitness Sharing:
text
If Species has 4 members:
Individual Fitness × 1 / (4 ^ 0.3)
Individual Fitness × 0.72
Purpose: Creates pressure toward species diversity
Effect: Prevents single approach from dominating population
Educational Note: Speciation is a theoretical framework for maintaining strategy diversity. Past specialization performance does not guarantee future regime classification accuracy or signal quality.
6. WALK-FORWARD VALIDATION 📈
An out-of-sample testing methodology used in quantitative research to reduce overfitting risk.
The Overfitting Problem:
text
Hypothetical Example:
In-Sample Backtest: 85% win rate
Out-of-Sample Results: 35% win rate
Explanation: Strategy may have optimized to historical noise
rather than repeatable patterns
Walk-Forward Methodology:
Timeline Structure:
text
┌──────────────────────────────────────────────────────┐
│ Train Window │ Test Window │ Train │ Test │
│ (200 bars) │ (50 bars) │ (200) │ (50) │
└──────────────────────────────────────────────────────┘
In-Sample Out-of-Sample IS OOS
(Optimize) (Validate) Cycle 2...
TRAIN PHASE (In-Sample):
text
Example Bars 1-200: Strategies optimize parameters
- Performance tracked
- Not yet used for primary fitness
- Learning period
TEST PHASE (Out-of-Sample):
text
Example Bars 201-250: Strategies use optimized parameters
- Performance tracked separately
- Validation period
- Out-of-sample evaluation
FITNESS CALCULATION EXAMPLE:
text
Train Win Rate: 65%
Test Win Rate: 58%
Composite Fitness:
= (0.40 × 0.65) + (0.60 × 0.58)
= 0.26 + 0.35
= 0.61
Note: Test results weighted 60%, Train 40%
Theory: Out-of-sample may better indicate forward performance
OVERFIT DETECTION MECHANISM:
text
Gap = Train WR - Test WR = 65% - 58% = 7%
If Gap > Overfit Threshold (default 25%):
Fitness Penalty = Gap × 2
Example with 30% gap:
Strategy shows: Train 70%, Test 40%
Gap: 30% → Potential overfit flagged
Penalty: 30% × 2 = 60% fitness reduction
Result: Strategy likely to be culled
WINDOW ROLLING:
text
Example Bar 250: Test window complete
→ Reset both windows
→ Start new cycle
→ Previous results retained for analysis
Cycle Count increments
Historical performance tracked across multiple cycles
Educational Context:
Walk-forward analysis is a recognized approach in quantitative finance research for evaluating strategy robustness. However, past out-of-sample performance does not guarantee future results. Market conditions can change in ways not represented in historical data.
7. CLUSTER ANALYSIS 🔬
An unsupervised machine learning approach for pattern recognition.
The Concept:
text
Scenario: System identifies a price pivot that wasn't signaled
→ Extract pattern characteristics
→ Store features for analysis
→ Adjust detection for similar future patterns
Implementation:
STEP 1: FEATURE EXTRACTION
text
When significant move occurs without signal:
Extract 5-dimensional feature vector:
Feature Vector =
Example:
Observed Pattern:
STEP 2: CLUSTER ASSIGNMENT
text
Compare to existing cluster centroids using distance metric:
Cluster 0:
Cluster 1: ← Minimum distance
Cluster 2:
...
Assign to nearest cluster
STEP 3: CENTROID UPDATE
text
Old Centroid 1:
New Pattern:
Decay Rate: 0.95
Updated Centroid:
= 0.95 × Old + 0.05 × New
= Exponential moving average update
=
STEP 4: PROFIT TRACKING
text
Cluster Average Profit (hypothetical):
Old Average: 2.5R
New Observation: 3.2R
Updated: 0.95 × 2.5 + 0.05 × 3.2 = 2.535R
STEP 5: LEARNING ADJUSTMENT
text
If Cluster Average Profit > Threshold (e.g., 2.0R):
Cluster Learning Boost += increment (e.g., 0.1)
(Maximum cap: 2.0)
Effect: Future signals resembling this cluster receive adjustment
STEP 6: SCORE MODIFICATION
text
For signals matching cluster characteristics:
Base Score × Cluster Learning Boost
Example:
Base Score: 5.2
Cluster Boost: 1.3
Adjusted Score: 5.2 × 1.3 = 6.76
Result: Pattern more likely to generate signal
Cluster Interpretation Example:
text
CLUSTER 0: "High elastic, low volume"
Centroid:
Avg Profit: 3.5R (historical backtest)
Interpretation: Pure elastic signals in ranges historically favorable
CLUSTER 1: "Wick rejection, volatile"
Centroid:
Avg Profit: 2.8R (historical backtest)
Interpretation: Wick signals in volatility showed positive results
CLUSTER 2: "Exhaustion divergence"
Centroid:
Avg Profit: 4.2R (historical backtest)
Interpretation: Momentum exhaustion in trends performed well
Learning Progress Metrics:
text
Missed Total: 47
Clusters Updated: 142
Patterns Learned: 28
Interpretation:
- System identified 47 significant moves without signals
- Clusters updated 142 times (incremental refinement)
- Made 28 parameter adjustments
- Theoretically improving pattern recognition
Educational Note: Cluster analysis is a recognized machine learning technique. This implementation applies it to trading pattern recognition. Past cluster performance does not guarantee future pattern profitability or accurate classification.
8. ENSEMBLE VOTING 🗳️
A collective decision-making approach common in machine learning.
The Wisdom of Crowds Concept:
text
Single Model:
- May have blind spots
- Subject to individual bias
- Limited perspective
Ensemble of Models:
- Blind spots may offset
- Biases may average out
- Multiple perspectives considered
Implementation:
STEP 1: INDIVIDUAL VOTES
text
Example Bar 247:
Strategy 0 (Range): LONG (fitness: 0.65)
Strategy 1 (Trend): FLAT (fitness: 0.58)
Strategy 2 (Volatile): LONG (fitness: 0.52)
Strategy 3 (Balanced): SHORT (fitness: 0.48)
Strategy 4 (Range): LONG (fitness: 0.71)
Strategy 5 (Trend): FLAT (fitness: 0.55)
STEP 2: WEIGHT CALCULATION
text
Base Weight = Fitness Score
If strategy's species matches current regime:
Weight × Specialist Boost (configurable, default 1.5)
If strategy has recent positive performance:
Weight × Recent Performance Factor
Example for Strategy 0:
Base: 0.65
Range specialist in Range regime: 0.65 × 1.5 = 0.975
Recent performance adjustment: 0.975 × 1.13 = 1.10
STEP 3: WEIGHTED TALLYING
text
LONG votes:
S0: 1.10 + S2: 0.52 + S4: 0.71 = 2.33
SHORT votes:
S3: 0.48 = 0.48
FLAT votes:
S1: 0.58 + S5: 0.55 = 1.13
Total Weight: 2.33 + 0.48 + 1.13 = 3.94
STEP 4: CONSENSUS CALCULATION
text
LONG %: 2.33 / 3.94 = 59.1%
SHORT %: 0.48 / 3.94 = 12.2%
FLAT %: 1.13 / 3.94 = 28.7%
Minimum Consensus Setting: 60%
Result: NO SIGNAL (59.1% < 60%)
STEP 5: SIGNAL DETERMINATION
text
If LONG % >= Min Consensus:
→ Display LONG signal
→ Show consensus percentage in dashboard
If SHORT % >= Min Consensus:
→ Display SHORT signal
If neither threshold reached:
→ No signal displayed
Practical Examples:
text
Strong Consensus (85%):
5 strategies LONG, 0 SHORT, 1 FLAT
→ High agreement among models
Moderate Consensus (62%):
3 LONG, 2 SHORT, 1 FLAT
→ Borderline agreement
No Consensus (48%):
3 LONG, 2 SHORT, 1 FLAT
→ Insufficient agreement, no signal shown
Educational Note: Ensemble methods are widely used in machine learning to improve model robustness. This implementation applies ensemble concepts to trading signals. Past ensemble performance does not guarantee future signal quality or profitability.
9. THOMPSON SAMPLING 🎲
A Bayesian reinforcement learning technique for balancing exploration and exploitation.
The Exploration-Exploitation Dilemma:
text
EXPLOITATION: Use what appears to work
Benefit: Leverages observed success patterns
Risk: May miss better alternatives
EXPLORATION: Try less-tested approaches
Benefit: May discover superior methods
Risk: May waste resources on inferior options
Thompson Sampling Solution:
STEP 1: BETA DISTRIBUTIONS
text
For each signal type, maintain:
Alpha = Successes + 1
Beta = Failures + 1
Example for Elastic signals:
15 wins, 10 losses
Alpha = 16, Beta = 11
STEP 2: PROBABILITY SAMPLING
text
Rather than using simple Win Rate = 15/25 = 60%
Sample from Beta(16, 11) distribution:
Possible samples: 0.55, 0.62, 0.58, 0.64, 0.59...
Rationale: Incorporates uncertainty
- Type with 5 trades: High uncertainty, wide sample variation
- Type with 50 trades: Lower uncertainty, narrow sample range
STEP 3: TYPE PRIORITIZATION
text
Example Bar 248:
Elastic sampled: 0.62
Wick sampled: 0.58
Exhaustion sampled: 0.71 ← Highest this sample
Climax sampled: 0.52
Structure sampled: 0.63
Divergence sampled: 0.45
Exhaustion type receives temporary boost
STEP 4: SIGNAL ADJUSTMENT
text
If current signal is Exhaustion type:
Score × (0.7 + 0.71 × 0.6)
Score × 1.126
If current signal is other type with lower sample:
Score × (0.7 + sample × 0.6)
(smaller adjustment)
STEP 5: OUTCOME FEEDBACK
text
When trade completes:
If WIN:
Alpha += 1
(Beta unchanged)
If LOSS:
Beta += 1
(Alpha unchanged)
Effect: Shifts probability distribution for future samples
Educational Context:
Thompson Sampling is a recognized Bayesian approach to the multi-armed bandit problem. This implementation applies it to signal type selection. The mathematical optimality assumes stationary distributions, which may not hold in financial markets. Past sampling performance does not guarantee future type selection accuracy.
10. DYNAMIC VOLATILITY SCALING (DVS) 📉
An adaptive approach where parameters adjust based on current vs. baseline volatility.
The Adaptation Problem:
text
Fixed bands (e.g., always 1.5 ATR):
In low volatility environment (vol = 0.5):
Bands may be too wide → fewer signals
In high volatility environment (vol = 2.0):
Bands may be too tight → excessive signals
The DVS Approach:
STEP 1: BASELINE ESTABLISHMENT
text
Calculate volatility over baseline period (default 100 bars):
Method options: ATR / Close, Parkinson, or Garman-Klass
Example average volatility = 1.2%
This represents "normal" for recent conditions
STEP 2: CURRENT VOLATILITY
text
Current bar volatility = 1.8%
STEP 3: DVS RATIO
text
DVS Ratio = Current / Baseline
= 1.8 / 1.2
= 1.5
Interpretation: Volatility currently 50% above baseline
STEP 4: BAND ADJUSTMENT
text
Base Band Width: 1.5 ATR
Adjusted Band Width:
Upper: 1.5 × DVS = 1.5 × 1.5 = 2.25 ATR
Lower: Same
Result: Bands expand 50% to accommodate higher volatility
STEP 5: THRESHOLD ADJUSTMENT
text
Base Thresholds:
Wick: 0.15
Momentum: 0.6
Adjusted:
Wick: 0.15 / DVS = 0.10 (easier to trigger in high vol)
Momentum: 0.6 × DVS = 0.90 (harder to trigger in high vol)
DVS Calculation Methods:
text
ATR RATIO (Simplest):
DVS = (ATR / Close) / SMA(ATR / Close, 100)
PARKINSON (Range-based):
σ = √(∑(ln(H/L))² / (4×n×ln(2)))
DVS = Current σ / Baseline σ
GARMAN-KLASS (Comprehensive):
σ = √(0.5×(ln(H/L))² - (2×ln(2)-1)×(ln(C/O))²)
DVS = Current σ / Baseline σ
ENSEMBLE (Robust):
DVS = Median(ATR_Ratio, Parkinson, Garman_Klass)
Educational Note: Dynamic volatility scaling is an approach to normalize indicators across varying market conditions. The effectiveness depends on the assumption that recent volatility patterns continue, which is not guaranteed. Past volatility adjustment performance does not guarantee future normalization accuracy.
11. PRESSURE KERNEL 💪
A composite measurement attempting to quantify directional force beyond simple price movement.
Components:
1. CLOSE LOCATION VALUE (CLV)
text
CLV = ((Close - Low) - (High - Close)) / Range
Examples:
Close at top of range: CLV = +1.0 (bullish position)
Close at midpoint: CLV = 0.0 (neutral)
Close at bottom: CLV = -1.0 (bearish position)
2. WICK ASYMMETRY
text
Wick Pressure = (Lower Wick - Upper Wick) / Range
Additional factors:
If Lower Wick > Body × 2: +0.3 (rejection boost)
If Upper Wick > Body × 2: -0.3 (rejection penalty)
3. BODY MOMENTUM
text
Body Ratio = Body Size / Range
Body Momentum = Close > Open ? +Body Ratio : -Body Ratio
Strong bullish candle: +0.9
Weak bullish candle: +0.2
Doji: 0.0
4. PATH ESTIMATE
text
Close Position = (Close - Low) / Range
Open Position = (Open - Low) / Range
Path = Close Position - Open Position
Additional adjustments:
If closed high with lower wick: +0.2
If closed low with upper wick: -0.2
5. MOMENTUM CONFIRMATION
text
Price Change / ATR
Examples:
+1.5 ATR move: +1.0 (capped)
+0.5 ATR move: +0.5
-0.8 ATR move: -0.8
COMPOSITE CALCULATION:
text
Pressure =
CLV × 0.25 +
Wick Pressure × 0.25 +
Body Momentum × 0.20 +
Path Estimate × 0.15 +
Momentum Confirm × 0.15
Volume context applied:
If Volume > 1.5× avg: × 1.3
If Volume < 0.5× avg: × 0.7
Final smoothing: 3-period EMA
Pressure Interpretation:
text
Pressure > 0.3: Suggests buying pressure
→ May support LONG signals
→ May reduce SHORT signal strength
Pressure < -0.3: Suggests selling pressure
→ May support SHORT signals
→ May reduce LONG signal strength
-0.3 to +0.3: Neutral range
→ Minimal directional bias
Educational Note: The Pressure Kernel is a custom composite indicator combining multiple price action metrics. These weightings are theoretical constructs. Past pressure readings do not guarantee future directional movement or signal quality.
USAGE GUIDE - EDUCATIONAL EXAMPLES
Getting Started:
STEP 1: Add Indicator
Open TradingView
Add KERS-AGE to chart
Allow minimum 100 bars for initialization
Verify dashboard displays Gen: 1+
STEP 2: Initial Observation Period
text
First 200 bars:
- System is in learning phase
- Signal frequency typically low
- Population evolution occurring
- Fitness scores generally increasing
Recommendation: Observe without trading during initialization
STEP 3: Signal Evaluation Criteria
text
Consider evaluating signals based on:
- Confidence percentage
- Grade assignment (A+, A, B+, B, C)
- Position within bands
- Historical win rate shown in dashboard
- Train vs. Test performance gap
Example Signal Evaluation Checklist:
Educational Criteria to Consider:
Signal appeared (⚡ arrow displayed)
Confidence level meets personal threshold
Grade meets personal quality standard
Ensemble consensus (if enabled) meets threshold
Historical win rate acceptable
Test performance reasonable vs. Train
Price location at band extreme
Regime classification appropriate for strategy
If trending: Signal direction aligns with personal analysis
Stop loss distance acceptable for risk tolerance
Position size appropriate (example: 1-2% account risk)
Note: This is an educational checklist, not trading advice. Users should develop their own criteria based on personal risk tolerance and strategy.
Risk Management Educational Examples:
POSITION SIZING EXAMPLE:
text
Hypothetical scenario:
Account: $10,000
Risk tolerance: 1.5% per trade = $150
Indicated stop distance: 1.5 ATR = $300 per contract
Calculation: $150 / $300 = 0.5 contracts
This is an educational example only, not a recommendation.
STOP LOSS EXAMPLES:
text
System provides stop level (red line)
Typically calculated as 1.5 ATR from entry
Alternative approaches users might consider:
LONG: Below recent swing low
SHORT: Above recent swing high
Users should determine stops based on personal risk management.
TAKE PROFIT EXAMPLES:
text
System provides target level (green line)
Typically calculated as price stretch × 60%
Alternative approaches users might consider:
Scale out: Partial exit at 1R, remainder at 2R
Trailing stop: Adjust stop after profit threshold
Users should determine targets based on personal strategy.
Educational Note: These are theoretical examples for educational purposes. Actual position sizing and risk management should be determined by each user based on their individual risk tolerance, account size, and trading plan.
OPTIMIZATION BY MARKET TYPE - EDUCATIONAL SUGGESTIONS
RANGE-BOUND MARKETS
Suggested Settings for Testing:
Population Size: 6-8
Min Confluence: 5.0-6.0
Min Consensus: 70%
Enable Speciation: Consider enabling
Min Per Species: 2
Theoretical Rationale:
More strategies may provide better coverage
Moderate confluence may generate more signals
Higher consensus may filter quality
Speciation may encourage range specialist emergence
Historical Backtest Observations:
Win rates in testing: Varied, often 50-65% range
Reward/risk ratios observed: 0.5-1.5R
Signal frequency: Relatively frequent
Disclaimer: Past backtesting results do not guarantee future performance.
TRENDING MARKETS
Suggested Settings for Testing:
Population Size: 4-5
Min Confluence: 6.0-7.0
Consider enabling MTF filter
MTF Timeframe: 3-5× current timeframe
Specialist Boost: 1.8-2.0
Theoretical Rationale:
Fewer strategies may adapt faster
Higher confluence may filter counter-trend noise
MTF may reduce counter-trend signals
Specialist boost may prioritize trend specialists
Historical Backtest Observations:
Win rates in testing: Varied, often 40-55% range
Reward/risk ratios observed: 1.5-3.0R
Signal frequency: Less frequent
Disclaimer: Past backtesting results do not guarantee future performance.
VOLATILE MARKETS (e.g., Cryptocurrency)
Suggested Settings for Testing:
Base Length: 25-30
Band Multiplier: 1.8-2.0
DVS: Consider enabling (Ensemble method)
Consider enabling Volume Filter
Volume Multiplier: 1.5-2.0
Theoretical Rationale:
Longer base may smooth noise
Wider bands may accommodate larger swings
DVS may be critical for adaptation
Volume filter may confirm genuine moves
Historical Backtest Observations:
Win rates in testing: Varied, often 45-60% range
Reward/risk ratios observed: 1.0-2.5R
Signal frequency: Moderate
Disclaimer: Cryptocurrency markets are highly volatile and risky. Past backtesting results do not guarantee future performance.
SCALPING (1-5min timeframes)
Suggested Settings for Testing:
Base Length: 15-20
Train Window: 150
Test Window: 30
Spawn Interval: 30
Min Confluence: 5.5-6.5
Consider enabling Ensemble
Min Consensus: 75%
Theoretical Rationale:
Shorter base may increase responsiveness
Shorter windows may speed evolution cycles
Quick spawning may enable rapid adaptation
Higher confluence may filter noise
Ensemble may reduce false signals
Historical Backtest Observations:
Win rates in testing: Varied, often 50-65% range
Reward/risk ratios observed: 0.5-1.0R
Signal frequency: Frequent but filtered
Disclaimer: Scalping involves high frequency trading with increased transaction costs and slippage risk. Past backtesting results do not guarantee future performance.
SWING TRADING (4H-Daily timeframes)
Suggested Settings for Testing:
Base Length: 25-35
Train Window: 300
Test Window: 100
Population Size: 7-8
Consider enabling Walk-Forward
Cooldown: 8-10 bars
Theoretical Rationale:
Longer timeframe may benefit from longer lookbacks
Larger windows may improve robustness testing
More population may increase stability
Walk-forward may be valuable for multi-day holds
Longer cooldown may reduce overtrading
Historical Backtest Observations:
Win rates in testing: Varied, often 45-60% range
Reward/risk ratios observed: 2.0-4.0R
Signal frequency: Infrequent but potentially higher quality
Disclaimer: Swing trading involves overnight and weekend risk. Past backtesting results do not guarantee future performance.
DASHBOARD GUIDE - INTERPRETATION EXAMPLES
Reading Each Section:
HEADER:
text
🧬 KERS-AGE EVOLVED 📈 TREND
Regime indication:
Color coding suggests current classification
(Green = Range, Orange = Trend, Purple = Volatile)
POPULATION:
text
Pop: 6/6
Gen: 42
Interpretation:
- Population at target size
- System at generation 42
- May indicate mature evolution
SPECIES (if enabled):
text
R:2 T:3 V:1
Interpretation:
- 2 Range specialists
- 3 Trend specialists
- 1 Volatility specialist
In TREND regime this distribution may be expected
WALK-FORWARD (if enabled):
text
Phase: 🧪 TEST
Cycles: 5
Train: 65%
Test: 58%
Considerations:
- Currently in test phase
- Completed 5 full cycles
- 7% performance gap between train and test
- Gap under default 25% overfit threshold
ENSEMBLE (if enabled):
text
Vote: 🟢 LONG
Consensus: 72%
Interpretation:
- Weighted majority voting LONG
- 72% agreement level
- Exceeds default 60% consensus threshold
SELECTED STRATEGY:
text
ID:23
Trades: 47
Win%: 58%
P&L: +8.3R
Fitness: 0.62
Information displayed:
- Strategy ID 23, Trend specialist
- 47 historical simulated trades
- 58% historical win rate
- +8.3R historical cumulative reward/risk
- 0.62 fitness score
Note: These are historical simulation metrics
SIGNAL QUALITY:
text
Conf: 78%
Grade: B+
Elastic: ████████░░
Wick: ██████░░░░
Momentum: ███████░░░
Pressure: ███████░░░
Information displayed:
- 78% confluence score
- B+ grade assignment
- Elastic component strongest
- Visual representation of component strengths
LEARNING (if enabled):
text
Missed: 47
Learned: 28
Interpretation:
- System identified 47 moves without signals
- 28 pattern adjustments made
- Suggests ongoing learning process
POSITION:
text
POS: 🟢 LONG
Score: 7.2
Current state:
- Simulated long position active
- 7.2 confluence score
- Monitor for potential exit signal
Educational Note: Dashboard displays are for informational and educational purposes. All performance metrics are historical simulations and do not represent actual trading results or future expectations.
FREQUENTLY ASKED QUESTIONS - EDUCATIONAL RESPONSES
Q: Why aren't signals showing?
A: Several factors may affect signal generation:
System may still be initializing (check Gen: counter)
Confluence score may be below threshold
Ensemble consensus (if enabled) may be below requirement
Current regime may naturally produce fewer signals
Filters may be active (volume, noise reduction)
Consider adjusting settings or allowing more time for evolution.
Q: The win rate seems low compared to backtesting?
A: Consider these factors:
First 200 bars typically represent learning period
Focus on TEST % rather than TRAIN % for realistic expectations
Trend regime historically shows 40-55% win rates in backtesting
Different market conditions may affect performance
System emphasizes reward/risk ratio alongside win rate
Past performance does not guarantee future results
Q: Should I take all signals?
A: This is a personal decision. Some users may consider:
Taking higher grades (A+, A) in any regime
Being more selective in trend regimes
Requiring higher ensemble consensus
Only trading during specific regimes
Paper trading extensively before live trading
Each user should develop their own signal selection criteria.
Q: Signals appear then disappear?
A: This may be expected behavior:
Default requires 2-bar persistence
Designed to filter brief spikes
Confirmation delay intended to reduce false signals
Wait for persistence requirement to be met
This is an intentional feature, not a malfunction.
Q: Test % much lower than Train %?
A: This may indicate:
Overfit detection system functioning
Gap exceeding threshold triggers penalty
Strategy may be optimizing to in-sample noise
System designed to cull such strategies
Walk-forward protection working as intended
This is a safety feature to reduce overfitting risk.
Q: The population keeps culling strategies?
A: This is part of normal evolution:
Lower-performing strategies removed periodically
Higher-performing strategies replicate
Population quality theoretically improves over time
Total culled count shows selection pressure
This is expected evolutionary behavior.
Q: Which timeframe works best?
A: Backtesting suggests 15min to 4H may be suitable ranges:
Lower timeframes may be noisier, may need more filtering
Higher timeframes may produce fewer signals
Extensive historical testing recommended for chosen asset
Each asset may behave differently
Consider paper trading across multiple timeframes
Personal testing is recommended for your specific use case.
Q: Does it work on all asset types?
A: Historical testing suggests:
Cryptocurrency: Consider longer Base Length (25-30) due to volatility
Forex: Standard settings may be appropriate starting point
Stocks: Standard settings, possibly smaller population (4-5)
Indices: Trend-focused settings may be worth testing
Each asset class has unique characteristics. Extensive testing recommended.
Q: Can settings be changed after initialization?
A: Yes, but considerations:
Population will reset
Strategies restart evolution
Learning progress resets
Consider testing new settings on separate chart first
May want to compare performance before committing
Settings changes restart the evolutionary process.
Q: Walk-Forward enabled or disabled?
A: Educational perspective:
Walk-Forward adds out-of-sample validation
May reduce overfitting risk
Results may be more conservative
Considered best practice in quantitative research
Requires more bars for meaningful data
Recommended for those concerned about robustness
Individual users should assess based on their needs.
Q: Ensemble mode or single strategy?
A: Trade-offs to consider:
Ensemble approach:
Requires consensus threshold
May have higher consistency
Typically fewer signals
Multiple perspectives considered
Single strategy approach:
More signals (varying quality)
Faster response to conditions
Higher variability
More active signal generation
Personal preference and risk tolerance should guide this choice.
ADVANCED CONSIDERATIONS
Evolution Time: Consider allowing 200+ bars for population maturity
Regime Awareness: Historical performance varies by regime classification
Confluence Range: Testing suggests 70-85% may be informative range
Ensemble Levels: 80%+ consensus historically associated with stronger agreement
Out-of-Sample Focus: Test performance may be more indicative than train performance
Learning Metrics: "Learned" count shows pattern adjustment over time
Pressure Levels: >0.4 pressure historically added confirmation
DVS Monitoring: >1.5 DVS typically widens bands and affects frequency
Species Balance: Healthy distribution might be 2-2-2 or 3-2-1, avoid 6-0-0
Timeframe Testing: Match to personal trading style, test thoroughly
Volume Importance: May be more critical for stocks/crypto than forex
MTF Utility: Historically more impactful in trending conditions
Grade Significance: A+ in trend regime historically rare and potentially significant
Risk Parameters: Standard risk management suggests 1-2% per trade maximum
Stop Levels: System stops are pre-calculated, widening may affect reward/risk
THEORETICAL FOUNDATIONS
Genetic Algorithms in Finance:
Traditional Optimization Approaches:
Grid search: Exhaustive but computationally expensive
Gradient descent: Efficient but prone to local optima
Random search: Simple but inefficient
Genetic Algorithm Characteristics:
Explores parameter space through evolutionary process
Balances exploration (mutation) and exploitation (selection)
Mitigates local optima through population diversity
Parallel evaluation via population approach
Inspired by biological evolution principles
Academic Context: Genetic algorithms are studied in computational finance literature for parameter optimization. Effectiveness varies based on problem characteristics and implementation.
Ensemble Methods in Machine Learning:
Single Model Limitations:
May overfit to specific patterns
Can have blind spots in certain conditions
May be brittle to distribution shifts
Ensemble Theoretical Benefits:
Variance reduction through averaging
Robustness through diversity
Improved generalization potential
Widely used (Random Forests, Gradient Boosting, etc.)
Academic Context: Ensemble methods are well-studied in machine learning literature. Performance benefits depend on base model diversity and correlation structure.
Walk-Forward Analysis:
Alternative Approaches:
Simple backtest: Risk of overfitting to full dataset
Single train/test split: Limited validation
Cross-validation: May violate time-series properties
Walk-Forward Characteristics:
Continuous out-of-sample validation
Respects temporal ordering
Attempts to detect strategy degradation
Used in quantitative trading research
Academic Context: Walk-forward analysis is discussed in quantitative finance literature as a robustness check. However, it assumes future regimes will resemble recent test periods, which is not guaranteed.
FINAL EDUCATIONAL SUMMARY
KERS-AGE demonstrates an adaptive systems approach to technical analysis. Rather than fixed rules, it implements:
✓ Evolutionary Optimization: Parameter adaptation through genetic algorithms
✓ Regime Classification: Attempted market condition categorization
✓ Out-of-Sample Testing: Walk-forward validation methodology
✓ Pattern Recognition: Cluster analysis and learning systems
✓ Ensemble Methodology: Collective decision-making framework
✓ Full Transparency: Comprehensive dashboard and metrics
This indicator is an educational tool demonstrating advanced algorithmic concepts.
Critical Reminders:
The system:
✓ Attempts to identify potential reversal patterns
✓ Adapts parameters to changing conditions
✓ Provides multiple filtering mechanisms
✓ Offers detailed performance metrics
Users must understand:
✓ No system guarantees profitable results
✓ Past performance does not predict future results
✓ Extensive testing and validation recommended
✓ Risk management is user's responsibility
✓ Market conditions can change unpredictably
✓ This is educational software, not financial advice
Success in trading requires: Proper education, risk management, discipline, realistic expectations, and personal responsibility for all trading decisions.
For Educational Use
🧬 KERS-AGE Development Team
⚠️ FINAL DISCLAIMER
This indicator and documentation are provided strictly for educational and informational purposes.
NOT FINANCIAL ADVICE: Nothing in this guide constitutes financial advice, investment advice, trading advice, or any recommendation to buy, sell, or hold any security or to engage in any trading strategy.
NO GUARANTEES: No representation is made that any account will or is likely to achieve profits or losses similar to those shown in backtests, examples, or historical data. Past performance is not indicative of future results.
SUBSTANTIAL RISK: Trading stocks, forex, futures, options, and cryptocurrencies involves substantial risk of loss and is not suitable for every investor. The high degree of leverage can work against you as well as for you.
YOUR RESPONSIBILITY: You are solely responsible for your own investment and trading decisions. You should conduct your own research, perform your own analysis, and consult with qualified financial advisors before making any trading decisions.
NO LIABILITY: The developers, contributors, and distributors of this indicator disclaim all liability for any losses or damages, direct or indirect, that may result from use of this indicator or reliance on any information provided.
PAPER TRADE FIRST: Users are strongly encouraged to thoroughly test this indicator in a paper trading environment before risking any real capital.
By using this indicator, you acknowledge that you have read this disclaimer, understand the risks involved in trading, and agree that you are solely responsible for your own trading decisions and their outcomes.
Educational Software Only | Trade at Your Own Risk | Not Financial Advice
Taking you to school. — Dskyz , Trade with insight. Trade with anticipation.
ZAR Sentiment IndexOverview
The ZAR Sentiment Index (ZSI) is a composite macro-financial indicator designed to measure the prevailing risk and carry regime for the South African Rand (ZAR).
The South African Rand is a high-beta emerging market currency that is heavily influenced by:
Global risk sentiment
US dollar strength
Commodity dynamics
Interest-rate differentials
Sovereign risk perceptions
Rather than focusing on price momentum or technical patterns, the ZSI aggregates key macro drivers into a single normalised index, allowing traders and analysts to identify whether the environment is supportive, neutral, or hostile for ZAR exposure.
The indicator is intended as a regime filter, not a trade-entry signal.
Methodology
The ZSI combines six macro- and market-based components that have historically explained a large share of USDZAR and ZAR carry performance.
Each component is standardised using a rolling z-score, allowing variables with different units and frequencies to be combined consistently.
All macroeconomic series are sourced on a daily timeframe and forward-filled, ensuring the indicator functions correctly on daily, weekly, and monthly charts.
Components
1. US Dollar Strength (DXY)
A stronger US dollar is typically negative for emerging market currencies, including ZAR.
Contribution: Negative
Implementation: Negative z-score of DXY
2. Global Risk Sentiment (VIX)
The VIX index is used as a proxy for global risk aversion.
Rising volatility signals risk-off conditions and carry trade vulnerability
Contribution: Negative
Implementation: Negative z-score of VIX
3. Commodity Support (Gold)
South Africa retains a meaningful commodity linkage, particularly to gold.
Stronger gold prices tend to support ZAR through terms-of-trade effects
Contribution: Positive
Implementation: Positive z-score of XAUUSD
Implementation: Positive z-score of XAUUSD
4. Interest Rate Differential (SA 10Y – US 10Y)
The yield spread between South African and US government bonds proxies the compensation investors demand to hold South African assets.
Wider spreads are generally supportive for ZAR
Contribution: Positive
Implementation: Z-score of the SA 10-year minus US 10-year yield spread
5. Sovereign Risk Proxy (Government Debt-to-GDP)
Where sovereign CDS data is unavailable, South Africa Government Debt-to-GDP is used as a structural proxy for sovereign risk.
Rising debt ratios reflect deteriorating fiscal sustainability
Contribution: Negative
Implementation: Negative z-score of Debt-to-GDP
6. Monetary Policy Differential (SARB – Fed)
The carry attractiveness of ZAR is influenced by the policy rate differential between South Africa and the United States.
The South African interbank rate is used as a proxy for the SARB policy stance
The US policy rate is used as the Federal Reserve proxy
Contribution: Positive
Implementation: Z-score of the SARB–Fed rate gap
Index Construction
Each standardized component is weighted (equal weights by default) and aggregated into a single composite score:
Positive values indicate a supportive macro environment for ZAR
Negative values indicate deteriorating conditions
An optional exponential moving average is applied to reduce noise.
Regime Interpretation
Above 0 - Supportive - Macro tailwinds for ZAR; carry conditions favourable
0 to –0.5 - Neutral / Cautious - Range-bound conditions; reduced conviction
–0.5 to –1.0 - Warning - Rising risk; carry trades vulnerable
Below –1.0 - Stress - Elevated probability of sharp USDZAR upside moves
Background shading is used to visually highlight warning and stress regimes.
Practical Applications
USDZAR Analysis
Supportive regimes tend to align with sustained USDZAR downside trends
Warning and stress regimes often precede volatility spikes and sharp reversals
Carry Trade Risk Management
The index helps identify when ZAR carry trades are structurally supported versus vulnerable
Particularly useful for filtering exposure in ZARJPY and EM FX baskets
Macro Context
The ZSI provides macro confirmation or divergence relative to price action
It is most effective when combined with key technical levels and event risk
Timeframe Considerations
The indicator is designed to function across all chart timeframes
Macroeconomic inputs are sourced daily and forward-filled
Daily and weekly charts are recommended for regime analysis
Important Notes
This indicator is not predictive and does not generate trade signals
It measures prevailing macro conditions rather than forecasting price direction
ZAR can remain resilient in mildly negative regimes and volatile in neutral regimes
The strongest signals occur when extreme ZSI readings align with major macro events or key price levels.
Summary
The ZAR Sentiment Index (ZSI) provides a disciplined, transparent framework for understanding the macro forces driving the South African Rand.
By integrating global risk, US dollar dynamics, commodities, interest rate differentials, and sovereign risk into a single normalized measure, the indicator helps traders distinguish between supportive environments, neutral conditions, and genuine risk-off regimes.
Bollinger Bands MTF with Individual DMI Colors V1As we know prices react to volatility hence this indicator was made by me to know next move the market little back testing can give you wonderous results.
Squeeze Momentum con AlertasSqueeze Momentum with alerts to detect pattern changes from light green to dark green or from light red to dark red.
Best used in combination with ADX.
Squeeze Momentum FelipeSqueeze Momentum with alerts to detect pattern changes from light green to dark green or from light red to dark red.
Best used in combination with ADX.
MHM BOT V2Proprietary algorithm based indicator providing clear buy / sell signals which do not repaint. This algorithm is based on rejection patterns. Perfectly suited for scalping tickers with high liquidity and volatility. Perfectly suited for scaling NQ or ES.
RSI + ADX + ATR Combo with Divergence3in1 Indicator Momentum Combo with Divergence full costumization
changekon.com_VolatileMarket_como_stochRsi_both_sideBBIndicatorIndicator Description
This custom indicator is a hybrid trend and volatility-based tool designed to identify potential buy and sell zones in the market. It combines multiple moving average methodologies and volatility analysis to provide more reliable trading signals.
The indicator integrates Simple Moving Average (SMA), Exponential Moving Average (EMA), and Running Moving Average (RMA) to capture both short-term momentum and longer-term trend direction. By blending these averages, the indicator reduces the lag and noise commonly associated with using a single moving average.
In addition, Bollinger Bands are used to measure market volatility and identify overbought and oversold conditions. The width and interaction of price with the bands help assess whether the market is in a trending or ranging state.
A volatility filter is applied to avoid low-quality signals during low-volatility or choppy market conditions. Buy signals are generated when price action aligns with bullish trend confirmation and favorable volatility conditions. Conversely, sell signals are triggered when bearish trend criteria and volatility confirmation are met.
Overall, this indicator is designed to improve signal accuracy by combining trend strength, momentum, and volatility into a single decision-making framework, making it suitable for both trend-following and breakout trading strategies.
MHM BOT V6Proprietary algorithm based indicator providing clear buy / sell signals which do not repaint. Perfectly suited for scalping tickers with high liquidity and volatility. Perfectly suited for scaling NQ or ES.
BBMA Signal ProBBMA Signal Pro
BBMA Signal Pro is a professional BBMA (Bollinger Band + Moving Average) cycle indicator designed to identify structure, momentum, and continuation — not random signals.
This script strictly enforces the BBMA trading cycle and only allows continuation and re-entry signals when the market context is valid.
Core Components
Bollinger Bands (20 SMA, configurable)
WMA 5 & WMA 10 (High / Low)
EMA 50 for trend confirmation
BBMA Cycle Logic (Strict Flow)
All continuation setups require the full BBMA sequence to complete:
EXT (Extreme)
TPW (TP Wajib)
MHV (Market Hilang Volume)
Only after this sequence is completed will continuation setups be allowed.
This prevents early, unstructured, and low-quality signals.
Signals Included
EXT – MA pushes outside Bollinger Band
TPW – price reacts to opposite MA5 after EXT
MHV – price fails to break Bollinger Band
CSAK – continuation candle inside BB zone
CSM – strong momentum candle closing fully outside BB
Re-Entry – controlled pullback after CSAK or CSM
Each CSAK / CSM setup:
Appears only once
Waits for re-entry or invalidation
Is canceled immediately by an opposite CSAK or CSM
Re-Entry Conditions
Pullback to MA5 High (Sell) or MA5 Low (Buy)
Default Trend Confirmation (IMPORTANT)
By default, Re-Entry uses the CURRENT timeframe trend as confirmation:
Sell Re-Entry → Mid BB below EMA50
Buy Re-Entry → Mid BB above EMA50
This prevents:
Counter-trend re-entries
Late or forced continuation trades
Chasing exhausted moves
Optional entry confirmation:
-Touch MA5 only
-Touch MA5 + close inside MA5 band
Valid within 10 candles after the setup
Must match the last active setup (CSAK or CSM)
Dynamic Multi-Timeframe Trend Confirmation
Trend confirmation adapts automatically to the chart timeframe:
Chart TF | Trend Confirmation
5m | M15 + H1
15m | H1 + H4
1H | H4
4H | Daily
Daily | Current TF
Used for:
Filtering CSAK / CSM setups
Optional Re-Entry confirmation
Visual trend tables
Alerts
Trend Filter Modes
You control how strict the trend filtering is:
-No Filter
-Higher TF Only
-Current TF Only
-Higher TF + Current TF
A Skip Current TF Check option is available for advanced users who want earlier signals before full confirmation.
Invalidation Rules
Any opposite CSAK or CSM immediately cancels all pending setups and re-entries
Prevents holding bias when market structure flips
Visual & UX Features
Clean BB + MA layout (matches BBMA Signal Pro reference)
No duplicate labels
Clear setup → continuation → re-entry flow
Dynamic trend tables
-Higher timeframe trend table
-Current timeframe trend (Mid BB vs EMA50)
Alerts (Production-Ready)
Matches visual logic exactly
Supports webhook automation
Re-Entry alerts respect:
-Trend confirmation
-Re-Entry mode timing (touch vs close)
JSON payload includes:
Price
SL / TP reference
Trend context
Chart link
Who This Script Is For
✔ BBMA traders who follow structure
✔ Traders who respect trend alignment
✔ Traders who want re-entries done properly
✖ Not for scalping noise
✖ Not for counter-trend gambling
Final Note
This is not a signal spam indicator.
It is a decision-filtering system .
If you understand BBMA, this script enforces discipline.
If you don’t, it will expose impatience very quickly.
Trade the cycle. Follow the trend. Re-enter with confirmation.
MHM BOT V7Proprietary algorithm based indicator providing clear buy / sell signals which do not repaint. Perfectly suited for scalping tickers with high liquidity and volatility. Perfectly suited for scaling NQ or ES.






















