open,high,close,lowthis indicator will mark the previous day, week ,monthly candle (open, high, close and low)
Educational
PXX Levels by AlgoKingsPXX Levels by AlgoKings
RISK DISCLAIMER: This indicator is an analytical tool for educational purposes only, not financial advice. Trading carries substantial risk of loss. This tool does not guarantee profitable trades. Always use proper risk management and never risk more than you can afford to lose.
WHAT ARE PXX LEVELS?
PXX (Previous X High/Low) displays key support and resistance levels from completed market cycles. Unlike standard pivot indicators that use fixed bars, this tool calculates levels using natural market rhythms (sessions, 90-minute institutional windows, true daily periods) that align with institutional trading behavior.
Example: Previous Day High at 15,200 acts as resistance. Previous London session Low at 15,150 acts as support.
UNDERLYING METHODOLOGY
This indicator combines four analytical layers:
1. CYCLE-BASED PERIOD DETECTION
Tracks 10 cycle types across swing and intraday timeframes:
SWING CYCLES:
- Yearly: 12-month institutional rebalancing highs/lows
- Quarterly: 3-month earnings cycle extremes
- Monthly: Calendar month highs/lows
- Weekly: 7-day swing extremes
- Daily: Standard 18:00-18:00 EST bars
- TrueDay: 00:00-00:00 EST for 24-hour markets (futures, forex, crypto)
INTRADAY CYCLES:
- Session: Asia (18:00-02:00), London (02:00-08:30), NY AM (08:30-12:00), NY PM (12:00-17:00) EST
- 90m: Three 90-minute institutional windows (LN 1/2/3, AM 1/2/3, PM 1/2/3)
- 30m: 30-minute cycle extremes
- 10m: 10-minute cycle extremes
Technical implementation:
- TrueDay calculation: Detects candle closes at exactly 00:00 EST using time modulo arithmetic on 24-hour markets
- Session detection: Pattern matching on hour:minute timestamps (e.g., hr==2 and mn==30 triggers London session end at 02:30)
- 90m subdivision: Three 90-minute windows per session identified by specific time boundaries
- Cycle completion: Uses request.security with lookahead_on to detect when previous period (high , low ) closes
2. LEVEL TRACKING AND STATE MANAGEMENT
Proprietary state machine for each level:
LEVEL STATES:
- Live: Current cycle forming, level updates bar-by-bar as new highs/lows form
- Final: Cycle completed, level locked at cycle's high/low
- Taken: Price has touched/exceeded the level (mitigation)
- Extended: Level continues displaying after cycle completion or mitigation
State transitions:
- New cycle detected → Create Live level at current high/low
- Cycle completes → Transition Live to Final, lock coordinates
- Price touches level → Mark as Taken, optional removal from chart
- History limit reached → Purge oldest levels
Technical components:
- Level Object: Tracks y-price, x-start time, x2-current extension, isFinal/isTaken/isLive/isExtend flags
- Dynamic extension: Levels extend to current bar (x2 = time) until finalized or taken
- Mitigation detection: Compares current high >= level for resistance, low <= level for support
3. OFF-CHART LEVEL BACKFILL
Handles higher timeframe levels that formed before chart data:
When chart timeframe is lower than cycle period (e.g., 5m chart showing Daily levels), the indicator backfills up to 4 historical cycles using nested request.security calls (high , low , high , low , etc.). These off-chart levels are marked with tag in tooltips.
Anchor detection: If price matches an off-chart level's value, the indicator anchors it to the current bar time, removing the off-chart designation and making it actionable.
4. OVERLAP CONSOLIDATION AND PURGE HIERARCHY
Advanced filtering to prevent chart clutter:
OVERLAP DETECTION:
When multiple cycles produce identical levels (same y-price and x2-extension), the indicator combines them into a single visual with merged labels. Example: "P D, P W H" shows Previous Day and Previous Week High coincide.
Algorithm compares all levels at barstate.islast, identifies duplicates by y-coordinate and x2-endpoint, undraws lower precedence levels, and appends their names to higher precedence level's tooltip.
PURGE HIERARCHY:
- "Purge 10m/30m on new 90m Cycle": When 90m cycle completes, removes all 10m and 30m sub-cycle levels from chart
- "Purge 90m on new Session Cycle": When Session cycle completes, removes all 90m levels from chart
- This prevents clutter by automatically cleaning sub-levels when parent cycle resets
Implementation uses array-based tracking where higher cycle types (Session, 90m) hold references to lower cycle Pxx objects, allowing cascading purge operations on cycle completion.
WHY CLOSED-SOURCE?
This script protects proprietary algorithms:
- Cycle boundary detection: Custom logic for TrueDay (00:00 EST detection), Session identification (time-based pattern matching for 5 sessions), 90m subdivision (9 windows per day with specific time triggers), requiring complex hour/minute arithmetic
- Off-chart backfill system: Nested request.security calls to retrieve 4 historical cycles with isOffChart flagging and dynamic anchor detection when price revisits historical levels
- Level state machine: Multi-state tracking (Live/Final/Taken/Extended) with transition logic, including dynamic y-coordinate updates during Live state and precise finalization timing
- Overlap consolidation algorithm: Compares all active levels at each bar using y-coordinate and x2-endpoint matching, merges duplicate levels, preserves highest precedence visual while concatenating names
- Purge hierarchy system: Parent-child relationships between cycle types (Session→90m→30m/10m) with cascading cleanup operations triggered on cycle completion events
Standard support/resistance indicators show fixed pivot points. This script provides institutional-level cycle tracking with intelligent state management and visual optimization.
TECHNICAL COMPONENTS
Core structures:
- Cycle Object: Tracks cycle type, period string, current bar data, and array of historical CycleBar objects (up to 5 cycles deep)
- CycleBar Object: Stores high/low values, timestamps (open, close, high-time, low-time), cycle name, and off-chart status
- Level Object: Contains y-price, start/end coordinates, state flags (isFinal, isTaken, isLive, isExtend, isOffChart, isCurrent), and drawing objects (line, labels)
- Pxx Object: Manages array of high levels and array of low levels for one cycle type, handles updates/extensions/purging
Cycle detection:
- TrueDay: Tests hour==0 and minute==0 at time_close OR dayofweek change (excluding Monday for non-crypto)
- Session: Matches hour:minute pairs (17:00=ASIA, 02:30=LN, 07:00=AM, 11:30=PM, 16:00=VOID)
- 90m: Nine specific time boundaries from 02:30 to 16:00 EST
- Default cycles: Uses previous period close time (time ) from request.security
HOW TO USE
Setup:
1. Apply to any chart (works on all symbols and timeframes)
2. Enable/disable cycle types in settings (Swing Cycles, Intraday Cycles)
3. Configure History count for each cycle (how many previous levels to show)
4. Enable "Live" to see current cycle levels forming in real-time
5. Enable "Extend" to keep levels visible after mitigation
Chart Timeframe Requirements:
- Swing cycles: Chart TF must be <= cycle period and divide evenly (e.g., Daily requires 1H or lower)
- Intraday cycles: Chart TF must divide evenly into cycle (e.g., Session/90m/30m require 30m or lower, 10m requires 10m or lower)
- TrueDay: Automatically used instead of Daily on 1H and below for 24-hour markets
Interpretation:
- Horizontal lines show Previous High (resistance) and Previous Low (support) from completed cycles
- "P" prefix = Previous cycle (e.g., "P D H" = Previous Day High)
- No prefix = Current cycle forming (e.g., "LN 2 L" = Current London 2nd 90m Low)
- Dotted line = Level has been taken (mitigated)
- Solid line = Level still active
- Dot at left = Level formation point
- Label at right = Cycle name and high/low designation
- in tooltip = Level formed before chart data, not yet anchored
SETTINGS EXPLAINED
Time Cycles (Each cycle has 5 settings):
- Checkbox: Enable/disable cycle
- Color: Line color for this cycle's levels
- History: Number of previous cycles to display (1-4, or higher for intraday)
- Extend: Keep level visible after mitigation
- Live: Show current cycle's level as it forms bar-by-bar
Swing Cycles Available:
Year, Quarter, Month, Week, Day (uses TrueDay automatically on 1H and below for 24h markets)
Intraday Cycles Available:
Session (5 sessions per day), 90m (9 windows per day), 30m, 10m
Options:
- Line Width: Thickness of level lines (default: 1)
- Label: Show/hide text labels with size and color options
- Show Mitigated: Keep levels on chart after taken (shows as dotted) or remove them
- Purge 10m/30m on new 90m Cycle: Auto-remove sub-levels when 90m completes
- Purge 90m on new Session Cycle: Auto-remove 90m levels when Session completes
Common Configurations:
- Scalping: Enable 10m, 30m, 90m with History=1-3, Live=true, Extend=false
- Day Trading: Enable Session, 90m, Day with History=1-4, Live=true
- Swing Trading: Enable Day, Week, Month with History=1-2, Extend=true
- Position Trading: Enable Week, Month, Quarter, Year with Extend=true
UPDATES
This script is actively maintained. Updates released through TradingView's native update system. For technical questions, use the comment section below.
SMT Cycles by AlgoKingsSMT Cycles by AlgoKings
RISK DISCLAIMER: This indicator is an analytical tool for educational purposes only, not financial advice. Trading carries substantial risk of loss. This tool does not guarantee profitable trades. Always use proper risk management and never risk more than you can afford to lose.
WHAT ARE SMT CYCLES?
This indicator identifies Smart Money Technique divergences using cycle-based analysis rather than standard timeframes. Cycles represent natural market rhythms (sessions, 90-minute institutional windows, true daily periods) that better align with institutional trading patterns than arbitrary timeframe bars.
Example: During the London session, NQ makes a new high but ES fails to follow = Bearish SMT divergence within the London cycle
UNDERLYING METHODOLOGY
This indicator combines four analytical layers:
1. AUTOMATIC CORRELATION MAPPING
Built-in correlation intelligence for 40+ pairs (identical to SMT Custom):
- Futures: NQ, ES, YM cross-correlation | GC/SI | 6E/6B
- Forex: EURUSD/GBPUSD/DXY(inverse) | AUDUSD/NZDUSD
- Stocks: MAG7 (META, NVDA, MSFT, etc.) vs NDX
- Crypto: BTCUSD/ETHUSD
Algorithm automatically mirrors contract types and exchange prefixes using regex-based parsing for futures contracts and micro variants.
2. CYCLE-BASED PERIOD DETECTION
Unlike standard timeframe analysis, this indicator uses market structure cycles:
SWING CYCLES (Position Trading):
- Yearly: 12-month institutional rebalancing periods
- Quarterly: 3-month earnings and fund rotation cycles
- Monthly: Calendar month institutional flows
- Weekly: 7-day swing trading cycles
- Daily: Standard 18:00-18:00 EST bars
- TrueDay: 00:00-00:00 EST for 24-hour markets (futures, forex, crypto)
INTRADAY CYCLES (Day Trading):
- Session: Asia (18:00-02:00), London (02:00-08:30), NY AM (08:30-12:00), NY PM (12:00-17:00) EST
- 90m: Three 90-minute windows per trading day (02:00-03:30, 03:30-05:00, etc.)
- 30m: 30-minute institutional order flow windows
- 10m, 3m, 1m: Scalping cycles for precise entry timing
Technical implementation:
- TrueDay calculation: Detects candle closes at exactly 00:00 EST using time modulo arithmetic on 24-hour markets. Differs from standard Daily bars which use futures settlement times (18:00 EST).
- Session detection: Regex pattern matching on hour/minute timestamps to identify cycle boundaries (e.g., h==2 and m==0 triggers Asia session end)
- 90m hierarchy: Groups sub-90m cycles (30m, 10m, 3m, 1m) under their parent 90m window using group timestamp tracking (gx field)
- Intermediate accumulation: For multi-bar cycles (TrueDay, Sessions, 90m), maintains running high/low (nh1, nl1) across constituent bars until cycle completion
3. MULTI-TIMEFRAME CYCLE ANALYSIS
Proprietary cycle synchronization:
- Tracks price structure across up to 11 configurable cycles simultaneously
- Maintains independent high/low tracking for each symbol pair using request.security()
- Compares previous cycle extremes (high , low ) across correlated pairs
- Timestamps divergence formations at chart timeframe precision
- Implements adaptive purge logic (1min to 12M) based on cycle type
4. DIVERGENCE CLASSIFICATION SYSTEM
Bullish SMT: Chart symbol makes lower low within cycle, correlated pair does NOT = Institutional buying pressure
Bearish SMT: Chart symbol makes higher high within cycle, correlated pair does NOT = Institutional selling pressure
Advanced features include level tracking (monitors when extremes are revisited), automatic extension until both levels violated, 90m hierarchy overlap filtering (hides sub-90m SMT within parent 90m window), and inverse correlation support for DXY relationships.
WHY CLOSED-SOURCE?
This script protects proprietary algorithms:
- Cycle boundary detection: Custom logic for TrueDay calculation (00:00 EST candle close detection using modulo arithmetic on 24h markets), Session identification (time-based regex for Asia/London/NY periods), and 90m window calculation (minute offset from 02:00 EST baseline)
- Intermediate cycle accumulation: Complex state management for multi-bar cycles (Sessions, 90m, TrueDay) that build complete cycle values across constituent bars before finalizing
- 90m hierarchy system: Proprietary grouping algorithm (gtype, gca, gx fields) that links sub-90m cycles to parent windows for intelligent overlap filtering
- Automatic symbol mapping: Custom logic for 40+ correlation pairs including futures contract recognition and exchange inheritance
- Adaptive purge system: Cycle-specific memory management (1S to 12M) optimized through backtesting
- Multi-level tracking: Simultaneous monitoring of multiple active divergences across different cycle types with state management for "taken" levels
Standard SMT indicators use fixed timeframes. This script analyzes institutional cycles that don't align with standard bar periods, requiring complex time arithmetic and multi-bar aggregation logic.
TECHNICAL COMPONENTS
Core structures:
- Cycle Object: Tracks high/low/time for each cycle type with intermediate values (nh1, nl1) for multi-bar cycles and complete cycle values (h1, l1, t1) upon cycle completion
- CycleType Enum: Defines 11 cycle types (year, quarter, month, week, day, trueday, session, m90, m30, m10, m3, m1) with associated period strings and purge thresholds
- Point Object: Stores divergence formation data for chart symbol level and correlated symbol level with "taken" status tracking
- SMT Object: Visual representation with line extension, tooltip showing formation time (EST), and optional 90m group timestamp (gx) for hierarchy filtering
Cycle detection logic:
- TrueDay: Tests if hour==0, minute==0 at candle close OR day-of-week changes (with Monday exception for markets closed weekends)
- Session: Matches specific hour:minute combinations (16:30=Void, 02:00=Asia end, 06:30=London end, 11:00=NY AM end, 15:30=NY PM end)
- 90m: Calculates (hour*60 + minute - 120) % 90 == 0 to detect 90-minute boundaries from 02:00 EST baseline
HOW TO USE
Setup (Automatic Mode - Recommended):
1. Apply to chart of supported pair (see correlation list above)
2. Indicator automatically detects optimal comparison symbols
3. Enable/disable specific cycle categories (Swing or Intraday) in settings
4. Enable/disable individual cycles within each category
5. Adjust visual preferences (colors, line styles, labels)
Setup (Manual Mode):
1. Uncheck "Automatic Symbol Mode" in settings
2. Enter "Manual Symbol #1" (e.g., ES1! when chart shows NQ1!)
3. Optional: Enter "Manual Symbol #2" for three-way comparison
4. Check "Invert" if symbol is inversely correlated (e.g., DXY vs EURUSD)
Chart Timeframe Requirements:
- Swing cycles: Chart TF must be <= cycle period (e.g., Daily cycle requires 1H or lower chart)
- Intraday cycles: Chart TF must divide evenly into cycle (e.g., 90m cycle requires 30m, 15m, 10m, 5m, or lower chart)
- TrueDay: Automatically selected for 1H and below chart TF on 24-hour markets (futures, forex, crypto)
Interpretation:
- Blue lines = Bullish SMT (chart made lower low within cycle, correlated pair held higher). Potential reversal up.
- Red lines = Bearish SMT (chart made higher high within cycle, correlated pair stayed lower). Potential reversal down.
- Dots in labels = Multiple SMT signals overlap. Hover to see all cycles showing divergence.
SETTINGS EXPLAINED
Symbols:
- Automatic Symbol Mode: Uses built-in correlation intelligence (recommended)
- Manual Symbol #1/2: Override automatic selection
- Invert: For inverse correlations (DXY vs majors)
- Hide Exact Overlap: Removes duplicate signals with identical start/end times
- Hide 90m Hierarchy Overlap: Hides sub-90m SMT (30m, 10m, 3m, 1m) when contained within parent 90m window
- Hide All Overlap: Hides lower precedence SMT when start/end points overlap higher precedence SMT
Intraday Cycles (Enable/Disable per symbol):
- Session: Asia (18:00-02:00), London (02:00-08:30), NY AM (08:30-12:00), NY PM (12:00-17:00) EST
- 90m: Three 90-minute institutional windows per day
- 30m: 30-minute cycles
- 10m, 3m, 1m: Scalping cycles
- Each cycle has two checkboxes: left for Symbol #1, right for Symbol #2
Swing Cycles (Enable/Disable per symbol):
- Yearly: 12-month cycles
- Quarterly: 3-month cycles
- Monthly: Calendar month cycles
- Weekly: 7-day cycles
- Daily: Standard daily bars (18:00-18:00 EST) OR TrueDay (00:00-00:00 EST on 1H and below chart TF for 24h markets)
- Each cycle has two checkboxes: left for Symbol #1, right for Symbol #2
Display:
- Bull/Bear: Enable/disable directional signals
- Line colors, styles (solid/dashed/dotted), widths
- Label: Show/hide text labels with color and size options
- SMT formation time: Displays timestamp in tooltip (New York time)
UPDATES
This script is actively maintained. Updates released through TradingView's native update system. For technical questions, use the comment section below.
SMT Custom by AlgoKingsSMT Custom by AlgoKings
RISK DISCLAIMER: This indicator is an analytical tool for educational purposes only, not financial advice. Trading carries substantial risk of loss. This tool does not guarantee profitable trades. Always use proper risk management and never risk more than you can afford to lose.
WHAT IS SMART MONEY TECHNIQUE (SMT)?
SMT identifies divergences between correlated market pairs when one asset makes a new high/low but its correlated counterpart fails to do so. These divergences often signal institutional repositioning and potential reversal points.
Example: NQ makes a new high at 15,200 but ES fails to exceed its previous high = Bearish SMT divergence
UNDERLYING METHODOLOGY
This indicator combines three analytical layers:
1. AUTOMATIC CORRELATION MAPPING
Built-in correlation intelligence for 40+ pairs:
- Futures: NQ, ES, YM cross-correlation | GC/SI | 6E/6B
- Forex: EURUSD/GBPUSD/DXY(inverse) | AUDUSD/NZDUSD
- Stocks: MAG7 (META, NVDA, MSFT, etc.) vs NDX
- Crypto: BTCUSD/ETHUSD
Algorithm automatically mirrors contract types (perpetual/quarterly futures) and exchange prefixes using regex-based parsing. Recognizes quarterly contracts (NQU2025), micro contracts (MNQ, MES), and perpetual syntax (NQ1!).
2. MULTI-TIMEFRAME CYCLE ANALYSIS
Proprietary cycle detection algorithm:
- Tracks price structure across 9 configurable timeframes simultaneously
- Maintains independent high/low tracking for each symbol pair using request.security()
- Identifies cycle completions with time-synchronized bar analysis
- Implements adaptive purge logic (1min to Monthly) to balance historical context vs performance
Technical implementation compares previous period extremes (high , low ) across correlated pairs and timestamps divergence formations at chart timeframe precision.
3. DIVERGENCE CLASSIFICATION SYSTEM
Bullish SMT: Chart symbol makes lower low, correlated pair does NOT = Institutional buying pressure
Bearish SMT: Chart symbol makes higher high, correlated pair does NOT = Institutional selling pressure
Advanced features include level tracking (monitors when extremes are revisited), automatic extension until both levels violated, overlap filtering to remove redundant signals, and inverse correlation support for DXY relationships.
WHY CLOSED-SOURCE?
This script protects proprietary algorithms:
- Automatic symbol mapping: Custom logic for 40+ correlation pairs including futures contract recognition (expiration codes, micro contracts) and exchange inheritance
- Cycle synchronization engine: Complex timestamp matching ensures divergences only flagged when both symbols' cycle periods align perfectly (prevents false signals from data lag)
- Adaptive purge system: Timeframe-specific memory management (1S to 12M) optimized through backtesting
- Multi-level tracking: Simultaneous monitoring of multiple active divergences with state management for "taken" levels
- Overlap intelligence: Algorithm determines when to hide/combine signals from different timeframes while preserving information in tooltips
Standard divergence indicators simply compare two moving averages. This script performs real-time institutional flow analysis across correlated instruments.
HOW TO USE
Setup (Automatic Mode - Recommended):
1. Apply to chart of supported pair (see correlation list above)
2. Indicator automatically detects optimal comparison symbols
3. Enable/disable specific timeframes in settings
4. Adjust visual preferences (colors, line styles, labels)
Setup (Manual Mode):
1. Uncheck "Automatic Symbol Mode" in settings
2. Enter "Manual Symbol #1" (e.g., ES1! when chart shows NQ1!)
3. Optional: Enter "Manual Symbol #2" for three-way comparison
4. Check "Invert" if symbol is inversely correlated (e.g., DXY vs EURUSD)
Interpretation:
- Blue lines = Bullish SMT (chart made lower low, correlated pair held higher). Potential reversal up.
- Red lines = Bearish SMT (chart made higher high, correlated pair stayed lower). Potential reversal down.
- Dots in labels = Multiple SMT signals overlap. Hover to see all timeframes.
SETTINGS EXPLAINED
Symbols:
- Automatic Symbol Mode: Uses built-in correlation intelligence (recommended)
- Manual Symbol #1/2: Override automatic selection
- Invert: For inverse correlations (DXY vs majors)
- Hide Exact Overlap: Removes duplicate signals with identical start/end times
- Hide All Overlap: Hides lower timeframe SMT within higher timeframe ranges
Timeframes:
- 9 configurable timeframe rows
- Toggle each symbol independently (Sym #1, Sym #2 checkboxes)
- Default: Chart TF, 1m, 5m, 15m, 1H, 4H, Daily, Weekly, Monthly
Display:
- Bull/Bear: Enable/disable directional signals
- Line colors, styles (solid/dashed/dotted), widths
- Label: Show/hide text labels with color and size options
- SMT formation time: Displays timestamp in tooltip (New York time)
UPDATES
This script is actively maintained. Updates released through TradingView's native update system. For technical questions, use the comment section below.
Custom Timeframe Candles [Metrify]This script lets you build custom timeframe candles (like 7m, 11m, 2h, 3D, etc.) by manually aggregating price data from a lower chart timeframe.
While it doesn’t fully replace TradingView’s native custom TF — especially in terms of perfect timestamp alignment, it gives you a very close (same calculation) and practical alternative for analysis.
How it works
Candles are manually aggregated from the current chart timeframe
Instead of relying on request.security(), candles are constructed directly from the current chart data.
For best results, use a chart timeframe that is divisible and as close as possible to your custom timeframe
Example: Custom TF = 10m → use 5m chart (1m chart also works, but the gap will be larger and less efficient)
Smaller gaps = cleaner candles, better visual accuracy, and smoother updates
MTF SMA Zones + EMA Trend (Bull & Bear) + EMA DisplayMTF SMA Zones + EMA Trend (Bull & Bear) + EMA Display
[TehThomas] - Aligned Timeframe Liquidity Sweeps█ OVERVIEW
The Liquidity Sweeps ICT MTF indicator automatically detects and visualizes buyside and sellside liquidity levels based on higher timeframe (HTF) swing points. Designed specifically for traders using Smart Money Concepts and ICT (Inner Circle Trader) methodology, this tool helps identify where institutional players are likely hunting liquidity before making directional moves.
█ KEY FEATURES
✓ Automatic ICT-Aligned Timeframe Selection
• Intelligently selects the higher timeframe based on your current chart
• Follows ICT's recommended correlations (5min→1h, 15min→4h, 1h→Daily, etc.)
• No manual timeframe selection needed - adapts automatically
✓ Precise Liquidity Level Placement
• Lines start exactly at the LTF candle that created the HTF swing point
• Searches backwards through historical data to find exact placement
• Eliminates guesswork about where institutional orders cluster
✓ Real-Time Sweep Detection
• Solid lines indicate untouched liquidity (active levels)
• Lines automatically turn dotted when price sweeps through them
• Swept lines stop at the exact bar of the sweep (clean visualization)
• Both wicks and candle bodies trigger sweep detection
✓ Fully Customizable Per Timeframe
• Individual swing detection settings for each HTF (1m, 15m, 1h, 4h, D, W, M)
• Adjust sensitivity to show major levels only or capture granular liquidity pools
• Customizable colors and line width
• Organized settings groups for easy navigation
█ HOW IT WORKS
The indicator identifies swing highs and swing lows on a higher timeframe using pivot point detection. These swing points represent areas where stop-loss orders from retail traders concentrate, creating "liquidity pools" that smart money targets.
Timeframe Alignment (Automatic):
• 15s chart → 1min HTF
• 1min chart → 15min HTF
• 5min chart → 1hour HTF
• 15min chart → 4hour HTF
• 1hour chart → Daily HTF
• 4hour chart → Weekly HTF
• Daily chart → Monthly HTF
Swing Detection:
The indicator uses customizable left/right bar counts to identify valid swing points on the HTF. Default values are optimized per timeframe (e.g., 10 bars for 1h, 5 bars for Daily), but can be adjusted to your preference.
Visualization:
• Green lines = Buyside liquidity (swing highs where long stops sit)
• Red lines = Sellside liquidity (swing lows where short stops sit)
• Solid style = Untouched liquidity
• Dotted style = Swept liquidity
█ SETTINGS
Swing Detection Group:
• Swing Bars - 1 Minute: Default 5 bars
• Swing Bars - 15 Minutes: Default 8 bars
• Swing Bars - 1 Hour: Default 10 bars
• Swing Bars - 4 Hours: Default 6 bars
• Swing Bars - Daily: Default 5 bars
• Swing Bars - Weekly: Default 3 bars
• Swing Bars - Monthly: Default 2 bars
Tip: Increase values for cleaner charts with major levels only. Decrease for more sensitive detection.
Display Group:
• Buyside Liquidity Color: Default green
• Sellside Liquidity Color: Default red
• Line Width: Adjustable 1-5
█ HOW TO USE
Reading the liquidity levels:
🟢 Green solid line = Untouched buyside liquidity (potential magnet for price)
🔴 Red solid line = Untouched sellside liquidity (potential magnet for price)
🟢 Green dotted line = Swept buyside liquidity (bulls trapped)
🔴 Red dotted line = Swept sellside liquidity (bears trapped)
Trading Applications:
1. Liquidity Grab Reversals: Watch for sweeps followed by immediate reversals
2. Stop Hunt Detection: Multiple sweeps often precede strong counter-moves
3. Target Identification: Use untouched levels as potential price magnets
4. Market Structure Analysis: Understand institutional order flow
5. Confluence Zones: Combine with order blocks, FVGs, or other ICT concepts
Best Practices:
• Focus on liquid markets (major FX pairs, indices, large-cap stocks)
• Consider higher timeframe trend - sweeps against trend are higher probability
• Look for liquidity clusters (multiple levels close together)
• Wait for confirmation after sweeps before entering
• Not all sweeps result in reversals - context matters
█ TRADING STRATEGY EXAMPLES
Liquidity Sweep Reversal:
1. Identify untouched liquidity level
2. Wait for price to sweep through (line turns dotted)
3. Look for reversal price action (engulfing, rejection)
4. Enter in reversal direction with stop beyond the sweep
5. Target next liquidity level or structure
Liquidity-to-Liquidity:
1. Price sweeps sellside liquidity (red dotted)
2. Enter long positions
3. Target buyside liquidity above (green solid)
4. Exit when buyside liquidity is swept
█ IDEAL FOR
• ICT Methodology Traders
• Smart Money Concept Practitioners
• Liquidity-Based Strategies
• Multi-Timeframe Analysis
• Price Action Traders
• Stop Hunt Avoidance
█ TECHNICAL SPECIFICATIONS
• Maximum Lines: 500
• Lookback Range: Up to 1000 bars for precise placement
• Compatible: All markets and timeframes
• Data: Works on both real-time and historical bars
█ NOTES & DISCLAIMERS
• This indicator is a tool for analysis, not a standalone trading system
• Always use proper risk management and combine with other analysis
• Performance may vary across different markets and conditions
• Based on ICT concepts - familiarity with Smart Money trading is recommended
█ LIQUIDITY FOR SINGLETIMEFRAMES
If you prefer normal liquidity lines you can use my other free liquidity indicator
PaisaPani - Demo Performance (Silver)This indicator shows a DEMO performance snapshot
to explain how a rule-based framework behaves on charts.
It is NOT a live trading system.
It does NOT provide Buy/Sell signals.
No profit guarantees are implied.
🔹 Separate indicators are designed for different instruments
(Nifty, BankNifty, Silver etc.)
🔹 Intended to be used only on the mentioned timeframes
🔹 Focused on structure, discipline, and risk awareness
🔒 Full PaisaPani strategy is Invite-Only.
If you have any queries, you may message "ACCESS" on TradingView.
⚠ Disclaimer:
This demo is for educational purposes only.
Trading involves risk. Please use your own judgment.
DOUBLE_MACDDOUBLE MACD is an advanced momentum indicator that combines two MACD calculations to provide a clearer view of market trends and entry points. Instead of relying on a single MACD, it analyzes both fast and slow momentum to improve signal accuracy.
With DOUBLE MACD, traders can:
Identify overall trend direction
Spot strong buy and sell opportunities
Filter out false signals
Understand market momentum more effectively
This indicator is useful for scalping, intraday, and swing trading. When both MACD lines align in the same direction, trade confidence increases and helps traders make better decisions.
Alpha ORB Key Levels v4.3Key Levels Indicator – Futures Market Structure
This indicator plots the most commonly used key reference levels for futures and intraday traders to map support/resistance and likely liquidity targets.
It includes:
Prior Day High & Low (RTH only – avoids Sunday/Globex contamination)
Current Day High, Low, and Open
Prior Week High & Low
Prior Month High & Low
Session Highs & Lows (where enabled)
Levels are designed to be futures-safe, non-repainting, and remain visible through after-hours until updated by the next session.
Advanced Bull-Bear Power IndicatorAdvanced Bull–Bear Power Indicator
The Advanced Bull–Bear Power Indicator is a momentum and market strength tool that quantifies the balance of power between buyers (bulls) and sellers (bears) over a selected lookback period. Rather than focusing only on price direction, it measures how much effort each side applies to move the price, combining both candle magnitude and candle frequency into a normalized strength metric.
How It Works
For every candle, the indicator calculates the absolute percentage change between the open and close. This represents the true price effort of that candle, independent of direction.
Each candle is then classified:
- Bullish candle: close > open
- Bearish candle: close ≤ open
Bullish candles contribute their strength only to bulls, while bearish candles contribute only to bears.
Over the selected period, the indicator computes:
- Average bullish candle strength
- Average bearish candle strength
- Percentage of bullish candles
- Percentage of bearish candles
Using the average strength values, a Power Ratio is calculated:
Power Ratio = Bull Avg / (Bull Avg + Bear Avg) × 100
This produces a clean 0–100 scale:
- Above 50 → Bullish dominance
- Below 50 → Bearish dominance
Visual Interpretation
The main line represents the Bull–Bear Power Ratio. Color gradients reflect dominance, where green tones indicate bullish control and red tones indicate bearish control.
Key reference levels:
- 50 → Neutral balance
- 60 → Strong bullish dominance
- 40 → Strong bearish dominance
Background highlights appear in extreme conditions:
- Above 70 → Extreme bull pressure
- Below 30 → Extreme bear pressure
Statistics Table
An optional statistics table displays:
- Average bullish strength
- Average bearish strength
- Bullish and bearish candle ratios
- Current power ratio
- Market state classification (Strong Bull, Weak Bull, Weak Bear, Strong Bear)
This allows quick assessment of whether dominance comes from consistent pressure or isolated strong moves.
Alerts
Alerts are triggered when:
- Power crosses above 60 → Strong bullish momentum
- Power crosses below 40 → Strong bearish momentum
- Power crosses 50 → Market balance shift
Practical Applications
This indicator can be used for trend strength confirmation, detecting early dominance shifts before breakouts, filtering trades in sideways or low-quality markets, and comparing momentum quality across assets or timeframes.
Key Insight
This indicator does not simply ask “Is price going up or down?”
It answers a more important question:
Which side is truly exerting more force on the market right now?
Disclaimer
This indicator should not be used as a standalone decision-making tool. It is designed to complement other forms of technical, fundamental, or contextual analysis. Always confirm signals with additional indicators, market structure, and risk management techniques. The user is solely responsible for any trading decisions made using this indicator.
Intraday Toolkit1. Visual Components of the Indicator
Understanding the visual cues is essential for quick decision-making during fast-moving intraday sessions:
Trend Background: The background color represents the Primary Cycle (80-period) bias. Green indicates a bullish trend (price is above the primary cycle), and red indicates a bearish trend (price is below the primary cycle).
The Three Cycles:
Yellow Line: Short Cycle (20) – Used for momentum triggers.
Orange Line: Mid Cycle (40) – Represents the baseline for volatility envelopes.
Red Line: Primary Cycle (80) – Defines the overall trend direction.
Volatility Envelopes: Two green lines plotted at a distance (1.5x ATR) from the Mid Cycle. These act as exhaustion zones where price is likely to revert or consolidate.
Rule 3 Signals (Purple Circles): These appear when a specific 3-candle momentum breakout occurs.
2. Trading Strategy for 5m & 15m
This toolkit is most effective when you use the 15m chart for trend confirmation and the 5m chart for precise entries.
Long (Buy) Setup
Enter a long position when the following alignment occurs:
Bullish Bias: The background must be Green (Price > Primary Cycle).
Cycle Low: A pivot low must have been detected (the indicator identifies a local bottom).
Momentum Trigger: Price must close above the Yellow Short Cycle line while the previous candle was below it.
Rule 3 Confirmation: If a purple circle appears simultaneously, it confirms strong buying momentum.
Short (Sell) Setup
Enter a short position when the following alignment occurs:
Bearish Bias: The background must be Red (Price < Primary Cycle).
Cycle High: A pivot high must have been detected (the indicator identifies a local top).
Momentum Trigger: Price must close below the Yellow Short Cycle line while the previous candle was above it.
Rule 3 Confirmation: A purple circle above the price confirms a bearish momentum shift.
3. Exit and Take-Profit Logic
The script includes "State Control" to manage your exits effectively:
Targeting the Envelopes: The primary profit target is the Outer Green Envelope. If price touches the upper envelope (for longs) or lower envelope (for shorts), the trend may be exhausted.
Momentum Exit: If price crosses back over the Yellow Short Cycle line in the opposite direction of your trade, the toolkit considers the move over and signals an exit.
4. Specific Tips for Day Trading
Avoid "Counter-Trend" Signals: Do not take Buy signals if the background is Red, or Sell signals if the background is Green. The logic is built to filter these out for better win rates.
The "Rule 3" Advantage: Use the purple circles as a "second chance" entry. If you missed the initial Buy/Sell signal, a Rule 3 circle indicates momentum is still strong in that direction.
Timeframe Synergy: * 15m: Best for seeing the "Big Picture" and avoiding noise.
5m: Best for finding entries with smaller stop-losses near the Yellow Short Cycle line.
Inside Bar Breakout ( candlestick pattern).📌 What Is This Indicator?
BOIB Pro identifies a very strict form of inside bar:
✅ The inside bar candle’s entire range (body + wicks) must be inside the BODY of the previous candle (mother candle).
❌ If even a single wick is outside the mother body, the setup is rejected.
This filters out weak and noisy inside bars and focuses only on true compression candles.
⸻
📐 Pattern Rules (Strict)
1️⃣ Mother Candle
• The candle immediately before the inside bar
2️⃣ Body-Only Inside Bar (BOIB)
A valid BOIB must satisfy:
• Inside bar high ≤ mother candle body high
• Inside bar low ≥ mother candle body low
⚠️ Normal inside bars (inside wicks only) are ignored.
⸻
⏱️ Breakout Window Logic
After a valid BOIB forms:
• The indicator waits for the next 1 to 5 candles (user-configurable)
• Entry is triggered only if price CLOSES outside the BOIB range
✅ Long Signal
• Candle closes above BOIB high
✅ Short Signal
• Candle closes below BOIB low
If no breakout occurs within the window → setup expires automatically
⸻
🎯 Entry, Stop Loss & Take Profit Logic
Once a valid breakout/breakdown occurs, the indicator automatically draws a professional trade template:
Entry
• At the close of the breakout candle
Stop Loss
• Long → below BOIB low
• Short → above BOIB high
• Optional buffer:
• ATR-based
• Percentage-based
• Or none
Take Profits
• TP1: Risk-Reward based (default 1R)
• TP2: Extended target (default 2R)
All levels are clearly visualized using:
• Horizontal price lines
• Risk and reward boxes
• Informational labels
⸻
📊 Best Use Cases
• Crypto (BTC, ETH, major alts)
• Timeframes:
• Scalping: 5m
• Day trading: 15m / 30m
• Works best when combined with:
• Market structure
• Trend bias
• Support / resistance
⸻
⚠️ Important Notes
• This is NOT an auto-trading system
• Signals should always be used with:
• Proper risk management
• Market context
• Inside bars in sideways or low-volume markets may fail
⸻
📚 Educational Purpose Disclaimer
This indicator is provided for educational and analytical purposes only.
It does not constitute financial advice.
Trading involves risk, and past behavior does not guarantee future results.
SMC Velocity Scalper (15 M)Concept & Methodology : The SMC Precision Scalper v6 is a specialized adaptation of the classic Smart Money Concepts (SMC) framework, re-engineered specifically for the fast-paced environment of 15-minute scalping. While traditional SMC indicators often lag by focusing on macro-trends, this script prioritizes Internal Market Structure and recent order flow to provide timely entries for intraday traders.
It is built on the latest Pine Script v6 engine, ensuring strict type safety, faster execution, and cleaner visuals.
Key Features
Rapid Structure Detection: Unlike standard Swing Structure (which requires 50+ bars), this script utilizes a sensitive Internal Structure algorithm (customizable length) to detect minor Breaks of Structure (BOS) and Changes of Character (CHoCH) in real-time.
15m Optimized Order Blocks: Filters out old, irrelevant institutional footprints. It automatically identifies and draws only the most recent Order Blocks (OB) that are relevant to current price action.
Fair Value Gaps (FVG): Detects imbalances where price often returns to "fill" orders before continuing the trend.
Liquidity Sweeps: Automatically highlights Equal Highs (EQH) and Equal Lows (EQL), which often act as magnets for liquidity grabs.
Premium/Discount Zones: Draws dynamic Fibonacci-based zones to help you avoid buying in a "Premium" (expensive) area or selling in a "Discount" (cheap) area.
How to Use This Indicator This tool is designed to be a complete decision-support system for scalpers.
Determine Bias: Look at the Internal Structure lines (dashed). A green "BOS" indicates a bullish continuation; a red "BOS" indicates bearish.
Wait for the Pullback: Do not chase the breakout. Wait for price to retrace into a colored Order Block box or a Fair Value Gap.
Confirm Entry: Watch for a CHoCH (Change of Character) signal within your zone. For example, if price hits a bullish Order Block, wait for a green internal CHoCH label to confirm buyers are stepping in.
Target: Aim for the weak structural points, marked as "Weak High" or "Weak Low" by the script.
Settings & Customization
Swing Length (Scalp): Controls the sensitivity of the major trend. Default is 10 for 15m charts.
Internal Structure Length: Controls the speed of minor structure signals. Lower this to 3 or 4 for hyper-aggressive scalping.
Order Blocks: You can toggle Swing vs. Internal OBs and adjust how many are displayed to keep your chart clean.
Risk Disclaimer
Important Risk Factors & Limitations
Repainting on Historical Data: This script uses request.security with lookahead to calculate Multi-Timeframe (MTF) Fair Value Gaps. While this provides accurate levels for closed candles, historical backtesting may visually "repaint" signals that were not valid in real-time. Always wait for a candle close before confirming a signal.
Lag is Natural: Even with optimized settings, structure-based indicators inherently lag because a High/Low is only confirmed after price moves away from it. This tool identifies structure breaks, not prediction.
Not Financial Advice: This indicator is a technical analysis tool, not a trading bot. It visualizes market data to aid decision-making. Trading cryptocurrency, forex, or stocks carries a high level of risk, and you can lose more than your initial investment.
False Signals: In ranging (sideways) markets, structure indicators can produce frequent "flip-flop" signals (BOS followed immediately by opposite CHoCH). Use discretion during low-volume hours.
Sessions Major & Minor |Yvon-J|Session major and minor
Identify ICT Killzone
mark previous Day HIgh / Low
mark previous Week HIgh / Low
mark previous Month HIgh / Low
Predictive Emini SP500 SystemWhat this indicator does
Purpose
A smart-money + market-dynamics trading system that predicts short-term direction, highlights high-probability zones, and filters bad trades.
Core functions
1. Market Structure (SMC)
Detects FVGs, Order Blocks, BOS, CHoCH
Shows where institutions likely buy/sell
Auto-removes zones when mitigated
2. Liquidity Logic
Tracks Asia / London / NY highs & lows
Detects liquidity sweeps
Identifies cascade sweeps (multi-session stop hunts → high conviction reversal)
Warns on fakeouts (both sides swept = stay out)
3. Direction Prediction Engine
Scores bullish vs bearish using:
Momentum
Volume pressure
Delta
Absorption
Sweeps
Structure breaks
Outputs:
Forecast: BULL / BEAR / NEUTRAL
Strength % (confidence)
4. Trade Signal System
Only triggers trades when:
Forecast strength is high
Volume confirms (RVOL)
EMA trend aligns
Candle confirms
Not in danger zone
Auto-sets:
Stop (ATR based)
Target (R multiple)
5. Danger Zone Filter (very important)
Blocks trading when:
Low volume
Low volatility
Tight range
Lunch hours
This prevents chop and overtrading.
6. Sessions & Context
Draws Asia, London, NY boxes
Helps you know when moves are likely to happen
7. Stats Table (decision panel)
One glance tells you:
Trade or wait
Direction & confidence
Trend, momentum, pressure
Session
Danger status
This indicator waits for smart money to grab liquidity, confirms direction with momentum + volume + structure, blocks bad conditions, then signals only high-probability trades.
RA Renko Strategy v1.7.1RA Renko Strategy v1.7
2-Brick Flip + Controlled Scale-Up (Renko Execution Framework)
1. Purpose of the Strategy
RA Renko Strategy v1.7 is a rule-based Renko execution framework designed to:
Capture directional shifts using 2-brick confirmation
Avoid premature flips during single-brick noise
Support controlled position scaling during pullbacks
Respect session-based trading behavior aligned with CME definitions
Provide execution discipline, not signal prediction
This strategy is execution-first, not indicator-first.
2. Chart & Instrument Requirements
Required
Chart Type: Renko (Traditional)
Instrument: Futures (CME recommended)
MNQ, MES, ES, NQ, CL, GC
Timezone: America/Chicago (CST)
Recommended
Fixed Renko brick size appropriate to volatility
Use on liquid contracts only
Avoid thin overnight products
3. Core Trading Logic (Plain English)
Entry Logic (Flip)
A trade triggers only after the 2nd Renko brick confirms direction
First brick = awareness
Second brick = permission to act
Scenario Action
2 blue bricks after red sequence Long
2 red bricks after blue sequence Short
This prevents one-brick whipsaws.
Reversal Handling
Existing position is closed first
New direction opens immediately after
Flip cooldown prevents rapid flip-flopping
4. Trade Modes (Critical Section)
Trade Mode Options
1. Intraday
Definition:
Positions must be flat by the end of the selected session.
NY selected → force flat at 3:29 PM CST
Asia or London selected → flat at session end
No trading during CME maintenance (3:30–5:00 PM CST) if NY is last session
Use this for:
Prop firm rules
Daily risk caps
Session-only trading
2. Overnight
Definition:
Positions may carry through the 5:00 PM CST reopen.
Use this when:
Holding trades across NY → Asia
Swing-style Renko continuation
CME overnight risk is acceptable
3. Swing
Same execution as Overnight, but intended for multi-session / multi-day holding.
5. Session Selection Logic
Session selection gates entries, not exits.
Session CST Time
Asia 17:00 – 02:00
London 02:00 – 08:30
NY 08:30 – 15:30
Key Rules
If Use Session Selection = ON, trades only occur inside selected sessions
If no session selected, strategy treats all sessions as valid
Intraday + NY selected enforces hard flat at 15:29 CST
6. Scale-Up (A) Logic
Scaling is not martingale.
Conditions to Add
Initial flip trade exists
Price pulls back against position (defined bricks)
Direction re-confirms with new bricks
Flip cooldown is not active
Max adds per trend not exceeded
Purpose
Improve average entry
Participate in trend continuation
Maintain position control
7. Risk Management
Protective Stop (Optional)
Stop defined in Renko bricks
Applies to:
Base position
Scale-up positions
This is a failsafe, not an optimized stop model.
8. Visual Elements (What You See on Chart)
Strategy-Generated
L / S → Flip entries
A → Scale-up entries
TradingView-Generated (Cannot Be Removed by Code)
Order arrows
Fill markers
Small numeric annotations (contract/order metadata)
These are TradingView UI elements, not Pine outputs.
9. Brick Suggestion Panel (Optional)
Purpose
Estimates reasonable Renko brick sizes
Based on:
Consolidation range
ADX filter
EMA smoothing
Important Notes
Informational only
Relevant for time-based charts
Not used in execution logic
Table is OFF by default
10. What This Strategy Is NOT
❌ Not a prediction model
❌ Not a holy-grail system
❌ Not optimized for all markets
❌ Not designed to trade low-liquidity periods
❌ Not a replacement for risk management
This is an execution framework, not a signal generator.
11. Recommended Usage Guidelines (Internal)
Start with 1 contract
Observe behavior across:
NY → Asia transitions
High-volatility opens
Validate Renko size before trading
Do not over-optimize inputs
Combine with:
Market structure
HTF bias
Session context
12. Internal Disclaimer
Internal Use Only
This strategy is provided for educational and internal research purposes.
It does not constitute financial advice, trading advice, or investment recommendations.
Futures trading involves substantial risk and is not suitable for all participants.
Past performance does not guarantee future results.
Users are fully responsible for risk management, position sizing, and compliance with firm-specific trading rules.
TASC 2026.02 Portfolio Diversification█ OVERVIEW
This indicator is a simplified framework for analyzing hypothetical portfolios, based on the concepts in the February 2026 edition of the TASC Traders' Tips , "Foundational Portfolio Design, Not Stock-Picking”. It requests datasets for spread symbols that represent weighted combinations of user-selected or predefined instruments, compares the returns in the data to those of a selected benchmark, and calculates risk-related metrics.
█ CONCEPTS
One of the core concepts of portfolio design is diversification. A diversified portfolio distributes market exposure across multiple, ideally uncorrelated, instruments to reduce potential risks. Investors often diversify their portfolios by allocating capital to instruments from different classes, sectors, or regions rather than investing in only a single instrument or multiple related instruments.
As described in the article, the motivation behind creating diversified portfolios is simple:
"No single position should have the capacity to sink the entire portfolio."
This indicator estimates a portfolio's performance by requesting combined price data for spread symbols from user inputs or predefined options, and then analyzing the data's annual arithmetic returns alongside those of a specified benchmark instrument. It displays the returns of the spread and the benchmark in a table at the bottom left.
The indicator also displays the following metrics described in the article in a table at the bottom right of the pane for additional performance information:
Max drawdown: The maximum drop in the portfolio's value from a local peak.
Standard deviation: The dispersion of portfolio values relative to their mean.
Sharpe ratio: The ratio of excess returns in an investment compared to a hypothetical risk-free rate of return.
Pain index: A measure of risk based on the depth, duration, and frequency of losses. The metric in this script considers only the bars where drawdown is nonzero.
Ulcer index: A measure of downside risk based on the root mean square of drawdowns. The metric in this script considers only the bars where drawdown is nonzero.
Correlation: The Pearson correlation coefficient between the returns of the hypothetical portfolio and those of a selected benchmark.
The first five metrics are direct risk measures. The correlation metric helps assess whether the hypothetical portfolio closely follows the broader market. High correlation with a broad benchmark might indicate an elevated sensitivity to systematic risk.
█ USAGE
Users can select a combination of up to 10 symbols with specific weights to construct a hypothetical portfolio to analyze. Alternatively, users can select a predefined combination of symbols and weights based on the article's examples of optimized portfolios for different levels of risk tolerance.
The script plots the calculated returns from the selected combination and the benchmark instrument for visual comparison. It also generates tables to compare returns and display risk metrics.
Note: This indicator is intended to provide a simplified demonstration of portfolio concepts, and some metric calculations differ slightly from those in the article. The script does not produce any signals, and the calculated metrics are estimates intended for EOD timeframes such as 1D. If the hypothetical portfolio consists of instruments with different sessions, we recommend using 1W or a higher timeframe.
█ INPUTS
Benchmark: The symbol of the instrument to compare against the hypothetical portfolio.
Portfolio Type: Choose between named options for predefined portfolio configurations based on risk profiles outlined in the article. To create a custom portfolio from up to 10 symbols, select "Custom" and adjust the 10 sets of inputs below.
Risk-free rate: The hypothetical annual risk-free rate for the Sharpe ratio.
Periods per year: If not zero, the script uses the value as the number of bars per year for annualization, which affects Sharpe ratio and standard deviation metrics.
Display Toggles: The display for the returns and metrics tables can be toggled on or off.
XRP Athey Mitchnick Implied Price (Ramp + Analytical 2030 Label)This indicator implements a fundamental valuation framework for XRP based on the Athey–Mitchnick cryptoasset valuation model. Unlike traditional technical indicators (RSI, MACD, etc.), this tool is not designed to predict short-term price movements. Instead, it models what XRP should be worth over time under explicit adoption and demand assumptions.
It answers the question:
If XRP becomes a real settlement rail and a long-term store of value, what price would be required for the system to function?
What This Indicator Adds
This implementation extends the static Athey–Mitchnick model by introducing a time-based ramp:
1. Adoption grows over time
You specify:
TV CAGR (%)
SoV CAGR (%)
These values compound annually from a start date to an end date (e.g., 2030), producing a dynamic implied valuation curve.
2. Terminal 2030 price is computed analytically
The indicator explicitly computes the implied price at the target year (e.g., 2030) and displays it as:
“2030 Implied Price = $X”
This is done analytically, so the chart does not need to extend to 2030 for you to see the terminal valuation.
3. This is not a trading indicator
This model is not designed for:
Scalping
Breakouts
Entry timing
Momentum trading
It is designed for:
Long-term valuation anchoring
Scenario modeling
Macro thesis testing
Adoption-based forecasting
Narrative vs fundamentals comparison
How to Read the Chart
Market Price (Close)
This is the actual XRP market price. It reflects:
Speculation
Liquidity
Leverage
Narrative
Emotion
Implied Price (Ramp)
This is the fundamental valuation curve.
It shows what XRP’s price would need to be at each point in time for your adoption and store-of-value assumptions to be true.
Bands (Optional)
The ±% bands are valuation tolerance zones. They are not volatility bands.
They help visualize:
Overvaluation
Undervaluation
Reversion zones
2030 Label
The label:
2030 Implied Price = $X
represents the terminal valuation implied by your assumptions. This is the most important output of the model.
What Makes the Price Go Higher
To increase the implied 2030 price, one or more of these must change:
1. Higher Transaction Adoption (TV)
Inputs:
TV0
TV CAGR %
This reflects real-world economic usage.
Higher TV means XRP is settling more real value per day.
Examples:
Cross-border payments
Tokenized assets
Treasury settlement
Interbank liquidity rails
2. Higher Store-of-Value Demand (SoV)
Inputs:
SoV0
SoV CAGR %
This reflects long-term holding demand.
This is the most powerful driver of long-term price.
It models:
Institutional holdings
Strategic reserves
Collateral usage
Long-term investor behavior
3. Lower Velocity
Input:
Velocity V
Lower velocity means XRP must be held longer to support the same transaction volume.
This implies:
Reserve-like behavior
Collateralization
Treasury holding
Structural stickiness
Price is inversely proportional to velocity.
4. Lower Effective Supply
Inputs:
Supply0
Supply CAGR
Supply cap
If XRP becomes locked, escrowed, staked, or structurally held, the effective circulating supply shrinks, increasing price.
Why This Matters
Most crypto price models are:
Technical
Reflexive
Narrative-driven
Non-falsifiable
This one is:
Structural
Adoption-based
Testable
Falsifiable
If XRP never achieves the adoption implied by your inputs, the model will not justify high prices.
This indicator is a forward-looking valuation engine, not a trading tool.
It shows:
What XRP’s price must be for your beliefs about its future to be true.
It forces clarity.
It forces discipline.
And it converts stories into structure.
myZones [eFe]myZones
This indicator is designed for traders utilizing Smart Money Concepts (SMC) and Price Action , focusing on the precise validation of market structure. Unlike standard pivot indicators that look at neighboring bars, myZones uses a logic based on "Inducement" or "Candle Validation".
🟢 Concept: Valid Highs & Lows
The core of this indicator is how it defines a structural point:
Valid High : A high is only valid (confirmed) when a subsequent candle closes below the low of the specific candle that made that high.
Valid Low : A low is only valid (confirmed) when a subsequent candle closes above the high of the specific candle that made that low.
This method helps filter out noise and identifies true structural points that the market has committed to.
🔵 Features
1. Structural Markers
Visualizes confirmed Tops (Valid Highs) and Bottoms (Valid Lows) with customizable icons (Triangles, Circles, Diamonds, etc.).
2. Break of Structure (BOS) / MSS Zones
When price breaks a Valid High , a Bullish Structure Break occurs.
When price breaks a Valid Low , a Bearish Structure Break occurs.
Zones : The indicator draws a visual "Zone" connecting the broken structure level to the candle that broke it.
Zone 1 : Usually indicates the first break (Market Structure Shift / MSS) signaling a potential reversal.
Zone 2+ : Indicates trend continuation (BOS).
3. Real-Time Validation Line
A dashed line tracks the current "Candidate" High or Low level.
It shows you exactly where the candle needs to close to confirm the current structure point.
⚙️ Settings
Valid Highs & Lows : Customize marker style, size, and colors.
Validation Line : Toggle the visual aid for pending structure validation.
Zones :
Show Lines : Dropdown to select "None", "Zone 1 (MSS)", or "All (MSS + BoS)".
Zone Fills : Separate dropdowns for Bullish and Bearish fills. Use this to create a unique setup—for instance, show all Bullish zones to track a sub-trend, but only show Zone 1 for Bearish zones to spot major reversals.
Colors : Fully adjustable transparency and colors.
Usage Tip :
Use "Zone 1" fills to easily spot potential reversals (MSS), and use the Validation Line to anticipate when a new structural point is about to be confirmed in real-time.
Institutional Flow DetectorOverview
InstFlow 1S Delta identifies institutional order flow by analyzing volume anomalies and directional bias using 1-second sub-bar data. The indicator detects when large players are likely entering or exiting positions, providing actionable trade recommendations with confidence scoring.
Unlike traditional volume indicators that only show total volume, InstFlow breaks down each bar into 1-second micro-bars, classifies buying vs selling pressure, and identifies statistically significant volume events that likely represent institutional activity.
How It Works
1-Second Delta Analysis
The indicator fetches all 1-second bars within each candle and classifies each micro-bar as buying (close ≥ open) or selling (close < open). This achieves ~85-90% directional accuracy compared to ~55-65% from traditional bar-based methods.
Delta = Buy Volume - Sell Volume
Delta Ratio = |Delta| / Total Volume
Volume Anomaly Detection (Z-Score)
Volume is compared to a rolling 20-bar average using statistical z-scores:
- T1: Z-Score ≥ 1.5 (top ~7% of volume bars)
- T2: Z-Score ≥ 2.0 (top ~2% of volume bars)
- T3: Z-Score ≥ 3.0 (top ~0.1% of volume bars)
Signal Types
- Big Trades (T1/T2/T3) : Unusual volume with clear directional bias
- Absorption (ABS) : High volume + small price move + delta imbalance = hidden liquidity absorbing orders
- Exhaustion (EXH) : Capitulation pattern - big flush followed by immediate reversal with opposing delta
- Divergence (DIV) : Price and cumulative delta disagreeing over 5 bars
ACTION Recommendation System
Synthesizes all signals into a single trade direction (LONG/SHORT/WAIT) with confidence scoring (1-10):
- Exhaustion signals: +5 points (strongest reversal)
- Counter-trend absorption: +4 points
- Volume tier: +1 to +3 points
- Divergence confirmation: +2 points
- Strong trend (ADX>30): +1 point
- High delta imbalance (>50%): +1 point
Features
Real-time 1-second delta classification for accurate buy/sell detection
Statistical volume anomaly detection adapts to each instrument
Absorption detection finds hidden liquidity/iceberg orders
Exhaustion patterns catch capitulation reversals
Delta divergence warns of weakening moves
ACTION + Confidence system provides clear trade recommendations
Price-locked markers stay fixed at detection level (don't float)
Info table displays all metrics in real-time
RTH session filtering
Comprehensive alert conditions
Settings Guide
Detection Settings
Volume Lookback (20): Bars for calculating average volume and standard deviation
T1/T2/T3 Thresholds : Z-score thresholds for volume tiers. Lower = more signals.
1-Second Delta
Delta Resolution (1S): Use 1S for ES/NQ. Try 5S if 1S unavailable.
Min Delta Imbalance (10%): Minimum ratio to classify direction.
Absorption Detection
Min Volume Multiple (1.2x): Volume must exceed average by this multiple
Max Price Move Multiple (0.5x): Price move must be less than this × average range
Delta Imbalance Threshold (20%): Minimum delta ratio for absorption
Exhaustion Detection
Minimum Tier for Flush (T1): Required volume tier for the flush bar
New High/Low Lookback (10): Bars to check for price extremes
Min Reversal Size (0.3x ATR): Required body size for reversal bar
Divergence Detection
Divergence Lookback (5): Bars to compare price vs cumulative delta
Delta Trend Threshold (0.4): Sensitivity for divergence detection
How to Use
Add to ES, NQ, MES, or MNQ chart (1-5 minute timeframe)
Check 1S Data quality in table (green = 30+ bars = reliable)
Monitor ACTION field for trade direction
Use Confidence score for position sizing: HIGH (7+) = full size, GOOD (5-6) = standard, MED (3-4) = reduced
EXH signals are highest priority reversals
ABS + DIV combination is strong reversal confirmation
T2/T3 with trend are continuation signals
Avoid counter-trend T1/T2 without EXH/ABS/DIV confirmation
Visual Guide
Green circles below bar = Buy pressure (T1 small, T2 medium, T3 large)
Red circles above bar = Sell pressure (T1 small, T2 medium, T3 large)
Purple diamond + "ABS" = Absorption detected
Cyan label + "EXH" = Exhaustion pattern
Orange triangle + "DIV" = Delta divergence
Yellow background = Counter-trend warning
Best Practices
Trade during RTH (9:30am - 4:00pm ET) for most reliable signals
Wait for HIGH or GOOD confidence before full position
Use EXH as primary reversal trigger
Check cumulative delta supports trade direction
Combine with price action and support/resistance levels
Limitations
Requires 1-second data availability (ES, NQ, MES, MNQ have this)
ETH signals less reliable due to lower volume
EMA-based trend lags on sharp reversals
Not suitable for stocks without adjusting parameters significantly
Absorption/Exhaustion patterns may not occur every session
Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice.
Past performance does not guarantee future results
The indicator shows where institutional activity is LIKELY - it does not predict the future
Always conduct your own research and analysis
Never risk more than you can afford to lose
Paper trade any new strategy before using real capital
Session Highs & LowsCustom Highs & Lows
This indicator displays Previous Day High & Low along with session Highs & Lows for the Asian, London, and New York sessions.
Each session can be configured individually, allowing you to show or hide Highs, Lows, or both.
Basic customization options are included, such as:
level colors
line thickness
line extension length
transparency
line style
The main feature of this indicator is sweep detection.
For example, when the London session sweeps the Asian High or Low, the level automatically changes:
from a solid line to a dotted or dashed line
with reduced opacity
This makes it easy to see that the level has already been swept, while keeping the chart clean and uncluttered when looking for further confluences.
The indicator also supports alerts for all session Highs and Lows when they are swept, so you can receive notifications without constantly watching the chart.
Use it, test it, and if you have a solid idea for improvement, feel free to reach out. A lot of time went into building this indicator, and meaningful enhancements can always be discussed.






















