Bid/Ask Volume Split (Estimated)Bid/Ask Volume Split (Estimated)
Overview
The Bid/Ask Volume Split (Estimated) is a Pine Script v6 indicator for TradingView, designed to analyze bid and ask volume dynamics without requiring tick data. Displayed as an oscillator, it plots split bid/ask volume columns, rolling sum lines, and a pressure histogram (ask minus bid) to highlight buying and selling pressure. Custom divergence logic spots hidden momentum shifts. The indicator features gradient intensity coloring, divergence detection for bullish/bearish markers/labels, and a status table summarizing key metrics, making it commonly used for reviewing volume-driven insights.
How It Works
The indicator splits each bar’s volume into bid and ask components using the candle’s body share (default) or full allocation for bullish/bearish candles, calculated with math.max and syminfo.mintick—to approximate order flow from OHLC data. Rolling sums of ask and bid volumes are computed over a user-defined lookback (default: 5 bars) using ta.cum for efficiency. A pressure histogram is derived by smoothing the ask-minus-bid difference with an EMA (default: 3 periods). Gradient intensity adjusts opacity based on volume relative to a 20-period SMA and previous bar. Divergences are detected by comparing price pivot highs/lows (ta.pivothigh, ta.pivotlow) with ask/bid sum pivots, marked with lines and labels. A status table displays ask/bid sums, intensity, trend, and pressure.
Key Features
• Split Bid/Ask Volumes: Apportions volume into bid (red) and ask (green) with optional mirroring below zero.
• Rolling Sum Lines: Plots cumulative ask and bid sums with optional fill between lines.
• Pressure Histogram: Shows smoothed ask-minus-bid pressure to illustrate market direction.
• Divergence Detection: Identifies bullish (price lower lows, ask sum higher lows) and bearish (price higher highs, bid sum lower highs) divergences.
• Gradient Intensity: Adjusts opacity based on volume strength for enhanced visual clarity.
• Status Table: Summarizes ask/bid sums, intensity, trend, and pressure direction.
• Customizable Settings: Adjust lookback, sensitivity, smoothing, and colors for tailored analysis.
What It Displays
This indicator offers a robust approach to volume analysis by combining split volume visualization, divergence detection, and pressure metrics, providing clear insights into market momentum without tick data. Its customizable visuals and multi-faceted analysis make it suitable for day trading, scalping, or swing trading in stocks, forex, futures, or crypto.
Originality
This indicator is an original Pine v6 implementation using TradingView’s built-in ta.cum, ta.sma, ta.ema, ta.pivothigh, and ta.pivotlow functions.
Common Ways People Use It
• Day traders reviewing real-time volume and pressure markers/labels.
• Scalpers marking momentum-driven trade setups.
• Technical analysts identifying divergence-based reversals.
Configuration Notes
Configure the volume sum lookback (default: 5 bars), pressure smoothing (default: 3), and divergence pivot settings (default: 3 left/right). Enable/disable split columns, mirroring, fill, or gradient intensity to suit your chart. Use the pressure histogram, divergence markers/labels, and status table to identify buying/selling pressure and potential reversals.
Legal Disclaimer
These indicators are for informational and educational purposes only—not investment, financial, or trading advice. Past performance is not indicative of future results; trading involves high risk of loss. Provided "as is" with no warranties. Consult a qualified professional before decisions. By using, you assume all risk and agree to this disclaimer.
Divergence
RSI Cloud v1.0 [PriceBlance] RSI Cloud v1.0 — Ichimoku-style Cloud on RSI(14), not on price.
Recalibrated baselines: EMA9 (Tenkan) for speed, WMA45 (Kijun) for stability.
Plus ADX-on-RSI to grade strength so you know when momentum persists or fades.
1. Introduction
RSI Cloud v1.0 applies an Ichimoku Cloud directly on RSI(14) to reveal momentum regimes earlier and cleaner than price-based views. We replaced Tenkan with EMA9 (faster, more responsive) and Kijun with WMA45 (slower, more stable) to fit a bounded oscillator (0–100). Forward spans (+26) and a lagging line (−26) provide a clear framework for trend bias and transitions.
To qualify signals, the indicator adds ADX computed on RSI—highlighting whether strength is weak, strong, or very strong, so you can decide when to follow, fade, or stand aside.
2. Core Mapping (Hook + Bullets)
At a glance: Ichimoku on RSI(14) with recalibrated baselines for a bounded oscillator.
Source: RSI(14)
Tenkan → EMA9(RSI) (fast, responsive)
Kijun → WMA45(RSI) (slow, stable)
Span A: classic Ichimoku midline, displaced +26
Span B: classic Ichimoku baseline, displaced +26
Lagging line: RSI shifted −26
3. Key Benefits (Why traders care)
Momentum regimes on RSI: position vs. Cloud = bull / bear / transition at a glance.
Cleaner confirmations: EMA9/WMA45 pairing cuts noise vs. raw 30/70 flips.
Earlier warnings: Cloud breaks on RSI often lead price-based confirmations.
4. ADX on RSI (Enhanced Strength Normalization)
Grade strength inside the RSI domain using ADX from ΔRSI:
ADX ≤ 20 → Weak (transparency = 60)
ADX ≤ 40 → Strong (transparency = 15)
ADX > 40 → Very strong (transparency = 0)
Use these tiers to decide when to trust, fade, or ignore a signal.
5. How to Read (Quick rules)
Bias / Regime
Bullish: RSI above Cloud and RSI > WMA45
Bearish: RSI below Cloud and RSI < WMA45
Neutral / Transition: all other cases
6. Settings (Copy & use)
RSI Length: 14 (default)
Tenkan: EMA9 on RSI · Kijun: WMA45 on RSI
Displacement: +26 (Span A/B) · −26 (Lagging)
Theme: PriceBlance Dark/Light
Visibility toggles: Cloud, Baselines, Lagging, labels/panel, Overbought/Oversold, Divergence, ADX-on-RSI (via transparency coloring)
7. Credits & License
Author/Brand: PriceBlance
Version: v1.0 (Free)
Watermark: PriceBlance • RSI Cloud v1.0
Disclaimer: Educational content; not financial advice.
8. CTA
If this helps, please ⭐ Star and Follow for updates & new tools.
Feedback is welcome—comment what you’d like added next (alerts, presets, visuals).
Extreme Pressure Zones Indicator (EPZ) [BullByte]Extreme Pressure Zones Indicator(EPZ)
The Extreme Pressure Zones (EPZ) Indicator is a proprietary market analysis tool designed to highlight potential overbought and oversold "pressure zones" in any financial chart. It does this by combining several unique measurements of price action and volume into a single, bounded oscillator (0–100). Unlike simple momentum or volatility indicators, EPZ captures multiple facets of market pressure: price rejection, trend momentum, supply/demand imbalance, and institutional (smart money) flow. This is not a random mashup of generic indicators; each component was chosen and weighted to reveal extreme market conditions that often precede reversals or strong continuations.
What it is?
EPZ estimates buying/selling pressure and highlights potential extreme zones with a single, bounded 0–100 oscillator built from four normalized components. Context-aware weighting adapts to volatility, trendiness, and relative volume. Visual tools include adaptive thresholds, confirmed-on-close extremes, divergence, an MTF dashboard, and optional gradient candles.
Purpose and originality (not a mashup)
Purpose: Identify when pressure is building or reaching potential extremes while filtering noise across regimes and symbols.
Originality: EPZ integrates price rejection, momentum cascade, pressure distribution, and smart money flow into one bounded scale with context-aware weighting. It is not a cosmetic mashup of public indicators.
Why a trader might use EPZ
EPZ provides a multi-dimensional gauge of market extremes that standalone indicators may miss. Traders might use it to:
Spot Reversals: When EPZ enters an "Extreme High" zone (high red), it implies selling pressure might soon dominate. This can hint at a topside reversal or at least a pause in rallies. Conversely, "Extreme Low" (green) can highlight bottom-fish opportunities. The indicator's divergence module (optional) also finds hidden bullish/bearish divergences between price and EPZ, a clue that price momentum is weakening.
Measure Momentum Shifts: Because EPZ blends momentum and volume, it reacts faster than many single metrics. A rising MPO indicates building bullish pressure, while a falling MPO shows increasing bearish pressure. Traders can use this like a refined RSI: above 50 means bullish bias, below 50 means bearish bias, but with context provided by the thresholds.
Filter Trades: In trend-following systems, one could require EPZ to be in the bullish (green) zone before taking longs, or avoid new trades when EPZ is extreme. In mean-reversion systems, one might specifically look to fade extremes flagged by EPZ.
Multi-Timeframe Confirmation: The dashboard can fetch a higher timeframe EPZ value. For example, you might trade a 15-minute chart only when the 60-minute EPZ agrees on pressure direction.
Components and how they're combined
Rejection (PRV) – Captures price rejection based on candle wicks and volume (see Price Rejection Volume).
Momentum Cascade (MCD) – Blends multiple momentum periods (3,5,8,13) into a normalized momentum score.
Pressure Distribution (PDI) – Measures net buy/sell pressure by comparing volume on up vs down candles.
Smart Money Flow (SMF) – An adaptation of money flow index that emphasizes unusual volume spikes.
Each of these components produces a 0–100 value (higher means more bullish pressure). They are then weighted and averaged into the final Market Pressure Oscillator (MPO), which is smoothed and scaled. By combining these four views, EPZ stands out as a comprehensive pressure gauge – the whole is greater than the sum of parts
Context-aware weighting:
Higher volatility → more PRV weight
Trendiness up (RSI of ATR > 25) → more MCD weight
Relative volume > 1.2x → more PDI weight
SMF holds a stable weight
The weighted average is smoothed and scaled into MPO ∈ with 50 as the neutral midline.
What makes EPZ stand out
Four orthogonal inputs (price action, momentum, pressure, flow) unified in a single bounded oscillator with consistent thresholds.
Adaptive thresholds (optional) plus robust extreme detection that also triggers on crossovers, so static thresholds work reliably too.
Confirm Extremes on Bar Close (default ON): dots/arrows/labels/alerts print on closed bars to avoid repaint confusion.
Clean dashboard, divergence tools, pre-alerts, and optional on-price gradients. Visual 3D layering uses offsets for depth only,no lookahead.
Recommended markets and timeframes
Best: liquid symbols (index futures, large-cap equities, major FX, BTC/ETH).
Timeframes: 5–15m (more signals; consider higher thresholds), 1H–4H (balanced), 1D (clear regimes).
Use caution on illiquid or very low TFs where wick/volume geometry is erratic.
Logic and thresholds
MPO ∈ ; 50 = neutral. Above 50 = bullish pressure; below 50 = bearish.
Static thresholds (defaults): thrHigh = 70, thrLow = 30; warning bands 5 pts inside extremes (65/35).
Adaptive thresholds (optional):
thrHigh = min(BaseHigh + 5, mean(MPO,100) + stdev(MPO,100) × ExtremeSensitivity)
thrLow = max(BaseLow − 5, mean(MPO,100) − stdev(MPO,100) × ExtremeSensitivity)
Extreme detection
High: MPO ≥ thrHigh with peak/slope or crossover filter.
Low: MPO ≤ thrLow with trough/slope or crossover filter.
Cooldown: 5 bars (default). A new extreme will not print until the cooldown elapses, even if MPO re-enters the zone.
Confirmation
"Confirm Extremes on Bar Close" (default ON) gates extreme markers, pre-alerts, and alerts to closed bars (non-repainting).
Divergences
Pivot-based bullish/bearish divergence; tags appear only after left/right bars elapse (lookbackPivot).
MTF
HTF MPO retrieved with lookahead_off; values can update intrabar and finalize at HTF close. This is disclosed and expected.
Inputs and defaults (key ones)
Core: Sensitivity=1.0; Analysis Period=14; Smoothing=3; Adaptive Thresholds=OFF.
Extremes: Base High=70, Base Low=30; Extreme Sensitivity=1.5; Confirm Extremes on Bar Close=ON; Cooldown=5; Dot size Small/Tiny.
Visuals: Heatmap ON; 3D depth optional; Strength bars ON; Pre-alerts OFF; Divergences ON with tags ON; Gradient candles OFF; Glow ON.
Dashboard: ON; Position=Top Right; Size=Normal; MTF ON; HTF=60m; compact overlay table on price chart.
Advanced caps: Max Oscillator Labels=80; Max Extreme Guide Lines=80; Divergence objects=60.
Dashboard: what each element means
Header: EPZ ANALYSIS.
Large readout: Current MPO; color reflects state (extreme, approaching, or neutral).
Status badge: "Extreme High/Low", "Approaching High/Low", "Bullish/Neutral/Bearish".
HTF cell (when MTF ON): Higher-timeframe MPO, color-coded vs extremes; updates intrabar, settles at HTF close.
Predicted (when MTF OFF): Simple MPO extrapolation using momentum/acceleration—illustrative only.
Thresholds: Current thrHigh/thrLow (static or adaptive).
Components: ASCII bars + values for PRV, MCD, PDI, SMF.
Market metrics: Volume Ratio (x) and ATR% of price.
Strength: Bar indicator of |MPO − 50| × 2.
Confidence: Heuristic gauge (100 in extremes, 70 in warnings, 50 with divergence, else |MPO − 50|). Convenience only, not probability.
How to read the oscillator
MPO Value (0–100): A reading of 50 is neutral. Values above ~55 are increasingly bullish (green), while below ~45 are increasingly bearish (red). Think of these as "market pressure".
Extreme Zones: When MPO climbs into the bright orange/red area (above the base-high line, default 70), the chart will display a dot and downward arrow marking that extreme. Traders often treat this as a sign to tighten stops or look for shorts. Similarly, a bright green dot/up-arrow appears when MPO falls below the base-low (30), hinting at a bullish setup.
Heatmap/Candles: If "Pressure Heatmap" is enabled, the background of the oscillator pane will fade green or red depending on MPO. Users can optionally color the price candles by MPO value (gradient candles) to see these extremes on the main chart.
Prediction Zone(optional): A dashed projection line extends the MPO forward by a small number of bars (prediction_bars) using current MPO momentum and acceleration. This is a heuristic extrapolation best used for short horizons (1–5 bars) to anticipate whether MPO may touch a warning or extreme zone. It is provisional and becomes less reliable with longer projection lengths — always confirm predicted moves with bar-close MPO and HTF context before acting.
Divergences: When price makes a higher high but EPZ makes a lower high (bearish divergence), the indicator can draw dotted lines and a "Bear Div" tag. The opposite (lower low price, higher EPZ) gives "Bull Div". These signals confirm waning momentum at extremes.
Zones: Warning bands near extremes; Extreme zones beyond thresholds.
Crossovers: MPO rising through 35 suggests easing downside pressure; falling through 65 suggests waning upside pressure.
Dots/arrows: Extreme markers appear on closed bars when confirmation is ON and respect the 5-bar cooldown.
Pre-alert dots (optional): Proximity cues in warning zones; also gated to bar close when confirmation is ON.
Histogram: Distance from neutral (50); highlights strengthening or weakening pressure.
Divergence tags: "Bear Div" = higher price high with lower MPO high; "Bull Div" = lower price low with higher MPO low.
Pressure Heatmap : Layered gradient background that visually highlights pressure strength across the MPO scale; adjustable intensity and optional zone overlays (warning / extreme) for quick visual scanning.
A typical reading: If the oscillator is rising from neutral towards the high zone (green→orange→red), the chart may see strong buying culminating in a stall. If it then turns down from the extreme, that peak EPZ dot signals sell pressure.
Alerts
EPZ: Extreme Context — fires on confirmed extremes (respects cooldown).
EPZ: Approaching Threshold — fires in warning zones if no extreme.
EPZ: Divergence — fires on confirmed pivot divergences.
Tip: Set alerts to "Once per bar close" to align with confirmation and avoid intrabar repaint.
Practical usage ideas
Trend continuation: In positive regimes (MPO > 50 and rising), pullbacks holding above 50 often precede continuation; mirror for bearish regimes.
Exhaustion caution: E High/E Low can mark exhaustion risk; many wait for MPO rollover or divergence to time fades or partial exits.
Adaptive thresholds: Useful on assets with shifting volatility regimes to maintain meaningful "extreme" levels.
MTF alignment: Prefer setups that agree with the HTF MPO to reduce countertrend noise.
Examples
Screenshots captured in TradingView Replay to freeze the bar at close so values don't fluctuate intrabar. These examples use default settings and are reproducible on the same bars; they are for illustration, not cherry-picking or performance claims.
Example 1 — BTCUSDT, 1h — E Low
MPO closed at 26.6 (below the 30 extreme), printing a confirmed E Low. HTF MPO is 26.6, so higher-timeframe pressure remains bearish. Components are subdued (Momentum/Pressure/Smart$ ≈ 29–37), with Vol Ratio ≈ 1.19x and ATR% ≈ 0.37%. A prior Bear Div flagged weakening impulse into the drop. With cooldown set to 5 bars, new extremes are rate-limited. Many traders wait for MPO to curl up and reclaim 35 or for a fresh Bull Div before considering countertrend ideas; if MPO cannot reclaim 35 and HTF stays weak, treat bounces cautiously. Educational illustration only.
Example 2 — ETHUSD, 30m — E High
A strong impulse pushed MPO into the extreme zone (≥ 70), printing a confirmed E High on close. Shortly after, MPO cooled to ~61.5 while a Bear Div appeared, showing momentum lag as price pushed a higher high. Volume and volatility were elevated (≈ 1.79x / 1.25%). With a 5-bar cooldown, additional extremes won't print immediately. Some treat E High as exhaustion risk—either waiting for MPO rollover under 65/50 to fade, or for a pullback that holds above 50 to re-join the trend if higher-timeframe pressure remains constructive. Educational illustration only.
Known limitations and caveats
The MPO line itself can change intrabar; extreme markers/alerts do not repaint when "Confirm Extremes on Bar Close" is ON.
HTF values settle at the close of the HTF bar.
Illiquid symbols or very low TFs can be noisy; consider higher thresholds or longer smoothing.
Prediction line (when enabled) is a visual extrapolation only.
For coders
Pine v6. MTF via request.security with lookahead_off.
Extremes include crossover triggers so static thresholds also yield E High/E Low.
Extreme markers and pre-alerts are gated by barstate.isconfirmed when confirmation is ON.
Arrays prune oldest objects to respect resource limits; defaults (80/80/60) are conservative for low TFs.
3D layering uses negative offsets purely for drawing depth (no lookahead).
Screenshot methodology:
To make labels legible and to demonstrate non-repainting behavior, the examples were captured in TradingView Replay with "Confirm Extremes on Bar Close" enabled. Replay is used only to freeze the bar at close so plots don't change intrabar. The examples use default settings, include both Extreme Low and Extreme High cases, and can be reproduced by scrolling to the same bars outside Replay. This is an educational illustration, not a performance claim.
Disclaimer
This script is for educational purposes only and does not constitute financial advice. Markets involve risk; past behavior does not guarantee future results. You are responsible for your own testing, risk management, and decisions.
Divergence Scalp v1.1 By DaoAn advanced divergence detection indicator based on RSI and price pivots, designed for scalpers and swing traders who want to catch high-probability reversal points.
🔑 Key Features
RSI Divergence Detection
Regular Bullish Divergence → Price makes lower low, RSI makes higher low (RSI < 50).
Hidden Bullish Divergence → Price makes higher low, RSI makes lower low (RSI < 50).
Regular Bearish Divergence → Price makes higher high, RSI makes lower high (RSI > 50).
Hidden Bearish Divergence → Price makes lower high, RSI makes higher high (RSI > 50).
Customizable Settings
Pivot lookback length & detection range.
Toggle On/Off for Bullish, Bearish, Hidden signals.
Adjustable colors for signals and labels.
RSI Visualization
Plots RSI line with overbought (70), oversold (30), and midline (50).
Background shading for quick visual reference.
Signal Labels
“Bull / H Bull” → Bullish Divergence.
“Bear / H Bear” → Bearish Divergence.
Built-in Alerts → Real-time alerts for all four divergence types.
📊 How It Helps
This tool makes it easier to spot early signs of momentum shifts, allowing traders to anticipate reversals at key levels and improve entry/exit timing.
👉 Perfect for traders who use RSI divergence + price action as a scalping or swing strategy.
Scalper - Pattern Recognition & Price Action with Divergence Scalper - Pattern Recognition & Price Action with Divergence
Overview
An educational indicator designed to demonstrate comprehensive technical analysis concepts through integrated pattern recognition, price action analysis, and divergence detection. This tool combines traditional candlestick patterns with modern institutional concepts and advanced divergence analysis for educational market study.
Educational Purpose & Originality
Core Educational Concepts
This indicator serves as a learning platform for understanding:
- **Pattern Recognition Methodology**: Systematic identification of candlestick formations
- **Price Action Theory**: Modern institutional footprint analysis
- **Divergence Analysis**: Momentum divergence detection across multiple oscillators
- **Confluence Systems**: Multi-signal integration and validation techniques
Original Implementation Features
1. Enhanced Pattern Detection Library
- **Volatility-Filtered Patterns**: ATR-based validation for pattern significance
- **Volume-Confirmed Formations**: Integration of volume analysis with pattern detection
- **Multi-Candle Pattern Recognition**: Three-candle formations and complex patterns
- **Context-Aware Detection**: Patterns validated against market structure
2. Advanced Divergence System
- **Multi-Oscillator Analysis**: RSI, CCI, and MACD divergence detection
- **Four Divergence Types**: Regular bullish/bearish and hidden bullish/bearish
- **Pivot-Based Detection**: Systematic swing high/low identification
- **Weighted Signal Integration**: Divergences integrated into confluence scoring
3. Modern Price Action Concepts
- **Fair Value Gaps (FVG)**: Identification of institutional inefficiencies
- **Order Block Detection**: Volume-validated accumulation/distribution zones
- **Dynamic Support/Resistance**: Touch-count validated levels with ATR tolerance
- **Breakout Analysis**: Volume-confirmed price breakouts
4. Intelligent Confluence System
- **Multi-Signal Aggregation**: Combines patterns, oscillators, divergences, and breakouts
- **Weighted Scoring Algorithm**: Different signal types receive appropriate weighting
- **Visual Confluence Display**: Clear indication of high-probability setups
- **Reason Tracking**: Shows which signals contribute to confluence
How to Use
Initial Configuration
1. **Enable Desired Components**: Toggle individual analysis modules based on learning focus
2. **Adjust Sensitivity Settings**: Configure pattern detection parameters for your market
3. **Select Divergence Options**: Choose oscillators and divergence types to monitor
4. **Set Confluence Requirements**: Define minimum signals needed for confirmation
Component Settings
Moving Average Configuration
- Four customizable MA lines for multi-timeframe trend analysis
- Selectable MA types (SMA, EMA, WMA, VWMA, HMA)
- Independent timeframe settings for each MA
Pattern Recognition Settings
- **Engulfing Patterns**: Strong engulfing with ATR validation
- **Doji Variations**: Standard, gravestone, and dragonfly detection
- **Hammer/Hanging Man**: Context-validated reversal patterns
- **Star Formations**: Morning and evening star patterns
- **Three Soldiers/Crows**: Momentum continuation patterns
Divergence Detection Parameters
- **Lookback Period**: Adjustable swing detection range
- **Minimum Pivot Strength**: Percentage threshold for valid pivots
- **Oscillator Selection**: RSI, CCI, MACD, or combination
- **Divergence Types**: Regular and hidden divergences
Signal Interpretation
Visual Indicators
- **Pattern Labels**: Clear marking of detected formations
- **Divergence Lines**: Visual connection between price and oscillator pivots
- **Support/Resistance Levels**: Dynamic horizontal levels with validation
- **Confluence Signals**: Large "BULL" or "BEAR" labels for high-probability setups
Dashboard Information
- Real-time oscillator values (RSI, CCI, MACD)
- Current signal count for bulls and bears
- Active divergence status
- Confluence confirmation status
Important Educational Considerations
Learning Focus
- **Pattern Study**: Understand how traditional patterns form and their limitations
- **Divergence Concepts**: Learn to identify momentum shifts before price reversals
- **Confluence Theory**: Practice combining multiple analysis techniques
- **Risk Awareness**: No pattern or signal guarantees future price movement
Limitations for Learning
- **Historical Analysis**: Patterns are identified after formation
- **No Predictive Guarantee**: Educational tool for understanding concepts, not predictions
- **Market Context Required**: Patterns should be considered within broader market context
- **Practice Required**: Effective use requires study and practice
Educational Best Practices
1. **Start Simple**: Enable one component at a time to understand each concept
2. **Paper Trade**: Practice identifying signals without real money risk
3. **Study Failed Signals**: Learn why patterns fail to improve understanding
4. **Combine with Other Analysis**: Use alongside fundamental and sentiment analysis
5. **Document Observations**: Keep a journal of pattern occurrences and outcomes
Technical Components
Indicator Architecture
- **Modular Design**: Independent modules for different analysis types
- **Performance Optimization**: Efficient calculation methods for smooth operation
- **Visual Management**: Controlled use of Pine Script drawing objects
- **Array-Based Storage**: Efficient data management for historical analysis
Calculation Methods
- **ATR-Based Validation**: Volatility-adjusted pattern filtering
- **Volume Analysis**: Comparative volume assessment for confirmation
- **Pivot Detection**: Mathematical identification of swing points
- **Statistical Validation**: Touch-count and tolerance-based S/R levels
Divergence Detection Methodology
Regular Divergences (Reversal Signals)
- **Bullish**: Price lower low + Oscillator higher low
- **Bearish**: Price higher high + Oscillator lower high
Hidden Divergences (Continuation Signals)
- **Hidden Bullish**: Price higher low + Oscillator lower low
- **Hidden Bearish**: Price lower high + Oscillator higher high
Validation Criteria
- Minimum pivot strength requirement (percentage-based)
- Lookback period for swing detection
- Multiple oscillator confirmation option
Confluence Scoring System
Signal Categories
1. **Pattern Signals** (Weight: 1): Candlestick formations
2. **Oscillator Signals** (Weight: 1): RSI/CCI extremes
3. **Breakout Signals** (Weight: 1): Volume-confirmed breaks
4. **Regular Divergences** (Weight: 2): Higher probability reversals
5. **Hidden Divergences** (Weight: 1): Trend continuation signals
Confluence Thresholds
- Adjustable minimum signal requirement (2-6 signals)
- Visual indication when threshold is met
- Detailed reason display for educational understanding
Educational Dashboard
Real-Time Metrics
- Oscillator readings (RSI, CCI, MACD)
- ATR volatility measurement
- Bull/Bear signal counts
- Divergence status
- Confluence confirmation
Customization Options
- Position selection (6 screen locations)
- Color customization for all elements
- Enable/disable individual components
Version Information
- **Version 1.1**: Added comprehensive divergence detection system
- **Educational Focus**: Designed for learning technical analysis concepts
- **Integration**: All components work together in confluence system
Disclaimer
This indicator is designed exclusively for educational purposes to demonstrate technical analysis concepts. It is not financial advice and should not be used as the sole basis for trading decisions. Past patterns and signals do not guarantee future results. Trading involves substantial risk of loss. Users should conduct their own research, practice with demo accounts, and consider seeking advice from qualified professionals before making investment decisions.
Learning Resources
The indicator includes extensive inline comments explaining each calculation and concept. Users are encouraged to study the source code to understand the methodology behind each component. This transparency aids in learning how technical indicators work and their limitations.
---
**Note**: This is an educational tool meant to help traders learn pattern recognition and technical analysis concepts. Success requires practice, additional analysis, and proper risk management.
Smart Money Techniques (SMT) Divergence by RiseSmart Money Divergence - Early Reversal Indicator
This sophisticated indicator identifies and analyzes Smart Money Divergence patterns by systematically examining pivot point relationships between a primary asset and a secondary correlated instrument.
The indicator establishes divergence signals through precise algorithmic detection when pivot pairs exhibit opposing directional patterns between the primary and secondary assets. This sophisticated analysis reveals institutional positioning discrepancies that often precede significant market reversals.
Following divergence confirmation, the indicator provides comprehensive visualization tools and optional alert systems to capitalize on these high-probability trading opportunities. Advanced filtering capabilities allow traders to customize sensitivity levels, timeframe parameters, and styling to align with their specific trading methodology.
This powerful solution delivers unmatched functionality for traders seeking to identify and exploit Smart Money positioning through multi-asset divergence analysis. With its robust detection algorithms and granular customization options, it provides capabilities that surpass conventional divergence indicators by incorporating institutional flow analysis principles highly regarded in professional trading circles.
What is Smart Money Divergence?
Smart Money Divergence is another name for Smart Money Techniques (SMT). These patterns appear when comparing swing points, of adjustable strength, between correlated assets...
When an asset makes a higher high while the other makes a lower high.
When an asset makes a lower low while the other makes a higher low.
Potential Divergence
This indicator allows users to see potential SMT before the second swing point of the pair forms. It is showcased with different styling until it's confirmation, when enough bars pass based on the user-defined strength parameter.
Multi-Timeframe
Our tool allows traders to have higher/lower-timeframe divergences displayed on the chart of their choice, further automating their trading strategies.
Input Settings:
This tool offers a lot of customizable options, which could be overwhelming to some users. Below you will find an in-depth definition of every input's purpose to complement the tooltips that can be found directly in the indicator's settings.
Symbol 📊
This parameter let's users define the asset used in search of SMT divergence. We recommend using correlated assets, like NASDAQ100 with S&P500 or EURUSD with GBPUSD...
Timeframe 🔧
This is where users choose, if they wish, to set a different timeframe which will be utilized when looking for divergences.
Mode ⚙️
Default -> Displays all SMTs.
Bullish -> Displays only bullish SMTs using low pivots.
Bearish -> Displays only bearish SMTs using high pivots.
Historical 📜
This indicator allows users to display only a specific amount of SMTs... The historical input will display the specified amount of divergences up to 25, which will then showcase all available SMTs.
Parameters
This section defines the main parameters uses in establishing and managing SMT divergences.
Pivot Strength -> Number of bars to the left and right for pivot considerations.
Pivot Lookback -> Amount of past pivots to maintain in memory.
Allow Time Difference? -> Allow up to one bar difference when comparing pivots.
Time Filters -> The indicator allows for up to two time filters...
Checkbox -> Activate this time filter.
Time Range-> Define the time range which will only validate SMTs during.
Remove After Invalidation? -> Remove drawings from invalidated SMTs.
Style
Colors for bullish and bearish SMTs respectively.
Line styling and width
Potential Divergence -> checkbox and line styling.
Text
Label Contents :
Long -> "Smart Money Divergence"
Short -> "SMT"
None -> No text.
Include Symbol? -> Include the comparing asset's symbol within label text.
Size .
Font (Default or Monospace) and Format (None, Italic or Bold).
Align -> vertical and horizontal positioning.
This indicator is for educational and informational purposes only. Past performance and historical patterns do not guarantee future results. Trading involves substantial risk of loss and is not suitable for all investors. Always conduct your own analysis and consider your financial situation before making any trading decisions. The identification of patterns does not constitute trading advice.
OBV Cloud v1.0 [PriceBlance]🌐 English
OBV Cloud v1.0 – Free & Open-Source
OBV Cloud v1.0 integrates On-Balance Volume (OBV) with a Cloud model and enhanced trend filters.
It helps traders quickly identify:
Money Flow Trend: OBV Cloud acts as a dynamic support/resistance zone.
Trend Filters: EMA9 (short-term) and WMA45 (medium-term) directly applied on OBV.
OBV–Price Divergence: Detects both regular and hidden bullish/bearish divergences.
Trend Strength: Measured with ADX calculated on OBV.
OBV Cloud is suitable for both swing and day trading, allowing traders to spot breakouts, reversals, or sustained trends through volume-based analysis.
VWAP Divergence LevelsThis is an indicator which paints levels on your chart based on degrees of historical divergence from VWAP. I conceived and designed it for my personal use trading index funds (QQQ, SPY) on the NYSE. It is one of the primary indicators I use on a daily basis, and may be of interest to traders with a focus on volume.
This indicator works by tracking, each session, the maximum amount that price diverges from VWAP that day. The lookback period is locked to 21 days, or about 1 month's worth of trading days. Bearish and bullish divergences are tracked separately.
From this data, we take the average of all maximum daily bullish divergences (the "Mean Bull" divergence amount), and paint that line relative to the current VWAP. In other words, if the VWAP for the current bar is at $2.50 and the Mean Bull divergence is $0.40, the line will be painted at $2.90. The largest value from the lookback period ("Max Bull") is also painted. The same is done for bearish divergences.
Finally, midpoints between the VWAP and the Mean and Max levels are drawn. Optionally, quarter-levels are drawn in the spaces between Mean and VWAP.
When I created this indicator, I found that price very often responds and retraces around these levels, allowing me to more easily visualize the relationship between price and volume. Personally, I have found it useful for finding entrance and exit points-- especially when the levels coincide with important previous daily levels, or other support/resistance points.
Good luck & happy trading.
Disclaimer : Use at your own risk. This indicator and the strategy described herein are not in any way financial advice, nor does the author of this script make any claims about the effectiveness of this indicator or of any related strategy, which may depend highly on the discretion and skill of the trader executing it, among many other factors outside of the author's control. The author of this script accepts no liability, and is not responsible for any trading decisions that you may or may not make as a result of this indicator. You should expect to lose money if using this indicator.
Algorithmic Value Oscillator [CRYPTIK1]Algorithmic Value Oscillator
Introduction: What is the AVO? Welcome to the Algorithmic Value Oscillator (AVO), a powerful, modern momentum indicator that reframes the classic "overbought" and "oversold" concept. Instead of relying on a fixed lookback period like a standard RSI, the AVO measures the current price relative to a significant, higher-timeframe Value Zone .
This gives you a more contextual and structural understanding of price. The core question it answers is not just "Is the price moving up or down quickly?" but rather, " Where is the current price in relation to its recently established area of value? "
This allows traders to identify true "premium" (overbought) and "discount" (oversold) levels with greater accuracy, all presented with a clean, futuristic aesthetic designed for the modern trader.
The Core Concept: Price vs. Value The market is constantly trying to find equilibrium. The AVO is built on the principle that the high and low of a significant prior period (like the previous day or week) create a powerful area of perceived value.
The Value Zone: The range between the high and low of the selected higher timeframe.
Premium Territory (Distribution Zone): When the oscillator moves into the glowing pink/purple zone above +100, it is trading at a premium.
Discount Territory (Accumulation Zone): When the oscillator moves into the glowing teal/blue zone below -100, it is trading at a discount.
Key Features
1. Glowing Gradient Oscillator: The main oscillator line is a dynamic visual guide to momentum.
The line changes color smoothly from light blue to neon teal as bullish momentum increases.
It shifts from hot pink to bright purple as bearish momentum increases.
Multiple transparent layers create a professional "glow" effect, making the trend easy to see at a glance.
2. Dynamic Volatility Histogram: This histogram at the bottom of the indicator is a custom volatility meter. It has been engineered to be adaptive, ensuring that the visual differences between high and low volatility are always clear and dramatic, no matter your zoom level. It uses a multi-color gradient to visualize the intensity of market volatility.
3. Volatility Regime Dashboard: This simple on-screen table analyzes the histogram and provides a clear, one-word summary of the current market state: Compressing, Stable, or Expanding.
How to Use the AVO: Trading Strategies
1. Reversion Trading This is the most direct way to use the indicator.
Look for Buys: When the AVO line drops into the teal "Accumulation Zone" (below -100), the price is trading at a discount. Watch for the oscillator to form a bottom and start turning up as a signal that buying pressure is returning.
Look for Sells: When the AVO line moves into the pink "Distribution Zone" (above +100), the price is trading at a premium. Watch for the oscillator to form a peak and start turning down as a signal that selling pressure is increasing.
2. Best Practices & Settings
Timeframe Synergy: The AVO is most effective when your chart timeframe is lower than your selected "Value Zone Source." For example, if you trade on the 1-hour chart, set your Value Zone to "Previous Day."
Confirmation is Key: This indicator provides powerful context, but it should not be used in isolation. Always combine its readings with your primary analysis, such as market structure and support/resistance levels.
RSI with Divergence and Multi TimeframeThe VEGA RSI detects divergences according to the standard rules of valid divergences and plots 2 more additional timeframes as a dot with a label for the timeframe.
Divergences can indicate weakening momentum and potential reversals.
For the divergences the indicator uses the following rules:
- Divergences are within the set lookback period. The standard rule is 14 bars. This is also the default setting. Traders can change the lookback period in the settings if they want to be less aggressive on the standard rule.
- A valid bullish divergence is oversold first and does not reset too close to the midline in between its lows.
- A valid bearish divergence is overbought first and does not reset too close to the midline in between its highs.
This eliminates invalid divergences that occur between 70 and 50 or between 30 and 50. And it eliminates divergences that are invalid because the RSI was reset in between.
Traders can also change the aggressiveness of the pivot detection in the settings.
Additionally the VEGA RSI plots two more timeframes of the traders choice.
To make it visually appealing and not too crowded with lines the indicator only plots the current value and not historic values.
The intended use for this feature is to choose two different timeframes than the traders most used chart timeframe and to keep an overview of where the RSI on those two timeframes is.
Its usefulness can be compared to that of an RSI screener that shows traders where the asset's RSI is on specified timeframes to gauge for strength or weakness.
BTC Lead(v3.31)Summary
A 15-minute, BTC-focused lead/divergence indicator designed for simple execution: when a ▲/▼ appears, start scaling in with small clips; when a ■ (black square) prints, it means the indicator’s edge has weakened (not that the market trend is over). Real-time expected move label and alert templates included. Do not fade the signal—if you must try the opposite side, wait until a ■ appears.
How to read the signals
▲ Green → Long bias increased
▼ Pink → Short bias increased
■ Black → Edge weakened; consider taking profits/standing aside
Multiple level markers on the same bar (L2/L3/L4) = stronger setup
Live label (top of chart)
A single line shows the Expected Move (%) with arrow and color-coded background (↑ green / ↓ pink) for instant direction clarity.
Tip: Use Replay to watch label → ▲/▼ → ■ sequences on past data.
Confidence filter (important)
|Expected Move| < 1% → treat as noise / ignore
If considering the opposite direction, wait for a ■ first (edge reduced).
Scope
Internal calculations are fixed to 15-minute resolution.
Built for BTC 15m. It may display on other crypto symbols/timeframes, but performance is not guaranteed.
Alerts
Ready-made conditions: ENTRY LONG / ENTRY SHORT / EXIT LONG / EXIT SHORT. Add an alert on this indicator and choose the condition you want.
Risk note
For research/education only. Past behavior doesn’t guarantee future results. Predefine position sizing, stops, and profit-taking, and execute consistently.
万物·太初🔸Telegram:@lunarvoyagerss
👑付费会员可以享受使用权限
Divergence Profile Volumen BBand OpenInterest Trendline MultiTimeFrame Liquidity
cd_indiCATor_CxGeneral:
This indicator is the redesigned, simplified, and feature-enhanced version of the previously shared indicators:
cd_cisd_market_Cx, cd_HTF_Bias_Cx, cd_sweep&cisd_Cx, cd_SMT_Sweep_CISD_Cx, and cd_RSI_divergence_Cx.
Within the holistic setup, the indicator tracks:
• HTF bias
• Market structure (trend) in the current timeframe
• Divergence between selected pairs (SMT)
• Divergence between price and RSI values
• Whether the price is in an important area (FVG, iFVG, and Volume Imbalance)
• Whether the price is at a key level
• Whether the price is within a user-defined special timeframe
The main condition and trigger of the setup is an HTF sweep with CISD confirmation on the aligned timeframe.
When the main condition occurs, the indicator provides the user with a real-time market status summary, enriched with other data.
________________________________________
What’s new?
-In the SMT module:
• Triad SMT analysis (e.g.: NQ1!, ES1!, and YM1!)
• Dyad SMT analysis (e.g.: EURUSD, GBPUSD)
• Alternative pair definition and divergence analysis for non-correlated assets
o For crypto assets (xxxUSDT <--> xxxUSDT.P) (e.g.: SOLUSDT.P, SOLUSDT)
o For stocks, divergence analysis by comparing the asset with its value in another currency
(BIST:xxx <--> BIST:xxx / EURTRY), (BAT:xxx <--> BAT:xxx / EURUSD)
-Special timeframe definition
-Configurable multi-option alarm center
-Alternative summary presentation (check list / status table / stickers)
________________________________________
Details and usage:
The user needs to configure four main sections:
• Pair and correlated pairs
• Timeframes (Auto / Manual)
• Alarm center
• Visual arrangement and selections
Pair Selections:
The user should adjust trading pairs according to their trade preferences.
Examples:
• Triad: NQ1!-ES1!-YM1!, BTC-ETH-Total3
• Dyad: NAS100-US500, XAUUSD-XAGUSD, XRPUSDT-XLMUSDT
Single pairs:
-Crypto Assets:
If crypto assets are not in the triad or dyad list, they are automatically matched as:
Perpetual <--> Spot (e.g.: DOGEUSDT.P <--> DOGEUSDT)
If the asset is already defined in a dyad list (e.g., DOGE – SHIB), the dyad definition takes priority.
________________________________________
-Stocks:
If stocks are defined in the dyad list (e.g.: BIST:THYAO <--> BIST:PGSUS), the dyad definition takes priority.
If not defined, the stock is compared with its value in the selected currency.
For example, in the Turkish Stock Exchange:
BIST:FENER stock, if EUR is chosen from the menu, is compared as BIST:FENER / OANDA:EURTRY.
Here, “OANDA” and the stock market currency (TRY) are automatically applied for the exchange rate.
For NYSE:XOM, its pair will be NYSE:XOM / EURUSD.
________________________________________
Timeframes:
By default, the menu is set to “Auto.” In this mode, aligned timeframes are automatically selected.
Aligned timeframes (LTF-HTF):
1m-15m, 3m-30m, 5m-1h, 15m-4h, 1h-D, 4h-W, D-M
Example: if monitoring the chart on 5m:
• 1h sweep + 5m CISD confirmation
• D sweep + 1h CISD confirmation (bias)
• 5m market structure
• 1h SMT and 1h RSI divergence analysis
For manual selections, the user must define the timeframes for Sweep and HTF bias.
FVG, iFVG, and Volume Imbalance timeframes must be manually set in both modes.
________________________________________
Alarm Center:
The user can choose according to preferred criteria.
Each row has options.
“Yes” → included in alarm condition.
“No” → not included in alarm condition.
If special timeframe criteria are added to the alarm, the hour range must also be entered in the same row, and the “Special Zone” tab (default: -4) should be checked.
Key level timeframes and plot options must be set manually.
Example alarm setup:
Alongside the main Sweep + CISD condition, if we also want HTF bias + Trend alignment + key level (W, D) and special timeframe (09:00–11:00), we should set up the menu as follows:
________________________________________
Visual Arrangement and Selections:
Users can control visibility with checkboxes according to their preferences.
In the Table & Sticker tab, table options and labels can be controlled.
• Summary Table has two options: Check list and Status Table
• From the HTF bias section, real-time bias and HTF sweep zone (optional) are displayed
• The RSI divergence section only shows divergence analysis results
• The SMT 2 sub-section only functions when triad is selected
Labels are shown on the bar where the sweep + CISD condition occurs, displaying the current situation.
With the Check box option, all criteria’s real-time status is shown (True/False).
Status Table provides a real-time summary table.
Although the menu may look crowded, most settings only need to be adjusted once during initial use.
________________________________________
What’s next?
• Suggestions from users
• Standard deviation projection
• Mitigation/order blocks (cd special mtg)
• PSP /TPD
________________________________________
Final note:
Every additional criterion in the alarm settings will affect alarm frequency.
Multiple conditions occurring at the same time is not, by itself, sufficient to enter a trade—you should always apply your own judgment.
Looking forward to your feedback and suggestions.
Happy trading! 🎉
PowerDelta Oscillator [FxScripts]PowerDelta Oscillator
The PowerDelta Oscillator measures real-time buying and selling pressure using the proprietary PowerDelta Algorithm. By quantifying order flow, it identifies whether the market conditions favor bullish or bearish activity, helping traders determine directional bias for both trend and countertrend setups.
Calculation Methodology
The PowerDelta computes the delta (difference) between buying and selling pressure by integrating both price movement and volume behavior rather than relying solely on volume or price-based approximations like other oscillators.
The PowerDelta Algorithm evaluates six core price-volume conditions:
Price advancing with increasing volume
Price advancing with decreasing volume
Price consolidating with increasing volume
Price consolidating with decreasing volume
Price declining with increasing volume
Price declining with decreasing volume
From these conditions, the algorithm derives:
Accumulation vs Distribution phases
Buyer/Seller exhaustion points
Effort vs No Result scenarios (volume pressure failing to move price)
Operational Use
The PowerDelta Oscillator has three operational modes:
Trend
Countertrend
Blended (Trend/Countertrend hybrid)
Trend Mode
In Trend Mode, the indicator plots an oscillator that fluctuates between positive and negative values:
Positive readings indicate dominant buying pressure
Negative readings indicate dominant selling pressure
The magnitude of the reading reflects the intensity of the pressure
Crossovers at the zero line provide directional shifts:
Negative → Positive: bullish transition
Positive → Negative: bearish transition
Additionally:
Sustained positive values indicate control by buyers, long bias is favoured
Sustained negative values indicate control by sellers, short bias is favoured
The magnitude of displacement from zero provides additional confirmation of market strength or weakness
Countertrend Mode
In Countertrend Mode, the primary use of the PowerDelta Oscillator is to locate divergences between price and the oscillator (as visualised on the chart above) which helps traders pinpoint potential reversals
The oscillator is much more sensitive in this mode, making highs, lows and hence divergences, easier to spot
Like Trend Mode, the magnitude of displacement from zero provides additional confirmation of market strength or weakness
The various Analytical Scenarios detailed below provide detailed use cases for both Trend and Countertrend Mode
Blended Mode
To provide maximum flexibility, there’s also a third Blended Mode
This mode combines elements of the two primary modes and can be used as part of a hybrid approach making it easier to spot both trends and reversals
Alternative Source
The PowerDelta algorithm utilises volume data therefore it’s best to use the most reliable source of volume data for the instrument being traded
For instance, whilst XAUUSD provides excellent results with most forex brokers, slightly better results may be achieved using GC futures data which comes direct from the exchange (data package required)
To use a third-party source, select 'Alternative' and input the relevant source
This can also be used as a way to monitor correlated pairs by adding two instances of the PowerDelta to the same chart, selecting pair 1 e.g. EURUSD as the first instance and the correlated pair e.g. USDCHF as the second instance
Thorough backtesting advised
Analytical Scenarios
Accumulation: High positive oscillator readings combined with upward price movement suggest active accumulation.
Optimal strategy: Monitor pullbacks for potential long entries or wait for a divergence with price and potential reversal.
Distribution: High negative oscillator readings with downward price movement indicate distribution.
Optimal strategy: Monitor pullbacks for potential short entries or wait for a divergence with price and potential reversal.
Buyer Exhaustion: Price forms higher highs while oscillator value declines. Indicates weakening buying strength and potential bearish reversal.
Seller Exhaustion: Price forms lower lows while oscillator value contracts. Indicates weakening selling strength and potential bullish reversal.
Effort / No Result (Buyers): Positive oscillator expansion without higher highs indicates aggressive buying without price confirmation, suggesting overbought conditions and a potential bearish reversal.
Effort / No Result (Sellers): Negative oscillator expansion without lower lows indicates aggressive selling without price confirmation, suggesting oversold conditions and a potential bullish reversal.
Alerts
To trigger alerts when market bias transitions across the zero line:
Right-click on chart → Add Alert on PowerDelta
Condition: PowerDelta → Select Mode
Type: Crossing
Value: 0
Execution: Once Per Bar Close
Adjust additional parameters as required
Performance and Optimization
Backtesting Results: The PowerDelta Oscillator has undergone extensive backtesting across various instruments, timeframes and market conditions, demonstrating strong performance in identifying strong trends and reversals. User backtesting is strongly encouraged as it allows traders to optimize settings for their preferred instruments and timeframes.
Optimization for Diverse Markets: The PowerDelta Oscillator can be used on crypto, forex, indices, commodities and stocks. The PowerDelta Oscillator's algorithmic foundation ensures consistent performance across a variety of instruments. The Trend, Countertrend and Blended Modes make it easy for the trader to set up based on their individual trading style.
Educational Resources and Support
Users of the PowerDelta Oscillator benefit from comprehensive educational resources and full access to FxScripts Support. This ensures traders can maximize the potential of the PowerDelta Oscillator and other tools in the Sigma Indicator Suite by learning best practices and gaining insights from an experienced team of traders.
Silent Trigger Silent Trigger combines widely used concepts under one scoring engine. Each module adds weight only when its conditions are met:
1. Higher-Timeframe (HTF) context
• Requests 1H and the next HTF up (e.g., 4H/D) with request.security(...) on confirmed bars only.
• Uses RSI(14) and a MACD line (EMA12–EMA26 difference) for bias.
• By default HTF weights the score. There is an option to require HTF alignment if you prefer a hard filter.
2. Market regime
• ADX for trend strength.
• Bollinger Band width and a fractal-energy proxy to detect squeeze/coiling vs expansion.
3. Smart-money / Wyckoff structure
• High-volume narrow bars, absorption, spring/upthrust, and liquidity grabs past recent swing highs/lows.
4. Momentum & divergences
• RSI and MACD-line divergences (regular + hidden) and simple exhaustion checks.
5. Fair Value Gaps (FVG)
• 3-bar gap with mid-gap revisit confirmation.
6. Volume context
• Relative volume and a compact 10-bin rolling volume profile to locate HVN proximity.
7. Sessions / time filter
• Optional London/NY “kill zone” participation filter.
8. Correlation (optional)
• Simple BTC trend check for USD-quoted markets.
Pre-Move (yellow) logic:
Triggers only when the market is compressed (squeeze/low fractal energy), ADX is rising, the MACD histogram is near zero (pressure building), and there is a money-flow impulse (MFI slope and/or OBV Z-score spike).
The yellow diamond is plotted on the side of the expected move:
• Below for bullish reversals / Above for bullish breakouts.
• Above for bearish reversals / Below for bearish breakouts.
A built-in cooldown keeps yellows from spamming.
⸻
What appears on the chart
• Bull diamond (green): Total score ≥ your threshold and > bear score.
• Bear diamond (magenta): Mirror of the above.
• Pre-move (yellow): Early heads-up; use it with HTF context and structure.
All diamonds are intentionally tiny to minimize clutter.
⸻
Key settings
• Signal Mode & Min Probability – tighten/loosen confirmations.
• Use Higher TF in Scoring – soft weighting (default).
• Require HTF Alignment – optional hard gate.
• Module toggles – Smart Money, Wyckoff, FVG, Correlation, Sessions.
• Pre-Move – enable, cooldown bars, MFI levels, OBV Z-score threshold.
⸻
How to use (practical)
1. Choose a TF that matches your style (5–15m intraday, 1H–4H swing).
2. Read HTF bias first; trade in that direction unless structure clearly supports a reversal.
3. Treat yellow as “get ready.” Act only when a green/magenta prints with structure (S/R, FVG, HVN) and acceptable risk.
4. Place stops beyond the liquidity level or FVG midpoint; size positions conservatively.
⸻
Repainting & HTF policy
• No lookahead is used anywhere.
• request.security is called on confirmed bars; the HTF MACD line is computed inside the HTF context (single series), not by indexing a tuple.
• Signals are designed for bar-close confirmation. Intra-bar alerts can change until the bar closes.
⸻
Limitations (honest)
• Money-flow features depend on volume quality; thin/synthetic volume reduces reliability.
• Pre-moves can fail during unscheduled news shocks or when HTF trend is dominant.
• This is not financial advice. You are responsible for entries, exits, and risk.
⸻
Alerts
Built-in bull/bear alerts include direction and a probability bucket (Basic/Moderate/Strong/Extreme).
Pre-move yellows are primarily visual; you can still set an alert on their plot condition if desired.
⸻
Why this isn’t a “mashup”
• A single probability engine blends HTF bias, structure (liquidity/Wyckoff/FVG), regime, and volume into a score, rather than stacking unrelated indicators.
• A pre-move detector that requires compression + rising trend energy + money-flow impulse, and places the marker on the side of the expected move, with cooldown control.
• A lightweight rolling HVN check to bias continuation vs mean-reversion near key nodes.
⸻
Changelog (summary)
• Current release: pre-move module, HTF hard-gate option, tiny diamonds, clarified HTF/no-repaint policy, session filter tidy-up.
𝑨𝒔𝒕𝒂𝒓 - TyrAstar – Tyr is a dynamic RSI system with adaptive EMA and divergence detection.
@v1.0
Dynamic RSI period adjusts to volatility & market activity
Adaptive EMA smooths RSI with variable length
Optional Gaussian Kernel smoothing for noise reduction
Highlights bullish & bearish divergences automatically
Clean visualization with color coding and fills
Works in real time with no repainting
CandelaCharts - Vertex Oscillator 📝 Overview
The Vertex Oscillator is a proprietary momentum-based oscillator designed to detect periods of deep undervaluation (accumulation) and excessive euphoria (distribution) in markets.
By combining price deviation, volume normalization, and volatility scaling, the indicator identifies extreme conditions and provides actionable signals for both traders and analysts.
📦 Features
Volume-normalized momentum – integrates price deviations with relative volume weighting.
Adaptive volatility scaling – reduces distortion from sudden spikes and low-volume noise.
Z-score normalization – standardizes readings into intuitive zones.
Accumulation & Euphoria detection – highlights market extremes with color-coded zones.
Built-in alerts – instantly notify traders when critical thresholds are crossed.
⚙️ Settings
Source: The input price source.
Lookback: Number of bars used for deviation & volatility calculation.
Smoothing: Smoothing length applied to oscillator.
Colors: Customize bullish, bearish, and neutral oscillator line colors.
Zones: Set shading colors for accumulation (≤ -2) and euphoria (≥ +2).
Line: Choose oscillator line width and color.
⚡️ Showcase
≤ -2 (Green Zone)
Market undervaluation / accumulation opportunities.
≥ +2 (Red Zone)
Market euphoria / overheated conditions.
0 (Neutral Line)
Balanced state.
Divergences
📒 Usage
The Vertex Oscillator is most effective when interpreted through its key zones, helping traders quickly spot undervaluation, euphoria, or neutral market conditions.
Identify Accumulation – When the oscillator drops below -2, markets may be undervalued.
Spot Euphoria – When the oscillator rises above +2, markets may be overheated.
Neutral Zone – Around 0, conditions are balanced with no strong bias.
Best Practice – Use alongside trend, support/resistance, or volume tools to confirm signals.
🚨 Alerts
The Vertex Oscillator includes built-in alerts to help traders react instantly when the market enters extreme conditions. Instead of constantly monitoring the chart, alerts notify you in real time when accumulation or euphoria thresholds are triggered.
Deep Accumulation – triggers when the oscillator crosses below -2, signaling undervaluation.
Euphoria Triggered – triggers when the oscillator crosses above +2, signaling overheated conditions.
⚠️ Disclaimer
These tools are exclusively available on the TradingView platform.
Our charting tools are intended solely for informational and educational purposes and should not be regarded as financial, investment, or trading advice. They are not designed to predict market movements or offer specific recommendations. Users should be aware that past performance is not indicative of future results and should not rely on these tools for financial decisions. By using these charting tools, the purchaser agrees that the seller and creator hold no responsibility for any decisions made based on information provided by the tools. The purchaser assumes full responsibility and liability for any actions taken and their consequences, including potential financial losses or investment outcomes that may result from the use of these products.
By purchasing, the customer acknowledges and accepts that neither the seller nor the creator is liable for any undesired outcomes stemming from the development, sale, or use of these products. Additionally, the purchaser agrees to indemnify the seller from any liability. If invited through the Friends and Family Program, the purchaser understands that any provided discount code applies only to the initial purchase of Candela's subscription. The purchaser is responsible for canceling or requesting cancellation of their subscription if they choose not to continue at the full retail price. In the event the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable.
We do not offer reimbursements, refunds, or chargebacks. Once these Terms are accepted at the time of purchase, no reimbursements, refunds, or chargebacks will be issued under any circumstances.
By continuing to use these charting tools, the user confirms their understanding and acceptance of these Terms as outlined in this disclaimer.
Moving Average Adaptive RSI [BackQuant]Moving Average Adaptive RSI
What this is
A momentum oscillator that reshapes classic RSI into a zero-centered column plot and makes it adaptive. It builds RSI from two parts:
• A sensitivity window that scans several recent bars to capture the strongest up and down impulses.
• A selectable moving average that smooths those impulses before computing RSI.
The output ranges roughly from −100 to +100 with 0 as the midline, with optional extra smoothing and built-in divergence detection.
How it works
Impulse extraction
• For each bar the script inspects the last rsi_sen bars and collects upward and downward price changes versus the current price.
• It keeps the maximum upward change and maximum downward change from that window, emphasizing true bursts over single-bar noise.
MA-based averaging
• The up and down impulse series are averaged with your chosen MA over rsi_len bars.
• Supported MA types: SMA, EMA, DEMA, WMA, HMA, SMMA (RMA), TEMA.
Zero-centered RSI transform
• RS = UpMA ÷ DownMA, then mapped to a symmetric scale: 100 − 200 ÷ (1 + RS) .
• Above 0 implies positive momentum bias. Below 0 implies negative momentum bias.
Optional extra smoothing
• A second smoothing pass can be applied to the final oscillator using smoothing_len and smooth_type . Toggle with “Use Extra Smoothing”.
Visual encoding
• The oscillator is drawn as columns around the zero line with a gradient that intensifies toward extremes.
• Static bands mark 80 to 100 and −80 to −100 for extreme conditions.
Key inputs and what they change
• Price Source : input series for momentum.
• Calculation Period (rsi_len) : primary averaging window on up and down components. Higher = smoother, slower.
• Sensitivity (rsi_sen) : how many recent bars are scanned to find max impulses. Higher = more responsive to bursts.
• Calculation Type (ma_type) : MA family that shapes the core behavior. HMA or DEMA is faster, SMA or SMMA is slower.
• Smoothing Type and Length : optional second pass to calm noise on the final output.
• UI toggles : show or hide the oscillator, candle painting, and extreme bands.
Reading the oscillator
• Midline cross up (0) : momentum bias turning positive.
• Midline cross down (0) : momentum bias turning negative.
• Positive territory :
– 0 to 40: constructive but not stretched.
– 40 to 80: strong momentum, continuation more likely.
– Above 80: extreme risk of mean reversion grows.
• Negative territory : mirror the same levels for the downside.
Divergence detection
The script plots four divergence types using pivot highs and lows on both price and the oscillator. Lookbacks are set by lbL and lbR .
• Regular bullish : price lower low, oscillator higher low. Possible downside exhaustion.
• Hidden bullish : price higher low, oscillator lower low. Bias to trend continuation up.
• Regular bearish : price higher high, oscillator lower high. Possible upside exhaustion.
• Hidden bearish : price lower high, oscillator higher high. Bias to trend continuation down.
Labels: ℝ for regular, ℍ for hidden. Green for bullish, red for bearish.
Candle coloring
• Optional bar painting: green when the oscillator is above 0, red when below 0. This is for visual scanning only.
Strengths
• Adaptive sensitivity via a rolling impulse window that responds to genuine bursts.
• Configurable MA core so you can match responsiveness to the instrument.
• Zero-centered scale for simple regime reads with 0 as a clear bias line.
• Built-in regular and hidden divergence mapping.
• Flexible across symbols and timeframes once tuned.
Limitations and cautions
• Trends can remain extended. Treat extremes as context rather than automatic reversal signals.
• Divergence quality depends on pivot lookbacks. Short lookbacks give more signals with more noise. Long lookbacks reduce noise but add lag.
• Double smoothing can delay zero-line transitions. Balance smoothness and timeliness.
Practical usage ideas
• Regime filter : only take long setups from your separate method when the oscillator is above 0, shorts when below 0.
• Pullback confirmation : in uptrends, look for dips that hold above 0 or turn up from 0 to 40. Reverse for downtrends.
• Divergence as a heads-up : wait for a zero-line cross or a price trigger before acting on divergence.
• Sensitivity tuning : start with rsi_sen 2 to 5 on faster timeframes, increase slightly on slower charts.
Alerts
• MA-A RSI Long : oscillator crosses above 0.
• MA-A RSI Short : oscillator crosses below 0.
Use these as bias or timing aids, not standalone trade commands.
Settings quick reference
• Calculation : Price Source, Calculation Type, Calculation Period, Sensitivity.
• Smoothing : Smoothing Type, Smoothing Length, Use Extra Smoothing.
• UI : Show Oscillator, Paint Candles, Show Static High and Low Levels.
• Divergences : Pivot Lookback Left and Right, Div Signal Length, Show Detected Divergences.
Final thoughts
This tool reframes RSI by extracting strong short-term impulses and averaging them with a moving-average model of your choice, then presenting a zero-centered output for clear regime reads. Pair it with your structure, risk and execution process, and tune sensitivity and smoothing to the market you trade.
cd_RSI_Divergence_CxGeneral:
The Relative Strength Index (RSI) is a momentum oscillator widely used by traders in price analysis. In addition to showing overbought/oversold zones, divergences between RSI and price are also tracked to identify trading opportunities.
The general consensus is that oscillators alone are not sufficient for entries and should be evaluated together with multiple confirmations.
This oscillator is designed as an additional confirmation/compatible tool for strategies that already use higher time frame (HTF) sweeps and lower time frame (LTF) confirmations such as Change in State Delivery (CISD) or Change of Character (CHOCH).
Features:
While RSI oscillators are commonly displayed in line format (classic), this indicator also offers candlestick-style visualization.
Depending on the selected source, period length, and EMA length, RSI can be displayed as lines and/or candlesticks.
Divergence detection & tracking:
Price and RSI values are monitored on the chosen higher time frame (from the menu) to determine highs and lows. For divergence display, the user can choose between two modes:
1- Alignment with HTF Sweep
2- All
1 - Alignment with HTF Sweep:
First, the price must sweep the previous high/low of the candle on the HTF (i.e., break it) but fail to continue in that direction and return inside (sweep).
If this condition is met, RSI values are checked:
If price makes a high sweep but RSI fails to make a new high → divergence is confirmed.
If price makes a low sweep but RSI fails to make a new low → divergence is confirmed.
Divergence is then displayed on the chart.
2 - All:
In this mode, sweep conditions are ignored. Divergence is confirmed if:
Price makes a new high on HTF but RSI does not.
RSI makes a new high on HTF but price does not.
Price makes a new low on HTF but RSI does not.
RSI makes a new low on HTF but price does not.
Menu & Settings:
RSI visualization (source + period length + EMA period length)
Option to choose classic/candlestick style display
Color customization
Higher time frame selection
Adjustable HTF boxes and table display
Final notes:
This oscillator is designed as an additional confirmation tool for strategies based on HTF sweep + LTF CISD/CHOCH confirmation logic. The chosen HTF in the oscillator should match the time frame where sweeps are expected.
Divergence signals from this oscillator alone will not make you profitable.
For spot trades, monitoring sweeps and divergences on higher time frames is more suitable (e.g., Daily–H1 / Weekly–H4).
My personal usage preferences:
Entry TF: 3m
HTF bias: Daily + H1
Sweep + CISD: 30m / 3m
Market Structure: 3m
RSI divergence: HTF = 30m
If all of them align bullish or bearish ( timeframe alignment ), I try to take the trade.
I’d be glad to hear your feedback and suggestions for improvement.
Happy trading!
Dynamic Value Zone Oscillator (DVZO) - @CRYPTIK1Dynamic Value Zone Oscillator (DVZO) @CRYPTIK1
Introduction: What is the DVZO?
The Dynamic Value Zone Oscillator (DVZO) is a powerful momentum indicator that reframes the classic "overbought" and "oversold" concept. Instead of relying on a fixed lookback period like a standard RSI or Stochastics, the DVZO measures the current price relative to a significant, higher-timeframe Value Zone (e.g., the previous week's entire price range).
This gives you a more contextual and structural understanding of price. The core question it answers is not just "Is the price moving up or down quickly?" but rather, "Where is the current price in relation to its recently established area of value?"
This allows traders to identify true "premium" (overbought) and "discount" (oversold) levels with greater accuracy, leading to higher-probability reversal and trend-following signals.
The Core Concept: Price vs. Value
The market is constantly trying to find equilibrium or "fair value." The DVZO is built on the principle that the high and low of a significant prior period (like the previous day, week, or month) create a powerful area of perceived value.
The Value Zone: The range between the high and low of the selected higher timeframe. The midpoint of this zone is the equilibrium (0 line on the oscillator).
Premium Territory (Distribution Zone): When price breaks above the Value Zone High (+100 line), it is trading at a premium. This is an area where sellers are more likely to become active and buyers may be over-extending.
Discount Territory (Accumulation Zone): When price breaks below the Value Zone Low (-100 line), it is trading at a discount. This is an area where buyers are more likely to see value and sellers may be exhausted.
By anchoring its analysis to these significant structural levels, the DVZO filters out much of the noise from lower-timeframe price fluctuations.
Key Features
The Oscillator:
The main blue line visualizes exactly where the current price is within the context of the Value Zone.
+100: The high of the Value Zone.
0: The midpoint/equilibrium of the Value Zone.
-100: The low of the Value Zone.
Automatic Divergence Detection:
The DVZO automatically identifies and plots bullish and bearish divergences on both the price chart and the oscillator itself.
Bullish Divergence: Price makes a new low, but the DVZO makes a higher low. This is a strong signal that downside momentum is fading and a reversal to the upside is likely.
Bearish Divergence: Price makes a new high, but the DVZO makes a lower high. This indicates that upside momentum is waning and a pullback is probable.
Value Migration Histogram:
The purple histogram in the background visualizes the width of the Value Zone.
Expanding Histogram: Volatility is increasing, and the accepted value range is getting wider.
Contracting Histogram: Volatility is decreasing, and the price is coiling in a tight range, often in anticipation of a major breakout.
How to Use the DVZO: Trading Strategies
1. Reversion Trading
This is the most direct way to use the indicator.
Look for Buys: When the DVZO line drops below -100, the price is in the "Accumulation Zone." Wait for the price to show signs of strength (e.g., a bullish candle pattern) and the DVZO line to start turning back up towards the -100 level. This is a high-probability mean reversion setup.
Look for Sells: When the DVZO line moves above +100, the price is in the "Distribution Zone." Look for signs of weakness (e.g., a bearish engulfing candle) and the DVZO line to start turning back down towards the +100 level.
2. Divergence Trading
Divergences are powerful confirmation signals.
Entry Signal: When a Bullish Divergence appears, it provides a strong entry signal for a long position, especially if it occurs within the Accumulation Zone (below -100).
Exit/Short Signal: When a Bearish Divergence appears, it can serve as a signal to take profit on long positions or to look for a short entry, especially if it occurs in the Distribution Zone (above +100).
3. Best Practices & Settings
Timeframe Synergy: The DVZO is most effective when your chart timeframe is lower than your selected Value Zone Source.
For Day Trading (e.g., 1H, 4H chart): Use the "Previous Day" Value Zone.
For Swing Trading (e.g., 1D, 12H chart): Use the "Previous Week" or "Previous Month" Value Zone.
Confirmation is Key: The DVZO is a powerful tool, but it should not be used in isolation. Always combine its signals with other forms of analysis, such as market structure, support/resistance levels, and candlestick patterns, for confirmation.
SMT for Time-Based Sessions [ufo]SMT for Time-Based Sessions identifies when one asset breaks a session’s high/low while another correlated asset fails to do so. This imbalance often signals engineered liquidity grabs, reversals, or continuation setups. By focusing on divergences within specific trading sessions (London, New York AM, Lunch, New York PM, Asia, Daily or your own custom windows), the tool filters out noise and pinpoints only the most meaningful SMT divergences across multiple symbols in real-time.
Core Concept:
SMT (Smart Money Technique/Tool/Time) is a concept popularized by Inner Circle Trader (ICT) that suggests that when correlated or inversely correlated instruments fail to confirm each other's price movements (e.g., one breaks a high/low while the other doesn’t), it often indicates:
Liquidity manipulation by institutional players
Potential reversal points in the market
Weakness or strength in the current trend
Stop hunt operations before significant moves
This indicator identifies these divergences by comparing your chart symbol against up to two comparison symbols across different sessions and timeframes.
How Time-Based SMT Works:
Unlike basic divergence tools, this indicator is built specifically for Session-Based and Timeframe-Based SMT tracking. It continuously monitors intraday sessions and higher timeframes, then plots divergences the moment they occur.
Time-Based Session SMT
Session Tracking: Monitors highs and lows during each session
Post-Session Analysis: After a session ends, tracks whether price breaks session levels
Divergence Detection: When the main symbol breaks a high/low but comparison symbols don’t (or vice versa), an SMT signal is triggered
(e.g. Nasdaq traded above London high while S&P500 does not)
Visual Confirmation: Lines connect the session reference to the current extreme, with labels showing the diverging session, high/low, and symbol, this information is also displayed in the Info Panel
This will update if a new high/low extreme is made while the SMT is still valid, if invalidated these will be removed from the chart
Example:
This NQ chart includes ES and YM as comparison symbols. At 03:20 AM New York time, both ES and YM broke the Asia session low (20:00 – 00:00), while NQ did not. This creates a bullish session divergence , which the indicator immediately detects and plots.
Although the chart shows three symbols for illustration, you don’t need to manually monitor comparison charts when using this indicator, the SMT divergence will be plotted automatically as soon as it occurs
Consecutive Candle SMT (CC SMT)
Previous Candle Reference: Uses the previous candle's high/low from the selected timeframe
Real-Time Comparison: Monitors if current price breaks these levels across all symbols
Instant Detection: Triggers SMT immediately when divergence occurs
Dynamic Updates: Lines and labels update in real-time as new extremes form and are automatically removed if invalidated
Example:
Here I configured CC SMT Timeframe 1 to monitor the previous 4-hour candle’s high/low. On this NQ chart with ES as a comparison symbol, ES broke above the prior 4-hour high at 14:00 New York time, while NQ did not, showing relative weakness creating a bearish CC SMT divergence
This chart is just an illustration. The indicator will automatically plot SMT divergences on your main chart, regardless of the timeframe you’re viewing
How To Use:
This indicator is not a buy/sell signal on its own. Instead, it is designed to highlight Time-Based SMT divergences so you can combine them with your existing trading strategy or model. It should be used as an extra layer of confluence, helping you confirm trade ideas.
Select your comparison symbols
For example:
Futures: NQ vs ES/YM
Forex: EURUSD vs GBPUSD/DXY(inversely)
Crypto: BTC vs ETH
Commodities: Gold vs Silver
Choose which sessions or candle timeframes you want the indicator to monitor
Watch for divergences the indicator plots when one symbol breaks a high/low while the other does not
Use these divergences as confluence, alongside your own strategy and risk management rules
Key Features:
Multiple Comparison Symbols
Symbol 1 & Symbol 2: Compare your main chart against up to 2 correlated instruments
Symbol Inversion: Perfect for inversely correlated pairs (e.g., EURUSD vs DXY)
Session-Based SMT Tracking
Monitors 7 fully customizable trading sessions with the default being:
London Session (2:00-5:00 NY time)
NY AM Session (9:30-12:00 NY time)
Lunch Session (12:00-13:00 NY time)
NY PM Session (13:00-16:00 NY time)
Asia Session (20:00-00:00 NY time)
Custom Session 6 (if you want to add an extra session)
Daily Session (18:00-18:00 NY time)
Fully customizable session times and names
Automatically detects when the main symbol breaks a session high/low while comparison symbols don't (and vice versa)
Consecutive Candle SMT (CC SMT)
Monitors 3 customizable timeframes
Tracking of divergences based on specific timeframe candles (15min, 60min, 4 hour, weekly, etc.)
Identifies when the current price breaks the previous candle's high/low differently than comparison symbols
Maintains history of past SMTs (configurable)
Timeframe 3 supports custom time shifts for non-standard candle boundaries
Example: 90min timeframe with a +60 shift changes the candle range from:
00:00-01:30, 01:30-03:00 etc
to:
01:00-02:30, 02:30-04:00 etc
Visual Customization
Line Styles: Customize the line styles for different symbols
Colors: Unique color schemes for instant session identification
Adjustable Offsets: Fine-tune label positions with multiplier settings
Show/Hide Controls: Complete control over visual elements
Custom Labels: Customize the SMT labels for highs and lows
Information Panel
Active SMT Conditions: Live tracking of all current divergences
Session Names: Clear identification of which session created the SMT
Symbol Information: Shows which comparison symbol is diverging
Timestamps: Optional time display showing when SMT was first detected
Flexible Positioning: 8 different panel positions
Smart Display Modes: Options to hide inactive sessions/timeframes
Alert System
Configurable alerts for specific sessions or timeframes
Get notified when new divergences appear instantly
Clear, informative alert descriptions
How To Setup Alerts:
Enable the "Enable Alerts" in the settings
Choose which sessions/timeframes to receive alerts for by choosing it in the setting below
(If you select "All Sessions" you will only be alerted for all the sessions you have enabled in the indicator settings)
Create an alert (ALT+A shortcut) or click the the 3 dots on the indicator "Add alert on Session SMT "
- Condition = Session SMT
- Function = Any alert() function call
- Alert name (Message) = Anything you prefer (e.g. SMT Alert)
If you want to create another alert for different settings, first input the new settings in the indicator, then create a new alert.
Note: Previous alerts will continue to notify you based on the settings they were originally set for, even if you change the indicator setting.
How This Helps Your Trading:
This tool automates the heavy lifting of tracking divergences across multiple markets and sessions, continuously monitoring highs and lows in real time and plotting only the most meaningful SMT signals so you can focus on execution, not chart-watching.
FluidFlow OscillatorFluidFlow Oscillator: Study Material for Traders
Overview
The FluidFlow Oscillator is a custom technical indicator designed to measure price momentum and market flow dynamics by simulating fluid motion concepts such as velocity, viscosity, and turbulence. It helps traders identify potential buy and sell signals along with trend strength, momentum direction, and volatility conditions.
This study explains the underlying calculation concepts, signal logic, visual cues, and how to interpret the professional dashboard table that summarizes key indicator readings.
________________________________________
How the FluidFlow Oscillator Works
Core Mechanisms
1. Price Flow Velocity
o Measures the rate of change of price over a specified flow length (default 40 bars).
o Calculated as a percentage change of closing price: roc=close−closelen_flowcloselen_flow×100\text{roc} = \frac{\text{close} - \text{close}_{len\_flow}}{\text{close}_{len\_flow}} \times 100roc=closelen_flowclose−closelen_flow×100
o Smoothed by an EMA (Exponential Moving Average) to reduce noise, generating a "flow velocity" value.
2. Viscosity Factor
o Analogous to fluid viscosity, it adjusts the flow velocity based on recent price volatility.
o Volatility is computed as the standard deviation of close prices over the flow length.
o The viscosity acts as a damping factor to slow down the flow velocity in highly volatile conditions.
o This results in a "flow with viscosity" value, that smooths out the velocity considering market turbulence.
3. Turbulence Burst
o Captures sudden changes or bursts in the flow by measuring changes between successive viscosity-adjusted flows.
o The turbulence value is a smoothed absolute change in flow.
o A burst boost factor is added to the oscillator to incorporate this rapid change component, amplifying signals during sudden shifts.
4. Oscillator Calculation
o The raw oscillator value is the sum of flow with viscosity plus burst boost, scaled by 10.
o Clamped between -100 and +100 to limit extremes.
o Finally, smoothed again by EMA for cleaner visualization.
________________________________________
Signal Logic
The oscillator works with complementary components to produce actionable signals:
• Signal Line: An EMA-smoothed version of the oscillator for generating crossover-based signals.
• Momentum: The rate of change of the oscillator itself, smoothed by EMA.
• Trend: Uses fast (21-period EMA) and slow (50-period EMA) moving averages of price to identify market trend direction (uptrend, downtrend, or sideways).
Signal Conditions
• Bullish Signal (Buy): Oscillator crosses above the oversold threshold with positive momentum.
• Bearish Signal (Sell): Oscillator crosses below the overbought threshold with negative momentum.
Statuses
The oscillator provides descriptive market states based on level and momentum:
• Overbought
• Oversold
• Buy Signal
• Sell Signal
• Bullish / Bearish (momentum-driven)
• Neutral (no clear trend)
________________________________________
Color System and Visualization
The oscillator uses a sophisticated HSV color model adapting hues according to:
• Oscillator value magnitude and sign (positive or negative)
• Acceleration of oscillator changes
• Smooth color gradients to facilitate intuitive understanding of trend strength and momentum shifts
Background colors highlight overbought (red tint) and oversold (green tint) zones with transparency.
________________________________________
How to Understand the Professional Dashboard Table
The FluidFlow Oscillator offers an integrated table at the bottom center of the chart. This dashboard summarizes critical indicator readings in 8 columns across 3 rows:
Column Description
SIGNAL Current signal status (e.g., Buy, Sell, Overbought) with color coding
OSCILLATOR Current oscillator value (-100 to +100) with color reflecting intensity and direction
MOMENTUM Momentum bias indicating strength/direction of oscillator changes (Strong Up, Up, Sideways, Down, Strong Down)
TREND Current trend status based on EMAs (Strong Uptrend, Uptrend, Sideways, Downtrend, Strong Downtrend)
VOLATILITY Volatility percentage relative to average, indicating market activity level
FLOW Flow velocity value describing price momentum magnitude and direction
TURBULENCE Turbulence level indicating sudden bursts or spikes in price movement
PROGRESS Oscillator's position mapped as a percentage (0% to 100%) showing proximity to extreme levels
Rows Explained
• Row 1 (Header): Labels for each metric.
• Row 2 (Values): Current numerical or descriptive values color-coded along a professional scheme:
o Green or lime tones indicate positive or bullish conditions.
o Red or orange tones indicate caution, sell signals, or bearish conditions.
o Blue tones indicate neutral or stable conditions.
• Row 3 (Status Indicators): Emoji-like icons and bars provide a quick visual gauge of each metric's intensity or signal strength:
o For example, "🟢🟢🟢" suggests very strong bullish momentum, while "🔴🔴🔴" suggests strong bearish momentum.
o Progress bar visually demonstrates oscillator movement toward oversold or overbought extremes.
________________________________________
Practical Interpretation Tips
• A Buy signal with green colors and strong momentum usually precedes upward price moves.
• An Overbought status with red background and red table colors warns of potential price corrections or reversals.
• Watch the Turbulence to gauge market instability; spikes may precede price shocks or volatility bursts.
• Confirm signals with the Trend and Momentum columns to avoid false entries.
• Use the Progress bar to anticipate oscillations approaching key threshold levels for timing trades.
________________________________________
Alerts
The oscillator supports alerts for:
• Buy and sell signals based on oscillator crossovers.
• Overbought and oversold levels reached.
These help traders automate awareness of important market conditions.
________________________________________
Disclaimer
The FluidFlow Oscillator and its signals are for educational and informational purposes only. They do not guarantee profits and should not be considered as financial advice. Always conduct your own research and use proper risk management when trading. Past performance is not indicative of future results.
________________________________________
This detailed explanation should help you understand the workings of the FluidFlow Oscillator, its components, signal logic, and how to analyze its professional dashboard for informed trading decisions.
Trendlines Oscillator [LuxAlgo]The Trendlines Oscillator helps traders identify trends and momentum based on the normalized distances between the current price and the most recently detected bullish and bearish trend lines.
The indicator features bullish and bearish momentum, a signal line with crossings, and multiple smoothing options.
🔶 USAGE
The indicator displays three lines: two for momentum and one for the signal. When one of the momentum lines (bullish or bearish) crosses the signal line, the tool displays a dot to indicate which momentum is gaining strength.
As a general rule, when the green bullish momentum line is above the red bearish momentum line, it indicates buyer strength. This means that the actual prices are farther from the support trend lines than the resistance trend lines. The opposite is true for seller strength.
To calculate bullish momentum, the tool first identifies bullish trend lines acting as support below the price. Then, it measures the delta between the price and those trend lines and normalizes the reading into the displayed momentum values.
The same process is used for bearish momentum, but with bearish trendlines acting as resistance above the price.
🔹 Length & Memory
Modifying the Length and Memory values will cause the tool to display different momentum values.
Traders can adjust the length to detect larger trendlines and adjust the memory to indicate how many trendlines the tool should consider.
As the chart above shows, smaller values make the tool more responsive, while larger values are useful for detecting larger trends.
🔹 Smoothing
By default, the data is not smoothed, and the signal uses a triangular moving average with a length of 10. Traders can smooth both the data and the signal line.
Traders can choose from up to ten different methods, or none. Some examples are shown on the chart above.
🔶 DETAILS
The steps for the calculations are as follows:
1. Gather the pivots, highs, and lows.
ph = fixnan(ta.pivothigh(lengthInput, lengthInput))
pl = fixnan(ta.pivotlow(lengthInput, lengthInput))
2. Calculate the slope and y-intercept for each trendline between contiguous lower highs (resistance) or higher lows (support).
if ph < ph
slope = (ph - ph )/(n-lengthInput - phx1)
res.unshift(l.new(ph - slope * phx1, slope))
if pl > pl
slope = (pl - pl )/(n-lengthInput - plx1)
sup.unshift(l.new(pl - slope * plx1, slope))
3. Calculate the value of each trendline on the current bar, then calculate the difference with the current price (delta). To calculate the relative sum of deltas, only consider trendlines below the price for support or above the price for resistance.
method get_point(l id, x)=>
id.slope * x + id.intercept
for element in sup
point = element.get_point(n)
if sourceInput > point
sup_sum += sourceInput - point
sup_den += math.abs(sourceInput - point)
for element in res
point = element.get_point(n)
if sourceInput < point
res_sum += point - sourceInput
res_den += math.abs(point - sourceInput)
4. Normalize the value from 0 to 100 by taking the sum of the relative values of the deltas divided by the sum of the absolute values of the deltas.
float supportLine = sup_sum / sup_den * 100
float resistanceLine = res_sum / res_den * 100
5. Smooth both values, then calculate the signal line as the difference between them.
float smoothSupport = smooth(supportLine,dataSmoothingInput,dataSmoothingLengthInput)
float smoothResistance = smooth(resistanceLine,dataSmoothingInput,dataSmoothingLengthInput)
float signal = math.abs(smoothSupport - smoothResistance)
float signalLine = smooth(signal,smoothingInput,smoothingLengthInput)
6. Calculate the crossing signals against the signal line, using only the first signal from each series of bullish or bearish crossings.
bullSignal = smoothSupport > signalLine and smoothSupport < signalLine
bearSignal = smoothResistance > signalLine and smoothResistance < signalLine
lastSignal := bullSignal and lastSignal == BEAR ? BULL : bearSignal and lastSignal == BULL ? BEAR : lastSignal
firstBull = ta.change(lastSignal) > 0
firstBear = ta.change(lastSignal) < 0
🔶 SETTINGS
Length: The size of the market structure used for trendline detection.
Memory: The number of trendlines used in calculations.
Source: The source for the calculations is closing prices by default.
🔹 Smoothing
Data Smoothing: Choose the smoothing method and length
Signal Smoothing: Choose the smoothing method and length