ATR Supertrend [QuantAlgo]🟢 Overview
The ATR Supertrend indicator identifies trend direction and reversal points using volatility-adjusted dynamic support and resistance levels. It combines Average True Range (ATR) volatility measurement with adaptive price bands and EMA smoothing to create trailing stop levels that automatically adjust to market conditions, helping traders and investors identify trend changes, maintain positions during trending markets, and exit when momentum shifts across multiple timeframes and asset classes.
🟢 How It Works
The indicator's core methodology lies in its volatility-adaptive band system, where dynamic support and resistance levels are calculated based on market volatility and price movement:
smoothedSource = ta.ema(source, smoothingPeriod)
atr = ta.rma(ta.tr(true), atrLength) * atrMultiplier
The script uses ATR-based bands that expand and contract with market volatility, ensuring the indicator adapts to different market conditions rather than using fixed price distances:
if trend == 1
supertrend := math.max(supertrend, smoothedSource - atr)
else
supertrend := math.min(supertrend, smoothedSource + atr)
First, it applies optional EMA smoothing to the price source to reduce noise and filter out minor price fluctuations that could trigger premature trend changes, allowing traders to focus on genuine momentum shifts.
Then, the ATR calculation measures market volatility using the Average True Range over the specified lookback period, multiplied by the user-defined factor to set the band distance:
atr = ta.rma(ta.tr(true), atrLength) * atrMultiplier
Next, dynamic trend detection occurs through a state-based system where the indicator tracks whether price is in an uptrend or downtrend, automatically adjusting the Supertrend line position:
if trend == 1
if smoothedSource < supertrend
trend := -1
supertrend := smoothedSource + atr
The Supertrend line can act as a trailing stop that follows price during trends but never moves against the trend direction, i.e., it ratchets upward with price in uptrends and ratchets downward with price in downtrends.
Finally, trend reversal signals are generated when price crosses the Supertrend line, indicating a shift in market momentum:
bullSignal = trend == 1 and trend == -1
bearSignal = trend == -1 and trend == 1
This creates a volatility-adaptive trend-following system that combines dynamic support/resistance levels with momentum confirmation, providing traders with clear directional signals and automatic stop-loss levels that adjust to changing market conditions.
🟢 Signal Interpretation
▶ Bullish Trend (Green): Price trading above Supertrend line with indicator showing bullish color, indicating established upward momentum = Long/Buy opportunities
▶ Bearish Trend (Red): Price trading below Supertrend line with indicator showing bearish color, indicating established downward momentum = Short/Sell opportunities
▶ Supertrend Line as Dynamic Support: In uptrends, the Supertrend line can act as trailing support level that rises with price, never declining = Use as potential stop-loss reference for long positions = Price holding above indicates trend strength
▶ Supertrend Line as Dynamic Resistance: In downtrends, the Supertrend line can act as trailing resistance level that falls with price, never rising = Use as potential stop-loss reference for short positions = Price holding below indicates trend weakness
🟢 Features
▶ Preconfigured Presets: Three optimized parameter sets for different trading approaches. "Default" provides balanced trend detection for swing trading on daily/4-hour charts with moderate sensitivity. "Fast Response" delivers quick trend change detection for intraday trading on 5-minute to 1-hour charts, capturing moves early with increased whipsaw potential. "Smooth Trend" focuses on strong sustained trends for position trading on daily/weekly timeframes, filtering noise to identify only major trend shifts.
▶ Built-in Alerts: Three alert conditions enable comprehensive automated monitoring of trend changes and momentum shifts. "Bullish Trend" triggers when price crosses above the Supertrend line and the trend state changes from bearish to bullish, signaling potential long entry opportunities. "Bearish Trend" activates when price crosses below the Supertrend line and the trend state changes from bullish to bearish, signaling potential short entry or long exit points. "Any Trend Change" provides a combined alert for any trend reversal regardless of direction, allowing traders to be notified of all momentum shifts without setting up separate alerts. These notifications enable traders to capitalize on trend changes and protect positions without continuous chart monitoring.
▶ Color Customization: Five visual themes (Classic, Aqua, Cosmic, Ember, Neon, plus Custom) accommodate different chart backgrounds and visual preferences, ensuring optimal contrast for identifying bullish versus bearish trends across various trading environments. The adjustable cloud fill transparency control (0-100%) allows fine-tuning of the gradient area prominence between the Supertrend line and price, with higher opacity values creating subtle background context while lower values produce bold trend zone emphasis. Optional bar coloring with adjustable transparency (0-100%) extends the trend color directly to the price bars themselves, providing immediate visual reinforcement of current trend direction without requiring reference to the Supertrend line, with transparency controls allowing users to maintain visibility of candlestick patterns while still showing trend context.
Análisis de tendencia
Support/Resistance & EMA Crossovers with AlertsPublic Script for Support/Resistance & EMA Crossovers with Alerts
Daily Trend Scanner Plus█ DAILY TREND SCANNER PLUS
A professional-grade trading indicator designed to help traders quickly identify intraday trend bias across multiple symbols by tracking price relationships to key technical levels: Prior Day High/Low (PDH/PDL) and Pre-Market High/Low (PMH/PML).
█ FEATURES
► Single Symbol Table
Compact 5-column table displaying PDH, PMH, PDL, PML, and Trend status for the current chart symbol. Shows green dot (🟢) when price breaks above high levels and red dot (🔴) when price breaks below low levels. Progress bars visualize how close price is to breaking key levels.
► Multi Symbol Table
Monitor up to 20 tickers simultaneously in a single table. Each row displays ticker name, price, change %, breakout dots, progress bars, and trend status. Optional columns for actual PMH/PML and PDH/PDL price values. Real-time updates for all symbols with color-coded change percentages.
► Table Sorting
- None - Displays tickers in input order
- Chg % - Sorts by daily change percentage (highest to lowest)
- Bullish - Prioritizes bullish setups at top
- Bearish - Prioritizes bearish setups at top
► PMH/PML Lines (Pre-Market High/Low)
Horizontal lines at pre-market high and low levels (4:00 AM - 9:29 AM ET). Customizable line styles, colors, labels, and optional price display.
► PDH/PDL Lines (Prior Day High/Low)
Horizontal lines at previous trading day's high and low. Uses RTH only for stocks (9:30 AM - 4:00 PM ET) and full 24-hour day for non equities.
► ORB Lines (Opening Range Breakout)
Captures high and low during the opening period with 5-minute, 10-minute, or 30-minute options. Lines persist from market open until next pre-market session.
► EMA Overlays
Three independent EMAs with customizable periods (default: 8, 20, 200). Third EMA can be switched to SMA. Multiple line styles available.
► VWAP Overlay
Volume Weighted Average Price with customizable line style, width, and color.
█ TREND LOGIC
- BULLISH: Price above BOTH Prior Day High AND Pre-Market High
Indicates strong upward momentum breaking through two resistance levels
- BEARISH: Price below BOTH Prior Day Low AND Pre-Market Low
Indicates strong downward momentum breaking through two support levels
- NEUTRAL: Price not above both highs or below both lows
Price is consolidating between key levels
█ PROGRESS BARS
Visual 5-block meter showing progress from midpoint toward target level:
▓▓▓▓▓ (80-100%) → ▓▓▓▓▒ (60-80%) → ▓▓▓▒▒ (40-60%) → ▓▓▒▒▒ (20-40%) → ▓▒▒▒▒ (0-20%)
Replaced with 🟢 or 🔴 when level is actually broken.
█ ASSET TYPE HANDLING
STOCKS:
- Pre-Market: 4:00 AM - 9:29 AM Eastern
- Prior Day: RTH only (9:30 AM - 4:00 PM Eastern)
NON-EQUITIES:
- Prior Day: Full 24-hour trading day
- Automatically detected via symbol type
█ RECOMMENDED SETTINGS
- Chart Timeframe: 10-minute recommended for multi-table accuracy
- Timeframes 60 minutes or less required for ORB functionality
- Enable extended hours on chart for accurate PMH/PML on stocks
█ USAGE TIPS
- Use Bullish sort to find strongest breakout candidates for long trades
- Use Bearish sort to find weakest stocks for short/put candidates
- Progress bars help anticipate upcoming breakouts before they happen
- Combine with ORB lines to confirm trend direction after market open
- Watch for alignment: Price above all key levels = strongest bullish signal
- PDH/PDL breaks often signal continuation of prior day's trend
- PMH/PML breaks can indicate gap-fill or trend reversal setups
█ INDICATOR SETTINGS
█ EXAMPLE OF FULL MULTI TABLE AND SINGLE TABLE
█ MULTI-TABLE SORTING
█ PMH/PML, PDH/PDL, ORB LINES
█ EMA AND VWAP OVERLAYS
█ CUSTOMIZATION
Reversal Detection with Dynamic Stops - Multi-EMA ZigzagReversal Detection with Dynamic Stops - Multi-EMA Zigzag System
Description
Overview
The Reversal Detection with Dynamic Stops indicator is a comprehensive technical analysis tool that combines multiple exponential moving averages (EMAs) with an adaptive zigzag algorithm to identify significant price reversals and trend changes. This indicator is designed for active traders who need precise entry and exit signals with clear visual feedback.
Key Features
Multi-EMA Trend Detection
Triple EMA system (9, 14, 21 periods) provides robust trend identification
Dynamic bar coloring (Green = Bullish, Red = Bearish, Purple = Neutral)
Automated signal generation based on EMA alignment and price position
Adaptive Zigzag Algorithm
Configurable reversal detection using percentage, absolute value, or ATR-based thresholds
Choice between high/low or EMA-smoothed price input
Eliminates market noise while capturing significant price swings
Visual Reversal Markers
Bright, easy-to-read labels showing exact reversal prices with comma formatting
Horizontal reference lines extending from pivot points
Customizable line extension length (default 6 bars)
Labels positioned precisely at pivot highs and lows
Supply and Demand Zones (Optional)
Automatic identification of key support and resistance levels
Visual zone highlighting with translucent boxes
Configurable number of zones to display
How It Works
The indicator employs a two-stage analysis system:
Trend Identification: Three EMAs work together to determine the current market trend. When the 9 EMA is above the 14 EMA, which is above the 21 EMA, and price is above the 9 EMA, a bullish signal is generated. The inverse creates a bearish signal.
Reversal Detection: The zigzag algorithm tracks price extremes and confirms a reversal when price moves against the trend by a threshold amount (configurable as percentage, absolute value, or ATR multiple). Once confirmed, the indicator marks the pivot point with a label and horizontal line.
Recommended Settings by Timeframe
Scalping (1-5 minute charts)
Percentage Reversal: 0.5% - 1.0%
ATR Reversal: 1.5 - 2.0
Line Extension: 4-6 bars
Day Trading (15-60 minute charts)
Percentage Reversal: 1.0% - 1.5%
ATR Reversal: 2.0 - 3.0
Line Extension: 6-10 bars
Swing Trading (4H-Daily charts)
Percentage Reversal: 1.5% - 3.0%
ATR Reversal: 2.5 - 4.0
Line Extension: 10-20 bars
Input Parameters
Zigzag Settings
Method: Choose between "high_low" (actual candle extremes) or "average" (EMA-smoothed)
Percentage Reversal: Minimum percentage move to confirm reversal (default 0.01 = 1%)
Absolute Reversal: Minimum point move to confirm reversal (default 0.05)
ATR Reversal: ATR multiplier for dynamic threshold (default 2.0)
ATR Length: Period for ATR calculation (default 5)
Average Length: EMA smoothing period when using "average" method (default 5)
Visual Settings
Line Extension Bars: Number of bars to extend horizontal lines forward (default 6)
Show Supply/Demand: Toggle and style for supply/demand zones
Show Supply Demand Cloud: Enable translucent zone highlighting
EMA Settings (Fixed)
Fast EMA: 9 periods
Medium EMA: 14 periods
Slow EMA: 21 periods
Trading Applications
Entry Signals
Green reversal labels at bottoms indicate potential long entry points
Red reversal labels at tops indicate potential short entry points
Confirm with bar color alignment and overall trend direction
Exit Signals
Opposite color reversal labels suggest profit-taking opportunities
Bar color changes from green to purple or red signal weakening bullish momentum
Bar color changes from red to purple or green signal weakening bearish momentum
Stop Loss Placement
Horizontal lines serve as dynamic stop loss levels
Place stops just beyond the reversal pivot points
Adjust stops as new reversals are confirmed
Risk Management
Use multiple timeframe analysis for confirmation
Wait for bar color confirmation before entry
Avoid trading during conflicting signals (purple bars)
Best Practices
Multi-Timeframe Confirmation: Check higher timeframe trend before taking signals
Volume Verification: Combine with volume analysis for stronger confirmation
Market Context: Consider overall market conditions and key support/resistance levels
False Signals: During choppy, low-volume periods, increase reversal thresholds
Trending Markets: The indicator performs best in markets with clear trends and reversals
Alerts Available
Reversal Up: Triggers when bullish reversal is confirmed
Reversal Down: Triggers when bearish reversal is confirmed
Momentum Up: Triggers when bearish momentum weakens
Momentum Down: Triggers when bullish momentum weakens
Important Notes
This indicator repaints by design as it confirms reversals after price movement
Labels and lines are placed at historical pivot points when confirmed
The indicator works on all timeframes and markets (stocks, forex, crypto, futures)
Bar coloring provides continuous trend feedback independent of reversals
Adjust sensitivity based on volatility and timeframe
Disclaimer
This indicator is a technical analysis tool and should not be used as the sole basis for trading decisions. Always conduct your own analysis, use proper risk management, and never risk more than you can afford to lose. Past performance does not guarantee future results. The indicator repaints by nature of its reversal detection algorithm - reversals are only confirmed after price has moved the threshold amount.
Apex Wallet - Ultimate Multi-Oscillator (9-in-1) & Market TrendThe Apex Wallet Multi-Oscillator is a powerful "All-in-One" technical analysis tool designed to clean up your charts by combining nine of the most effective momentum and trend indicators into a single workspace. This script is engineered to adapt to different trading styles—Scalping, Day-Trading, or Swing-Trading—with a single click.
+4
Whether you are looking for trend exhaustion, momentum shifts, or volatility breakouts, this indicator provides a clear, visual summary of market dynamics.
+1
Key Features
9 Indicators in 1: Access RSI, Stochastic, StochRSI, MACD, Zero-Lag MACD, Andean Oscillator, and the Traders Dynamic Index (TDI).
+1
Smart Layout Modes:
Raw (Brut): Classic view with original values.
+1
Stacked (Empilé): Organizes indicators into fixed vertical zones to prevent overlapping.
+1
Proportional Stacking: Automatically calculates and adjusts the height of blocks based on active oscillators.
+2
Trading Presets: Switch between Scalping, Day-Trading, and Swing-Trading modes. The script automatically adjusts periods and lengths (e.g., RSI 7 for Scalping vs. 21 for Swing) to match the market speed.
+3
Included Oscillators
Stochastic & RSI: Standard momentum tools with color-coded signals.
Traders Dynamic Index (TDI): A full suite including the RSI Price Line, Signal Line, and Market Base Line with optional Bollinger Bandwidth columns.
+1
MACD & Zero-Lag MACD: Includes histogram fills and trend-colored lines for faster reaction to price movement.
+2
Andean Oscillator: An advanced tool to identify Bull/Bear dominance and market "Range" or "Reversal" states.
Visual Signals & Alerts
Market Trend: Optional visual coloring based on indicator crosses to quickly spot bullish or bearish momentum.
+3
Customizable UI: High-fidelity rendering with dashed levels and proportional fills for a professional, clean interface.
+1
Integrated Alerts: Pre-configured alerts for Andean Oscillator trend changes (Bullish, Bearish, or Reversal).
How to use
Select your Trading Mode in the settings based on your timeframe.
Toggle the indicators you want to see.
Use the Stacked mode if you want to keep your sub-window organized without lines crossing each other.
Level to level Multi-TF + ATRLevel to level Multi-Timeframe + ATR/ADR Daily Progress
This indicator is a complete multi-timeframe market structure and volatility toolkit, designed primarily for active forex traders.
It combines Williams Fractals on five higher timeframes (Weekly, Daily, H4, H1, M5) with a live ATR/ADR dashboard, allowing you to see at a glance how much of the typical daily move has already been completed and how much “room” the market realistically has left to run.
Fractals are drawn as arrows and colored zones that clearly mark swing highs and lows, supply/demand pockets, and key reaction areas. These zones can be used as dynamic support/resistance, liquidity pools, and target/stop regions. The multi‑TF design lets you read higher‑timeframe structure while executing on lower timeframes, which is ideal for scalping and intraday trading.
The built‑in volatility table shows:
ATR Progress (%) with green / yellow / red status to indicate whether the current session is still developing, mature, or potentially exhausted.
Daily ATR & ADR values in pips, so you always know the typical and current range of the day.
Done / Left range, highlighting how many pips have already been travelled from low to high, and how many are statistically left.
ATR and ADR projection lines are also plotted from the daily open, giving you clear intraday reference levels for take profit, stop placement, and expected session extremes.
This tool works especially well when combined with Smart Money Concepts (SMC) such as:
Break of Structure (BOS) and Change of Character (CHoCH) using fractal highs/lows.
Liquidity grabs and stop hunts around fractal zones.
Order blocks and fair value gaps that overlap with higher‑TF fractals and ATR/ADR levels.
Use it on majors like EUR/USD, GBP/USD, XAU/USD or indices, on anything from fast M1–M5 scalping to H1–H4 swing trading. All colors, timeframes, sensitivities and volatility settings are fully customizable so you can adapt it to your own style and template.
Institutional Liquidity Engine [Pointalgo]PointAlgo – Institutional Liquidity Engine is a price-overlay market structure and liquidity visualization tool designed to help traders analyze supply & demand behavior, liquidity zones, and price inefficiencies using rule-based logic inspired by modern market structure concepts.
This indicator focuses on where price aggressively moved from, where liquidity may remain, and how those zones evolve over time, without generating direct buy/sell signals.
The script is fully open-source, free to use, and intended strictly for educational and analytical purposes.
Core Analytical Concepts :
This indicator visualizes:
Market structure pivot points
High-volatility displacement zones
Supply & demand (order-block–like) areas
Liquidity mitigation behavior
Fair Value Gaps (price inefficiencies)
Zone lifecycle management (active vs mitigated)
It does not claim to detect actual institutional orders.
How the Indicator Works :
Volatility-Filtered Structure Detection
Uses ATR-based volatility filtering
Zones are only created when price displacement exceeds normal volatility
Helps reduce noise from weak or random candles
Demand & Supply Zone Identification
A demand zone is detected when:
A pivot low forms
The candle before the move is bearish
Price rapidly expands upward after the pivot
Volatility conditions are met
These zones highlight areas where price previously reacted strongly upward.
Supply Zones (Bearish)
A supply zone is detected when:
A pivot high forms
The candle before the move is bullish
Price drops aggressively after the pivot
Volatility conditions are met
These zones highlight areas where selling pressure previously dominated.
Smart Mitigation Engine (Automatic Zone Management)
One of the key design goals of this indicator is chart cleanliness.
Each zone is continuously monitored:
If price returns into the zone, it is considered mitigated
Users can choose to:
Automatically remove mitigated zones
Or gray them out for historical reference
Old and irrelevant zones far from price are also automatically deleted.
This prevents the chart from filling with outdated boxes.
Fair Value Gap (Liquidity Void) Detection
Optional Fair Value Gaps (FVGs) are displayed when:
Price moves so fast that wicks do not overlap
The gap size exceeds a user-defined ATR threshold
These gaps visually represent price inefficiencies where liquidity may be revisited.
Types:
🔵 Bullish FVG
🟠 Bearish FVG
Real-Time Dashboard
A small dashboard displays:
Active demand zones
Active supply zones
This provides a quick structural overview without scanning the entire chart.
Customization Options
Users can configure:
Pivot sensitivity
Zone colors
Mitigation behavior
Fair Value Gap visibility
Minimum gap size (ATR-based)
This makes the indicator adaptable across:
Forex
Indices
Crypto
Stocks
Futures
How to Use This Indicator
This tool is best used for:
Market structure analysis
Supply & demand studies
Liquidity mapping
Confluence with price action
Higher-timeframe bias alignment
Recommended complementary tools:
Support & Resistance
Trend analysis
Volume profiling
Risk management rules
Important Disclaimer
This indicator is provided for educational and analytical purposes only.
It does not provide trading signals, investment advice, or profit guarantees.
Market structure and liquidity concepts are interpretive in nature.
Users are solely responsible for their own trading decisions and risk management
RSI Momentum SuperTrend█ OVERVIEW
RSI Momentum SuperTrend is a momentum-based trend oscillator that combines classic RSI with a SuperTrend mechanism calculated directly on RSI values. Instead of using price-based ATR, the indicator measures volatility of RSI itself, allowing dynamic adaptation to different markets and timeframes.
It is fast and responsive, designed for early detection of momentum shifts. It works especially well for divergence analysis, pullbacks within higher timeframe trends, and as a confirmation tool in contrarian strategies.
█ CONCEPT
The indicator was created to combine:
- the sensitivity of an oscillator (RSI)
- the stability of the SuperTrend mechanism
The key element is calculating “ATR” directly on RSI changes and then normalizing it. This allows:
- automatic adaptation to the instrument’s behavior
- consistent performance across different markets and timeframes
Dynamic upper and lower bands (RSI ± adaptive range) act as momentum control levels.
A trend change occurs only after these levels are broken, helping to reduce market noise.
█ FEATURES
Data source:
- RSI (default: close)
- RSI length
- EMA smoothing
Additional:
- Optional raw RSI display
(can be used to build custom strategies and to compare with the SuperTrend line)
Calculations:
- EMA-smoothed RSI
- Adaptive ATR calculated on RSI changes
- Volatility normalization
- Dynamic bands: RSI ± (ATR × multiplier)
- Trailing mechanism:
- Levels are dynamically updated according to trend direction
- Direction changes only after they are broken
- Trend change logic:
- Down → Up: RSI > upper band
- Up → Down: RSI < lower band
Visualization:
- RSI line with dynamic trend coloring
- SuperTrend line on RSI
- Gradient fill between RSI and ST
- Candle coloring according to trend
- Overbought / Oversold zones with fill
- Fog on Price (optional). Trend direction visualization directly on the price chart
Alerts:
- Trend change to UP
- Trend change to DOWN
█ HOW TO USE
Adding:
Paste the code into Pine Editor or search for “RSI Momentum SuperTrend”
Main settings:
- RSI Length → default 14
- RSI Smoothing → signal smoothing
- ATR Length (on RSI) → adaptation control
- ATR Multiplier → main sensitivity parameter
- Show Raw RSI → raw RSI preview
- Color Candles → candle coloring according to trend
- Fog on Price → trend visualization on price
Interpretation:
- Green color = uptrend
- Red color = downtrend
- Higher multiplier = fewer signals, higher quality
- Lower multiplier = faster reaction, more signals
█ APPLICATIONS
It is recommended to use the indicator together with other technical tools.
If you want to use it not as a trend indicator but as an entry tool, consider combining it with a slower trend indicator (e.g. classic SuperTrend). In this setup:
- the main trend is defined by the slower indicator
- entries are taken only in its direction
- RSI Momentum ST helps to identify local pullbacks within the trend
Ideal for:
- Divergences
e.g. price makes higher highs while RSI Momentum ST makes lower highs → possible trend weakness
similarly: price goes down while the indicator goes up
- Pullbacks in higher timeframe trends
e.g. H4 uptrend, while on M15 RSI Momentum ST enters oversold zone → potential end of pullback
- Contrarian strategies
e.g. strong downtrend, while RSI Momentum ST starts turning up → possible market reaction
Early detection of momentum shifts
Best combined with:
- Support and resistance levels
- Market structure (HH, HL, LH, LL)
- Volume
- Price action
- Higher timeframe analysis
█ NOTES
- Works on all markets and timeframes
- Faster than classic price-based trend indicators
- Best results are achieved when used with market context
- Not a standalone trading system
Supertrend + RSI Positional StrategyOVERVIEW
This is a long-only, rule-based positional trading strategy designed for stocks, ETFs, and indices, with a primary focus on higher timeframes (1H and above).
The strategy combines:
Trend direction via Supertrend
Momentum confirmation via RSI
An optional ADX filter to ensure sufficient trend strength
The logic is intentionally kept simple, transparent, and non-repainting, making it suitable for both learning and practical positional analysis.
Core Idea
The strategy aims to participate only in sustained directional moves, avoiding choppy or low-momentum conditions.
Trades are taken only when trend and momentum align, and exits are handled using clearly defined, user-selectable rules. There is no prediction involved — only confirmation.
Entry Logic (Long Only)
A long position is considered when all of the following conditions are met:
Supertrend is bullish
RSI is above the bullish threshold (default: 50)
(Optional) ADX is above the ADX threshold (default: 20)
The ADX filter is optional and can be enabled or disabled by the user.
When enabled, it is used only for entry filtering and plays no role in exits.
Exit Logic (User Selectable)
Exit behavior can be adapted to different trading styles using the following options:
Supertrend OR RSI
Exit when either trend reverses or momentum weakens
Supertrend ONLY
Exit strictly on trend reversal
RSI ONLY
Exit when momentum drops below the threshold
Supertrend AND RSI
Exit only when both conditions are met
This flexibility allows users to choose between faster exits or more trend-following behavior.
Trade Management
Long-only strategy
One position at a time
No pyramiding
No intrabar execution logic
Manual trade-state handling ensures consistent behavior across:
Stocks
ETFs
Indices (including cash indices)
The strategy logic is evaluated on confirmed bar closes only, ensuring non-repainting behavior.
Visual Features
BUY / EXIT labels plotted only on the first confirmation candle
Independent customization for BUY and EXIT label position, color, and offset
Optional background highlighting while a trade is active
RSI and ADX are not plotted, keeping the chart clean and uncluttered
Recommended Usage
Timeframes: 1H, 2H, 4H, Daily
Markets: Stocks, ETFs, Indices
Style: Positional / Swing trading
This strategy is not intended for scalping or very low timeframes.
Open & Transparent
This script is published in open-source form to encourage learning and experimentation. Users are free to study the logic, adjust parameters, and understand how a simple trend-plus-momentum positional approach is constructed.
IMPORTANT NOTES
This is a rule-based analytical tool, not a signal service
No performance claims or guarantees are made
Results will vary depending on market conditions and parameter choices
Users are encouraged to understand the logic before applying it to live markets
Volume Buy/Sell Pressure with Hot PercentFULL DESCRIPTION (Condensed Version)
Volume Buy/Sell Pressure with Hot Percent
Professional volume analysis indicator revealing real-time buying and selling pressure with hot volume detection and customizable alerts.
Key Features:
Three-Layer Histogram - Visual breakdown: total volume (gray), buying pressure (bright green), selling pressure (bright red)
Flexible Display - Toggle between percentage view or actual volume counts for buying/selling pressure
Real-Time Metrics - Live buying/selling data, current bar volume, daily totals, 30-bar/30-day averages with comma formatting
Hot Volume Detection - Automatic alerts with white triangle markers when volume exceeds threshold
Customizable Labels - 4 sizes (Small/Normal/Large/Huge), 9 positions (all corners/centers/middles), toggle any metric on/off
Smart Color Coding - Green (high volume/buying dominant), Red (selling dominant), Orange (equal pressure), Gray (low volume). Black text on bright backgrounds for maximum contrast.
Alert Conditions:
Hot Volume: Triggers when volume exceeds moving average by specified percentage
Unusual 30-Bar Volume: Current bar significantly above 30-bar average
Unusual 30-Day Volume: Daily volume significantly above 30-day average
Settings:
Display - Toggle metrics, choose percentage/count display, select size and position
Volume - Set unusual volume threshold (default 200%), adjust average length (default 21)
Hot Volume - Choose SMA/EMA, set lookback period (default 20), define threshold (default 100%)
Perfect For:
Day traders scalping futures (MNQ, MES, MYM, MGC, MCL)
Swing traders identifying accumulation/distribution
Breakout traders needing volume confirmation
All timeframes - tick charts to daily/weekly
Use Cases:
Confirm trend strength with pressure alignment
Spot reversals when pressure diverges from price
Validate breakouts with hot volume alerts
Identify smart money through unusual volume
Track institutional activity at key levels
What Makes This Different:
Shows buying vs selling pressure WITHIN each bar using price range methodology. Most indicators only show total volume or simple up/down. This reveals actual pressure distribution regardless of bar direction. Three-layer design makes order flow instantly visible.
Pro Tips:
Use "Large" labels at 100% zoom
Enable volume count display for position sizing
Position labels in corners to avoid price overlap
Enable alerts during pre-market and news events
Watch for divergences: price up + selling pressure up = potential reversal
Compare to both 30-bar and 30-day for full context
Technical:
Pine Script v6
All timeframes and instruments
No repainting
Efficient code, minimal CPU
Three alert conditions
Works on futures, stocks, forex, crypto
Clean, professional presentation. Essential for volume analysis and order flow tracking.
Supertrend Nova Cloud [Pineify]Supertrend Nova Cloud
Overview
The Supertrend Nova Cloud is a sophisticated trend-following system designed to filter market noise and provide clear, actionable insights into market direction and volatility. By combining two distinct Supertrend calculations—the fast-acting "Nova" and the slower, more robust "Nebula"—this indicator creates a dynamic "Cloud" that visualizes the strength and stability of the current trend. It is engineered to help traders identify strong trending periods, potential pullbacks, and major reversals with greater confidence than a single Supertrend indicator.
Key Features
Dual-Trend Architecture: Utilizes a two-layer approach with a Fast (Nova) and Slow (Nebula) Supertrend to define market structure.
Dynamic Nova Cloud: A visual gradient fill between the two trendlines that adjusts its intensity ("Glow") based on the spread between the trends, representing market volatility.
Smart Candle Coloring: Candles are colored based on the consensus between the two trends, clearly distinguishing between strong trends, pullbacks, and recovery phases.
High-Quality Signals: Buy and Sell signals are filtered and only generated when the major (Slow) trend reverses, reducing false signals during chop.
Real-time Dashboard: An on-chart dashboard displays the current state of both the Nova and Nebula trends for instant analysis.
How It Works
The Supertrend Nova Cloud operates on the principles of Average True Range (ATR) volatility to determine trend direction.
Nova (Fast Trend): Calculated using a shorter ATR length (default 10) and a lower multiplier (default 2.0). This line reacts quickly to price changes, serving as an early warning system or trailing stop for aggressive entries.
Nebula (Slow Trend): Calculated using a longer ATR length (default 20) and a higher multiplier (default 4.0). This line defines the overall market bias and acts as significant support/resistance.
Cloud Gradient Logic: The script calculates the absolute difference (delta) between the Nova and Nebula lines. It compares this delta to its recent historical maximum to determine the opacity of the fill color. A wider spread (higher volatility) results in a brighter, more opaque cloud, while a narrow spread (consolidation) results in a more transparent cloud.
How multiple indicators work together
In trading, a single trend indicator often faces a dilemma: if it's too fast, it gives false signals; if it's too slow, it lags significantly. The Supertrend Nova Cloud solves this by combining both:
The Fast Supertrend captures immediate momentum and provides potential re-entry points during strong trends.
The Slow Supertrend acts as a filter. The script logic enforces that major reversal signals ("NOVA BUY/SELL") are only triggered when this slower, dominant trend changes direction.
By requiring the Slow trend to confirm the reversal, the indicator filters out the "noise" that would typically whip-saw a standard Supertrend.
Trading Ideas and Insights
Trend Riding: When the Cloud is fully Green (Strong Bull) or Red (Strong Bear), and the candles match this color, the trend is established. These are ideal conditions for holding positions.
Pullback Opportunities: If the candles turn a lighter shade (e.g., light red during an uptrend), it indicates the price has broken the Fast trend but holds above the Slow trend. This "Mixed" state often represents a buying opportunity in an uptrend (or selling in a downtrend).
Volatility Expansion: A widening cloud (brighter glow) indicates expanding volatility and often accompanies a strong breakout or trend acceleration.
Unique Aspects
Visual Volatility Feedback: Unlike standard fills, the "Nova Cloud" uses a custom algorithm to adjust transparency based on the relative distance between the two trendlines. This gives traders an intuitive sense of market expansion and contraction.
Nuanced State Detection: The script doesn't just show Up or Down. It identifies four states: Strong Bull, Strong Bear, Fast Bull/Slow Bear (Recovery), and Fast Bear/Slow Bull (Pullback), coding the candles accordingly.
How to Use
Entry: Look for "NOVA BUY" or "NOVA SELL" labels. These appear when the major trend (Nebula) flips, confirming a significant shift in market structure.
Stop Loss: The Nebula (thick) line serves as a robust trailing stop loss. As long as price holds beyond this line, the macro trend remains intact.
Re-Entry/Pyramiding: During a strong trend, if price dips into the cloud (changing candle color to mixed/neutral) and then resumes the trend color, it can be a valid re-entry signal.
Customization
Users can fully customize the indicator via the settings menu:
Nova & Nebula Settings: Adjust the ATR Length and Factor for both the Fast and Slow trends to tune sensitivity for different timeframes or assets.
Visuals: Toggle the Dashboard, Candle Coloring, and customize the colors for Bullish, Bearish, and Neutral states.
Conclusion
The Supertrend Nova Cloud offers a comprehensive visual interface for trend traders. By harmonizing two time horizons of volatility analysis into a single, cohesive display, it simplifies decision-making and helps traders stay on the right side of the major trend while identifying granular opportunities within it.
Strategy H4-H1-M15 Triple Screen + Table + Statst.me
Master of Multi-Timeframe Trading: "Triple Screen" Strategy
"▲▼ & BUY/SELL M15 Tags" — H1 Ready signals warn the trader in advance that a reversal is brewing on the medium timeframe.
Settings:
Stochastic Settings: Oscillator length and smoothing adjustment.
Overbought/Oversold: Overbought/oversold level settings (default 80/20).
SL Offset: Buffer in ticks/pips for setting stop-loss beyond extremes.
Usage Instructions:
Long: Background painted light green (H4 Trend UP + H1 Stoch Low), wait for green "BUY M15" tag.
Short: Background painted light red (H4 Trend DOWN + H1 Stoch High), wait for red "SELL M15" tag.
Entry → SL → TP = PROFIT
Short Description (for preview):
Comprehensive "Triple Screen" strategy based on MACD (H4) and Stochastic (H1, M15). Features trend monitoring panel and precise entry signals with automatic Stop Loss calculation.
Technical Notes (for developers):
Hardcoded Timeframes: "240" (H4) and "60" (H1) are hardcoded. For universal use on other timeframe combinations (D1-H4-H1), make these input.timeframe variables.
Repainting: request.security may cause repainting on historical bars (current bar is honest). Standard practice for multi-timeframe TradingView indicators.
Alerts: Built-in alert support for one-click trading convenience.
ICT Market Regime Detector [TradeHook]🔮 Overview
The **ICT Market Regime Detector** is an advanced market condition classifier designed to identify the current market environment and provide context-aware trading guidance. Rather than generating buy/sell signals, this indicator focuses on answering the crucial question: *"What type of market am I trading in right now?"*
Understanding market regime is fundamental to successful trading. The same strategy that works brilliantly in a trending market can fail spectacularly during consolidation. This indicator automatically classifies market conditions into one of eight distinct regimes, each requiring different trading approaches.
---
🎯 Regime Classifications
The indicator identifies these market states:
| Regime | Description | Recommended Approach |
|------------------------|--------------------------------------------------|--------------------------------------|
| *STRONG TREND* |Directional momen. w/ healthy struc| Cont.entries with OTE pullbacks |
| **WEAK TREND** | Gradual drift with retracements | Conservative Order Block entries |
| **ACCUMULATION** | Institutional buying within range | Longs near range lows |
| **DISTRIBUTION** | Institutional selling within range | Shorts near range highs |
| **CONSOLIDATION** | Tight range, low volatility squeeze | Wait for breakout |
| **EXPANSION** | Volatile breakout phase | Momentum following |
| **REVERSAL** | Structural transition period | Wait for confirmation |
| **CHOPPY** | No clear edge | **Avoid trading** |
---
⚙️ How It Works
**Trend Analysis Engine**
- Calculates ADX (Average Directional Index) using Wilder's smoothing method
- Monitors +DI/-DI for directional bias
- Detects trend health via EMA alignment
- Identifies exhaustion through RSI divergence
**Volatility Analysis Engine**
- Measures current vs historical volatility ratio
- Classifies as LOW, NORMAL, HIGH, or EXTREME
- Tracks volatility expansion/contraction phases
**Range Analysis Engine**
- Calculates dynamic support/resistance boundaries
- Tracks price position within range (0-100%)
- Detects range narrowing (squeeze) and expansion patterns
**Institutional Activity Detection**
- Volume spike identification
- Absorption candle patterns (large wicks, small body)
- Displacement candles (large body, small wicks)
- Accumulation/Distribution pattern recognition
---
🛡️ Risk Management Features
**Daily Loss Limit**
- Set maximum daily loss as percentage of account
- Visual warning when approaching limit
- Alert when limit is breached
**Maximum Daily Trades**
- Configurable trade counter per session
- Prevents overtrading
- Session reset options (NY Open, London Open, etc.)
**Trading Readiness Checklist**
- Clear regime ✓/✗
- Kill zone active ✓/✗
- HTF alignment ✓/✗
- Volatility normal ✓/✗
- Loss limit OK ✓/✗
- Trades remaining ✓/✗
---
📊 Multi-Timeframe Analysis
The indicator includes 4H timeframe regime alignment to ensure lower timeframe setups align with higher timeframe bias. Trades taken with HTF alignment historically have higher probability.
---
⏰ Kill Zone Integration
Built-in ICT Kill Zone detection:
- 🌙 Asian Session (Range Building)
- 🇬🇧 London Open (Prime Execution)
- 🇺🇸 NY AM (Prime Execution)
- 🔫 Silver Bullet (10-11 AM EST)
- 🇺🇸 NY PM (Afternoon Opportunities)
Configurable UTC offset for your timezone.
---
🎨 Visual Features
- **Regime-Colored Bars** - Instantly see current market state
- **Comprehensive Dashboard** - All metrics in one panel
- **Adjustable Table Size** - Tiny/Small/Normal/Large
- **Flexible Positioning** - Place dashboard in any corner
- **Optional Regime Labels** - Mark regime changes on chart
---
⚠️ Important Notes
1. This indicator is a **decision support tool**, not a signal generator
2. Always combine with proper price action analysis
3. Past regime identification doesn't guarantee future performance
4. Risk management settings are for tracking purposes only - actual position management should be done through your broker
5. The indicator works best on liquid markets with consistent volume data
---
📚 Educational Purpose
This indicator is designed for educational purposes to help traders understand market structure and regime classification. It implements concepts from ICT (Inner Circle Trader) methodology including:
- Market structure analysis
- Kill zone timing
- Institutional activity patterns
- Multi-timeframe confluence
---
🔧 Inputs Summary
**Master Toggles**
- Enable/Disable indicator, regime detection, recommendations, risk management, alerts
**Core Settings**
- Analysis lookback periods (short/medium/long)
- ADX thresholds for trend classification
- Volatility spike multiplier
**Risk Management**
- Max daily loss percentage
- Max daily trades
- Account size for P&L calculation
- Session reset timing
**Visualization**
- Dashboard on/off and position
- Regime zones and labels
- Bar coloring
- Table text size
---
💡 Tips for Use
1. **Don't trade CHOPPY regimes** - The indicator explicitly warns when no edge exists
2. **Respect the checklist** - Trade only when multiple conditions align
3. **Adjust ADX thresholds** - Different instruments may require fine-tuning
4. **Monitor regime duration** - Fresh regime changes often present the best opportunities
5. **Use with other TradeHook indicators** - Designed to complement the MTMGBS system
⚖️ DISCLAIMER
This indicator is for **educational and informational purposes only**. It does not constitute financial advice. Trading involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Always conduct your own analysis and consult with a qualified financial advisor before making trading decisions.
Apex Wallet - Ultimate Trading Suite: All-In-One Overlay & SignaOverview The Apex Wallet All-In-One is a comprehensive professional trading toolkit designed to centralize every essential technical analysis tool directly onto your main price chart. Instead of cluttering your workspace with dozens of separate indicators, this script integrates trend analysis, volatility bands, automated chart patterns, and a multi-indicator signal engine into a single, cohesive interface.
Key Modular Features:
Trend Core: Features dynamic trend curves, cloud fills for momentum visualization, and a multi-timeframe dashboard (1m to 4h) to ensure you are always trading with the higher-timeframe bias.
Automated Chart Structures: Automatically detects and plots Support/Resistance levels, Standard Pivot Points, Market Gaps, and Fair Value Gaps (Imbalances).
Volatility & Volume: Includes professional-grade VWAP with standard deviation bands, Bollinger Bands, and a built-in Volume Delta (Raw/Net) tracker.
Signal Engine: A powerful cross-logic system that generates entry signals based on RSI (QQE), MACD (Zero-cross & Relance), Stochastic, TDI, and the Andean Oscillator.
Predictive Projections: A unique feature that projects current indicator slopes into future candles to help anticipate potential trend continuations or reversals.
Adaptability The script includes three core presets—Scalping, Day-Trading, and Swing-Trading—which automatically adjust all internal periods (Moving Averages, Bollinger, RSI, etc.) to match your specific market speed.
Visual Cleanliness Every feature is toggleable. You can display a "clean" chart with just the Trend Cloud or a "complete" workstation with signals, patterns (Doji, Engulfing), and pivot levels
Winners Scalper Pro - Bull/Bear (v1.5)best settings all standart but only change rsi
15 min rsi 8-9
30 min rsi 12-14
15:50 AnticipeThis indicator is designed to anticipate the market behavior around a specific time of day (by default 15:50) by evaluating market conditions one minute before the target candle.
It is primarily intended for intraday trading on 1-minute charts, especially on index futures such as NQ / MNQ.
The logic combines trend, volatility compression, momentum, volume, and VWAP positioning, using a scoring system to determine whether a LONG, SHORT, or NEUTRAL bias is statistically favored before the target candle prints.
Core Concept
At the anticipation candle (15:49 by default), the indicator evaluates multiple technical conditions.
Each condition adds points to a LONG score or SHORT score.
If one side reaches the required score threshold and is stronger than the opposite side, a persistent signal is generated and held through the 15:50 candle.
The 15:50 candle is highlighted in yellow for visual reference.
Indicators Used
The system combines:
• Bollinger Bands to detect volatility compression
• EMA 9 / EMA 21 / EMA 89 for short-term and structural trend
• RSI for momentum confirmation
• Volume Spike Detection based on a volume SMA multiplier
• Anchored VWAP, reset daily and anchored at a configurable time
• Optional Reversal Mode for mean-reversion setups
Scoring Logic
Each side (LONG / SHORT) accumulates points based on conditions such as:
• Bollinger Band compression
• EMA 9 vs EMA 21 alignment
• Price location relative to EMA 9 and BB basis
• RSI above or below threshold
• Volume spike confirmation
• Price position relative to Anchored VWAP
If Reversal Mode is enabled, additional points are added when:
• Price touches or exceeds Bollinger extremes
• RSI divergence is detected
• Price deviates significantly from Anchored VWAP
Reversal conditions carry more weight, favoring exhaustion and snap-back setups.
Signal Generation
At the anticipation candle:
• LONG signal
Triggered when LONG score ≥ required threshold and stronger than SHORT score.
• SHORT signal
Triggered when SHORT score ≥ required threshold and stronger than LONG score.
• NEUTRAL signal
Displayed when neither side has a clear statistical edge.
Signals are displayed as labels above or below price, positioned dynamically using ATR to avoid candle overlap.
Once triggered, the signal remains active through the 15:50 candle and can be used for trade execution or confirmation.
Anchored VWAP
The Anchored VWAP:
• Resets automatically each trading day
• Starts calculating from a user-defined hour and minute
• Acts as a directional and mean-reversion reference
• Is fully integrated into both trend and reversal logic
Alerts
The indicator provides alert conditions for:
• Anticipated LONG setup
• Anticipated SHORT setup
• NEUTRAL condition
Alerts trigger when the anticipation signal becomes active, allowing automation or discretionary execution.
Intended Use
This indicator is best used as:
• A directional bias tool before a known time-based volatility event
• A confirmation layer, not a standalone entry system
• A way to structure disciplined trades instead of reacting emotionally to the 15:50 candle
It favors clarity, confluence, and probability, not prediction.
[HFT] Leaky Bucket: FPGA-Based Order Flow SimulationDescription:
This indicator is a functional simulation of a hardware-based "Leaky Bucket" algorithm, typically used in FPGA (Field-Programmable Gate Array) chips for High-Frequency Trading (HFT) and network traffic shaping.
Unlike standard volume indicators (like OBV or CMF) that rely on floating-point Moving Averages (EMA/SMA), this script uses Bitwise Integer Math to simulate hardware registers. This approach removes the lag associated with smoothing and provides a raw, "tick-by-tick" representation of Order Flow exhaustion.
█ Underlying Concepts (How it works)
Integer Math & Bitwise Logic: The script eschews standard float calculations for int registers. Instead of division, it uses Bitwise Right Shift (>>) to simulate the "leak" rate. This mimics how hardware processes data streams with near-zero latency.
The Leaky Bucket Model:
Flow (Input): Volume * Price Delta flows into a "Bucket" (Accumulator Register).
Leak (Output): The bucket leaks at a constant rate determined by the Decay Shift.
Saturation: If the Flow > Leak, the bucket fills. We simulate a 32-bit integer saturation limit (sat_limit). When the bucket hits this limit, it represents "Panic Buying/Selling" — the market capability to absorb orders is saturated.
█ Uniqueness & Originality This is custom-built code, not a mashup of existing indicators. It translates hardware logic (Verilog/VHDL concepts) into Pine Script:
It introduces a "Saturation Warning" mechanism that detects when volume pressure exceeds mathematical limits.
It implements a "Gray Line" Strategy, focusing on volatility decay rather than momentum initiation.
█ How to Use: The "Gray Line" Strategy
This tool is designed for Mean Reversion and Exhaustion Trading, specifically on M1 to M5 timeframes.
Do NOT trade the breakout: When you see massive Green (Long) or Purple (Short) bars, this indicates "Extreme Momentum". Do not enter yet. Wait.
Wait for the "Gray Line": The signal is generated when the Extreme Momentum stops and the bar turns Gray (Neutral).
Signal L (Long): Generated when a sequence of Extreme Short bars (Purple) ends, and the histogram returns to Gray/Maroon. This confirms sellers are exhausted.
Signal S (Short): Generated when a sequence of Extreme Long bars (Green) ends, and the histogram returns to Gray/Teal. This confirms buyers are exhausted.
█ Disclaimer This script is intended for educational purposes regarding HFT algorithms and Order Flow analysis. It does not provide financial advice.
Session Liquidity SignalsThis indicator is called SLF VT and it analyzes market liquidity across major sessions
It defines three specific time windows which are Asia London and New York
During these times it draws colored boxes to mark the session High and Low
When a session ends the indicator extends dashed lines from the High and Low prices
These lines represent liquidity vectors where stop losses might be located
The core logic is designed to detect a Trap pattern
A Bullish Trap happens when price sweeps below a previous session Low but closes back above it
A Bearish Trap happens when price sweeps above a previous session High but closes back below it
The code calculates the Wick Ratio to ensure the reversal is sharp and valid
If a trap is confirmed the indicator plots a text label on the chart and can trigger an alert
Smart Wedge Pattern [The_lurker]🔺 Smart Wedge Pattern نموذج الوتد الذكي
Advanced & Intelligent Wedge Detection Engine
This is not a traditional indicator that simply draws wedge lines — it is a comprehensive intelligent engine (system) for detecting and analyzing wedge patterns (Rising & Falling Wedge) based on price geometry, market context, and statistical quality of the pattern.
This indicator was designed to address the biggest problems in common wedge indicators:
❌ Too many false patterns
❌ Ignoring prior trend
❌ No real quality assessment for patterns
A comprehensive intelligent system that combines:
Adaptive algorithm that self-calibrates automatically according to market conditions
7 strict validation layers that filter out weak patterns and keep only the highest quality
Quality scoring system that evaluates each pattern from 0 to 100
3D visualization that makes patterns visually clear in an exceptional way
Smart targets based on Fibonacci ratios with real-time achievement tracking
The Result:
➡️ Fewer patterns
➡️ Cleaner, more accurate and reliable signals
➡️ Higher quality
➡️ Real practical use
═════════════════════════════════════════════════════════════
🎯 What Are Wedge Patterns?
1- Falling Wedge — Bullish Reversal Pattern
The falling wedge forms when price moves in a converging downward channel — meaning both the upper resistance line and the lower support line are declining, but the support line declines at a less steep angle, gradually narrowing the channel.
Why does the bullish breakout occur?
Declining highs show continuous selling pressure
But rising lows (P2 < P4) reveal that buyers are entering at higher levels
Convergence indicates decreasing bearish momentum
At a certain point, buying pressure overcomes and the breakout occurs
2- Rising Wedge — Bearish Reversal Pattern
The rising wedge is the exact opposite of the falling wedge — a converging upward channel where both lines rise, but the resistance line rises at a less steep angle.
Why does the bearish breakout occur?
Rising lows show continuous buying pressure
But declining highs (P2 > P4) reveal that sellers are entering at lower levels
Convergence indicates decreasing bullish momentum
At a certain point, selling pressure overcomes and the breakout occurs
═════════════════════════════════════════════════════════════
🧠 Adaptive Pivot System — The Heart of the Smart Indicator
The Problem with Traditional Indicators
Traditional indicators use a fixed value for pivot detection (like 5 bars left and 5 bars right). This means:
In quiet markets → Many delayed signals
In volatile markets → Few missed signals
No adaptation to the nature of each market or timeframe
The Solution: Smart Adaptation Algorithm
The indicator calculates optimal pivot sensitivity on each bar using 5 weighted factors:
Final Score = (Volatility_Score × 0.30) + (Trend_Score × 0.25) +
(Stability_Score × 0.20) + (Percentile_Context × 0.15) +
(Range_Score × 0.10)
Factor Weight How It's Calculated Why It's Important
Volatility Score 30% ATR(10) / ATR(50) Detects sudden changes in volatility
Trend Score 25% ADX(14) / 50 Trending markets need different sensitivity
Stability Score 20% StdDev(ATR) / Mean(ATR) Measures volatility consistency
Percentile Context 15% ATR / Percentile(ATR, 50) Places volatility in historical context
Range Score 10% Current_Range / Average_Range Detects unusual bars
The Result: The indicator uses low sensitivity (fewer, more important pivots) in quiet markets, and high sensitivity (more pivots, faster response) in volatile markets (more accurate pivots = correct geometric patterns).
═════════════════════════════════════════════════════════════
✅ Seven Validation Layers — Why This Indicator Is Different
Every detected pattern passes through 7 strict tests before being displayed:
1- Geometric Structure Validation
Validates:
P1 precedes P2 precedes P3 precedes P4 chronologically
Distance between each two points ≥ minimum threshold
Pattern width (P1→P4) within allowed range
Highs and lows order is correct for the wedge type
2- True Convergence Check
A true wedge must show convergence:
├── Gap at P4 < Gap at P1
├── Convergence ratio = End_Gap / Start_Gap
└── Ratio must be < defined convergence threshold (default 75%)
3- Slope Validation
For Falling Wedge:
├── Resistance line slope < 0 (declining)
├── Support line slope < 0 (declining)
└── Resistance slope < Support slope (convergence)
For Rising Wedge:
├── Resistance line slope > 0 (rising)
├── Support line slope > 0 (rising)
└── Support slope > Resistance slope (convergence)
4- Prior Trend Filter
Reversal patterns need a prior trend to reverse from:
├── Measures price movement during a defined period before P1
├── Normalizes movement using ATR for fair comparison
├── Falling wedge requires prior downtrend
└── Rising wedge requires prior uptrend
5- Channel Respect
Normal mode (close check):
└── Every close between P1 and P4 must be within wedge boundaries
Strict mode (high/low check):
├── Every high must be below resistance line (+ tolerance)
└── Every low must be above support line (- tolerance)
6- Post-P4 Validation
After the fourth point forms:
├── For falling wedge: Price doesn't break support or drop below P4
└── For rising wedge: Price doesn't break resistance or rise above P4
7- Quality Scoring System
Quality = (Convergence_Score × 0.30) + (Slope_Score × 0.25) +
(Width_Score × 0.20) + (Trend_Score × 0.15) +
(Height_Score × 0.10)
├── Convergence Score: More convergence = higher quality
├── Slope Score: Consistency of upper and lower line slopes
├── Width Score: Patterns with 40-100 bar width are ideal
├── Trend Score: Prior trend strength
└── Height Score: Pattern height relative to ATR
═════════════════════════════════════════════════════════════
✅ Pattern Lifecycle Management
The indicator doesn't just draw and disappear — it follows the complete pattern:
Pattern detection
Post-fourth point monitoring
Breakout confirmation
Target calculation
Target achievement tracking
Success or cancellation marking
❌ Pattern is automatically cancelled if:
Breakout fails
Channel is broken in reverse direction
Waiting period exceeded
═════════════════════════════════════════════════════════════
✅ Smart Targets + Success Level
After breakout:
Target is calculated based on pattern height
3 target modes:
Conservative (0.618)
Balanced (1.0)
Aggressive (1.618)
Independent Success level to measure move strength before target
═════════════════════════════════════════════════════════════
🎨 Advanced Visual Display (3D Visualization)
Three-dimensional pattern representation
Visual depth reflecting pattern size
3D target zone
Dynamic colors upon target achievement
🎨 The purpose of 3D is not decoration
But reading the pattern visually with speed and clarity
═════════════════════════════════════════════════════════════
⚙️ Key Features
✅ Automatic wedge detection
✅ Smart filtering reduces false signals
✅ Real quality assessment for each pattern
✅ Realistic and customizable targets
✅ Full support for Rising & Falling Wedge
✅ Works on all markets and timeframes
✅ Professional design and high performance
═════════════════════════════════════════════════════════════
📊 Usage Scenarios
🟢 Scalping
Timeframes: 1–15 minutes
Quality ≥ 60
Conservative targets
🔵 Day Trading
Timeframes: 15m–1h
Quality ≥ 50
Balanced targets
🟣 Swing Trading
Timeframes: 4h–Daily
Quality ≥ 40
Strict channel
Aggressive targets
🟠 Cryptocurrencies
Strict convergence
Strict channel
Quality ≥ 65
═════════════════════════════════════════════════════════════
🔔 Alerts
Falling wedge breakout ⇒ Buy
Rising wedge breakout ⇒ Sell
Any wedge breakout
═════════════════════════════════════════════════════════════
⚠️ Disclaimer
This indicator is for educational and analytical purposes only. It does not represent financial, investment, or trading advice. Use it in conjunction with your own strategy and risk management. Neither TradingView nor the developer is responsible for any financial decisions or losses.
═════════════════════════════════════════════════════════════
🔺 Smart Wedge Pattern نموذج الوتد الذكي
Advanced & Intelligent Wedge Detection Engine
ليس مؤشرًا تقليديًا يرسم خطوط وتد فقط ، بل هو محرك (نظام) ذكي متكامل لاكتشاف وتحليل نماذج الوتد (Rising & Falling Wedge) اعتمادًا على الهندسة السعرية ، السياق السوقي ، والجودة الإحصائية للنموذج.
تم تصميم هذا المؤشر لمعالجة أكبر مشكلة في مؤشرات الوتد الشائعة:
❌ كثرة النماذج الوهمية
❌ تجاهل الاتجاه السابق
❌ عدم وجود تقييم حقيقي لجودة النموذج
نظام ذكي متكامل يجمع بين:
خوارزمية تكيفية تُعاير نفسها تلقائياً حسب ظروف السوق
7 طبقات تحقق صارمة تُصفّي الأنماط الضعيفة وتُبقي فقط الأعلى جودة
نظام تسجيل جودة يُقيّم كل نموذج من 0 إلى 100
تصور ثلاثي الأبعاد يجعل الأنماط واضحة بصرياً بشكل استثنائي
أهداف ذكية مبنية على نسب فيبوناتشي مع تتبع التحقق الآني
النتيجة:
➡️ نماذج أقل
➡️ إشارات أنظف أكثر دقة وموثوقية
➡️ جودة أعلى
➡️ استخدام عملي حقيقي
═════════════════════════════════════════════════════════════
🎯 ما هي نماذج الأوتاد؟
1- الوتد الهابط (Falling Wedge) — نموذج انعكاسي صعودي
الوتد الهابط يتشكل عندما يتحرك السعر في قناة هابطة متقاربة — أي أن خط المقاومة العلوي وخط الدعم السفلي كلاهما يهبطان، لكن خط الدعم يهبط بزاوية أقل حدة، مما يُضيّق القناة تدريجياً.
لماذا يحدث الكسر الصعودي؟
القمم الهابطة تُظهر ضغطاً بيعياً مستمراً
لكن القيعان الصاعدة (P2 < P4) تكشف أن المشترين يدخلون عند مستويات أعلى
التقارب يُشير إلى تناقص الزخم الهبوطي
عند نقطة معينة، يتغلب ضغط الشراء ويحدث الكسر
2- الوتد الصاعد (Rising Wedge) — نموذج انعكاسي هبوطي
الوتد الصاعد هو عكس الهابط تماماً — قناة صاعدة متقاربة حيث يصعد كلا الخطين، لكن خط المقاومة يصعد بزاوية أقل حدة.
لماذا يحدث الكسر الهبوطي؟
القيعان الصاعدة تُظهر ضغطاً شرائياً مستمراً
لكن القمم الهابطة (P2 > P4) تكشف أن البائعين يدخلون عند مستويات أدنى
التقارب يُشير إلى تناقص الزخم الصعودي
عند نقطة معينة، يتغلب ضغط البيع ويحدث الكسر
═════════════════════════════════════════════════════════════
🧠 نظام المحاور التكيفي — قلب المؤشر الذكي
المشكلة مع المؤشرات التقليدية
المؤشرات التقليدية تستخدم قيمة ثابتة لاكتشاف المحاور (مثل 5 شموع يسار و5 شموع يمين). هذا يعني:
في الأسواق الهادئة → إشارات كثيرة ومتأخرة
في الأسواق المتقلبة → إشارات قليلة وضائعة
لا تكيف مع طبيعة كل سوق أو إطار زمني
الحل: خوارزمية التكيف الذكي
المؤشر يحسب حساسية المحور المثلى في كل شمعة باستخدام 5 عوامل مرجحة:
النتيجة النهائية = (درجة_التقلب × 0.30) + (درجة_الاتجاه × 0.25) +
(درجة_الاستقرار × 0.20) + (السياق_المئوي × 0.15) +
(درجة_النطاق × 0.10)
العامل الوزن كيف يُحسب لماذا مهم
درجة التقلب 30% ATR(10) / ATR(50) يكشف التغير المفاجئ في التقلب
درجة الاتجاه 25% ADX(14) / 50 الأسواق الاتجاهية تحتاج حساسية مختلفة
درجة الاستقرار 20% StdDev(ATR) / Mean(ATR) يقيس ثبات التقلب
السياق المئوي 15% ATR / Percentile(ATR, 50) يضع التقلب في سياقه التاريخي
درجة النطاق 10% النطاق_الحالي / متوسط_النطاق يكشف الشموع غير العادية
النتيجة: المؤشر يستخدم حساسية منخفضة (محاور أقل، أكثر أهمية) في الأسواق الهادئة، وحساسية عالية (محاور أكثر، استجابة أسرع) في الأسواق المتقلبة (محاور أدق = نماذج هندسية صحيحة).
═════════════════════════════════════════════════════════════
✅ طبقات التحقق السبع — لماذا هذا المؤشر مختلف
كل نموذج مُكتشف يمر عبر 7 اختبارات صارمة قبل عرضه:
1- التحقق من البنية الهندسية
يتحقق من:
P1 يسبق P2 يسبق P3 يسبق P4 زمنياً
المسافة بين كل نقطتين ≥ الحد الأدنى المحدد
عرض النموذج (P1→P4) ضمن النطاق المسموح
ترتيب القمم والقيعان صحيح حسب نوع الوتد
2- فحص التقارب الحقيقي
الوتد الحقيقي يجب أن يُظهر تقارباً:
├── الفجوة عند P4 < الفجوة عند P1
├── نسبة التقارب = الفجوة_النهائية / الفجوة_الابتدائية
└── النسبة يجب أن تكون < عتبة التقارب المحددة (افتراضي 75%)
3- التحقق من الميل
للوتد الهابط:
├── ميل خط المقاومة < 0 (هابط)
├── ميل خط الدعم < 0 (هابط)
└── ميل المقاومة < ميل الدعم (تقارب)
للوتد الصاعد:
├── ميل خط المقاومة > 0 (صاعد)
├── ميل خط الدعم > 0 (صاعد)
└── ميل الدعم > ميل المقاومة (تقارب)
4- فلتر الاتجاه السابق
النماذج الانعكاسية تحتاج اتجاهاً سابقاً لتنعكس منه:
├── يقيس حركة السعر خلال فترة محددة قبل P1
├── يُطبّع الحركة باستخدام ATR لمقارنة عادلة
├── الوتد الهابط يحتاج اتجاهاً هابطاً سابقاً
└── الوتد الصاعد يحتاج اتجاهاً صاعداً سابقاً
5- احترام القناة
وضع عادي (فحص الإغلاق):
└── كل إغلاق بين P1 و P4 يجب أن يكون داخل حدود الوتد
وضع صارم (فحص القمة/القاع):
├── كل قمة يجب أن تكون تحت خط المقاومة (+ نسبة تسامح)
└── كل قاع يجب أن يكون فوق خط الدعم (- نسبة تسامح)
6- التحقق بعد P4
بعد تشكل النقطة الرابعة:
├── للوتد الهابط: السعر لا يكسر خط الدعم أو ينزل تحت P4
└── للوتد الصاعد: السعر لا يكسر خط المقاومة أو يصعد فوق P4
7- نظام تسجيل الجودة
الجودة = (درجة_التقارب × 0.30) + (درجة_الميل × 0.25) +
(درجة_العرض × 0.20) + (درجة_الاتجاه × 0.15) +
(درجة_الارتفاع × 0.10)
├── درجة التقارب: كلما زاد التقارب، زادت الجودة
├── درجة الميل: تناسق ميل الخطين العلوي والسفلي
├── درجة العرض: الأنماط بعرض 40-100 شمعة مثالية
├── درجة الاتجاه: قوة الاتجاه السابق
└── درجة الارتفاع: ارتفاع النموذج نسبة لـ ATR
═════════════════════════════════════════════════════════════
✅ إدارة دورة حياة النموذج (Pattern Lifecycle)
المؤشر لا يرسم ثم يختفي، بل يتابع النموذج كاملًا:
اكتشاف النموذج
مراقبة ما بعد النقطة الرابعة
تأكيد الاختراق
حساب الهدف
تتبع الوصول للهدف
تمييز النجاح أو الإلغاء
❌ يتم إلغاء النموذج تلقائيًا إذا:
فشل في الاختراق
كُسرت القناة عكسيًا
تجاوز مدة الانتظار المحددة
═════════════════════════════════════════════════════════════
✅ أهداف ذكية + Success Level
بعد الاختراق:
يتم حساب الهدف بناءً على ارتفاع النموذج
3 أوضاع للأهداف:
Conservative (0.618)
Balanced (1.0)
Aggressive (1.618)
مستوى Success مستقل لقياس قوة الحركة قبل الهدف
═════════════════════════════════════════════════════════════
🎨 عرض بصري متقدم (3D Visualization)
تمثيل ثلاثي الأبعاد للنموذج
عمق بصري يعكس حجم النموذج
منطقة هدف ثلاثية الأبعاد
ألوان ديناميكية عند تحقق الهدف
🎨 الهدف من 3D ليس الزينة
بل قراءة النموذج بصريًا بسرعة ووضوح
═════════════════════════════════════════════════════════════
⚙️ أهم المميزات
✅ اكتشاف تلقائي للأوتاد
✅ فلترة ذكية تقلل الإشارات الوهمية
✅ تقييم جودة حقيقي لكل نموذج
✅ أهداف واقعية وقابلة للتخصيص
✅ دعم كامل لـ Rising & Falling Wedge
✅ يعمل على جميع الأسواق والفريمات
✅ تصميم احترافي وأداء عالي
═════════════════════════════════════════════════════════════
📊 سيناريوهات الاستخدام
🟢 المضاربة السريعة
أطر: 1–15 دقيقة
جودة ≥ 60
أهداف محافظة
🔵 التداول اليومي
أطر: 15د–1س
جودة ≥ 50
أهداف متوازنة
🟣 التداول المتأرجح
أطر: 4س–يومي
جودة ≥ 40
قناة صارمة
أهداف عدوانية
🟠 العملات الرقمية
تقارب صارم
قناة صارمة
جودة ≥ 65
═════════════════════════════════════════════════════════════
🔔 التنبيهات
كسر وتد هابط ⇒ شراء
كسر وتد صاعد ⇒ بيع
أي كسر وتد
═════════════════════════════════════════════════════════════
⚠️ إخلاء المسؤولية
هذا المؤشر لأغراض تعليمية وتحليلية فقط. لا يُمثل نصيحة مالية أو استثمارية أو تداولية. استخدمه بالتزامن مع استراتيجيتك الخاصة وإدارة المخاطر. لا يتحمل TradingView ولا المطور مسؤولية أي قرارات مالية أو خسائر.
Buy / Sell Volume LabelsINDICATOR NAME:
Buy/Sell Volume Labels
DESCRIPTION:
Buy/Sell Volume Labels displays real-time buying and selling volume with dynamic color-coded labels that highlight market dominance. The indicator automatically emphasizes the dominant side (buy or sell) with bright green or red backgrounds, while the non-dominant side fades to gray for instant visual clarity.
Key Features:
- Dynamic Color Coding: Dominant volume side displays in bright green (buy) or red (sell), non-dominant side in gray
- Trend Indicator: Optional "Bullish Trend", "Bearish Trend", or "Neutral" label shows current market bias
- Flexible Display Options: Choose to show percentages only, volume only, or both
- Customizable Position: Place labels anywhere on chart (top, center, bottom; left, center, right)
- Adjustable Size: Six size options from Tiny to Huge, including Auto
- Lookback Period: Calculate volume for current bar or sum across multiple bars
- Neutral Threshold: Define when market is considered neutral vs. trending
How It Works:
- The indicator calculates buying and selling volume based on where price closes within each bar's range. When buying volume dominates, the Buy label turns bright green with black text while the Sell label turns gray. When selling dominates, the Sell label turns bright red with white text while the Buy label turns gray. This makes it immediately obvious which side controls the market.
Perfect For:
- Day traders and scalpers on futures (/MNQ, /ES, /NQ)
- Identifying accumulation vs. distribution phases
- Confirming trend strength and reversals
- Quick visual assessment of market pressure
- All timeframes from tick charts to daily
Settings:
- Header location (9 positions)
- Display mode (Volume, Percent- age, or Both)
- Table size (Tiny to Huge + Auto)
- Lookback period (bars)
- Trend label toggle
- Neutral threshold percentage
Created by NPR21 for the TradingView community.
Smart Fixed Volume Profile [MarkitTick]💡 This comprehensive analysis suite integrates Auction Market Theory, structural gap analysis, and statistical liquidity strain modeling into a single, cohesive toolkit. Designed for traders who require a granular view of institutional order flow, this indicator overlays a Fixed Range Volume Profile with intelligent price gap classification and a volatility-adjusted exhaustion detector. By combining these three distinct analytical dimensions, it allows users to identify value consensus, structural breakouts, and potential market turns driven by liquidity shortages.
✨ Originality and Utility
While standard Volume Profiles display where trading occurred, this script advances the concept by contextually analyzing *how* price arrived at those levels. It solves the problem of isolated analysis by fusing three disparate methodologies:
Contextual Integration: It does not merely show support and resistance; it qualifies moves using "Smart Gaps" (classifying gaps based on market structure) and "Liquidity Strain" (identifying unsustainable price velocity).
Institutional Footprint: The inclusion of an "Unusual Volume" highlighter within the profile bars helps traders spot hidden institutional accumulation or distribution blocks that standard profiles miss.
Hybrid Logic: By combining a fixed-time profile (anchored to specific dates) with dynamic, developing gap analysis, it provides both a static roadmap of the past and a dynamic interpretation of current price action.
🔬 Methodology and Concepts
• Fixed Volume Profile Engine
The core of the indicator constructs a volume distribution histogram over a user-defined time window. It utilizes a custom aggregation engine that:
Fetches higher-timeframe volume and price data to ensure accuracy.
Segments the price range into specific "bins" or rows.
Allocates volume to these bins based on price action within the bar, separating Buying Volume (Up bars) from Selling Volume (Down bars).
Calculates the Point of Control (POC) —the price level with the highest traded volume—and the Value Area , which contains 70% (customizable) of the total volume centered around the POC.
• Smart Gap Logic
The script systematically identifies price gaps and classifies them based on their location relative to market pivots (Highs/Lows):
Breakaway Gaps: Occur when price gaps beyond a significant structural pivot (Lookback High/Low), signaling a potential trend initiation.
Runaway Gaps: Occur within an existing trend without breaking structure, indicating trend continuation.
Exhaustion Gaps: Identified when a gap occurs late in a mature trend (measured by bar count since the last pivot) accompanied by a volume spike, suggesting the trend is overextended.
• Liquidity Strain Detector
This module utilizes a statistical approach to measure market stress. It calculates "Illiquidity" by analyzing the ratio of True Range to Volume (Price Impact).
It applies a Logarithmic transformation to normalize the data.
It calculates a Z-Score (Standard Deviation from the mean) of this impact.
If the Z-Score exceeds a threshold (e.g., 2.0 Sigma) while the trend opposes the price move, it triggers an exhaustion signal, indicating that price is moving too easily on too little volume (thin liquidity).
🎨 Visual Guide
• Volume Profile Elements
Histogram Bars: Horizontal bars representing volume at price. Cyan indicates bullish volume; Red indicates bearish volume.
Unusual Volume Highlight: Bars with volume exceeding the average by a set factor (default 2x) are highlighted with brighter, distinct overlays to denote institutional interest.
POC Line: A solid Yellow line marking the price level with the highest volume.
VAH / VAL Lines: Dashed Blue lines marking the Value Area High and Value Area Low.
Background Box: A grey shaded area encapsulating the entire time and price range of the profile.
• Smart Gap Boxes
Blue Box (Breakaway): Marks the start of a new structural move.
Orange Box (Runaway): Marks continuation gaps in the middle of a trend.
Red Box (Exhaustion): Marks potential trend termination points.
Dotted Lines: Extend from the center of gap boxes to serve as future support/resistance levels. These boxes are automatically deleted if price "fills" or violates the gap level.
Note: This tool incorporates core components from [ Smart Gap Concepts ], optimized for this specific strategy.
• Liquidity Signals
Green Label (SE): "Seller Exhaustion" – Appears below bars in a downtrend when selling pressure is statistically overextended.
Red Label (BE): "Buyer Exhaustion" – Appears above bars in an uptrend when buying pressure is statistically overextended.
Note: This tool incorporates core components from [ Liquidity Strain Detector ], optimized for this specific strategy.
📖 How to Use
• Interactive Range Selection: This indicator features a flexible, interactive input system. Upon adding the script to your chart, execution is paused until the analysis range is defined. You will be prompted to click on the chart twice: first to establish the Start Date and second to establish the End Date. Once these anchor points are confirmed, the indicator will automatically load the data and generate the profile for the selected specific period.
● Strategies for Optimal Anchoring
the optimal starting and ending points for high-probability setups:
Swing Highs and Lows (Trend Analysis):
Anchor the Start Date at a major structural swing high or low and the End Date at the current price using the Extend to Present feature. This identifies the "Fair Value" for the entire price move .
Consolidation/Range Anchoring:
Set the Start Date at the first bar of a sideways range and the End Date at the breakout candle. This reveals the high-node volume clusters that will act as future support or resistance.
Session-Based Anchoring (Intraday):
Align the Start Date with the session open (e.g., London or New York open) to track institutional flow for that specific day .
Event-Driven Anchoring:
Place the Start Date on a significant news event or a Breakaway Gap identified by the script's Gap Engine. This helps determine if the new volume supports the direction of the gap.
Correction Cycles:
During a pullback, anchor the Start Date at the start of the correction to find the Value Area Low (VAL), which often serves as a tactical entry point for a trend continuation.
• Identifying Value:
Use the Value Area to gauge market consensus. Acceptance of price within the VA indicates balance. A breakout above VAH or below VAL suggests the market is searching for new value. The POC often acts as a magnet for price correction.
• Trading Breakouts:
Watch for Breakaway Gaps (Blue) that align with a move out of the Volume Profile's Value Area. This confluence increases the probability of a sustained trend.
• Spotting Reversals:
Combine Exhaustion Gaps (Red) with Liquidity Strain Signals (SE/BE) . If price gaps up into a low-volume node on the profile and prints a "Buyer Exhaustion" signal, it suggests the move is unsupported by liquidity and liable to reverse.
• Support and Resistance:
The extended dotted lines from the Smart Gap boxes act as dynamic support/resistance. A retest of a "Runaway Gap" is often a viable entry point for trend continuation.
⚙️ Inputs and Settings
• Global Profile:
Start/End Date: Define the exact window for the volume profile calculation.
Extend to Present: If checked, the profile updates with live data beyond the end date.
• Profile Settings:
Number of Rows: Determines the vertical resolution (granularity) of the histogram.
Value Area %: Default is 70%, representing one standard deviation of volume distribution.
Placement: Position the profile on the Left or Right of the defined range.
• Liquidity & Gaps:
Unusual Threshold: Multiplier of average volume to highlight institutional bars (default 2.0x).
Structure Lookback: Adjusts the sensitivity of pivot detection for gap classification.
Stress Threshold (Sigma): The Z-Score limit for triggering Liquidity Strain signals (default 2.0).
🔍 Deconstruction of the Underlying Scientific and Academic Framework
• Auction Market Theory (AMT):
The script is grounded in AMT, which posits that the market's primary function is to facilitate trade. The Volume Profile visualizes this by displaying a bell curve of price distribution. The Value Area (typically 70%) corresponds to the First Standard Deviation in a normal Gaussian distribution, representing the area of "Fair Value" where buyers and sellers agree.
• Market Microstructure & Kyle’s Lambda:
The Liquidity Strain module draws conceptually from Kyle’s Lambda, a metric in market microstructure that measures market depth and price impact (Illiquidity). By calculating the ratio of price change (True Range) to Volume, the script approximates the "cost" of moving the market.
• Statistical Z-Score Normalization:
To make the liquidity data actionable, the script applies Z-Score normalization: Z = (X - μ) / σ . This converts raw illiquidity values into standard deviations from the mean. A Z-Score above +2.0 signifies a statistically significant anomaly—an outlier event where price moved excessively relative to the volume traded, often preceding a mean-reversion event.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
Apex Wallet - Ultimate Trend Meter: 9-in-1 Multi-Layer Momentum Overview The Apex Wallet Trend Meter is an advanced decision-making dashboard designed to provide a comprehensive view of market conditions without cluttering your main price chart. It synthesizes complex data from 9 different technical sources into a clean, horizontal visual grid, allowing traders to spot confluence at a single glance.
The Power of Confluence Instead of switching between multiple oscillators, this tool monitors:
Triple EMA Structure: Tracks Short, Medium, and Long-term trend directions.
Momentum Suite: Real-time status of RSI, Stochastic, and StochRSI.
Advanced Analyzers: Includes MACD (Line/Signal), TDI (Traders Dynamic Index), and the Andean Oscillator for trend exhaustion and volatility states.
Smart Delta Net: A sophisticated Volume Delta engine that filters market noise through customizable modes (Buy/Sell, Neutral, or Automatic).
Key Features:
Adaptive Trading Presets: One-click selection for Scalping, Day-Trading, or Swing-Trading. The script automatically recalibrates all 9 indicator periods to fit your timeframe.
Market Bias Filtering: Indicators are color-coded based on their alignment with the global market trend. Signals only turn Bullish or Bearish when they align with the master trend EMA.
Dynamic Delta Grid: Displays scaled net volume values directly inside the grid for precise institutional flow tracking.
Fully Customizable UI: Toggle any layer on/off and adjust the layout density to match your workspace.
How to use: Look for "Vertical Confluence." When multiple layers turn the same color simultaneously, it indicates a high-probability momentum shift.






















