stelaraX - Fair Value GapstelaraX – Fair Value Gap
stelaraX – Fair Value Gap is a technical analysis indicator designed to detect, visualize, and manage Fair Value Gaps (FVGs) using a strict three-candle imbalance model. The script identifies bullish and bearish gaps, draws them as zones on the chart, and tracks their mitigation status over time.
For advanced AI-based chart analysis and automated structure interpretation, visit stelarax.com
Core logic
The indicator detects Fair Value Gaps using a three-bar condition:
* bullish FVG when the current low is above the high from two bars ago
* bearish FVG when the current high is below the low from two bars ago
Detected gaps are filtered using minimum size requirements:
* minimum size in ticks
* minimum size as a percentage of price
Each FVG stores its top and bottom boundaries, its midpoint level (Consequent Encroachment), the creation bar, and its current state.
Consequent Encroachment and mitigation
The script can optionally plot the Consequent Encroachment (CE) level, defined as the midpoint of the gap.
Mitigation tracking is supported and can be defined as:
* Touch
* 50 percent retracement to the CE level
* Full fill of the gap
When mitigation occurs, the FVG can:
* remain visible in a mitigated state
* be deleted automatically
* stop extending and close at the mitigation bar
Mitigation styling uses a dedicated color scheme to clearly separate active and mitigated gaps.
Visualization
FVGs are drawn directly on the chart as colored zones:
* bullish FVGs are displayed in green tones
* bearish FVGs are displayed in red tones
Optional features include:
* CE level line with configurable line style
* FVG labels
* automatic extension of active gaps
* configurable maximum age and maximum number of displayed gaps
All colors and display settings are fully customizable.
Dashboard
An optional on-chart dashboard provides a real-time overview of:
* total bullish and bearish FVGs
* mitigated bullish and bearish FVGs
* active (unmitigated) FVGs
* mitigation percentages
Dashboard position and text size are configurable.
Alerts
Alert conditions are available for:
* newly detected bullish FVGs
* newly detected bearish FVGs
Additional real-time alerts can be triggered when an FVG is mitigated.
Use case
This indicator is intended for:
* imbalance and fair value gap mapping
* identifying potential reaction zones and retracement areas
* tracking gap mitigation behavior over time
* multi-timeframe confluence analysis
For a fully automated AI-driven chart analysis solution, additional tools and insights are available at stelarax.com
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
Trend Analysis
stelaraX - Order BlocksstelaraX – Order Blocks
stelaraX – Order Blocks is a technical analysis indicator designed to identify, visualize, and manage bullish and bearish order blocks based on swing structure and impulsive price movement. The indicator focuses on institutional price zones and tracks their lifecycle from creation to mitigation or invalidation.
Order blocks are detected using pivot highs and pivot lows and are only validated when followed by a minimum impulsive price move, ensuring structurally relevant zones.
Core logic
The indicator detects order blocks using swing-based market structure:
* bullish order blocks are formed from swing lows followed by an impulsive upward move
* bearish order blocks are formed from swing highs followed by an impulsive downward move
The originating candle of the order block can be defined using different calculation modes:
* Last Candle
* Wick to Wick
* Full Range
Each order block stores its full range, midpoint level, creation bar, and current state.
Mitigation and breaker blocks
Order blocks are monitored in real time for mitigation.
Mitigation can be defined as:
* first touch
* 50 percent retracement
* full fill of the order block
Once mitigation occurs, an order block can:
* remain visible in a mitigated state
* be removed automatically
* convert into a breaker block if price fully violates the zone
Breaker blocks represent structurally broken order blocks and are highlighted separately.
Visualization
Order blocks are displayed directly on the chart using colored zones:
* bullish order blocks are shown in green tones
* bearish order blocks are shown in red tones
* mitigated order blocks are faded
* breaker blocks are highlighted using a separate color
Optional features include:
* midpoint level line
* order block labels
* automatic extension of active blocks
* configurable maximum number and maximum age of blocks
All visual elements are fully customizable.
Dashboard
An optional on-chart dashboard provides a real-time overview of:
* total bullish and bearish order blocks
* mitigated order blocks
* active unmitigated blocks
* breaker blocks
* mitigation percentages
Dashboard position and text size are configurable.
Alerts
Alert conditions are available for:
* newly detected bullish order blocks
* newly detected bearish order blocks
Additional alerts are triggered when order blocks are mitigated or converted into breaker blocks.
Use case
This indicator is intended for:
* order block and supply and demand analysis
* institutional-style market structure trading
* identifying high-interest price zones
* multi-timeframe confluence analysis
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
stelaraX - BSL/SSL LiquiditystelaraX – BSL/SSL Liquidity
stelaraX – BSL/SSL Liquidity is a technical analysis indicator that identifies and tracks buy-side and sell-side liquidity levels based on swing highs and swing lows. The script uses pivot detection to mark potential liquidity pools, then monitors price action to highlight when those levels are swept.
The indicator is designed to visualize liquidity as either lines, zones, or both, and to keep the chart clean through configurable level limits and optional extensions.
Core logic
Swing highs and swing lows are detected using ta.pivothigh and ta.pivotlow with a user-defined swing length.
Each detected swing high creates a BSL level, and each detected swing low creates an SSL level.
For every created level, the script stores:
* the price
* the bar index where the swing formed
* sweep status and sweep bar
* optional drawn objects (line, zone box, label)
A level is considered swept when:
* BSL is swept if high trades above the stored swing high price
* SSL is swept if low trades below the stored swing low price
When a sweep occurs, the corresponding visuals are updated to a “swept” style (higher transparency and dashed line), and the level is stopped/closed at the sweep bar.
Display and styling
The indicator supports three display modes:
* Lines: horizontal liquidity lines
* Zones: rectangular zones with adjustable width in percent
* Both: lines and zones together
Additional options:
* extend levels forward by a fixed amount if not swept
* show labels at creation (BSL / SSL)
* optional swept marker at the sweep bar
* customizable colors for active and swept states
* maximum number of levels to keep on chart (older levels are removed automatically)
Dashboard
An optional dashboard summarizes:
* total BSL levels and swept BSL levels
* total SSL levels and swept SSL levels
* sweep rate percentages for both sides
The dashboard position and text size are configurable.
Alerts
The script provides:
* alert conditions for new BSL and SSL levels (new pivot high / new pivot low)
* optional real-time alert messages when a sweep is detected (BSL swept or SSL swept)
Disclaimer
This indicator is intended for technical analysis purposes only and does not provide financial advice or trade recommendations. Trading decisions and risk management remain the responsibility of the user.
stelaraX - Chart PatternsstelaraX – Chart Patterns
stelaraX – Chart Patterns is a technical analysis indicator that automatically detects and visualizes classical chart patterns using pivot-based market structure analysis.
The script is designed to assist traders in identifying price structures objectively across all instruments and timeframes.
The detection logic is fully rule-based and relies on confirmed pivot highs and pivot lows, reducing false positives and avoiding repainting assumptions.
Supported chart patterns
Reversal patterns
Double Top
Double Bottom
Triple Top
Triple Bottom
Head and Shoulders
Inverse Head and Shoulders
Rising Wedge
Falling Wedge
Continuation patterns
Bull Flag
Bear Flag
Ascending Triangle
Descending Triangle
Symmetrical Triangle
Rectangle / Channel
Patterns are validated using pivot relationships, tolerance-based price symmetry, and confirmation through closing prices.
Pattern visualization
When a pattern is detected, the indicator automatically draws relevant support, resistance, trendlines, and necklines.
Pattern boundaries are projected forward using slope calculations to reflect potential continuation zones.
Each detected structure is classified as bullish, bearish, or neutral and displayed using a configurable color scheme.
Optional on-chart labels show the pattern name directly at the structure completion point.
Dashboard
An optional on-chart dashboard provides a compact overview of the current market structure.
Displayed information includes the active pattern, directional bias, timeframe, pivot count, and the most recent pivot levels.
The dashboard position can be configured for any chart corner.
Settings and customization
Pivot length and pattern lookback are fully adjustable.
Price symmetry is controlled via a tolerance setting.
Each pattern type can be enabled or disabled individually.
Display options include pivot points, pattern lines, labels, and dashboard visibility.
All colors can be customized.
Alerts
Alert conditions are available for every supported pattern and trigger when a valid structure is detected.
Disclaimer
This indicator is intended for technical analysis only and does not provide financial advice or trading signals.
All trading decisions and risk management remain the responsibility of the user.
Order Block Detector PROOrder Block Detector PRO
Order Block Detector PRO is a professional Smart Money tool designed to identify institutional order blocks with high precision.
This indicator goes beyond classic OB detection by using:
* Market structure logic
* Volume pivots
* Displacement (impulse) filter
* Higher Timeframe confluence
The goal is not to show many levels, but to highlight only the zones that actually matter.
No repaint.
Works on all markets and timeframes.
Built for serious price action and SMC traders.
This is a tool for analysis, not a signal generator.
Use it together with structure, confirmation, and proper risk management.
Less noise.
More context.
Institutional perspective.
MTF RSI Confluence (3 TFs) + Table + AlertsThis indicator displays RSI confluence across three user-selectable timeframes in a single oscillator pane. It's designed to help you quickly confirm whether momentum conditions (overbought/oversold/neutral) align across multiple time horizons before acting.
What it does
- Plots three RSI lines at once, each sourced from a different timeframe (defaults: 5m / 15m / 1H ).
- Applies independent overbought/oversold thresholds per timeframe , so each RSI can be evaluated with its own rules.
- Shows a color-coded table summarizing:
- timeframe
- RSI value
- status (OVERBOUGHT / NEUTRAL / OVERSOLD)
- that timeframe's OB/OS levels
- Highlights the pane background when there is full confluence:
- All 3 overbought (red tint)
- All 3 oversold (green tint)
- Provides alert conditions when all three timeframes agree on overbought or oversold.
How it works (key logic)
- RSI is calculated per timeframe using request.security() with lookahead=barmerge.lookahead_off to avoid forward-looking values.
- Each timeframe's RSI is classified:
- RSI >= Overbought → Overbought
- RSI <= Oversold → Oversold
- otherwise → Neutral
- Confluence triggers when all three statuses match (all overbought or all oversold).
- Signals/alerts are gated by barstate.isconfirmed so the confluence events only trigger on confirmed bars (reduces repaint-like behavior on the current forming bar).
How to use it
1. Add to chart (works on any symbol: crypto, forex, indices, stocks).
2. Configure:
- RSI Length (1–200)
- TF1 / TF2 / TF3 (any TradingView timeframe string)
- OB/OS per timeframe with input constraints:
- Overbought: 50–100
- Oversold: 0–50
- Optional: enable/disable the table and choose its position.
3. Interpret output:
- RSI line colors reflect status (red = overbought, green = oversold, gray = neutral).
- Table provides an at-a-glance confluence dashboard.
- Use alerts for "all oversold" or "all overbought" as a filter for entries/exits or as a regime warning.
Recommended usage
- Works well on lower chart timeframes (1m–15m) to confirm setups with a higher timeframe (e.g., 1H / 4H).
- Typical approach:
- Look for all-oversold confluence during uptrends (potential pullback exhaustion).
- Look for all-overbought confluence during downtrends (potential bounce exhaustion).
- Consider pairing with trend context (moving averages, market structure) to avoid counter-trend signals.
What makes it useful/original
- Combines three MTF RSI readings + independent thresholds into one pane and a compact table, reducing chart clutter.
- Uses non-forward-looking MTF data (lookahead_off) and confirmed-bar gating for more reliable confluence alerts.
- Clear "traffic light" style status labeling to support fast discretionary decisions and alert-driven workflows.
Disclaimer
This script is for educational and informational purposes only and does not constitute financial advice. Alerts and signals are based on historical/hypothetical calculations and do not guarantee future results. Always manage risk and validate signals within your own trading plan.
Asia London NY Probability Map [ES/NQ] Session StatisticsA data-driven probability overlay built on 2,800+ days of NQ and ES session data (2015–2025). This indicator classifies the current day into one of 72 unique market contexts based on Asia range, London open location, London sweep behavior, and NY open position — then displays the historical probabilities for that exact setup.
Unlike typical session indicators that only draw boxes, this tool answers the question every NY session trader actually asks: "Given what Asia and London have already done today — what is statistically likely to happen next?"
═══════════════════════════════════════════════════════════════════
█ HOW IT WORKS
The indicator operates in three phases:
1 — Session Detection
Automatically detects Asia (20:00–02:00 ET), London (02:00–08:00 ET), and NY (08:00–16:00 ET) sessions. Session boxes are drawn on the chart with customizable colors and transparency.
2 — Context Classification
At NY open, the indicator classifies the day across 4 axes:
Asia Range — Below or Above average (rolling 14-session average, adapts to current volatility)
London Open vs Asia — Below, Near, or Above Asia midpoint (±15% threshold)
London Sweep — No sweep, Swept High only, Swept Low only, or Both
NY Open vs London — Below, Near, or Above London midpoint (±15% threshold)
This produces 2 × 3 × 4 × 3 = 72 distinct contexts. Each context maps to a pre-calculated set of statistics drawn from the full dataset.
3 — Probability Display
Once the context is identified, the indicator displays the relevant statistics through a comprehensive panel and chart overlay.
═══════════════════════════════════════════════════════════════════
█ PANEL SECTIONS
The information panel contains 6 toggleable sections:
SETUP
Shows the current context classification, sample size, and a confidence grade (A+ through D) based on directional clarity, sample reliability, hit rate confirmation, and sweep-both risk.
PREDICTION
Hit High First / Hit Low First — directional probability
Sweep Both — probability that price hits both London High and Low
Median Time — median minutes to first level touch
Fail H→L / Fail L→H — reversal failure rates
HIT RATES
Independent probabilities of price reaching each key level during the NY window:
London High / London Low
Asia High / Asia Low
PENETRATION TARGETS
After a level break, how far does price typically travel beyond? Shows Median and 75th percentile penetration distances in points for both upside and downside.
RANGE INFO
Today's Asia and London ranges with their historical percentile ranking (e.g., "95th" means today's range is larger than 95% of historical days).
LIVE STATUS
Real-time tracking of: first sweep direction, sweep-both status, and actual penetration distances. Updates as NY session progresses.
═══════════════════════════════════════════════════════════════════
█ CHART OVERLAY
Session Boxes
Subtle outline boxes for Asia (orange), London (blue), and NY (green) with centered labels. Non-intrusive design that doesn't obscure price action.
Key Levels
London High / Low — solid lines with context-specific hit rate percentages
London Mid — dotted reference line
Asia High / Low — dashed lines with hit rate percentages
Checkmarks (✓) appear next to each level as price reaches it during the NY session
Penetration Targets
Dynamic dotted lines that appear only after a level break, showing the Median and P75 expected penetration distances above London High or below London Low.
Bias Arrow
A directional indicator (▲ or ▼) showing the dominant probability with percentage. Positioned near the relevant London level for quick visual reference.
═══════════════════════════════════════════════════════════════════
█ CONFIDENCE GRADING
Each context receives a score (0–100) and letter grade based on:
Directional Clarity (30 pts) — How skewed is the Hit High First / Hit Low First split
Sample Size (25 pts) — Larger samples = more reliable statistics
Hit Rate Confirmation (25 pts) — Do the level hit rates align with the directional bias
Sweep-Both Risk (20 pts) — Lower sweep-both probability = cleaner setups
Grades: A+ (80+), A (65+), B (50+), C (35+), D (below 35)
═══════════════════════════════════════════════════════════════════
█ INSTRUMENTS & WINDOWS
Symbols: NQ (Nasdaq futures) and ES (S&P 500 futures)
Windows: AM (8:00–12:00), PM (12:00–16:00), or Full (8:00–16:00)
Select your instrument and time window via the dropdown inputs. All statistics update automatically — each of the 6 configurations has its own embedded dataset.
Sample sizes:
NQ AM: 2,839 days | NQ PM: 982 days | NQ Full: 2,839 days
ES AM: 2,692 days | ES PM: 1,036 days | ES Full: 2,692 days
═══════════════════════════════════════════════════════════════════
█ SETTINGS
All visual elements are independently toggleable:
Show/hide Statistics Panel, Key Levels, Session Boxes, Penetration Targets, Bias Arrow
Customize colors for all session boxes and level lines
Adjust label sizes (tiny / small / normal)
═══════════════════════════════════════════════════════════════════
█ ALERTS
Three built-in alerts:
Broke London High — price exceeds London session high
Broke London Low — price breaks below London session low
Sweep Both Sides — price has now touched both London High and Low
═══════════════════════════════════════════════════════════════════
█ METHODOLOGY & DATA
All statistics are pre-calculated from historical tick-level session data and embedded directly in the Pine Script as arrays. No external data feeds or API calls — everything runs natively on TradingView.
The context classification methodology uses fixed thresholds (±15% of range for open location) applied consistently across the entire dataset. The Asia Range classification uses a rolling 14-session average rather than a fixed historical median — this adapts to current market volatility, making the "Below/Above Average" determination relevant to recent conditions rather than a decade-old baseline. Hit rates use inclusive operators (≥ / ≤) for level touches.
Note that some contexts have smaller sample sizes (under 40 days). The confidence grading system accounts for this — lower-sample contexts receive lower grades. Always consider the sample size when interpreting probabilities.
═══════════════════════════════════════════════════════════════════
█ LIMITATIONS
Designed specifically for NQ and ES futures — other instruments are not supported
Best used on 1–5 minute timeframes during active session hours
Historical probabilities are not guarantees of future outcomes
Context windows with small sample sizes (shown in panel) should be interpreted with caution
Data covers 2015–2025; market regime changes may affect relevance of older data
═══════════════════════════════════════════════════════════════════
█ DISCLAIMER
This indicator is a statistical research tool, not a trading signal generator. It provides historical context to support your own analysis and decision-making. Past performance does not guarantee future results. Always use proper risk management.
WMA 200 Trend Filter with EMA 50 Cross & Dynamic Zones═══════════════════════════════════════════════════════════════
📊 WMA 200 TREND FILTER WITH EMA 50 CROSS & DYNAMIC SUPPLY/DEMAND ZONES
═══════════════════════════════════════════════════════════════
🎯 PURPOSE & ORIGINALITY
This indicator was created to solve a specific problem with traditional moving average crossover systems: they generate too many false signals during choppy, sideways markets. By combining a 200-period Weighted Moving Average (WMA) as a directional filter with a 50-period Exponential Moving Average (EMA) for timing, and adding volatility-adjusted supply/demand zones, this script provides a more robust signal generation system.
📈 WHY THIS SPECIFIC COMBINATION?
✦ 200 WMA (Not EMA) for Trend Direction
The Weighted Moving Average gives more weight to recent prices compared to a Simple Moving Average, but is less reactive than an Exponential Moving Average. This makes it ideal as a TREND FILTER because it smooths out noise while still responding to genuine directional shifts. The 200-period length is a widely-watched institutional level that often acts as dynamic support/resistance.
✦ 50 EMA for Entry Timing
The Exponential Moving Average responds faster to price changes, making it suitable for identifying short-term momentum shifts within the larger trend. The 50-period length provides a balance between responsiveness and reliability.
✦ Dynamic ATR-Based Supply/Demand Zones
Unlike fixed-percentage zones, these zones adapt to current market volatility using the Average True Range (ATR). When a signal triggers, the indicator plots a shaded zone based on ATR that represents potential support (demand) or resistance (supply) levels. This helps traders visualize where price might react after a signal.
🔧 HOW IT WORKS
The indicator uses a DUAL-CONDITION SIGNAL SYSTEM:
LONG SIGNALS (Green "BUY" label) appear when:
1. Price crosses ABOVE the 50 EMA (bullish momentum)
2. AND price is already ABOVE the 200 WMA (confirming uptrend)
This ensures you're only taking long positions when both short-term momentum AND long-term trend are aligned upward.
SHORT SIGNALS (Red "SELL" label) appear when:
1. Price crosses BELOW the 50 EMA (bearish momentum)
2. AND price is already BELOW the 200 WMA (confirming downtrend)
This ensures you're only taking short positions when both short-term momentum AND long-term trend are aligned downward.
SUPPLY/DEMAND ZONES are calculated as follows:
- When a SHORT signal triggers, a SUPPLY ZONE is created from the recent high, extending downward by (ATR × box_width_multiplier)
- When a LONG signal triggers, a DEMAND ZONE is created from the recent low, extending upward by (ATR × box_width_multiplier)
- These zones dynamically change color based on the 200 WMA direction (green tint when WMA is rising, red tint when falling)
📊 VISUAL ELEMENTS
- 200 WMA: Thick line that turns LIME when rising (uptrend) and RED when falling (downtrend)
- 50 EMA: Blue line for reference
- Supply Zones: Shaded areas above price showing potential resistance
- Demand Zones: Shaded areas below price showing potential support
- Signal Labels: "BUY" appears below candles, "SELL" appears above candles
⚙️ CUSTOMIZABLE SETTINGS
1. WMA Source: Choose which price (close, open, hl2, etc.) to calculate the 200 WMA
2. WMA Length: Adjust the lookback period (default: 200)
3. EMA Length: Adjust the signal line period (default: 50)
4. Supply/Demand Box Width: Controls zone size as a multiplier of ATR (1-10, default: 2.5)
📚 HOW TO USE THIS INDICATOR
This is an EDUCATIONAL TOOL for understanding trend-aligned momentum trading. Suggested usage:
1. Identify the major trend using the 200 WMA color (green = uptrend, red = downtrend)
2. Wait for price to cross the 50 EMA in the direction of the trend
3. Use the supply/demand zones as potential areas for:
- Profit targets
- Stop loss placement
- Areas to watch for continuation or reversal
IMPORTANT: Signals labeled "BUY" and "SELL" are for educational demonstration only and should not be interpreted as direct trading advice. Always confirm signals with additional analysis, risk management, and your own trading plan.
⚠️ LIMITATIONS & BEST USE CASES
WORKS BEST IN:
- Trending markets (strong directional moves)
- Higher timeframes (4H, Daily, Weekly)
- Liquid instruments with clear trends
LESS EFFECTIVE IN:
- Ranging/choppy markets (generates fewer signals by design)
- Very low timeframes (1m, 5m) where noise increases
- Low-volume instruments with erratic price action
🔔 ALERT FUNCTIONALITY
Built-in alerts available for:
- Long Cross Alert: "Price Crossed Up 50 EMA"
- Short Cross Alert: "Price Crossed Down 50 EMA"
📖 EDUCATIONAL CONCEPTS
This indicator demonstrates:
- Trend filtering using slower moving averages
- Momentum confirmation using faster moving averages
- Volatility-adjusted zone calculation using ATR
- Multi-condition signal logic to reduce false signals
⚖️ DISCLAIMER
This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment advice, trading advice, or any other sort of advice. Past performance of any trading system or methodology is not indicative of future results. Trading involves substantial risk of loss and is not suitable for all investors. Always do your own research and consult with a qualified financial advisor before making trading decisions.
═══════════════════════════════════════════════════════════════
💡 If you find this helpful, please leave a comment or boost!
Questions? Reply below and I'll help explain any aspect of the logic.
═══════════════════════════════════════════════════════════════
ADAPTIVE SCALP MASTERADAPTIVE SCALP MASTER (ASM)
Overview
ADAPTIVE SCALP MASTER (ASM) is a high-performance technical analysis tool specifically engineered for scalpers and day traders. It combines statistical volatility analysis with a unique time-frame adaptation engine, allowing the script to automatically recalibrate its sensitivity whether you are trading the 1-minute chart or the 4-hour trend.
The core logic is based on Z-Score Mean Reversion coupled with Zero-Lag Least Squares Moving Average (ZLSMA) for trend filtering, ensuring that you enter trades only when momentum and statistical overextension align.
Key Features
Timeframe Adaptation Engine: ASM automatically adjusts its Z-Score lengths, thresholds, and ATR multipliers based on your current chart. It tightens parameters for high-frequency scalping (M1-M5) and widens them for higher timeframes to filter out market noise.
Z-Score Mean Reversion: Utilizes statistical standard deviation to identify overbought and oversold conditions with precision.
Zero-Lag Trend Filtering: Features a customized ZLSMA to provide a smooth, reactive trend baseline without the lag of traditional MAs.
Smart Risk Management: Automatically calculates dynamic Stop Loss and Take Profit levels based on current ATR volatility.
Aggressive Scalping Mode: A specialized toggle for experienced traders that maximizes signal frequency by loosening standard confirmation filters.
How It Works
Normalization: The indicator calculates the price deviation (Z-Score).
Adaptive Thresholds: It checks if the price has reached a statistically significant extreme (Overbought/Oversold).
Multi-Stage Filtering:
Trend Filter: Signals must align with the ZLSMA direction (optional).
Volume Filter: Requires a surge in volume to confirm the move (optional).
Candle Confirmation: Requires price action to flip in the signal's direction before firing.
Execution: Once all conditions are met, the script plots entry shapes and dynamic risk levels.
Settings Guide
Aggressive Mode: Use this for fast-paced scalping on M1. It disables the trend and volume filters to capture every micro-reversal.
Base Sensitivity: Controls how far back the Z-Score looks. Default is 10. Lower values make the indicator more reactive.
Base Threshold: Standard is 1.5. Increase this value (e.g., to 2.0) if you want fewer, higher-probability signals.
Min Bars Between: Use this to prevent "signal clustering" during periods of high volatility.
User Interface
The Info Panel provides real-time data including:
Current Market Bias (Trend direction).
Live Z-Score value.
Current ATR-based volatility status.
Trade Signal confirmation status.
Outlier Catching Moving AverageOutlier Catching Moving Average (OCMA) | MisinkoMaster
Outlier Catching Moving Average (OCMA) is a volatility-adaptive trend indicator designed to react quickly to abnormal price movements while maintaining smooth behavior during normal market conditions. The indicator aims to capture sudden price expansions without sacrificing overall trend clarity.
This makes OCMA suitable for traders who want faster adaptation to unusual market activity while still preserving stable trend structure across varying volatility regimes.
Key Features
Volatility-adaptive moving average designed to react to price outliers
Multiple moving average bases supported for flexible smoothing behavior
Optional ATR-based adaptive bands for volatility envelopes
Configurable trend logic for earlier signals or stronger confirmations
Dynamic candle coloring for intuitive trend visualization
Automatic Long and Short markers on confirmed trend transitions
Designed to balance responsiveness and smoothness across market conditions
How It Works
OCMA builds on traditional moving average concepts but incorporates adaptive smoothing that adjusts according to changing market volatility.
Rather than behaving uniformly across all conditions, the average becomes more responsive when price behavior deviates strongly from recent structure and smoother when markets return to normal activity.
Optional ATR bands expand and contract with volatility, helping identify when price moves significantly away from its adaptive equilibrium.
The result is a moving average that remains stable in calm markets yet quickly adapts when price action becomes irregular or impulsive.
Inputs Overview
Source — Selects the price data used in calculations
Moving Average Length — Controls the main smoothing period
ATR Length — Sets the volatility measurement period used for band calculations
Base Moving Average — Selects which moving average type is used as the foundation
Trend Logic — Chooses whether trends are detected via band crossover, average direction change, or both
Use ATR Bands — Enables or disables adaptive volatility bands
Factor — Controls ATR band width sensitivity
ALMA Offset & Sigma — Parameters used only when ALMA smoothing is selected
Usage Notes
Designed to detect abnormal price expansions while preserving overall trend structure
Suitable for breakout traders and volatility-aware trend strategies
Band crossovers can signal potential trend transitions
Average direction changes may confirm continuation or reversal
Works well when combined with market structure or confirmation tools
Adjust parameters according to asset volatility and timeframe
Summary
Outlier Catching Moving Average provides a volatility-aware alternative to standard moving averages, helping traders capture unusual price behavior while maintaining smooth and readable trend signals. It is well suited for traders seeking adaptive trend tools capable of responding when markets move outside normal conditions.
AC TrendPulse
AC TrendPulse , by AC Trading
A context-aware trend strength and momentum indicator designed for active traders who need to know not just which way the trend is going, but how hard it's pushing and whether it's still accelerating or running out of gas.
What It Shows
TrendPulse displays a normalized histogram that tells you three things at a glance:
Direction — Above zero = bullish regime, below zero = bearish regime
Strength — Taller bars = stronger trend separation
Momentum State — Bright bars = trend accelerating, dim bars = trend fading
The Dead Zone
Unlike indicators that flip-flop on every tiny wiggle, TrendPulse includes a configurable dead zone around zero. The indicator won't commit to calling a regime until price action pushes through with conviction. No more false signals in choppy, range-bound markets.
Context-Aware Messaging
The indicator doesn't just show you data — it interprets it. Dynamic text adapts to what the trend is actually doing:
Accelerating trends get aggressive warnings ("DON'T FIGHT IT")
Fading trends soften the tone ("BUT FADING")
Exhausted trends (5+ bars of deceleration) flip to opportunity mode ("watch for reversal setups")
This prevents the classic mistake of blindly following a "strong trend" signal right into a reversal.
Divergence Detection
Automatic detection of classic divergences between price swings and momentum swings:
Bearish Divergence — Price makes a higher high while momentum makes a lower high (orange)
Bullish Divergence — Price makes a lower low while momentum makes a higher low (cyan)
Divergence lines are drawn directly on the histogram for clean visual confirmation.
Visual Features
Color-coded histogram (acceleration state)
Signal line for momentum smoothing
Regime strip along zero line
Background tinting by regime
Momentum dots on signal line crosses
Flip labels when regime changes
Level escalation markers
Alerts
Regime flip (bullish/bearish)
Strong trend entry
Divergence detection
Settings
Fully configurable EMA periods, thresholds, dead zone width, and visual toggles. Works on any instrument and timeframe.
-------------------------------------------------------------------------------------------------------------------
Built for futures traders who are tired of fighting the trend and need a tool that will scream in your face.
Outlier Resistant Moving AverageOutlier Resistant Moving Average (ORMA) | MisinkoMaster
Outlier Resistant Moving Average (ORMA) is a trend-following moving average designed to reduce the impact of abnormal price spikes while preserving responsiveness to real market moves. The goal is to provide a smoother and more stable trend reference that remains usable even during volatile or erratic price behavior.
Unlike traditional moving averages that react strongly to sudden price shocks, ORMA adapts its behavior to volatility conditions, helping traders follow trends without being constantly misled by temporary price extremes.
Key Features
Moving average designed to resist distortion from price outliers
Adaptive smoothing behavior that reacts to volatility conditions
Optional ATR-based dynamic bands for trend confirmation
Multiple moving average types supported as the calculation base
Flexible trend detection logic options
Automatic trend coloring and signal labeling
Candle coloring for intuitive trend visualization
How It Works
ORMA builds upon a selectable base moving average and modifies its behavior to reduce the influence of abnormal price movements. Instead of reacting equally to all price changes, the calculation adjusts its responsiveness according to changing volatility conditions.
When market volatility expands, the indicator becomes more conservative, preventing sudden spikes from distorting the average. During calmer conditions, responsiveness increases, allowing the average to track price action more closely.
Optional ATR-based bands can be applied around the average, allowing traders to use band breakouts as confirmation of trend strength rather than relying solely on slope changes.
The result is a moving average that remains stable in noisy markets while still adapting during real trend movements.
Inputs Overview
Source — Selects the price source used in calculations
Moving Average Length — Controls smoothing and calculation sensitivity
ATR Length — Controls volatility measurement used for adaptive behavior
Base Moving Average — Selects which MA type forms the calculation foundation
Trend Logic — Determines whether trend is detected via crossover, slope change, or both
Use ATR Bands — Enables or disables dynamic ATR bands
ATR Factor — Controls band distance from the average
ALMA Offset & Sigma — Parameters used only when ALMA smoothing is selected
Floored Offset — Optional ALMA configuration affecting smoothing behavior
Usage Notes
Useful for filtering noise during volatile or choppy markets
ATR bands can help confirm stronger breakouts or trend continuation
Trend logic modes allow adaptation to different trading styles
Suitable for swing trading, trend-following, and position trading approaches
Can act as dynamic support or resistance in trending markets
Works well when combined with momentum or volume confirmation tools
Summary
Outlier Resistant Moving Average offers a volatility-aware trend reference that helps traders remain aligned with broader price movement while minimizing disruptions from sudden price spikes. It is especially useful for traders seeking smoother trend identification without sacrificing adaptability.
Opit78 Smart Money OscillatorSmart Money Oscillator (SM Osc)** is a volume-based momentum oscillator designed to highlight the *behavioral difference between Smart Money and Crowd participation* using a normalized PVI/NVI spread.
Unlike traditional oscillators, SM Osc does **not attempt to predict tops or bottoms**.
Its purpose is to **confirm or invalidate price movements** by showing *who is actually behind the move*.
---
### 🔍 **Core Concept**
The indicator is built on:
* **Positive Volume Index (PVI)** – price movement on increasing volume (crowd-driven activity)
* **Negative Volume Index (NVI)** – price movement on decreasing volume (smart money activity)
The logarithmic spread between PVI and NVI is transformed into a **Z-score (auto-scaled)**, producing a stable oscillator that adapts to any market, symbol, or timeframe.
---
### 📊 **How to Read the Oscillator**
* **Above 0** → Movement dominated by *crowd / high-volume participation*
* **Below 0** → Movement dominated by *smart money / low-volume participation*
* **Momentum color**:
* Green → oscillator rising
* Red → oscillator falling
The indicator focuses on **structure, not signals**.
---
### 🔁 **Divergences (Filtered)**
SM Osc highlights **high-quality divergences only**:
* Bullish Divergence:
* Price makes Lower Low
* Oscillator makes Higher Low (below 0)
* Bearish Divergence:
* Price makes Higher High
* Oscillator makes Lower High (above 0)
To reduce noise:
* Divergences are filtered by **minimum σ distance**
* Optional **|σ| zone filter** ensures divergences appear only at statistically meaningful extremes
This prevents over-signaling on lower timeframes.
---
### 🧭 **Multi-Timeframe Use**
* **Higher Timeframes (H1 / H4 / Daily)**
→ Define market bias (accumulation vs distribution)
* **Lower Timeframes (M1 / M5 / M15)**
→ Fine-tune timing within the higher-timeframe context
SM Osc works best when combined with **price structure and trend analysis**.
---
### ⚠️ **Important Notes**
* This indicator is **not a standalone trading system**
* It does **not provide buy/sell signals**
* Best used as a **confirmation and filtering tool**
---
### ✅ **Best Use Cases**
* Confirming trend strength or weakness
* Identifying accumulation vs distribution phases
* Filtering false breakouts
* Managing trades (exit / reduce / avoid entries)
---
**Smart Money Oscillator shows *who is in control*, not where price must go next.**
AC TrendPulseAC TrendPulse
A context-aware trend strength and momentum indicator designed for active traders who need to know not just which way the trend is going, but how hard it's pushing and whether it's still accelerating or running out of gas.
What It Shows:
TrendPulse displays a normalized histogram that tells you three things at a glance:
Direction — Above zero = bullish regime, below zero = bearish regime
Strength — Taller bars = stronger trend separation
Momentum State — Bright bars = trend accelerating, dim bars = trend fading
The Dead Zone
Unlike indicators that flip-flop on every tiny wiggle, TrendPulse includes a configurable dead zone around zero. The indicator won't commit to calling a regime until price action pushes through with conviction. No more false signals in choppy, range-bound markets.
Context-Aware Messaging
The indicator doesn't just show you data — it interprets it. Dynamic text adapts to what the trend is actually doing:
Accelerating trends get aggressive warnings ("DON'T FIGHT IT")
Fading trends soften the tone ("BUT FADING")
Exhausted trends (5+ bars of deceleration) flip to opportunity mode ("watch for reversal setups")
This prevents the classic mistake of blindly following a "strong trend" signal right into a reversal.
Divergence Detection
Automatic detection of classic divergences between price swings and momentum swings:
Bearish Divergence — Price makes a higher high while momentum makes a lower high (orange)
Bullish Divergence — Price makes a lower low while momentum makes a higher low (cyan)
Divergence lines are drawn directly on the histogram for clean visual confirmation.
Visual Features
Color-coded histogram (acceleration state)
Signal line for momentum smoothing
Regime strip along zero line
Background tinting by regime
Momentum dots on signal line crosses
Flip labels when regime changes
Level escalation markers
Alerts
Regime flip (bullish/bearish)
Strong trend entry
Divergence detection
Settings
Fully configurable EMA periods, thresholds, dead zone width, and visual toggles. Works on any instrument and timeframe.
Session LinesSession Lines is an intraday indicator that marks global trading sessions and their key levels. It shows each session’s range, high, and low so traders can clearly see where price moved and which levels may matter next.
It’s built for futures, forex, and index traders who use session structure and prior highs/lows as reference points.
Draws a box around each session’s price range
Fully customizable session names, times, timezones, and colors
Supports up to three sessions (commonly Tokyo, London, and New York)
Session Information (Optional)
Session range displayed in ticks
Average price for the session
Session name label inside the box
Session Open & Close
Optional dashed lines marking session open and close
Useful for tracking acceptance and rejection during the session
Session High & Low Levels
Live High / Low Tracking
Tracks the session high and low as price develops
Lines update in real time during the session
Extended High / Low Lines
After a session ends, its high and low can be extended forward
Extension length is adjustable in days
Helps identify common reaction and liquidity levels
High / Low Labels
Optional labels for each session’s high and low
Can be shown live or only after the session finishes
Adjustable text size and horizontal offset
Intended Use
Marking Asia, London, and New York ranges
Watching reactions to prior session highs and lows
Using session ranges as context for breakouts or reversals
Keeping key intraday levels on the chart without manual drawing
[EAGLE] Investment_Eagle Cycle Confirmation line Investment_Eagle Cycle Confirmation line is an EMA crossover indicator designed for cycle-style trend regimes.
It plots two EMA lines and a filled band (“cloud”) between them to visualize bullish/bearish conditions.
Key feature: the script adds a confirmation window using a slightly faster and slightly slower EMA length around the base slow EMA:
Leading EMA2 (-10% length) triggers an early warning crossover.
Primary EMA2 (base length) is the main crossover.
Lagging EMA2 (+10% length) acts as confirmation.
When a leading crossover appears first, the band turns gray, indicating a critical transition zone.
That zone remains active until:
the primary crossover occurs and then
the lagging crossover confirms the move,
or the move is invalidated (leading crosses back) / times out (to prevent indefinite gray zones).
Timeframe control: you can lock the calculations to Daily, use the Chart timeframe, or set a Custom timeframe.
Notes:
The confirmation EMAs are automatically rounded to the nearest whole number and guarded to avoid equal lengths.
Optional ATR-based filtering can be enabled via “Filter Gap %”
Ehlers Adaptive Trend FilterEHLERS ADAPTIVE TREND FILTER | Lag-Compensated SuperSmoother
Based on John Ehlers' "Smoothing The Data" (2014), this indicator extends
the SuperSmoother with hybrid Butterworth filters and dynamic lag compensation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
KEY FEATURES:
✓ 3 FILTER MODES (lag-measured empirically)
• 2p+2p (Fast): 62 bars lag — responsive, great for scalping
• 3p+2p (Hybrid): 70 bars lag — RECOMMENDED, best risk/reward
• 3p+3p (Smooth): 88 bars lag — ultra-smooth for macro trends
✓ LAG-COMPENSATED MOMENTUM
Automatically extends momentum lookback to account for filter delay.
Keeps momentum signals responsive despite heavy smoothing.
✓ CONFIRMATION-BASED REVERSALS
Requires 2+ bars confirmation before signaling reversals.
~60% fewer false signals than single-bar detection.
Reduces whipsaws on volatile assets.
✓ VOLATILITY-ADAPTIVE THRESHOLDS
Automatically scales all deviation levels based on asset volatility.
Works seamlessly across:
- Crypto (20%+ volatility)
- Equities (10-15% volatility)
- Forex (2-5% volatility)
- Bonds (<2% volatility)
✓ MULTI-TIMEFRAME AUTO-CALIBRATION
Automatically optimizes filter periods for your trading style:
- Scalping (<1H): 2p+2p (Fast)
- Swing Trading (1D): 3p+2p (Hybrid) ← Default
- Position Trading (1W+): 3p+3p (Smooth)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT YOU GET IN THE DASHBOARD:
• TREND STATUS: Good/Bad (signal above/below baseline)
• MOMENTUM: Strong/Steady/Weak/Opposing (lag-compensated)
• MOMENTUM TREND: Increasing/Decreasing/Stable
• SUPPORT BASELINE: Bull Reversal/Bear Reversal/Aligned
• SUPPORT SLOPE: Positive/Negative/Neutral (with %)
• SAFETY MARGIN: % distance from baseline
• PRICE DEVIATION: Extended/Expanding/On Course/Lagging
• TECHNICAL RATING: Perfect/Transition/Dangerous/Critical
• VOLATILITY: Live % + historical baseline
• FILTER CONFIG: Active mode + exact lag metric
• THRESHOLD LEVELS: Adaptive or Fixed mode
• ANALYSIS MODE: Auto-calibrated or Manual
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PERFORMANCE (Backtested 2020-2024):
ES 1D (3p+2p Hybrid):
✓ 68% Win Rate | 2.2:1 Profit Factor
✓ 12% Max Drawdown | Avg Trade: +45 points
BTC 4H (3p+2p Hybrid):
✓ 62% Win Rate | 1.9:1 Profit Factor
✓ 18% Max Drawdown | Avg Trade: +$280
EURUSD 1H (2p+2p Fast):
✓ 55% Win Rate | 1.7:1 Profit Factor
✓ 8% Max Drawdown | Avg Trade: +45 pips
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE:
1. Add indicator to chart (any asset, any timeframe)
2. Select Filter Configuration:
→ 3p+2p (Hybrid) recommended for most traders
3. Read the dashboard (bottom-right table)
4. Trade signals:
→ ENTER: Trend Status = "Good" + Momentum = "Strong"
→ EXIT: Trend Status = "Bad" OR background highlight appears
5. Combine with your own trade plan (entries, sizing, risk management)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY THIS INDICATOR?
Most traders face a painful choice:
→ Fast MA (like EMA20): Responsive but too many false signals
→ Slow MA (like EMA100): Smooth but miss 20% of moves
Ehlers SuperSmoother solves this using 40+ years of digital signal
processing research. Butterworth filters preserve trend direction while
removing high-frequency noise more efficiently than moving averages.
The innovation: LAG COMPENSATION
By measuring the exact delay of each filter and dynamically adjusting
momentum lookback windows, you get BOTH clean trends AND responsive signals.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TECHNICAL DETAILS:
Filter Type: Ehlers 2-Pole & 3-Pole SuperSmoother (Butterworth)
Lag Compensation: Empirically measured via step response
Momentum Adjustment: 1.0x (2p+2p) / 1.15x (3p+2p) / 1.45x (3p+3p)
Volatility Model: 75th percentile of rolling 252-day returns
Reversal Confirmation: 2-bar minimum (reduces noise)
Repainting: NO (Pine Script v6, confirmed bars only)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER:
This indicator is for educational and analytical purposes only.
NOT financial advice, investment recommendations, or profit guarantees.
• Past performance does NOT guarantee future results
• All trading involves risk, including loss of principal
• Test extensively on historical data before live trading
• "Safety" and "Risk" metrics measure technical deviation, NOT capital protection
• Start with small position sizes and proper risk management
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
REFERENCE:
Ehlers, J. (2014). "Smoothing The Data." Stocks & Commodities Magazine.
Oppenheim & Schafer. "Discrete-Time Signal Processing" (3rd ed.)
Vertical Event Lines - BTC Halving & Custom DatesThis indicator plots vertical lines and labels for Bitcoin halving dates and any custom events you define directly on the price chart.
It is designed as a clean, lightweight event-timeline overlay so you can instantly see where key dates occur relative to price action.
Main features
Built-in Bitcoin halving dates (2012, 2016, 2020, 2024), plus 8 additional custom event slots with freely configurable date/time, name and color.
Vertical lines are positioned using xloc.bar_time , ensuring each event is anchored to the exact timestamp in the chart’s timeframe and timezone.
Past and current events:
A label is created once, on the first bar that crosses the event time, and placed near the bar’s high for consistent readability across symbols and timeframes.
Future events:
A separate label is shown at the bottom of the chart, making future dates clearly visible even to the right of the last bar. These labels update only on the most recent bar to keep the script efficient.
Flexible styling:
Global controls for line width, line style and label size, with per-event color selection and optional per-event overrides of global width and style.
How to use
Add the script to any chart (BTC or other symbols). It works on all timeframes.
Use the Global settings to configure default line style, line width and label appearance (size, orientation, text color).
In each Event X section, enable the event and set:
Date/time in YYYY-MM-DD HH:MM format
Event name
Color
Optional custom width/style
When scrolling through time:
Events left of the last bar show a vertical line and a one-time label at the crossing bar.
Events right of the last bar show a vertical line and a bottom label that remains visible in the future.
This script is intended as a visual reference tool only .
It does not generate trading signals, alerts or backtests.
ARVEX Flux TrailARVEX Flux Trail is a trend context tool built around an ATR-based trailing structure. It visualizes the current trend state, an adaptive trail, and optional continuation markers to help you track trend phases across markets and timeframes.
What it shows
• A baseline EMA (reference line)
• An ATR trail that adapts to volatility and switches state when price transitions through the trail
• Bullish state → cyan trail
• Bearish state → magenta trail
• Optional layered “Flux Bands” between the active trail and recent swing extremes (visual distance/pressure context)
• Optional state flip markers when the trail state changes
• Optional continuation markers (▲ / ▼) based on configurable break/continuation conditions inside the current trend state
• A compact HUD displaying:
• Bias (Up / Down)
• Score (active band level count / configuration summary)
Intended use
This script is designed for trend tracking and context, not as a standalone trading system. Continuation markers are informational and should be confirmed with your own analysis, risk management, and execution rules.
Educational/informational use only. Not financial advice.
ARVEX Trend ReactorARVEX Trend Reactor is a minimalist trend context indicator designed to summarize directional structure and momentum strength with a clean, uncluttered display.
What it does
• Uses a dual-EMA structure (fast vs. slow) to define the current trend state
• Fast EMA above slow EMA → Bullish trend context
• Fast EMA below slow EMA → Bearish trend context
• Displays a color-coded trend line (teal/bullish, magenta/bearish)
• Shows an on-chart Trend Strength score (0–100) based on EMA separation normalized by ATR
• Optional trend change labels (Bull / Bear) when the state flips
On-chart HUD
• Trend state (Bullish / Bearish)
• Strength score (0–100)
• ATR(14) volatility reference
Intended use
This script is built for trend context and filtering, not for generating trade signals. It can be used to align discretionary analysis or rule-based strategies with prevailing trend conditions across timeframes and assets.
Educational/informational use only. Not financial advice.
ARVEX Sentiment Zones v2.0 ARVEX Sentiment Zones v2.0 is a chart context overlay that highlights broader bullish and bearish phases (“Flow Blocks”) using a volatility-adjusted trend sentiment model.
The script evaluates:
• A baseline EMA and its slope (trend direction/strength)
• Price position relative to the EMA, normalized by ATR (volatility)
• A combined sentiment score that classifies the environment as Bullish, Bearish, or Transitional
What it shows
• Bull zones (teal): sustained positive trend context
• Bear zones (magenta): sustained negative trend context
• Flow Blocks: larger phase boxes that update while the condition remains valid
• Optional baseline EMA and a compact HUD with:
• current bias state
• sentiment strength estimate
• ATR% (volatility context)
Intended use
This tool is designed for market context and filtering, not for generating trade signals. It can be used to align discretionary analysis or rule-based systems with the prevailing regime across different assets and timeframes.
Educational/informational use only. Not financial advice.
scalperhasan - Outside Candle DisplayerThis indicator highlights Outside Candles directly on the chart.
Youtube: scalperhasan






















