Breakout LevelsBreakout Levels - User Guide
Overview
The Breakout Levels indicator automatically detects and displays significant breakout candles across multiple timeframes. A breakout occurs when price makes a strong, decisive move - identified by candles with unusually large bodies relative to average volatility.
These breakout levels often act as future support/resistance zones, making them valuable reference points for trading decisions.
What is a Breakout?
A breakout is detected when a candle's body size (the distance between open and close) is significantly larger than normal. By default, the script looks for candles that are 2x the ATR (Average True Range) or larger.
Example:
If the 14-period ATR is $5, a candle with a $10+ body would qualify as a breakout
These represent strong, committed moves by the market
The script marks the high of bullish breakouts and the low of bearish breakouts
Settings Guide
Timeframes
Toggle which timeframes to monitor for breakouts:
Show Daily Breakouts - Green/Red levels from daily chart breakouts
Show 4H Breakouts - 4-hour timeframe breakouts
Show 1H Breakouts - 1-hour timeframe breakouts
Show 15M Breakouts - 15-minute timeframe breakouts
Tip: When running on a 15-minute chart, you can see breakouts from all higher timeframes simultaneously.
Lookback (How Far Back to Display)
Controls how many bars back to show levels for each timeframe:
TimeframeDefaultWhat it Means15M50 bars~12.5 hours of breakout history1H200 bars~8 days of breakout history4H250 bars~42 days of breakout historyDaily300 bars~300 days (nearly 1 year)
Why adjust this?
Increase to see more historical levels (may clutter chart)
Decrease to focus only on recent breakouts
Older levels are still stored, just not displayed
Detection Settings
Breakout Candle Size (x ATR)
Default: 2.0
Range: 1.0 to 5.0
What it does: Multiplier for what qualifies as a "big" candle
SettingSensitivityUse Case1.0-1.5Very sensitiveCatches more breakouts, but may include false moves2.0Balanced (default)Good mix of quality and quantity3.0-5.0Very selectiveOnly the most explosive moves
Recommendation: Start with 2.0 and adjust based on your market and trading style.
Visual Settings
Bullish Breakout Color
Default: Green with 60% transparency
Marks levels where price broke upward strongly
Bearish Breakout Color
Default: Red with 60% transparency
Marks levels where price broke downward strongly
Show Labels
Toggle labels on/off
Labels display: BO
Example: "4H BO 150.25"
Turn OFF for cleaner charts when you just want the lines
How to Use This Indicator
1. Identify Key Breakout Zones
Breakout levels often become magnets where price returns later:
Former resistance (where price broke up) becomes future support
Former support (where price broke down) becomes future resistance
2. Look for Confluence
When multiple timeframe breakouts cluster near the same price:
15M + 1H + 4H breakouts all near $150 = strong level
More confluence = more significant level
3. Watch for Retests
After a breakout, price often returns to test that level:
Bullish breakout retest from above = potential long entry
Bearish breakout retest from below = potential short entry
4. Combine with Other Analysis
Use breakout levels alongside:
Your own support/resistance analysis
Volume profiles
Fibonacci levels
Candlestick patterns at these levels
Practical Examples
Example 1: Clean Breakout and Retest
Daily candle closes up with a huge body (2.5x ATR)
Green line drawn at the high of that candle
Price pulls back 3 days later and bounces exactly off that green line
Trade opportunity: Long entry at the retest with stop below
Example 2: Failed Breakout
4H bearish breakout draws a red line at the low
Price immediately reverses back above the level
Signal: The breakout was false - consider this a stop hunt zone
Example 3: Multi-Timeframe Confluence
Daily breakout at $100
4H breakout at $100.50
1H breakout at $99.80
Strong cluster zone: $99.80-$100.50 becomes a major decision point
Best Practices
DO:
✅ Start with default settings (2.0x ATR, default lookbacks)
✅ Use on a 15-minute chart to see all timeframes
✅ Look for price reactions at these levels before trading
✅ Combine with volume - breakouts with high volume are more reliable
✅ Turn off labels when chart gets too busy
DON'T:
❌ Treat every line as guaranteed support/resistance
❌ Set breakout multiplier too low (<1.5) - creates noise
❌ Ignore the context - check what's happening in the broader market
❌ Trade blindly at these levels without confirmation
Troubleshooting
"Too many lines on my chart"
Reduce the lookback settings
Turn off some timeframes (maybe just show Daily + 4H)
Increase the breakout multiplier to 2.5 or 3.0
"Not showing any levels"
Lower the breakout multiplier to 1.5
Increase lookback settings
Check that at least one timeframe toggle is ON
Verify the market had actual volatility during the period
"Labels are cluttering the chart"
Turn off "Show Labels" in settings
Lines will remain, labels disappear
Technical Notes
ATR Period: 14 (industry standard, not adjustable in this version)
Max Lines: 500 (Pine Script limitation)
Duplicate Filter: Levels within 0.3% of ATR are considered duplicates and filtered
Chart Type: Works on any chart timeframe, optimized for 15-minute
Asset Type: Works on stocks, forex, crypto, futures
Summary
The Breakout Levels indicator gives you a systematic way to identify where strong, committed market moves occurred. These levels often act as future decision points. Use them as reference zones to watch for price reactions, not as automatic trade signals.
Quick Start:
Add indicator to a 15-minute chart
Leave default settings (2.0x ATR)
Watch how price interacts with the levels over the next few days
Adjust sensitivity based on your observations
Happy trading! 📈
Volatilite
Laguerre RSI (Fractals Energy) [v6]This write-up explores the **Laguerre RSI (LRSI)**, a sophisticated technical indicator pioneered by **John F. Ehlers**. Unlike the standard RSI, which often suffers from "lag" or excessive noise, the Laguerre RSI uses a four-pole filter to provide a smoother, more responsive curve that stays in overbought or oversold zones longer during strong trends.
The following analysis focuses on the interplay between the **Alpha (Gamma)** and the **Gamma Bandwidth**, specifically looking for "Alpha Exceeding" events to identify market coiling and exhaustion.
---
## 1. The Core Concept: Ehlers’ Laguerre Transform
Traditional indicators use a fixed look-back period (e.g., 14 periods). John Ehlers introduced the Laguerre Transform to allow for a more efficient way of filtering data using a very small amount of data.
In the provided code, the key variable is **Alpha** (derived from **Fractals Energy/Gamma**). This value determines the "speed" of the indicator.
* **Low Alpha:** High damping, smoother but slower.
* **High Alpha:** Low damping, faster and more reactive.
---
## 2. The Gamma Bandwidth: Coiling and Energy
The "Gamma Band" (the purple shaded area in your script, typically between and ) represents the "neutral" zone for market fractal energy.
### Market Coiling (Compression)
When the **Alpha (Gamma) line** climbs **above the Gamma Upper Bound** (e.g., ):
* This indicates the market is moving into a state of **high fractal efficiency** or "straight-line" movement.
* However, when Alpha is pinned high, it often signals **Coiling**. The market is burning through its energy efficiently, but it is reaching a state of "ordered" exhaustion.
* **The Interpretation:** The price is trending strongly, but the lack of "chaos" suggests a trend maturity is approaching.
### Alpha Exceeding the Bands (Exhaustion)
When the Alpha line spikes significantly outside the bands while the LRSI line (blue or pink) is pinned at the extremes (1.0 or 0.0), we observe **Exhaustion**.
* **Bullish Exhaustion:** LRSI is (Blue) and Alpha exceeds the upper band. The trend is so efficient that it has no room left to accelerate. A "reversion to the mean" or a period of "choppiness" (increasing fractal chaos) is likely.
* **Bearish Exhaustion:** LRSI is (Pink) and Alpha exceeds the upper band. This shows a vertical drop that is unsustainable in the long term.
---
## 3. Signal Mechanics: The "Hook"
The most potent signal occurs when the Alpha line begins to **descend back into the Gamma Bandwidth** while the LRSI line crosses the OB/OS levels.
| Signal Component | Market Condition | Actionable Insight |
| --- | --- | --- |
| **Alpha > 0.59** | High Efficiency / Coiling | Trend is strong, but watch for the "bend." |
| **Alpha < 0.41** | High Complexity / Choppiness | Market is trendless; energy is being stored for the next move. |
| **LRSI Cross < 0.8** | Bearish Reversal | Trend exhaustion confirmed; exit longs or enter shorts. |
| **LRSI Cross > 0.2** | Bullish Reversal | Mean reversion confirmed; exit shorts or enter longs. |
---
## 4. Summary of the Methodology
By integrating **Fractals Energy** (Gamma) directly into the Alpha of the Laguerre RSI, this version of Ehlers’ work allows the indicator to adapt its own speed based on the market’s complexity.
When Alpha exceeds the bands, it is a warning that the "clean" move is coming to an end. The market is "coiled" tight; the subsequent break back into the purple band signifies that the trend has lost its linear efficiency and is returning to a state of chaos—often resulting in a price reversal or significant consolidation.
> **Credit:** All mathematical foundations of the Laguerre Transform and the RSI implementation are credited to **John F. Ehlers**.
---
Would you like me to create a visual guide or table specifically for the **Fractal Energy** values and how they correlate to specific market phases?
DTS Momentum Dot Plot (Stoch / RSI) + AlertsThis comes from Treyding Stocks Famous Dot Plot, but for think or swim. When the green and red dots align, then it is a good opportunity for a buy or sell. It is the Fast Stochastic,the slow stochastic and the RSI, there is another version with the MACD but I liked this one!
You can also add alerts when all lines turn green or red!
Enjoy!
Vdubus TrixStoch + HMA FilterThe Bottom Indicator: "Vdubus TrixStoch HMA"
Purpose: Precision timing. It shows you exactly when the pullbacks happen.
The Top Indicator: "Vdubus Momentum Lock (Overlay)"
The Trigger Zones (48 / 52):
Buy Zone (Below 48): When the Blue line dips into this zone, the market is "reloading" for a buy.
Sell Zone (Above 52): When the Blue line pops into this zone, the market is "reloading" for a sell.
The Confluence Circles:
Green Dot ("Dip"): Appears only if HMA is Green AND Trix is Rising. This filters out bad buy signals during downtrends.
Red Dot ("Rally"): Appears only if HMA is Red AND Trix is Falling. This filters out bad sell signals during uptrends.
3. The Strategy:
A. Entry Logic (The Sniper)
Trend Check: Is HMA 100 Green or Red?
Momentum Check: Is TRIX 34 agreeing with the HMA?
Trigger:
Buy: Stoch K crosses under 48.
Sell: Stoch K crosses over 52.
Pulse Re-Entry: If Trix momentum was lost briefly but snaps back into alignment, re-enter immediately (even without a Stoch signal).
B. Exit Logic (The Safety)
Momentum Exit: If the TRIX slope flips against you (e.g., you are Long, but Trix turns down), CLOSE IMMEDIATELY.
Hard Deck (HMA Flip): If the HMA line changes color, CLOSE EVERYTHING. This is the emergency brake.
Vdubus Momentum Lock (Overlay)The Top Indicator: "Vdubus Momentum Lock (Overlay)"
The Bottom Indicator: "Vdubus TrixStoch HMA"
Purpose: Precision timing. It shows you exactly when the pullbacks happen.
The Trigger Zones (48 / 52):
Buy Zone (Below 48): When the Blue line dips into this zone, the market is "reloading" for a buy.
Sell Zone (Above 52): When the Blue line pops into this zone, the market is "reloading" for a sell.
The Confluence Circles:
Green Dot ("Dip"): Appears only if HMA is Green AND Trix is Rising. This filters out bad buy signals during downtrends.
Red Dot ("Rally"): Appears only if HMA is Red AND Trix is Falling. This filters out bad sell signals during uptrends.
3. The Strategy:
A. Entry Logic (The Sniper)
Trend Check: Is HMA 100 Green or Red?
Momentum Check: Is TRIX 34 agreeing with the HMA?
Trigger:
Buy: Stoch K crosses under 48.
Sell: Stoch K crosses over 52.
Pulse Re-Entry: If Trix momentum was lost briefly but snaps back into alignment, re-enter immediately (even without a Stoch signal).
B. Exit Logic (The Safety)
Momentum Exit: If the TRIX slope flips against you (e.g., you are Long, but Trix turns down), CLOSE IMMEDIATELY.
Hard Deck (HMA Flip): If the HMA line changes color, CLOSE EVERYTHING. This is the emergency brake.
Absorption BubblesAbsorption Bubbles
Chart example (how to read it)
Green and red bubbles highlight candles with unusually high relative volume where price action suggests rejection (potential absorption) rather than clean continuation. Horizontal lines mark strong reaction levels and remain visible to track future retests/mitigation. The top-right table summarizes the current volume environment: Session RVOL (today vs average), Bar RVOL (current bar vs normal), Efficiency (volume-to-movement proxy), and an ATR-based stop distance (volatility reference).
This indicator helps you interpret relative volume participation and price reaction to highlight potential absorption / rejection areas without requiring Level 2 (order book) data.
What it does
1. Absorption Bubbles: Marks candles where volume is meaningfully higher than normal (relative volume) and where price action suggests a rejection rather than clean acceptance.
2. Persistent Zones (optional): When a strong event is detected, the script can draw a horizontal level/zone that remains on the chart to track retests and mitigation.
3. Volume Regime Table: Displays session and bar relative volume to quickly gauge whether the market is operating in a low-, normal-, or high-liquidity environment.
4. ATR Stop (RMA): Provides an ATR-based stop distance to standardize risk under changing volatility.
Why it’s useful
1. Helps identify moments when participation increases and price either rejects (often associated with absorption/defense) or moves efficiently (often associated with continuation).
2. Adds context to decide whether conditions are more likely choppy/rotational or trending/displacing, using volume and volatility proxies.
3. Keeps key reaction levels visible via zones, making retests easier to track.
How to use it
1. Start with the table:
: Higher Session RVOL generally means more liquidity and potentially better follow-through.
: Higher Bar RVOL highlights unusually active candles.
2. Focus bubbles around key locations:
Use bubbles as confirmation near important levels (session highs/lows, prior day levels, HTF
zones, obvious liquidity pools). Avoid treating mid-range bubbles as standalone signals.
3. Use zones as decision levels (if enabled):
Watch for clean rejection from the zone, or a decisive body break and retest for
continuation.
4.Use ATR Stop as a volatility reference:
Multiply the ATR value to match your risk model and instrument volatility.
Settings guidance
1. Increase RVOL thresholds to reduce noise (fewer, higher-quality signals).
2. Decrease thresholds to catch more frequent micro-events (more signals, more false positives).
3. Adjust lookbacks based on timeframe and instrument.
Limitations
1. This script does not use bid/ask delta or full order book information.
2. “Absorption” is inferred from volume + candle behavior, so signals should be used as confluence, not as a standalone trading system.
Hamazaki-Style Scalping SystemOverview: hmzk-Style Scalping System
This system is designed to identify high-probability entries in the 1-minute time frame while strictly filtering out low-efficiency market noise. It focuses on the concept of "Gensen" (Strict Selection)—only trading when volatility and trend alignment provide a clear statistical edge.
1. Visual Filtering (Background Colors)
The system uses background colors to provide instant environmental awareness:
Green Zone (High Probability):
Condition: ATR is above the 1.5-pip threshold and the price is diverging from the Kernel line.
Meaning: High volatility and momentum are present. This is the optimal "War Zone" for scalping.
Gray Zone (Avoidance):
Condition: Price is overlapping with the Kernel line.
Meaning: A "sideways" or "ranging" market. hmzk labels this as the "Death Point" where traders lose money due to spreads and lack of direction.
2. Technical Components
Calix Kernel Regression (h=21, r=34, x_0=55):
Serves as the primary trend filter. When the line is horizontal and price is tangled with it, stay out.
When the line slants and price moves away ("Gator opening"), follow the trend.
ATR Break-Out (1.5 Pips Threshold):
Ensures there is enough "meat" in the move to cover spreads and generate profit.
Fractal Arrows (▲/▼):
Indicates potential turning points or breakout levels. These are most effective when they appear in a Green Zone.
3. Execution & Discipline
The 40-Trade Rule: Limit yourself to roughly 40 high-quality trades per day to avoid overtrading and maintain focus.
0.4-Second Stop Loss: If the price action does not immediately follow your hypothesis, exit within a fraction of a second to minimize "expenses" (losses).
Pattern Over Instinct: Only enter when your predefined "form" or "pattern" appears. hmzk teaches that "waiting is the ultimate skill".
Market Context: Prioritize trades during high-liquidity windows like the London/NY open or specific time transitions (e.g., the 24:00 winter time shift).
Percentile-Based BB% Trend - MattesOverview
The Percentile-Based BB% Trend is a robust momentum oscillator that reimagines the classic Bollinger %B indicator using percentile-based bands and median absolute deviation (MAD). Instead of relying on a simple moving average and standard deviation (which can be heavily influenced by outliers), this version builds dynamic bands from the 25th and 75th percentiles of price, creating a noise-resistant framework for measuring where the current price sits relative to its recent distribution.
How It’s Calculated
Percentile Smoothing : 25th percentile (lower boundary) and 75th percentile (upper boundary) of the selected source.
Basis Line : Midpoint between the 25th and 75th percentiles as a robust central measure.
Robust Volatility : Median Absolute Deviation (MAD) multiplied by a user-defined factor to set band width.
PBB% Value : (Price - Lower Band) / (Band Width), then shifted so the midline is at 0.
Trend Line : Light EMA smoothing applied to the raw value and displayed as colored columns.
How It Differs From Traditional %B
Uses 25th/75th percentiles + MAD instead of SMA + standard deviation → far less sensitive to outliers.
More adaptive to real-world skewed price distributions.
Stronger noise filtering while staying responsive to genuine momentum.
Why It’s Useful
Reduced false signals in choppy or spiky markets
Clear view of momentum strength and price extension
Persistent readings above/below 0 indicate sustained bullish/bearish control
Excellent as a trend-strength filter across all asset classes and timeframes
Application Examples
Trend Confirmation – Midline (0) crossovers confirm direction when paired with trend-following tools.
Overextension Warnings – Extreme readings signal potential exhaustion.
Momentum Filtering – Avoid entries when oscillator shows weak or overstretched conditions.
Divergence Hunting – Spot price making new highs/lows while oscillator fails to confirm.
Great inventions require greate care!
Not a Standalone Strategy: This indicator is designed as a complementary tool and should always be combined with other forms of analysis (price action, volume, higher-timeframe trend, or additional indicators).Potential Lags in Explosive Moves: The robust calculations and smoothing can slightly delay signals during very strong trends.Parameter Sensitivity: Optimal length and multiplier vary by market and timeframe — backtesting is essential.No indicator guarantees profits; past performance is not indicative of future results.
This indicator builds directly on the foundation of the Percentile-Based Bollinger Bands - Mattes, extending its robust methodology into oscillator form for deeper momentum analysis.Shoutout to all my Masterclass Brothers and L4 Gs!
smart forexspecially design for gold. activate by the trend and using moving average. by RN markets (rizwan)
Adaptive Trend Envelope [BackQuant]Adaptive Trend Envelope
Overview
Adaptive Trend Envelope is a volatility-aware trend-following overlay designed to stay responsive in fast markets while remaining stable during slower conditions. It builds a dynamic trend spine from two exponential moving averages and surrounds it with an adaptive envelope whose width expands and contracts based on realized return volatility. The result is a clean, self-adjusting trend structure that reacts to market conditions instead of relying on fixed parameters.
This indicator is built to answer three core questions directly on the chart:
Is the market trending or neutral?
If trending, in which direction is the dominant pressure?
Where is the dynamic trend boundary that price should respect?
Core trend spine
At the heart of the indicator is a blended trend spine:
A fast EMA captures short-term responsiveness.
A slow EMA captures structural direction.
A volatility-based blend weight dynamically shifts influence between the two.
When short-term volatility is low relative to long-term volatility, the fast EMA has more influence, keeping the trend responsive. When volatility rises, the blend shifts toward the slow EMA, reducing noise and preventing overreaction. This blended output is then smoothed again to form the final trend spine, which acts as the structural backbone of the system.
Volatility-adaptive envelope
The envelope surrounding the trend spine is not based on ATR or fixed percentages. Instead, it is derived from:
Log returns of price.
An exponentially weighted variance estimate.
A configurable multiplier that scales envelope width.
This creates bands that automatically widen during volatile expansions and tighten during compression. The envelope therefore reflects the true statistical behavior of price rather than an arbitrary distance.
Inner hysteresis band
Inside the main envelope, an inner band is constructed using a hysteresis fraction. This inner zone is used to stabilize regime transitions:
It prevents rapid flipping between bullish and bearish states.
It allows trends to persist unless price meaningfully invalidates them.
It reduces whipsaws in sideways conditions.
Trend regime logic
The indicator operates with three regime states:
Bullish
Bearish
Neutral
Regime changes are confirmed using a configurable number of bars outside the adaptive envelope:
A bullish regime is confirmed when price closes above the upper envelope for the required number of bars.
A bearish regime is confirmed when price closes below the lower envelope for the required number of bars.
A trend exits back to neutral when price reverts through the trend spine.
This structure ensures that trends are confirmed by sustained pressure rather than single-bar spikes.
Active trend line
Once a regime is active, the indicator plots a single dominant trend line:
In a bullish regime, the lower envelope becomes the active trend support.
In a bearish regime, the upper envelope becomes the active trend resistance.
In neutral conditions, price itself is used as a placeholder.
This creates a simple, actionable visual reference for trend-following decisions.
Directional energy visualization
The indicator uses layered fills to visualize directional pressure:
Bullish energy fills appear when price holds above the active trend line.
Bearish energy fills appear when price holds below the active trend line.
Opacity gradients communicate strength and persistence rather than binary states.
A subtle “rim” effect is added using ATR-based offsets to give depth and reinforce the active side of the trend without cluttering the chart.
Signals and trend starts
Discrete signals are generated only when a new trend regime begins:
Buy signals appear at the first confirmed transition into a bullish regime.
Sell signals appear at the first confirmed transition into a bearish regime.
Signals are intentionally sparse. They are designed to mark regime shifts, not every pullback or continuation, making them suitable for higher-quality trend entries rather than frequent trading.
Candle coloring
Optional candle coloring reinforces regime context:
Bullish regimes tint candles toward the bullish color.
Bearish regimes tint candles toward the bearish color.
Neutral states remain visually muted.
This allows the chart to communicate trend state even when the envelope itself is partially hidden or de-emphasized.
Alerts
Built-in alerts are provided for key trend events:
Bull trend start.
Bear trend start.
Transition from trend to neutral.
Price crossing the trend spine.
These alerts support hands-off trend monitoring across multiple instruments and timeframes.
How to use it for trend following
Trend identification
Only trade in the direction of the active regime.
Ignore counter-trend signals during confirmed trends.
Entry alignment
Use the first regime signal as a structural entry.
Use pullbacks toward the active trend line as continuation opportunities.
Trend management
As long as price respects the active envelope boundary, the trend remains valid.
A move back through the spine signals loss of trend structure.
Market filtering
Periods where the indicator remains neutral highlight non-trending environments.
This helps avoid forcing trades during chop or compression.
Adaptive Trend Envelope is designed to behave like a living trend structure. Instead of forcing price into static rules, it adapts to volatility, confirms direction through sustained pressure, and presents trend information in a clean, readable form that supports disciplined trend-following workflows.
Trade Cockpit [Main]"Entry without conviction is death."
This indicator serves as a "weapon" to survive in uncertain markets and a "cockpit" to eliminate emotions.
**Concept: Night Flight**
Just as a pilot flies through the night sky trusting only their instruments, traders should judge solely based on objective chart data. This tool is designed to execute disciplined trading by excluding emotions.
**Key Features**
**1. Trend Visualization**
Determine market conditions at a glance with background colors.
* 🟢 **Teal:** Uptrend / Long position
* 🔴 **Orange:** Downtrend / Short position
* 🔵 **Navy:** Wait / No position
**2. High-Precision Entry Logic**
* **Long:** Trend following via HL Band Breakout.
* **Short:** Precision shooting targeting "pullbacks" to the short-term EMA.
**3. Turtle Unit Calc (Money Management Panel)**
The panel at the bottom right instantly calculates the **"appropriate lot size to avoid bankruptcy"** based on your funds and market volatility (ATR).
* Automates professional money management, always trading with **"1% risk of account funds."**
**How to get access**
This script is Invite-only.
To obtain access rights and see detailed backtest results (Criteria: PF 1.5+), please check the link in the "Author's instructions" below.
**Disclaimer**
This tool is for market analysis support and does not guarantee profits. Trading decisions are your own responsibility. There is absolutely NO repainting.
[ICT Sebo] FVGOverview
This indicator identifies and visualizes Fair Value Gaps based on three-bar price imbalances. It highlights bullish and bearish gaps that exceed a configurable minimum size, allowing traders to focus on structurally relevant market inefficiencies.
The script is designed as a lightweight Fair Value Gap visualization tool and does not generate trade signals.
How it works
A Fair Value Gap is detected when a three-candle sequence creates a price imbalance between candle extremes. A bullish gap is identified when the high from two bars ago is below the current low. A bearish gap is identified when the low from two bars ago is above the current high.
To reduce noise, each gap is validated using a minimum size filter calculated as a percentage of recent price. Only gaps that meet or exceed this threshold are displayed.
Visualization
When a valid Fair Value Gap is detected, the gap area is highlighted using a shaded box that extends forward for a user-defined number of bars. A dashed midpoint line is drawn to represent the equilibrium level of the gap.
Bullish gaps are displayed in green and bearish gaps are displayed in red.
Intended use
This tool supports Fair Value Gap identification, market inefficiency analysis and ICT-style imbalance observation. It is suitable for intraday and short-term analysis and should be used in combination with broader market context and risk management.
Notes
This indicator does not predict price direction, does not provide entry or exit signals and is intended purely as a visual reference.
[ICT Sebo Lite] FVGOverview
This indicator identifies and visualizes Fair Value Gaps (FVGs) based on three-bar price imbalances. It highlights bullish and bearish gaps that exceed a user-defined minimum size, allowing traders to focus on structurally relevant inefficiencies. The script is designed as a lightweight visual tool and does not generate trade signals.
How it works
A Fair Value Gap is detected when a three-candle sequence leaves an imbalance between price extremes. A bullish FVG occurs when the high from two bars ago is below the current low. A bearish FVG occurs when the low from two bars ago is above the current high. To reduce noise, each gap is validated using a minimum size filter expressed as a percentage of recent price. Only gaps that exceed this threshold are displayed.
Visualization
When a valid FVG is detected, a shaded box marks the gap area and extends forward for a configurable number of bars. A dashed midpoint line is drawn to indicate the equilibrium level of the gap. Bullish gaps are displayed in green and bearish gaps in red.
Intended use
This indicator supports Fair Value Gap identification, market inefficiency analysis and ICT or imbalance-based chart reading. It is suitable for intraday and short-term analysis and should be used in combination with broader market context and risk management.
Notes
This script does not predict price direction, does not provide entry or exit signals and only visualizes confirmed price imbalances.
Momentum Color Classification System### Code Analysis: Momentum Color Classification System (Pine Script v5)
#### Core Function
This is a **non-overlay TradingView Pine Script v5 indicator** designed to quantify and categorize price momentum dynamics with extreme precision. It calculates core momentum from price Rate of Change (ROC) and second-derivative momentum change, then classifies market momentum into 9 distinct states (bullish variations, bearish variations, and neutral oscillation). The indicator visualizes momentum via color-coded histogram bars, and provides real-time status labels, a detailed info dashboard, and actionable trading suggestions — all to help traders accurately identify momentum strength, acceleration/deceleration trends, and guide long/short trading decisions.
#### Key Features (Concise & Clear)
1. **9-tier Precise Momentum Classification**
Divides momentum into **4 bullish states** (accelerating/decelerating/steady/weak up), **4 bearish states** (accelerating/decelerating/steady/weak down) and 1 neutral oscillation state, fully covering all momentum trend phases in the market.
2. **2-dimensional Momentum Calculation**
Combines **1st-order momentum** (price ROC-based core momentum) and **2nd-order momentum change** (momentum acceleration/deceleration), plus absolute momentum strength, to comprehensively judge momentum direction, speed and intensity.
3. **Color-Coded Visualization with Hierarchy**
Uses a gradient color system (vibrant-to-pale green for bullish, vivid-to-light red for bearish, gray for neutral) with transparency differentiation to reflect momentum strength; histogram style ensures intuitive observation, paired with a dotted zero reference line for clear bias judgment.
4. **Practical Trading Auxiliary Tools**
Supports toggleable status labels for extreme momentum (accelerating up/down); embeds a top-right dashboard displaying real-time momentum values, change rate, state, strength level and direct trading suggestions, enabling one-glance market judgment.
5. **High Customizability**
Allows adjustment of core parameters (momentum calculation period, smoothing factor) and toggling of label display, with reasonable parameter ranges to adapt to different trading assets and timeframes.
6. **Trade-Oriented Decision Guidance**
Maps each momentum state to corresponding strength levels and actionable operation advice (long/add position, short/add position, hold, reduce position, wait), directly linking technical analysis to actual trading behavior.
ROC+ADX Trend & Momentum System### Code Analysis: ROC+ADX Trend & Momentum System (v5 Pine Script)
#### **Core Function**
This Pine Script indicator integrates **Rate of Change (ROC)** and **Average Directional Index (ADX)** to build a professional trend-momentum trading system, which identifies trend strength, momentum changes, price divergences and generates actionable long/short trading signals for financial markets (stocks, crypto, forex). It features coordinated visual display, adaptive volatility adjustment and a comprehensive scoring mechanism for trend evaluation.
#### **Key Features (Concise)**
1. **Hybrid Indicator Logic**
Combines **ROC (12/6-period, EMA-smoothed)** (measures price momentum) and **ADX (14-period)** (identifies trend strength/direction, with +DI/-DI for trend bias), forming a dual-dimension analysis of trend + momentum.
2. **Adaptive Dynamic Threshold**
Adjusts momentum thresholds in real time based on **14-period ATR volatility**; higher market volatility raises thresholds, lower volatility lowers them, ensuring signal accuracy across different market conditions.
3. **Multi-Category Trading Signals**
Generates 4 core signal types: trend breakout (long/short), momentum boost/drop, trend reversal, and price-ROC bullish/bearish divergence, all filtered by ADX trend validity.
4. **Comprehensive Trend Scoring System**
Calculates a **0-100 trend score** (integrates ADX strength, ROC momentum, direction consistency, momentum persistence) and classifies trend intensity into 5 levels (Extreme/Strong/Medium/Weak/None).
5. **Coordinated Visual Display**
Supports scalable unified display for ROC & ADX values (custom scale factors), with color-coded lines, momentum histograms, heatmap background and reference lines for intuitive trend judgment.
6. **Informative Dashboard & Alerts**
Embeds a top-right info panel showing real values (ROC, ADX, volatility), trend level and active signals; includes multi-tier alert conditions for all key signals (breakout, reversal, divergence).
7. **High Customizability**
Full input configurability for all core parameters (periods, thresholds, scale factors) and visual toggles (show/hide ROC/ADX, signals, heatmap, reference lines).
#### **Technical Highlights**
- Uses EMA smoothing for ROC/ADX to reduce false signals;
- Identifies ROC momentum & acceleration for precise trend phase judgment;
- ADX grading (strong/weak/oscillation) filters invalid signals in sideways markets;
- Color-coded elements (lines, histograms, heatmap) reflect real-time trend/momentum status;
- Non-overlay layout ensures clear separation from price charts, optimized for multi-screen analysis.
Rany Sniper Signals v1.1 (polish)🇮🇹 Descrizione (Italiano)
Rany Sniper Signals v1.1 (polish) è un indicatore avanzato per TradingView progettato per individuare segnali BUY e SELL ad alta qualità, riducendo il rumore di mercato e migliorando il timing operativo.
Lo script combina in modo strutturato:
• VWAP
• SuperTrend
• ATR dinamico
• Filtro volume
• Market Context multi-timeframe
• Sistema di Confidence (0–100)
• No-Trade Zone intelligente
• Snapshot informativo sopra la candela
• Pannello “LAST SIGNAL” sempre sincronizzato
Ogni segnale viene filtrato attraverso più livelli di conferma, con un approccio orientato a qualità > quantità, offrendo segnali puliti, leggibili e coerenti, anche su mobile.
⏱️ Timeframe consigliati
• Scalp presets: 1m – 15m
Ideali: 3m / 5m / 15m
• Swing presets: 1H – 1D
Ideali: 4H / 1D
L’utilizzo su timeframe diversi è possibile, ma le prestazioni ottimali si ottengono sui timeframe consigliati, poiché filtri, ATR e Market Context sono ottimizzati per tali condizioni.
Lo script è pensato come strumento di supporto decisionale, non come trading automatico, ed è adatto a trader discrezionali che cercano conferme strutturate e affidabili.
⚠️ Disclaimer
Il trading sui mercati finanziari comporta un rischio elevato e può portare a perdite parziali o totali del capitale investito.
Questo indicatore non fornisce consulenza finanziaria e non garantisce risultati.
I segnali generati devono essere utilizzati esclusivamente come supporto decisionale, sempre in combinazione con una corretta gestione del rischio e una valutazione personale.
L’utente è l’unico responsabile delle proprie decisioni operative.
⸻
🇬🇧 Description (English)
Rany Sniper Signals v1.1 (polish) is an advanced TradingView indicator designed to detect high-quality BUY and SELL signals, reducing market noise and improving execution timing.
The script combines:
• VWAP
• SuperTrend
• Dynamic ATR
• Volume filtering
• Multi-timeframe Market Context
• Confidence scoring system (0–100)
• Smart No-Trade Zone
• Snapshot info box above candles
• Always-synced “LAST SIGNAL” panel
Each signal is filtered through multiple confirmation layers, with a clear focus on quality over quantity, delivering clean, structured, and readable setups — even on mobile devices.
⏱️ Recommended timeframes
• Scalp presets: 1m – 15m
Best: 3m / 5m / 15m
• Swing presets: 1H – 1D
Best: 4H / 1D
The script can be used on other timeframes, but optimal performance is achieved on the recommended ones, as filters, ATR and Market Context are optimized for those conditions.
This indicator is designed as a decision-support tool, not an automated trading system, and is suitable for discretionary traders looking for structured and reliable confirmations.
⚠️ Disclaimer
Trading financial markets involves substantial risk and may result in partial or total loss of capital.
This indicator does not provide financial advice and does not guarantee any results.
Signals are intended as decision-support only and should always be used together with proper risk management and personal evaluation.
The user is solely responsible for all trading decisions.
Consolidating Box with EMA**Consolidating Box with EMA** automatically identifies tight consolidation zones near an EMA and draws a dotted box around the most recent valid range. It also displays key stats (range and candle count) in a small table.
---
### What it shows
* **Consolidation Box (dotted white border):**
* **Top:** Highest High within the detected range
* **Bottom:** Lowest Low within the detected range
* **Info Table (bottom-right):**
* **R:** Range in ATR units → `(BoxHigh - BoxLow) / ATR`
* **N:** Number of candles in the consolidation
> Only the **latest** consolidation box is displayed. The script removes the previous box/table on each last-bar update.
---
### How it works
On the latest bar, the script scans back up to **50 candles** and attempts to find a consolidation where:
* The overall High–Low range stays within a volatility threshold:
`Range <= ATR Multiplier × ATR`
* The consolidation is **near the EMA**, meaning at least one candle overlaps this EMA band:
`EMA ± (EMA Multiplier × ATR)`
* The range contains at least **Minimum Consolidation Candles**.
To be flexible across different volatility conditions, it iterates ATR thresholds from **ATR Multiplier Min** to **ATR Multiplier Max**, using **ATR Multiplier Step**, and stops at the first valid match.
---
### Inputs
**General**
* **Minimum Consolidation Candles:** Minimum number of candles required to qualify.
**ATR**
* **ATR Length:** ATR period used for volatility normalization.
* **ATR Multiplier Min / Max:** Tightness range used to search for consolidation.
* **ATR Multiplier Step:** Increment size while searching.
**EMA**
* **EMA Length:** EMA period used as the “mean” reference.
* **EMA Multiplier:** Width of the EMA proximity band in ATR units.
---
### Tips
* Lower **ATR Multiplier Max** → fewer but tighter boxes
* Increase **Minimum Consolidation Candles** → longer, more reliable consolidations
* Increase **EMA Multiplier** → allows boxes farther from the EMA band
---
Multi-Indicator Scoring TableThis indicator is a comprehensive technical analysis system designed to quantify market sentiment and visualize key dynamic levels. It aggregates signals from 9 different technical indicators into a single "Total Score" while simultaneously plotting a complete roadmap of Support and Resistance levels on your chart.
By combining Trend Following (EMAs, PSAR), Momentum (MACD, RSI), and Volatility (Bollinger Bands) metrics, this tool provides traders with an immediate snapshot of market confluence.
Above: A clear example of a Strong Bullish Trend (Total Score: 10). Notice how the price is riding above all EMAs, which are acting as dynamic support levels.
How It Works
The script performs two main functions: it scores the current price action against a basket of technical indicators, and it visualizes these indicators as dynamic interaction zones.
1. Dynamic Support & Resistance
Unlike static horizontal lines, this script plots moving averages and volatility bands that adapt to price action.
Resistance: Any plotted line (EMA, Bollinger Band, or PSAR) located above the current price acts as a potential Resistance level. These are areas where price may struggle to break through.
Support: Any plotted line located below the current price acts as a potential Support level. These are areas where price may find a "floor" and bounce.
Above: A Bearish Scenario (Total Score: -10). The EMAs and Bollinger Bands are now above the price, acting as layers of resistance. The table confirms the negative sentiment with red scores.
2. Strategic Application: Adding Liquidity
This tool is particularly useful for traders looking to scale into positions (add liquidity) rather than entering all at once.
Buying the Dip: When the Total Score is positive, traders can look at the plotted EMAs below the price as "Buy Zones." If the price retraces to the EMA 30 or EMA 65, it may act as dynamic support.
Selling the Rip: When the Total Score is negative, the lines above the price act as resistance. A rally back up to the EMA 15 or the Bollinger Basis can be viewed as an opportunity to add to a short position.
Above: The "Dist %" column in action. This column calculates exactly how far away the price is from these Support/Resistance levels, helping you gauge if a breakout or a rejection is imminent.
3. The Scoring Logic
The dashboard assigns a weighted numerical score to each indicator based on specific bullish or bearish conditions. The Total Score ranges from -10 (Maximum Bearishness) to +10 (Maximum Bullishness).
Bollinger Bands: ±2 Points for Reversion (Overbought/Oversold), ±1 Point for Trend (Above/Below Basis).
RSI: ±2 Points based on the 50 level.
MACD: ±1 Point based on Signal Line crossover.
Parabolic SAR: ±1 Point based on trend direction.
EMAs: ±1 Point for each of the 5 EMAs (Default: 9, 15, 30, 65, 200).
Above: A transitional market phase. The score is mixed (Yellow/Orange), indicating the market is consolidating or reversing. This warns the trader to be cautious.
4. The Dashboard (Table Breakdown)
The on-chart table provides a real-time data feed with three columns:
Indicator: The name of the tool. EMA labels update dynamically based on your settings.
Score: The current contribution of that indicator (Green for Bullish, Red for Bearish).
Dist % / Value: Displays the % distance to Support/Resistance or the raw value for oscillators like RSI/MACD.
Above: A long-term view (Weekly/Monthly) showing how the indicator helps visualize macro trends and major support levels like the 200 EMA.
Settings & Customization
The script is fully modular. You can adjust every parameter via the settings menu, organized into specific groups:
Bollinger Bands: Adjust Length, Multiplier, and Source.
MACD: Tune Fast, Slow, and Signal lengths.
RSI: Change Length and Source.
Parabolic SAR: Modify Start, Increment, and Max values.
EMAs: Individually configure the lengths of all 5 Moving Averages.
Disclaimer
This tool is for informational purposes only and DOES NOT constitute financial advice. Always manage your risk.
VWAP Institutional Trading Engine INDICATORVWAP Institutional Trading Engine
Adaptive Market Regime & Trading Model Indicator
🔍 Overview
The VWAP Institutional Trading Engine is an advanced, rule-based market analysis indicator designed to replicate institutional decision-making logic using VWAP, volatility, and session-based market behavior.
This indicator does not predict price.
Instead, it answers a more important question:
“What type of trading is appropriate right now – if any?”
The engine continuously evaluates:
Market regime (trend, range, dead market)
Volatility conditions
VWAP acceptance and deviation
Trading session (Asia / London / New York)
Based on this, it dynamically activates one of three trading models:
TREND
MEAN REVERSION
OFF (no trading)
This makes it ideal for:
Discretionary traders
Systematic traders
Risk-focused trading
Educational / portfolio-style trading approaches
🧠 Core Philosophy
Professional trading is not about finding more signals.
It is about knowing when not to trade.
This indicator is built around three institutional principles:
VWAP defines fair value
Volatility defines opportunity or danger
Different sessions require different behavior
⚙️ Indicator Components
1️⃣ VWAP & Statistical Deviation Bands
VWAP represents institutional fair price
±1σ bands indicate acceptance zones
±2σ bands represent statistical extremes
Used for:
Mean reversion zones
Trend acceptance confirmation
Go Score calculation
2️⃣ Volatility Engine
Volatility is measured using ATR relative to price
Compared against its own moving average
Classifications:
Low volatility → dead / untradable market
Normal volatility → structured behavior
High volatility → trend or liquidation events
3️⃣ Market Regime Detection
The engine classifies each moment into one regime:
Regime Meaning
TREND Price accepts above or below VWAP with volatility
RANGE Price rotates near VWAP
DEAD Low volatility, no opportunity
MIXED Unclear structure
4️⃣ Active Trading Model (Most Important)
Displayed in the dashboard as Model:
Model Interpretation
TREND Trade with momentum and continuation
MEAN_REVERT Trade extremes back to VWAP
OFF Do not trade
The Model tells you HOW you are allowed to trade right now.
5️⃣ Session Awareness (UTC)
The indicator adapts behavior based on session logic:
Session Preferred Behavior
Asia Mean Reversion
London Trend
New York Selective / adaptive
Trades are only allowed when model + session are aligned.
6️⃣ Go Score – Trade Quality Filter
Each potential setup receives a Go Score (0–100), based on:
Distance from VWAP
Market regime quality
Volatility penalties
Go Score Interpretation
≥ 80 High-quality (A+)
65–79 Acceptable
< 65 No trade
7️⃣ Risk Guidance (Informational)
The indicator outputs a Risk % suggestion, based on:
Go Score
Simulated drawdown logic
⚠️ This is guidance only, not position sizing.
📈 Visual Signals
The indicator plots contextual signals, not blind entries:
Mean Reversion Signals
▲ Long below −2σ
▼ Short above +2σ
Trend Signals
↑ Long after acceptance above +1σ
↓ Short after acceptance below −1σ
Signals appear only when trading is allowed by:
Model
Session
Go Score
🧩 Dashboard Explanation
The top-right dashboard displays real-time engine state:
Field Description
Session Current UTC session
Regime Detected market condition
Go Score Trade quality score
Risk % Suggested relative risk
Drawdown % Virtual defensive metric
Model Active trading model
If Model = OFF → do nothing.
🧭 Practical Trading Manual (Step-by-Step)
Step 1 – Check the Model
TREND → look for continuation
MEAN_REVERT → look for extremes
OFF → do not trade
Step 2 – Confirm Session Alignment
Asia + Mean Reversion ✔
London + Trend ✔
Misalignment = caution
Step 3 – Check Go Score
Below 65 → skip
65+ → proceed
Step 4 – Use Chart Structure
VWAP = anchor
σ bands = context
Signal = permission, not obligation
Step 5 – Manage Risk Manually
Use your own SL/TP rules
Follow the Risk % as guidance, not law
❌ What This Indicator Is NOT
Not a signal spam tool
Not a prediction system
Not a “holy grail”
It is a decision framework.
✅ Best Use Cases
Futures
Indices
Forex
Crypto
Intraday & swing trading
Recommended timeframes:
5m – 1H (intraday)
4H (contextual swing)
🏁 Final Notes
This indicator is intentionally transparent and rule-based.
It is designed to help traders:
Think in regimes
Trade with structure
Avoid overtrading
Protect capital
If you trade with the Model, not against it,
you will already be ahead of most market participants.
Cosmic Volume Analyzer [JOAT]
Cosmic Volume Analyzer - Astrophysics Edition
Overview
Cosmic Volume Analyzer is an open-source oscillator indicator that applies astrophysics-inspired concepts to volume analysis. It classifies volume into buy/sell categories, calculates volume flow, detects accumulation/distribution phases, identifies climax volume events, and uses gravitational and stellar mass analogies to visualize volume dynamics.
What This Indicator Does
The indicator calculates and displays:
Volume Classification - Categorizes each bar as CLIMAX_BUY, CLIMAX_SELL, HIGH_BUY, HIGH_SELL, NORMAL_BUY, or NORMAL_SELL
Volume Flow - Percentage showing buy vs sell pressure over a lookback period
Buy/Sell Volume - Separated volume based on candle direction
Accumulation/Distribution - Phase detection using Money Flow Multiplier
Volume Oscillator - Fast vs slow volume EMA comparison
Gravitational Pull - Volume-weighted price attraction metric
Stellar Mass Index - Volume ratio combined with price momentum
Black Hole Detection - Identifies extremely low volume periods (liquidity voids)
Supernova Events - Detects extreme volume with extreme price movement
Orbital Cycles - Sine-wave based cyclical visualization
How It Works
Volume classification uses volume ratio and candle direction:
classifyVolume(series float vol, series float close, series float open) =>
float avgVol = ta.sma(vol, 20)
float volRatio = avgVol > 0 ? vol / avgVol : 1.0
if volRatio > 1.5
if close > open
classification := "CLIMAX_BUY"
else
classification := "CLIMAX_SELL"
else if volRatio > 1.2
// HIGH_BUY or HIGH_SELL
else
// NORMAL_BUY or NORMAL_SELL
Volume flow separates buy and sell volume over a period:
calculateVolumeFlow(series float vol, series float close, simple int period) =>
float currentBuyVol = close > open ? vol : 0.0
float currentSellVol = close < open ? vol : 0.0
// Accumulate in buffers
float flow = (buyVolume - sellVolume) / totalVol * 100
Accumulation/Distribution uses the Money Flow Multiplier:
float mfm = ((close - low) - (high - close)) / (high - low)
float mfv = mfm * vol
float adLine = ta.cum(mfv)
if adLine > adEMA and ta.rising(adLine, 3)
phase := "ACCUMULATION"
else if adLine < adEMA and ta.falling(adLine, 3)
phase := "DISTRIBUTION"
Gravitational pull uses volume-weighted price distance:
gravitationalPull(series float vol, series float price, simple int period) =>
float massCenter = ta.vwma(price, period)
float distance = math.abs(price - massCenter)
float mass = vol / ta.sma(vol, period)
float gravity = distance > 0 ? mass / (distance * distance) : 0.0
Signal Generation
Signals are generated based on volume conditions:
Buy Climax: Volume exceeds 2 standard deviations above average on bullish candle
Sell Climax: Volume exceeds 2 standard deviations above average on bearish candle
Strong Buy Flow: Volume flow exceeds positive threshold (default 45%)
Strong Sell Flow: Volume flow exceeds negative threshold (default -45%)
Supernova: Volume 3x average AND price change 3x average
Black Hole: Volume 2 standard deviations below average
Dashboard Panel (Top-Right)
Volume Class - Current volume classification
Volume Flow - Buy/sell flow percentage
Buy Volume - Accumulated buy volume
Sell Volume - Accumulated sell volume
A/D Phase - ACCUMULATION/DISTRIBUTION/NEUTRAL
Volume Strength - Normalized volume strength
Gravity Pull - Current gravitational metric
Stellar Mass - Current stellar mass index
Cosmic Field - Combined cosmic field strength
Black Hole - Detection status and void strength
Signal - Current actionable status
Visual Elements
Volume Ratio Columns - Colored bars showing normalized volume
Volume Flow Line - Main oscillator showing flow direction
Flow EMA - Smoothed flow for trend reference
Volume Oscillator - Area plot showing fast/slow comparison
Gravity Field - Area plot showing gravitational pull
Orbital Cycle - Circle plots showing cyclical pattern
Stellar Mass Line - Line showing mass index
Climax Markers - Fire emoji for buy climax, snowflake for sell climax
Supernova Markers - Diamond shapes for extreme events
Black Hole Markers - X-cross for liquidity voids
A/D Phase Background - Subtle background color based on phase
Input Parameters
Volume Period (default: 20) - Period for volume calculations
Distribution Levels (default: 5) - Granularity of distribution analysis
Flow Threshold (default: 1.5) - Multiplier for flow significance
Accumulation Period (default: 14) - Period for A/D calculation
Gravitational Analysis (default: true) - Enable gravity metrics
Black Hole Detection (default: true) - Enable void detection
Stellar Mass Calculation (default: true) - Enable mass index
Orbital Cycles (default: true) - Enable cyclical visualization
Supernova Detection (default: true) - Enable extreme event detection
Suggested Use Cases
Identify accumulation phases for potential long entries
Watch for distribution phases as potential exit signals
Use climax volume as potential exhaustion indicators
Monitor volume flow for directional bias
Avoid trading during black hole (low liquidity) periods
Watch for supernova events as potential trend acceleration
Timeframe Recommendations
Best on 15m to Daily charts. Volume analysis requires sufficient trading activity for meaningful readings.
Limitations
Volume data quality varies by exchange and instrument
Buy/sell separation is based on candle direction, not actual order flow
Astrophysics concepts are analogies, not literal physics
A/D phase detection may lag during rapid transitions
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes. It does not constitute financial advice. Past performance does not guarantee future results. Always use proper risk management.
- Made with passion by officialjackofalltrades
Session Anchored OIWAP [Arjo]The Session Anchored OIWAP (Open Interest Weighted Average Price) indicator shows you a weighted average price that uses Open Interest (OI) changes during different trading sessions . It divides the day into four clear sessions: Opening Hour , Morning Session , Mid-Day Session , and Closing Session .
For each session , it calculates a weighted average price using both market price and open interest data from futures . This line updates as the session progresses and resets when a new session starts .
You can also see optional deviation bands that you visually compare to how far the market price is moving away from the session’s weighted average. This indicator also helps you watch how Open Interest changes connect with price movements during specific market hours.
Concepts
This tool works on a few simple ideas:
Session anchoring
Each session starts fresh. The indicator resets and begins a new calculation when a new time block begins. This allows users to visually study each session independently.
Open-interest weighting
Instead of treating all price moves equally, price changes linked to higher open-interest activity have more influence on the OIWAP. This gives a weighted reflection of where the market has been trading during the session.
Averaging and smoothing
The OIWAP line blends many price data points into one smooth curve, making it easier to follow than raw price movement.
Volatility display with bands
The upper and lower bands are placed at ±0.5 standard deviation from the OIWAP line. These bands simply help you see when price stretches further away than usual from the session average.
Features
Four Independent Session Calculations: Shows separate OIWAP lines for Opening Hour (default: 09:15-10:15), Morning (10:15-11:30), Mid-Day (11:30-14:00), and Closing (14:00-15:30) sessions
Open Interest Weighting: Uses absolute OI change as the weight instead of traditional volume
Customizable Session Times: You can change the time ranges for each session to match your market or what you need
Optional Deviation Bands: You can turn ±0.5 standard deviation bands on or off around each OIWAP line
Color-Coded Sessions: Each session has its own color so you can tell them apart easily
Selective Display: You can turn individual sessions and bands on or off
Data Availability Check: Shows you a notification when Open Interest data isn't available for your symbol
Adjustable Position Timeframe: You can calculate OI changes on different timeframes (Chart, Daily, 15min, 30min, 60min, 120min)
How to use
Add this indicator to a chart of any symbol that has Open Interest data ( from futures or derivatives contracts). Once you add it, you'll see colored lines showing the OIWAP for each session you enable, along with optional deviation bands.
Adjusting Settings:
Turn individual sessions on or off using the checkboxes in the " Sessions " section
Change session colors to match your chart or what looks good to you
Turn deviation bands on or off using the " Show Bands " option in the Display settings
Change session time ranges in the " Session Times " section to match your market hours or what you want to analyze
Change the Position Timeframe if you want to see OI changes calculated on a different time period
Visual Interpretation:
Each OIWAP line shows you the OI-weighted average price for that session
The deviation bands show you how much prices spread out, weighted by OI changes
You can watch how price interacts with these levels to see where significant OI activity happened
Different sessions may show different OIWAP levels, showing you how the OI-price relationship changes throughout the trading day
Note:
This indicator needs Open Interest data to work. If OI data isn't available for your symbol, you'll see a message in the center of your chart. This indicator works only with derivatives markets like futures and options in the Indian Market where OI data is publicly available.
Conclusion
The Session Anchored OIWAP indicator is designed to support structured market observation by combining price, open interest, and session anchoring into a clear visual format. It helps users study market behavior during different parts of the day without generating trading instructions or outcomes.
Disclaimer
This indicator is for educational and visual-analysis purposes only. It does not provide trading signals , financial advice, or guaranteed outcomes . You should perform your own research and consult a licensed financial professional when needed. All trading decisions are solely the responsibility of the user.
Happy Trading
FX Rate Bias US vs EU 2YFX Rate Bias – US vs EU (2Y)
This indicator provides a macro bias framework for FX markets by tracking the 2-year government bond yield differential between the United States and Germany.
Rather than displaying the spread as a raw calculation, the script translates interest-rate expectations into a clear directional bias, helping traders understand which currency currently holds a rate advantage.
The 2Y segment of the yield curve is highly sensitive to:
Central bank expectations
Forward guidance
Shifts in short-term monetary policy outlook
How to use
Positive spread → USD rate advantage
Negative spread → EUR rate advantage
Designed to be used as a contextual macro tool, this indicator helps align technical setups with broader monetary conditions.
It is not intended as a standalone entry or signal generator.






















