Dynamic Fib 61.8Dynamic Fib 61.8 Indicator – Full Guide
1. Overview
This indicator plots a dynamic 61.8% Fibonacci retracement level, adjusted for market volatility and smoothed using an EMA for cleaner signals. Unlike traditional static Fib levels, this version auto-adjusts based on recent price swings, making it more responsive to changing market conditions.
Key Features:
✅ Auto-Adjusting 61.8% Fib Level – Adapts to the highest high/lowest low over a user-defined period.
✅ EMA Smoothing – Reduces noise for more reliable support/resistance.
✅ Breakout Alerts – Built-in alerts for when price crosses the Fib level.
✅ Inverse Chart Support – Works on both regular and inverse price scales.
2. How to Use This Indicator
Primary Use Case:
Trend Retracement Entry: The 61.8% level often acts as a reversal zone in trending markets.
Breakout Confirmation: A decisive close above/below the smoothed Fib level suggests trend continuation.
Support/Resistance Flip: Watch for price reactions at this level for intraday/swing trades.
Input Parameters:
Input Default Description
Lookback Period 52 Determines how far back the highest high/lowest low is calculated. Higher = slower reaction, lower = more sensitive.
EMA Smoothing 3 Controls how much the Fib level is smoothed (higher = smoother but laggier).
Invert Price Scale Off Flips the calculation for inverse charts (e.g., for crypto perpetuals).
3. Interpretation & Trading Rules
Bullish Scenario (Buy Dips):
Price retraces to the smoothed Fib 61.8 level in an uptrend.
Confirmation: Wait for bullish candlestick patterns (hammer, engulfing) or RSI > 50.
Entry: Long on a bounce, stop-loss below recent swing low.
Bearish Scenario (Sell Rallies):
Price retraces to the smoothed Fib 61.8 level in a downtrend.
Confirmation: Bearish rejection (shooting star, bearish engulfing) or RSI < 50.
Entry: Short on rejection, stop-loss above recent swing high.
Breakout Trading:
If price closes decisively above/below the smoothed Fib level, it may signal trend continuation.
Volume & Momentum Confirmation: Use with MACD/RSI for stronger signals.
4. Best Confluence Indicators
This indicator works best when combined with:
A. Momentum Oscillators
RSI (14):
Look for oversold (RSI < 30) near Fib support in uptrends.
Look for overbought (RSI > 70) near Fib resistance in downtrends.
MACD:
Bullish: MACD crossing above signal line near Fib support.
Bearish: MACD crossing below signal line near Fib resistance.
B. Volume Analysis
Volume Spike + Fib Bounce = Strong Reversal Signal
Low Volume at Fib Retest = Potential Fakeout
C. Moving Averages
50 EMA/200 EMA Alignment:
If price is above 200 EMA and retests Fib 61.8, it’s a high-probability long.
If price is below 200 EMA and rejects Fib 61.8, it’s a high-probability short.
D. Price Action Patterns
Engulfing, Pin Bars, Inside Bars at the Fib level add confirmation.
5. Example Strategy
Setup:
Trend Identification – Price is above 200 EMA (uptrend).
Retracement to Smoothed Fib 61.8 – Price pulls back to the dynamic level.
Confirmation – Bullish hammer forms + RSI > 50.
Entry – Buy with stop below recent swing low.
Target – Previous high or 1.618 Fib extension.
6. Limitations & Adjustments
Choppy Markets: The Fib level may give false signals (use ATR filter).
Optimal Period Adjustment:
For day trading, reduce Lookback Period (e.g., 20-30).
For swing trading, increase (e.g., 50-100).
EMA Smoothing: If too slow, increase smoothing to 5-10.
Final Thoughts
This indicator is best used as a dynamic support/resistance tool rather than a standalone system. Combining it with momentum filters, volume, and price action significantly improves accuracy.
Trend Analizi
Hidden Markov ModelOverview
This model uses a Hidden Markov Model to identify and predict market regimes in real-time. It is designed to probabilistically identify market regime changes and predict potential reversal point using a forward algorithm to calculate the probability of a state.
Unlike traditional technical indicators that rely on price patterns or moving averages, this HMM analyses the underlying statistical structure of market movements to detect when the market transitions between different behavioural states such as trending, ranging, or volatile periods
How it works
The HMM assumes that market behavior follows hidden states that aren't directly observable, but can be inferred from observable market data (emissions). The model uses a (somewhat simplified) Bayesian inference to estimate these probabilities.
State 0: (Normal Trading): Market continuation patterns, balanced buying/selling
State 1: (Top Formation): Exhaustion patterns at price highs
State 2: (Bottom Formation): Capitulation patterns at price lows
How to use
1) Identify the trend (you can also use it counter-trend)
2) For longing, look for a green arrow. The probability values should be red. For shorting, look for a red arrow. The probability values should be green
3) For added confluence, look for high probability values of above 25%.
Advantages and what makes it unique
Unlike moving averages or oscillators that react to price changes, the HMM proactively identifies the underlying market structure. This forward-looking approach can signal regime changes before they become apparent in price action, providing traders with an informational edge.
52SIGNAL RECIPE Directional Consistency Index═══ 52SIGNAL RECIPE Directional Consistency Index (DCI) ═══
◆ Overview
52SIGNAL Directional Consistency Index (DCI) is a technical indicator that measures the directional consistency of market movements. This indicator focuses on the consistency of direction rather than the magnitude of price changes, analyzing the strength of market trends and providing more reliable trend analysis by filtering out noise to reflect only meaningful price movements.
─────────────────────────────────────
◆ Key Features
• Direction-Focused Analysis: Concentrates solely on directional consistency rather than magnitude of price changes
• Noise Filtering: Ignores insignificant price movements through minimum percentage change settings
• Trend Exhaustion Detection: Identifies potential trend reversals as values approach ±0.5 levels
• Intuitive Visualization: Instant recognition of trend direction through color changes based on rising/falling zones
• Multi-Market Application: Adaptable to various financial markets including stocks, cryptocurrencies, and forex
─────────────────────────────────────
◆ Technical Foundation
■ Directional Calculation
• Basic Principle: Counts only the up/down movement of each candle to measure directional consistency
• Calculation Method: Determines direction based on percentage change between current close and previous close
• Direction Values: Simplified into Rising (+1), Falling (-1), or Insignificant Change (0)
• Averaging: DCI calculated as the moving average of direction values over the specified period
■ Noise Filtering Mechanism
• Minimum Percentage Change: The minimum percent change required to consider a price movement significant
• Filtering Effect: Movements smaller than the minimum change are excluded from direction calculation (treated as 0)
• Enhanced Reliability: Adjustable filtering strength for optimization across different market environments
─────────────────────────────────────
◆ Practical Applications
■ Trend Identification & Reversal Prediction
• Early Uptrend Detection:
▶ When DCI enters the 0 to +0.3 range
▶ When recent directional consistency begins to consistently rise
• Early Downtrend Detection:
▶ When DCI enters the 0 to -0.3 range
▶ When recent directional consistency begins to consistently fall
• Trend Reversal Signals:
▶ When DCI approaches +0.5 (uptrend exhaustion, potential downward reversal)
▶ When DCI approaches -0.5 (downtrend exhaustion, potential upward reversal)
■ Trading Strategy Implementation
• Trend Following Strategies:
▶ Consider buying when DCI crosses above the 0 line
▶ Consider selling when DCI crosses below the 0 line
• Reversal Trading:
▶ Consider taking profits or short positions when DCI approaches +0.5
▶ Consider long positions when DCI approaches -0.5
• Divergence Confirmation:
▶ Weakening uptrend signal when price rises but DCI weakens
▶ Weakening downtrend signal when price falls but DCI strengthens
─────────────────────────────────────
◆ Advanced Setting Options
■ Period (Length) Settings
• Short-term Analysis: 5-10 days (faster signals, more sensitive responses)
• Medium-term Analysis: 10-20 days (balanced signals, recommended default)
• Long-term Analysis: 20-30 days (slower signals, long-term trend identification)
■ Minimum Percentage Change Settings
• Low Volatility Markets: 0.05-0.2% (suitable for forex markets)
• Medium Volatility Markets: 0.3-0.5% (suitable for stock markets)
• High Volatility Markets: 0.5-1.0% (suitable for cryptocurrency markets)
■ Settings by Trading Style
• Scalping: Lower period (5-10), lower minimum change (0.05-0.1%)
• Day Trading: Medium period (10-15), medium minimum change (0.2-0.3%)
• Swing Trading: Higher period (15-25), higher minimum change (0.3-0.5%)
─────────────────────────────────────
◆ Synergy with Other Indicators
• Moving Averages: Strengthen signals by confirming moving average crossovers when DCI crosses the 0 line
• RSI: Combine DCI trend direction with RSI overbought/oversold levels to confirm entry points
• MACD: Enhance reliability by pairing DCI directional signals with MACD momentum confirmation
• Bollinger Bands: Analyze volatility by checking Bollinger Band expansion/contraction when DCI approaches ±0.5
─────────────────────────────────────
◆ Conclusion
52SIGNAL Directional Consistency Index (DCI) is a powerful tool for objectively measuring market directionality and visualizing trend strength. The noise filtering through minimum percentage change settings can be adjusted to match your trading style and market characteristics for optimal results. Its ability to identify early trend stages and detect overextended zones provides traders with important entry and exit points. When used in conjunction with other technical indicators, it can significantly enhance the reliability of trading decisions.
─────────────────────────────────────
※ Disclaimer: Past performance does not guarantee future results. Always use appropriate risk management strategies.
═══ 52SIGNAL 방향성 일관성 지수 (DCI) ═══
◆ 개요
52SIGNAL 방향성 일관성 지수(DCI)는 시장의 방향성 일관성을 측정하는 기술적 지표입니다. 이 지표는 가격 변화의 크기가 아닌 방향의 일관성에 중점을 두어 시장의 추세 강도를 분석하고, 노이즈 필터링 기능을 통해 의미 있는 가격 변동만을 반영하여 더 신뢰할 수 있는 추세 분석을 제공합니다.
─────────────────────────────────────
◆ 주요 특징
• 방향성 중심 분석: 가격 변화의 크기가 아닌 방향성에만 집중하여 추세의 일관성 측정
• 노이즈 필터링: 최소 변화율 설정을 통해 의미 없는 작은 가격 변동을 무시
• 추세 과열 감지: ±0.5 수준에 접근할 때 추세 전환 가능성 식별
• 직관적인 시각화: 상승/하락 구간에 따른 색상 변화로 추세 방향 즉각 인식
• 다양한 시장 적용: 주식, 암호화폐, 외환 등 다양한 금융 시장에 적용 가능
─────────────────────────────────────
◆ 기술적 기반
■ 방향성 계산
• 기본 원리: 각 캔들의 상승/하락 여부만 카운트하여 방향의 일관성 측정
• 계산 방법: 현재 종가와 이전 종가의 퍼센트 변화를 기준으로 방향 판단
• 방향 값: 상승(+1), 하락(-1), 의미 없는 변화(0)로 단순화
• 평균화: 설정된 기간 동안의 방향 값의 이동평균으로 DCI 산출
■ 노이즈 필터링 메커니즘
• 최소 변화율: 의미 있는 가격 변동으로 인정할 최소 퍼센트 변화
• 필터링 효과: 최소 변화율보다 작은 변동은 방향 계산에서 제외(0으로 처리)
• 신뢰도 향상: 필터링 강도 조절을 통해 다양한 시장 환경에 최적화 가능
─────────────────────────────────────
◆ 실용적 응용
■ 추세 식별 및 전환점 예측
• 상승 추세 초입:
▶ DCI가 0에서 +0.3 사이로 진입할 때
▶ 최근 방향성이 일관되게 상승하기 시작할 때
• 하락 추세 초입:
▶ DCI가 0에서 -0.3 사이로 진입할 때
▶ 최근 방향성이 일관되게 하락하기 시작할 때
• 추세 전환 신호:
▶ DCI가 +0.5에 가까워질 때 (상승 추세 과열, 하락 전환 가능성)
▶ DCI가 -0.5에 가까워질 때 (하락 추세 과열, 상승 전환 가능성)
■ 트레이딩 전략 적용
• 추세 추종 전략:
▶ DCI가 0선을 위로 돌파할 때 매수 고려
▶ DCI가 0선을 아래로 돌파할 때 매도 고려
• 반전 트레이딩:
▶ DCI가 +0.5에 근접할 때 이익실현 또는 매도 포지션 고려
▶ DCI가 -0.5에 근접할 때 매수 포지션 고려
• 다이버전스 확인:
▶ 가격은 상승하나 DCI가 약화될 때 상승 추세 약화 신호
▶ 가격은 하락하나 DCI가 강화될 때 하락 추세 약화 신호
─────────────────────────────────────
◆ 고급 설정 옵션
■ 기간(Length) 설정
• 단기 분석: 5-10일 (빠른 신호, 민감한 반응)
• 중기 분석: 10-20일 (균형 잡힌 신호, 기본 권장)
• 장기 분석: 20-30일 (느린 신호, 장기 추세 식별)
■ 최소 변화율(Minimum % Change) 설정
• 저변동성 시장: 0.05-0.2% (외환 시장에 적합)
• 중변동성 시장: 0.3-0.5% (주식 시장에 적합)
• 고변동성 시장: 0.5-1.0% (암호화폐 시장에 적합)
■ 트레이딩 스타일별 설정
• 스캘핑: 낮은 기간(5-10), 낮은 최소 변화율(0.05-0.1%)
• 데이 트레이딩: 중간 기간(10-15), 중간 최소 변화율(0.2-0.3%)
• 스윙 트레이딩: 높은 기간(15-25), 높은 최소 변화율(0.3-0.5%)
─────────────────────────────────────
◆ 다른 지표와의 시너지
• 이동평균선: DCI가 0선을 돌파할 때 이동평균 교차 확인으로 신호 강화
• RSI: DCI의 추세 방향과 RSI의 과매수/과매도 수준을 결합하여 진입점 확인
• MACD: DCI의 방향성 신호와 MACD의 모멘텀 확인을 결합하여 신뢰도 향상
• 볼린저 밴드: DCI가 ±0.5에 근접할 때 볼린저 밴드 확장/수축 확인으로 변동성 분석
─────────────────────────────────────
◆ 결론
52SIGNAL 방향성 일관성 지수(DCI)는 시장의 방향성을 객관적으로 측정하고 추세의 강도를 시각화하는 강력한 도구입니다. 최소 변화율 설정을 통한 노이즈 필터링은 각자의 트레이딩 성향과 시장 특성에 맞게 조정할 수 있어 최적의 효과를 누릴 수 있습니다. 추세의 초기 단계를 식별하고 과열 구간을 감지하는 능력은 트레이더에게 중요한 진입 및 퇴출 포인트를 제공합니다. 다른 기술적 지표와 함께 사용하면 트레이딩 결정의 신뢰도를 크게 향상시킬 수 있습니다.
─────────────────────────────────────
※ 면책 조항: 과거 성과가 미래 결과를 보장하지 않습니다. 항상 적절한 리스크 관리 전략을 사용하세요.
Volume Spike Analyzer(SMA10-Based)📊 **Volume Spike Analyzer (SMA10-Based)**
This indicator highlights abnormal volume activity by comparing current volume to the 10-period Simple Moving Average (SMA) of volume. It helps traders visually identify unusual activity that may precede breakouts, reversals, or news-driven moves.
---
🔧 **Features:**
• ✅ Colors volume bars:
• Green = Volume > SMA(10)
• Red = Volume ≤ SMA(10)
• ✅ Detects and labels spike levels:
• 🔶2x — Volume > 2x SMA(10)
• 🟢3x — Volume > 3x SMA(10)
• 🔴4x — Volume > 4x SMA(10)
• ✅ Built-in alerts for all 3 spike levels
---
📈 **Best Use Cases:**
• Confirm breakouts with strong volume
• Detect accumulation/distribution
• Filter low-volume setups
• Combine with VWAP/EMA for directional confirmation
---
⏱️ **Recommended Timeframes:**
• Intraday: 5m, 15m, 1h
• Also works on daily for swing trades
---
🧠 **Pro Tips:**
• Use with VWAP or EMA(20/50/200) for confluence
• Add SMA(Volume, 10) to your price chart for quick correlation
• Combine with candle pattern detection for signal validation
---
OI BTC Profile# 🚀 Bitcoin Open Interest Profile
## 📊 **What is this indicator?**
The **Bitcoin Open Interest Profile** is an advanced indicator developed in Pine Script v6 that visualizes the distribution of Bitcoin's Open Interest (OI) across different price levels, similar to a Volume Profile but using Open Interest data.
## 🎯 **Key Features**
### **Open Interest Analysis**
- **Dual Mode**: Visualizes both absolute OI value and net changes
- **Data Source**: Uses Open Interest data from BINANCE:BTCUSDT.P-OI
- **Configurable Lookback**: Up to 1000 historical bars for analysis
### **Professional Visualization**
- **Horizontal Profile**: Horizontal bars showing OI concentration by price level
- **Point of Control (POC)**: Automatically identifies the level with highest OI concentration
- **Rolling POC**: Option to display dynamic POC in real-time
### **Advanced Customization**
- **3 Color Schemes**:
- **OI Gradient**: Colors by Open Interest intensity
- **Bull/Bear**: Green for increases, red for decreases
- **Custom**: Customizable color
- **Adjustable Histogram**: Width, position, and orientation configurable
- **Up to 500 levels**: Ultra-high resolution for detailed analysis
## 🔧 **Configurable Parameters**
### **Basic Settings**
- `Lookback`: Number of bars to analyze (1-1000)
- `Row Size`: Profile resolution (1-500 levels)
- `Rolling POC`: Show dynamic POC
- `OI Calculation`: Absolute value or net change
### **Style Settings**
- `Width`: Histogram width (% of range)
- `Bar Width`: Bar thickness
- `Flip Histogram`: Invert orientation
- `Color Schemes`: Multiple coloring options
## 📈 **Trading Applications**
### **Support and Resistance Analysis**
- Identifies levels with highest concentration of open positions
- POC acts as a magnetic price attractor
### **Liquidity Zone Detection**
- High OI levels may indicate potential liquidation zones
- Useful for identifying stop-loss clusters
### **Sentiment Analysis**
- OI changes reveal accumulation or distribution patterns
- Difference between absolute value and net changes provides context
### **Entry Timing**
- Rolling POC can act as dynamic support/resistance
- Confluence with traditional technical analysis
## 💡 **Competitive Advantages**
### **Optimized Performance**
- Maximum 500 simultaneous lines for smooth operation
- Efficient calculations with native arrays
- Compatible with multiple timeframes
### **Total Flexibility**
- Adaptable to different trading strategies
- Granular configuration for each trader
- Overlay that doesn't interfere with price analysis
### **Institutional Data**
- Access to market-moving metrics
- Information not available in traditional indicators
- Informational advantage over retail traders
## 🚨 **Recommended Use Cases**
### **Scalping and Day Trading**
- Use high resolution (300-500 rows) with short lookback (50-100 bars)
- Rolling POC as intraday reference
### **Swing Trading**
- Medium resolution (100-200 rows) with extended lookback (200-500 bars)
- Focus on high OI levels for targets
### **Positional Analysis**
- Maximum lookback (500-1000 bars) for historical context
- Identification of accumulation/distribution zones
## 🎨 **Visual Examples**
The indicator generates a horizontal profile showing:
- **Longer bars**: Higher Open Interest concentration
- **POC (dotted line)**: Level of maximum interest
- **Color gradient**: OI intensity or bull/bear sentiment
## 🔥 **Why is it unique?**
1. **First of its kind**: Combines volume analysis with derivatives metrics
2. **Institutional precision**: Real-time Open Interest data
3. **Extreme versatility**: Adaptable to any trading style
4. **Optimized performance**: Efficient code for professional use
## 📞 **Feedback and Improvements**
Would you like to see any additional functionality? Any specific parameters for your strategy?
---
*Developed by an experienced trader for experienced traders. Compatible with Pine Script v6 and optimized for Bitcoin, but adaptable to other instruments with available OI data.*
Noon Curve Box with Quadrants & 1st FVGOverview 📜
The Noon Curve Box with Quadrants & 1st FVG is a comprehensive analysis tool built for intraday traders. It automates the process of identifying and visualizing key time-based concepts popularized by ICT (Inner Circle Trader) and other price action methodologies.
While the concepts themselves are public, this script's value lies in its unique automation and clear presentation. It saves you the manual effort of marking session ranges, quadrants, and searching for critical imbalances every single day, allowing you to focus purely on execution.
Underlying Concepts Explained 🧠
This script is built on a few core price action principles:
Time-Based Profiling: The idea that different times of the trading day have different characteristics. The script visually separates the main session into 2-hour quadrants to help you track momentum shifts.
Fair Value Gaps (FVG): An FVG is a three-bar pattern that indicates a price imbalance or inefficiency. It's a foundational concept in many institutional trading methods.
A Bullish FVG (or BISI) forms when there is a gap between the first candle's high and the third candle's low:
Candle 1 HighCandle 3 High
"Silver Bullet" Time Windows: This indicator specifically targets the first FVG formed during the high-impact AM session (9:30-10:00 NY Time) and a corresponding PM session (13:30-14:00 NY Time), as these are often considered high-probability reversal or continuation zones.
Key Features & How It Works ✨
Automated Session Box: The script automatically draws a box around the high and low of your specified trading session (default is 8:00 AM - 4:00 PM New York time). This provides an instant view of the day's operating range.
Dynamic Quadrant Analysis: The session is automatically divided into 2-hour quadrants. Each box is colored based on its internal momentum (close vs. open), providing an at-a-glance summary of buying or selling pressure throughout the day.
Precision FVG Detection:
The script's core logic scans for the very first FVG within the AM (9:30-10:00) and PM (13:30-14:00) windows.
It identifies the exact 3-bar pattern and immediately draws a box marking the imbalance zone. Once the first FVG is found for a window, the script stops searching, ensuring your chart remains clean and focused on the most significant, initial imbalance.
The FVG boxes extend to the current bar, keeping these key levels of interest visible all day.
How to Use This Indicator 🎯
Context: Use the Session Box high and low as your primary intraday support and resistance levels.
Momentum: Use the Quadrant Box colors to gauge the flow of the market. A switch from red to green, for example, can signal a potential shift in control.
High-Probability Setups: The AM and PM First FVG boxes are your key points of interest. These imbalances often act as price magnets. Look for price to return to these zones to find potential entries, as they may act as support (bullish FVG) or resistance (bearish FVG).
Settings and Customization ⚙️
You have full control over all visual elements.
Session Control: Adjust the session time and timezone.
Visual Toggles: Enable or disable the Session Box, Quadrants, and AM/PM FVGs.
Color Customization: Match all elements to your personal chart theme.
History: Limit the number of historical FVG boxes displayed to keep your chart clean.
MojoPivots Breakout Signals [DonnieMojo]The MojoPivots Breakout Indicator is a precision-engineered tool designed for traders seeking high-probability breakout opportunities using dynamic pivot structures and real-time volume imbalances.
Built on DonnieMojo’s breakout framework, this indicator analyzes market structure via custom MR (Major Resistance) and MS (Major Support) levels, dynamically derived from intraday volume profiles and statistical price expansion. It intelligently tracks and visualizes potential breakout zones, key "line-in-the-sand" levels, and take-profit targets (TP1, TP2, TP3) based on volatility-adjusted zones.
🔑 Core Features:
Breakout Signal Detection
Identifies potential bullish and bearish breakouts when price breaches predefined resistance (MR1) or support (MS1) levels with confirmation from volume dynamics.
Smart Take-Profit System
Targets are automatically mapped to MR2–MR4 and MS2–MS4, offering structured TP zones based on standard deviation thresholds.
Delta Zone Visuals
Color-coded fills display real-time buyer/seller dominance in each zone using an imbalance-weighted volume model.
VPOC "Sand Line"
The Volume Point of Control is plotted to show the session's key battle line for trend continuation or rejection.
Statistical Performance Panel
Live breakout stats with hit-rate bars (TP1/TP2/TP3) help you evaluate performance and adjust trade management.
🧪 Usage Tips:
Timeframe Sync: The default detection logic is based on 15-minute candles, but pivot zones are calculated from higher timeframes (2H by default). Adjust these in the settings to suit your strategy.
Entry Trigger: Wait for price to close below MS1 or above MR1 and breach it on the next bar to confirm a breakout signal.
TP Scaling: Use TP1 for conservative exits or scale out progressively at TP2 and TP3 for extended moves.
Volume Confirmation: Delta zone fills (green/red) help validate whether breakout levels are supported by buyer/seller strength — fade low-delta signals with caution.
Combine with Trend Filters: Enhance results by using MojoPivots alongside trend indicators like EMAs, ADX, or macro S/R.
VoVix DEVMA🌌 VoVix DEVMA: A Deep Dive into Second-Order Volatility Dynamics
Welcome to VoVix+, a sophisticated trading framework that transcends traditional price analysis. This is not merely another indicator; it is a complete system designed to dissect and interpret the very fabric of market volatility. VoVix+ operates on the principle that the most powerful signals are not found in price alone, but in the behavior of volatility itself. It analyzes the rate of change, the momentum, and the structure of market volatility to identify periods of expansion and contraction, providing a unique edge in anticipating major market moves.
This document will serve as your comprehensive guide, breaking down every mathematical component, every user input, and every visual element to empower you with a profound understanding of how to harness its capabilities.
🔬 THEORETICAL FOUNDATION: THE MATHEMATICS OF MARKET DYNAMICS
VoVix+ is built upon a multi-layered mathematical engine designed to measure what we call "second-order volatility." While standard indicators analyze price, and first-order volatility indicators (like ATR) analyze the range of price, VoVix+ analyzes the dynamics of the volatility itself. This provides insight into the market's underlying state of stability or chaos.
1. The VoVix Score: Measuring Volatility Thrust
The core of the system begins with the VoVix Score. This is a normalized measure of volatility acceleration or deceleration.
Mathematical Formula:
VoVix Score = (ATR(fast) - ATR(slow)) / (StDev(ATR(fast)) + ε)
Where:
ATR(fast) is the Average True Range over a short period, representing current, immediate volatility.
ATR(slow) is the Average True Range over a longer period, representing the baseline or established volatility.
StDev(ATR(fast)) is the Standard Deviation of the fast ATR, which measures the "noisiness" or consistency of recent volatility.
ε (epsilon) is a very small number to prevent division by zero.
Market Implementation:
Positive Score (Expansion): When the fast ATR is significantly higher than the slow ATR, it indicates a rapid increase in volatility. The market is "stretching" or expanding.
Negative Score (Contraction): When the fast ATR falls below the slow ATR, it indicates a decrease in volatility. The market is "coiling" or contracting.
Normalization: By dividing by the standard deviation, we normalize the score. This turns it into a standardized measure, allowing us to compare volatility thrust across different market conditions and timeframes. A score of 2.0 in a quiet market means the same, relatively, as a score of 2.0 in a volatile market.
2. Deviation Analysis (DEV): Gauging Volatility's Own Volatility
The script then takes the analysis a step further. It calculates the standard deviation of the VoVix Score itself.
Mathematical Formula:
DEV = StDev(VoVix Score, lookback_period)
Market Implementation:
This DEV value represents the magnitude of chaos or stability in the market's volatility dynamics. A high DEV value means the volatility thrust is erratic and unpredictable. A low DEV value suggests the change in volatility is smooth and directional.
3. The DEVMA Crossover: Identifying Regime Shifts
This is the primary signal generator. We take two moving averages of the DEV value.
Mathematical Formula:
fastDEVMA = SMA(DEV, fast_period)
slowDEVMA = SMA(DEV, slow_period)
The Core Signal:
The strategy triggers on the crossover and crossunder of these two DEVMA lines. This is a profound concept: we are not looking at a moving average of price or even of volatility, but a moving average of the standard deviation of the normalized rate of change of volatility.
Bullish Crossover (fastDEVMA > slowDEVMA): This signals that the short-term measure of volatility's chaos is increasing relative to the long-term measure. This often precedes a significant market expansion and is interpreted as a bullish volatility regime.
Bearish Crossunder (fastDEVMA < slowDEVMA): This signals that the short-term measure of volatility's chaos is decreasing. The market is settling down or contracting, often leading to trending moves or range consolidation.
⚙️ INPUTS MENU: CONFIGURING YOUR ANALYSIS ENGINE
Every input has been meticulously designed to give you full control over the strategy's behavior. Understanding these settings is key to adapting VoVix+ to your specific instrument, timeframe, and trading style.
🌀 VoVix DEVMA Configuration
🧬 Deviation Lookback: This sets the lookback period for calculating the DEV value. It defines the window for measuring the stability of the VoVix Score. A shorter value makes the system highly reactive to recent changes in volatility's character, ideal for scalping. A longer value provides a smoother, more stable reading, better for identifying major, long-term regime shifts.
⚡ Fast VoVix Length: This is the lookback period for the fastDEVMA. It represents the short-term trend of volatility's chaos. A smaller number will result in a faster, more sensitive signal line that reacts quickly to market shifts.
🐌 Slow VoVix Length: This is the lookback period for the slowDEVMA. It represents the long-term, baseline trend of volatility's chaos. A larger number creates a more stable, slower-moving anchor against which the fast line is compared.
How to Optimize: The relationship between the Fast and Slow lengths is crucial. A wider gap (e.g., 20 and 60) will result in fewer, but potentially more significant, signals. A narrower gap (e.g., 25 and 40) will generate more frequent signals, suitable for more active trading styles.
🧠 Adaptive Intelligence
🧠 Enable Adaptive Features: When enabled, this activates the strategy's performance tracking module. The script will analyze the outcome of its last 50 trades to calculate a dynamic win rate.
⏰ Adaptive Time-Based Exit: If Enable Adaptive Features is on, this allows the strategy to adjust its Maximum Bars in Trade setting based on performance. It learns from the average duration of winning trades. If winning trades tend to be short, it may shorten the time exit to lock in profits. If winners tend to run, it will extend the time exit, allowing trades more room to develop. This helps prevent the strategy from cutting winning trades short or holding losing trades for too long.
⚡ Intelligent Execution
📊 Trade Quantity: A straightforward input that defines the number of contracts or shares for each trade. This is a fixed value for consistent position sizing.
🛡️ Smart Stop Loss: Enables the dynamic stop-loss mechanism.
🎯 Stop Loss ATR Multiplier: Determines the distance of the stop loss from the entry price, calculated as a multiple of the current 14-period ATR. A higher multiplier gives the trade more room to breathe but increases risk per trade. A lower multiplier creates a tighter stop, reducing risk but increasing the chance of being stopped out by normal market noise.
💰 Take Profit ATR Multiplier: Sets the take profit target, also as a multiple of the ATR. A common practice is to set this higher than the Stop Loss multiplier (e.g., a 2:1 or 3:1 reward-to-risk ratio).
🏃 Use Trailing Stop: This is a powerful feature for trend-following. When enabled, instead of a fixed stop loss, the stop will trail behind the price as the trade moves into profit, helping to lock in gains while letting winners run.
🎯 Trail Points & 📏 Trail Offset ATR Multipliers: These control the trailing stop's behavior. Trail Points defines how much profit is needed before the trail activates. Trail Offset defines how far the stop will trail behind the current price. Both are based on ATR, making them fully adaptive to market volatility.
⏰ Maximum Bars in Trade: This is a time-based stop. It forces an exit if a trade has been open for a specified number of bars, preventing positions from being held indefinitely in stagnant markets.
⏰ Session Management
These inputs allow you to confine the strategy's trading activity to specific market hours, which is crucial for day trading instruments that have defined high-volume sessions (e.g., stock market open).
🎨 Visual Effects & Dashboard
These toggles give you complete control over the on-chart visuals and the dashboard. You can disable any element to declutter your chart or focus only on the information that matters most to you.
📊 THE DASHBOARD: YOUR AT-A-GLANCE COMMAND CENTER
The dashboard centralizes all critical information into one compact, easy-to-read panel. It provides a real-time summary of the market state and strategy performance.
🎯 VOVIX ANALYSIS
Fast & Slow: Displays the current numerical values of the fastDEVMA and slowDEVMA. The color indicates their direction: green for rising, red for falling. This lets you see the underlying momentum of each line.
Regime: This is your most important environmental cue. It tells you the market's current state based on the DEVMA relationship. 🚀 EXPANSION (Green) signifies a bullish volatility regime where explosive moves are more likely. ⚛️ CONTRACTION (Purple) signifies a bearish volatility regime, where the market may be consolidating or entering a smoother trend.
Quality: Measures the strength of the last signal based on the magnitude of the DEVMA difference. An ELITE or STRONG signal indicates a high-conviction setup where the crossover had significant force.
PERFORMANCE
Win Rate & Trades: Displays the historical win rate of the strategy from the backtest, along with the total number of closed trades. This provides immediate feedback on the strategy's historical effectiveness on the current chart.
EXECUTION
Trade Qty: Shows your configured position size per trade.
Session: Indicates whether trading is currently OPEN (allowed) or CLOSED based on your session management settings.
POSITION
Position & PnL: Displays your current position (LONG, SHORT, or FLAT) and the real-time Profit or Loss of the open trade.
🧠 ADAPTIVE STATUS
Stop/Profit Mult: In this simplified version, these are placeholders. The primary adaptive feature currently modifies the time-based exit, which is reflected in how long trades are held on the chart.
🎨 THE VISUAL UNIVERSE: DECIPHERING MARKET GEOMETRY
The visuals are not mere decorations; they are geometric representations of the underlying mathematical concepts, designed to give you an intuitive feel for the market's state.
The Core Lines:
FastDEVMA (Green/Maroon Line): The primary signal line. Green when rising, indicating an increase in short-term volatility chaos. Maroon when falling.
SlowDEVMA (Aqua/Orange Line): The baseline. Aqua when rising, indicating a long-term increase in volatility chaos. Orange when falling.
🌊 Morphism Flow (Flowing Lines with Circles):
What it represents: This visualizes the momentum and strength of the fastDEVMA. The width and intensity of the "beam" are proportional to the signal strength.
Interpretation: A thick, steep, and vibrant flow indicates powerful, committed momentum in the current volatility regime. The floating '●' particles represent kinetic energy; more particles suggest stronger underlying force.
📐 Homotopy Paths (Layered Transparent Boxes):
What it represents: These layered boxes are centered between the two DEVMA lines. Their height is determined by the DEV value.
Interpretation: This visualizes the overall "volatility of volatility." Wider boxes indicate a chaotic, unpredictable market. Narrower boxes suggest a more stable, predictable environment.
🧠 Consciousness Field (The Grid):
What it represents: This grid provides a historical lookback at the DEV range.
Interpretation: It maps the recent "consciousness" or character of the market's volatility. A consistently wide grid suggests a prolonged period of chaos, while a narrowing grid can signal a transition to a more stable state.
📏 Functorial Levels (Projected Horizontal Lines):
What it represents: These lines extend from the current fastDEVMA and slowDEVMA values into the future.
Interpretation: Think of these as dynamic support and resistance levels for the volatility structure itself. A crossover becomes more significant if it breaks cleanly through a prior established level.
🌊 Flow Boxes (Spaced Out Boxes):
What it represents: These are compact visual footprints of the current regime, colored green for Expansion and red for Contraction.
Interpretation: They provide a quick, at-a-glance confirmation of the dominant volatility flow, reinforcing the background color.
Background Color:
This provides an immediate, unmistakable indication of the current volatility regime. Light Green for Expansion and Light Aqua/Blue for Contraction, allowing you to assess the market environment in a split second.
📊 BACKTESTING PERFORMANCE REVIEW & ANALYSIS
The following is a factual, transparent review of a backtest conducted using the strategy's default settings on a specific instrument and timeframe. This information is presented for educational purposes to demonstrate how the strategy's mechanics performed over a historical period. It is crucial to understand that these results are historical, apply only to the specific conditions of this test, and are not a guarantee or promise of future performance. Market conditions are dynamic and constantly change.
Test Parameters & Conditions
To ensure the backtest reflects a degree of real-world conditions, the following parameters were used. The goal is to provide a transparent baseline, not an over-optimized or unrealistic scenario.
Instrument: CME E-mini Nasdaq 100 Futures (NQ1!)
Timeframe: 5-Minute Chart
Backtesting Range: March 24, 2024, to July 09, 2024
Initial Capital: $100,000
Commission: $0.62 per contract (A realistic cost for futures trading).
Slippage: 3 ticks per trade (A conservative setting to account for potential price discrepancies between order placement and execution).
Trade Size: 1 contract per trade.
Performance Overview (Historical Data)
The test period generated 465 total trades , providing a statistically significant sample size for analysis, which is well above the recommended minimum of 100 trades for a strategy evaluation.
Profit Factor: The historical Profit Factor was 2.663 . This metric represents the gross profit divided by the gross loss. In this test, it indicates that for every dollar lost, $2.663 was gained.
Percent Profitable: Across all 465 trades, the strategy had a historical win rate of 84.09% . While a high figure, this is a historical artifact of this specific data set and settings, and should not be the sole basis for future expectations.
Risk & Trade Characteristics
Beyond the headline numbers, the following metrics provide deeper insight into the strategy's historical behavior.
Sortino Ratio (Downside Risk): The Sortino Ratio was 6.828 . Unlike the Sharpe Ratio, this metric only measures the volatility of negative returns. A higher value, such as this one, suggests that during this test period, the strategy was highly efficient at managing downside volatility and large losing trades relative to the profits it generated.
Average Trade Duration: A critical characteristic to understand is the strategy's holding period. With an average of only 2 bars per trade , this configuration operates as a very short-term, or scalping-style, system. Winning trades averaged 2 bars, while losing trades averaged 4 bars. This indicates the strategy's logic is designed to capture quick, high-probability moves and exit rapidly, either at a profit target or a stop loss.
Conclusion and Final Disclaimer
This backtest demonstrates one specific application of the VoVix+ framework. It highlights the strategy's behavior as a short-term system that, in this historical test on NQ1!, exhibited a high win rate and effective management of downside risk. Users are strongly encouraged to conduct their own backtests on different instruments, timeframes, and date ranges to understand how the strategy adapts to varying market structures. Past performance is not indicative of future results, and all trading involves significant risk.
🔧 THE DEVELOPMENT PHILOSOPHY: FROM VOLATILITY TO CLARITY
The journey to create VoVix+ began with a simple question: "What drives major market moves?" The answer is often not a change in price direction, but a fundamental shift in market volatility. Standard indicators are reactive to price. We wanted to create a system that was predictive of market state. VoVix+ was designed to go one level deeper—to analyze the behavior, character, and momentum of volatility itself.
The challenge was twofold. First, to create a robust mathematical model to quantify these abstract concepts. This led to the multi-layered analysis of ATR differentials and standard deviations. Second, to make this complex data intuitive and actionable. This drove the creation of the "Visual Universe," where abstract mathematical values are translated into geometric shapes, flows, and fields. The adaptive system was intentionally kept simple and transparent, focusing on a single, impactful parameter (time-based exits) to provide performance feedback without becoming an inscrutable "black box." The result is a tool that is both profoundly deep in its analysis and remarkably clear in its presentation.
⚠️ RISK DISCLAIMER AND BEST PRACTICES
VoVix+ is an advanced analytical tool, not a guarantee of future profits. All financial markets carry inherent risk. The backtesting results shown by the strategy are historical and do not guarantee future performance. This strategy incorporates realistic commission and slippage settings by default, but market conditions can vary. Always practice sound risk management, use position sizes appropriate for your account equity, and never risk more than you can afford to lose. It is recommended to use this strategy as part of a comprehensive trading plan. This was developed specifically for Futures
"The prevailing wisdom is that markets are always right. I take the opposite view. I assume that markets are always wrong. Even if my assumption is occasionally wrong, I use it as a working hypothesis."
— George Soros
— Dskyz, Trade with insight. Trade with anticipation.
[Top] MTF Supply-Demand Zones MTF Supply-Demand Zones
The “MTF Supply-Demand Zones” indicator is a sophisticated, multi-timeframe analysis tool designed to help traders visually identify key supply and demand areas across multiple timeframes simultaneously (Daily, 4-hour, 1-hour, and 15-minute). It has been designed for maximum ease of use and customization to make it effective for all trading styles.
How It Works:
The indicator detects supply and demand zones based on a clear and reliable candle pattern:
Demand Zones are identified when a small bearish candle (red) is immediately followed by a significantly larger bullish candle (green). The demand zone spans from the high to the close of the bearish candle, with a bounce line drawn at the statistically most likely point of reversal.
Supply Zones are identified when a small bullish candle (green) is immediately followed by a substantially larger bearish candle (red). The supply zone spans from the close to the low of the bullish candle, with a bounce line drawn at the statistically most likely point of reversal.
Zones are validated and drawn upon the closure of candles on higher timeframes, ensuring accuracy and reliability.
Core Features:
Multi-Timeframe Analysis: Simultaneously tracks and visually represents supply and demand zones from Daily, 4-hour, 1-hour, and 15-minute charts directly onto a single chart.
Dynamic Zone Validation: Zones are continuously monitored for invalidation—once price action penetrates a zone, it becomes inactive and ceases to extend further, clearly marking its relevance to current price action.
Bounce Lines: Clearly visible lines within each zone indicate potential entry or bounce points for traders.
Automated Zone Labeling: Optional labels at the center of each zone clearly identify the timeframe and type of zone (e.g., “15M Supply Zone”).
Fully Customizable Colors: Users can customize zone colors for easy differentiation between timeframes and zone types, providing clear and intuitive chart visuals.
What Makes It Unique:
Bounce Line Inclusion: Unlike typical supply-demand indicators, this script distinctly marks potential reaction points within each zone using a bounce line. This provides traders with a precise visual reference for potential price reversals or continuations, improving decision-making accuracy.
Extensive Visual Customization: The indicator offers extensive visual customization options, allowing traders to independently adjust colors for each zone and bounce line per timeframe. This customization enhances visual clarity and helps traders quickly distinguish between various trading scenarios.
How to Use:
Enable or disable visibility for each timeframe zone depending on your trading strategy.
Customize zone and bounce line colors to visually organize and prioritize zones on your charts.
Utilize the automated labeling system to quickly identify and assess the strength and relevance of each zone.
Watch for price reactions within the marked zones, using bounce lines to identify optimal trade entry points.
This indicator is ideal for traders seeking clarity on multi-timeframe support and resistance dynamics, providing insights into potential price reversal points.
Fadi ffa **Fadi Dynamic Trend Indicator**
The **Fadi Dynamic Trend Indicator** is a comprehensive technical analysis tool designed to assist traders in identifying trends, key price levels, and potential reversal points across various markets and timeframes. By combining dynamic trend detection, statistical price channel analysis, and advanced reversal point identification, this indicator provides actionable insights for trend-following, breakout, and reversal trading strategies.
**How It Works**:
This indicator integrates three complementary components to deliver clear trading signals and a deeper understanding of market dynamics:
1. **Dynamic Trend Detection**: Utilizes a proprietary algorithm based on the Average True Range (ATR) to calculate dynamic support and resistance levels. It generates Buy and Sell signals when the price crosses these levels, indicating potential trend changes. Traders can customize the trend strength and sensitivity to suit their trading style.
2. **Price Channel Analysis**: Plots a statistical channel based on price regression, highlighting the trend's direction and range. The channel dynamically extends to the right, helping traders identify breakout zones and trend continuation patterns.
3. **Reversal Point Detection**: Identifies significant high and low points in the market, marking them with triangle symbols (▼ for highs, ▲ for lows). Additionally, it highlights "missed" reversal levels (also marked with ▼ and ▲) to indicate potential price zones that have not yet been tested, offering unique insights into untapped market opportunities.
**How to Use**:
- **Timeframes**: The indicator performs well on various timeframes, with optimal results on 15-minute to 1-hour charts for scalping or swing trading.
- **Signals**: Look for Buy (green "BUY" label below the bar) and Sell (red "SELL" label above the bar) signals to enter trades, ideally confirmed by price action within the price channel or near reversal points.
- **Reversal Points**: Monitor the ▼ (highs) and ▲ (lows) labels to identify key reversal zones. The "missed" levels (also shown as ▼ and ▲) indicate potential areas where the price may react in the future.
- **Customization**:
- **Trend Signal Strength** (default: 1): Adjusts the ATR period to control the frequency of trend signals.
- **Trend Sensitivity** (default: 0.8): Fine-tunes the responsiveness of the trend lines.
- **Reversal Signal Sensitivity** (default: 7): Defines the lookback period for detecting reversal points.
- **Price Channel Length** (default: 100): Sets the period for calculating the price channel.
- Use the indicator on standard candlestick charts for accurate results.
**Unique Features**:
- **Integrated Analysis**: Combines trend detection, price channel analysis, and reversal point identification into a single, cohesive tool.
- **Missed Reversal Levels**: Highlights untested price levels with ▼ and ▲ symbols, helping traders anticipate potential price reactions before they occur.
- **Dynamic Customization**: Offers adjustable settings to adapt the indicator to different markets (stocks, forex, crypto) and trading strategies (scalping, day trading, or swing trading).
- **Efficient Design**: Optimized to minimize resource usage, ensuring smooth performance on TradingView charts.
**Settings**:
- **Trend Signal Strength**: Controls the ATR period for trend calculations (default: 1).
- **Trend Sensitivity**: Adjusts the sensitivity of trend signals (default: 0.8).
- **Reversal Signal Sensitivity**: Defines the lookback period for reversal point detection (default: 7).
- **Price Channel Length**: Sets the period for the statistical price channel (default: 100).
**Trading Tips**:
- For scalping, use shorter timeframes (5-15 minutes) and increase the Trend Sensitivity for more frequent signals.
- For swing trading, use higher timeframes (1-hour or 4-hour) and adjust the Reversal Signal Sensitivity to focus on significant reversal points.
- Combine Buy/Sell signals with price channel breakouts or interactions with reversal levels for higher-probability trades.
- Monitor the correlation coefficient (displayed below the chart) to gauge the strength of the trend within the price channel.
**Why Use This Indicator?**
The Fadi Dynamic Trend Indicator is ideal for traders seeking a versatile tool that simplifies complex market analysis. Its unique combination of trend signals, price channel visualization, and missed reversal levels empowers traders to make informed decisions in trending or ranging markets. Whether you're a beginner or an experienced trader, this indicator provides clear, actionable insights to enhance your trading strategy.
**Note**: This indicator is designed for use on standard candlestick charts to ensure realistic and reliable results. Always backtest and validate the indicator on your preferred market and timeframe before using it in live trading.
OA - RS HistogramOA - RS Histogram Indicator
This indicator displays a histogram representation of Relative Strength (RS) analysis, helping traders visualize the momentum relationship between a security and a reference index.
Key Features:
RS Histogram: Shows the difference between the current RS ratio and its EMA smoothed line
Customizable Reference Index: Default set to XU100, but can be changed to any index
EMA Smoothing: Adjustable EMA period (default 21) for trend analysis
Visual Clarity: Histogram bars are colored aqua for positive values and purple for negative values
Zero Line Reference: Dotted gray line for easy identification of positive/negative zones
How It Works:
The indicator calculates the relative strength by comparing the normalized percentage changes of the current security against the selected reference index. A 5-period EMA is applied to the RS ratio, and then the difference between this smoothed RS line and a longer EMA (default 21 periods) is displayed as a histogram.
Technical Calculation:
Fetches reference index data with proper gap handling
Calculates normalized percentage changes for both security and index
Computes relative strength ratio
Applies EMA smoothing to reduce noise
Displays the difference as a histogram for clear momentum visualization
Customization Options:
Reference index selection (default: XU100)
EMA length adjustment (default: 21 periods)
Color customization for positive and negative histogram bars
Alert Conditions:
Histogram crossing above zero (potential bullish momentum shift)
Histogram crossing below zero (potential bearish momentum shift)
Usage:
This tool helps traders understand relative strength concepts through visual histogram representation. The zero-line crossovers can indicate momentum shifts in the security relative to the chosen benchmark index.
Price Ranged FVG📌 Price Ranged FVG
Is a clean and efficient tool designed to detect Fair Value Gaps (FVGs) with adjustable filters and structural context. It’s especially useful for traders looking to filter out insignificant gaps and focus on high-probability areas, particularly around swing breaks or structural shifts.
🧠 What is a Fair Value Gap (FVG)?
A Fair Value Gap appears when there’s a price imbalance between candles — typically after a strong move — where the market skips over certain price levels without trading there. These zones can act as potential areas for price to return to (mean reversion), or serve as support/resistance depending on market structure.
🔍 FVG Detection Types
You can choose between three different detection modes under the "FVG Detection" input:
Same Type: Only detects FVGs where the last 3 candles are in the same direction (all bullish or all bearish).
All: Detects any FVG, regardless of candle direction.
Twin Close: Detects FVGs only when the last two candles are in the same direction and close accordingly — offering a stricter confirmation.
🎯 FVG % Filters
To filter out noise or insignificant gaps, this indicator includes:
Minimum FVG % Filter: Ignores FVGs smaller than your specified percentage of the current close.
Maximum FVG % Filter: Ignores overly large gaps that may be unreliable or caused by anomalies.
These filters help focus on relevant FVGs that are more likely to act as reaction zones.
🏛 Structural Context (Swing Highs and Lows)
The indicator plots swing highs and swing lows with dots to provide structure-based context:
Set Swing Strength to 3 for detecting internal structure (shorter-term moves).
Use a higher setting like 5 to focus on external structure (more significant highs/lows).
These levels can help you determine whether an FVG is forming within a consolidation, breakout, or key structural transition.
✅ Use Case (My Personal Workflow)
I personally use this indicator to:
Filter out weak or irrelevant FVGs using the % filters.
Watch for price interaction at swing breaks — especially when an FVG aligns with a break in internal or external structure.
Refine entry and exit planning in confluence with other tools or strategies.
⚠️ Disclaimer
This indicator is not financial advice. It is a technical analysis tool intended to support your own decision-making process. Always do your own research and risk management.
Active PMI Support/Resistance Levels [EdgeTerminal]The PMI Support & Resistance indicator revolutionizes traditional technical analysis by using Pointwise Mutual Information (PMI) - a statistical measure from information theory - to objectively identify support and resistance levels. Unlike conventional methods that rely on visual pattern recognition, this indicator provides mathematically rigorous, quantifiable evidence of price levels where significant market activity occurs.
- The Mathematical Foundation: Pointwise Mutual Information
Pointwise Mutual Information measures how much more likely two events are to occur together compared to if they were statistically independent. In our context:
Event A: Volume spikes occurring (high trading activity)
Event B: Price being at specific levels
The PMI formula calculates: PMI = log(P(A,B) / (P(A) × P(B)))
Where:
P(A,B) = Probability of volume spikes occurring at specific price levels
P(A) = Probability of volume spikes occurring anywhere
P(B) = Probability of price being at specific levels
High PMI scores indicate that volume spikes and certain price levels co-occur much more frequently than random chance would predict, revealing genuine support and resistance zones.
- Why PMI Outperforms Traditional Methods
Subjective interpretation: What one trader sees as significant, another might ignore
Confirmation bias: Tendency to see patterns that confirm existing beliefs
Inconsistent criteria: No standardized definition of "significant" volume or price action
Static analysis: Doesn't adapt to changing market conditions
No strength measurement: Can't quantify how "strong" a level truly is
PMI Advantages:
✅ Objective & Quantifiable: Mathematical proof of significance, not visual guesswork
✅ Statistical Rigor: Levels backed by information theory and probability
✅ Strength Scoring: PMI scores rank levels by statistical significance
✅ Adaptive: Automatically adjusts to different market volatility regimes
✅ Eliminates Bias: Computer-calculated, removing human interpretation errors
✅ Market Structure Aware: Reveals the underlying order flow concentrations
- How It Works
Data Processing Pipeline:
Volume Analysis: Identifies volume spikes using configurable thresholds
Price Binning: Divides price range into discrete levels for analysis
Co-occurrence Calculation: Measures how often volume spikes happen at each price level
PMI Computation: Calculates statistical significance for each price level
Level Filtering: Shows only levels exceeding minimum PMI thresholds
Dynamic Updates: Refreshes levels periodically while maintaining historical traces
Visual System:
Current Levels: Bright, thick lines with PMI scores - your actionable levels
Historical Traces: Faded previous levels showing market structure evolution
Strength Tiers: Line styles indicate PMI strength (solid/dashed/dotted)
Color Coding: Green for support, red for resistance
Info Table: Real-time display of strongest levels with scores
- Indicator Settings:
Core Parameters
Lookback Period (Default: 200)
Lower (50-100): More responsive to recent price action, catches short-term levels
Higher (300-500): Focuses on major historical levels, more stable but less responsive
Best for: Day trading (100-150), Swing trading (200-300), Position trading (400-500)
Volume Spike Threshold (Default: 1.5)
Lower (1.2-1.4): More sensitive, catches smaller volume increases, more levels detected
Higher (2.0-3.0): Only major volume surges count, fewer but stronger signals
Market dependent: High-volume stocks may need higher thresholds (2.0+), low-volume stocks lower (1.2-1.3)
Price Bins (Default: 50)
Lower (20-30): Broader price zones, less precise but captures wider areas
Higher (70-100): More granular levels, precise but may be overly specific
Volatility dependent: High volatility assets benefit from more bins (70+)
Minimum PMI Score (Default: 0.5)
Lower (0.2-0.4): Shows more levels including weaker ones, comprehensive view
Higher (1.0-2.0): Only statistically strong levels, cleaner chart
Progressive filtering: Start with 0.5, increase if too cluttered
Max Levels to Show (Default: 8)
Fewer (3-5): Clean chart focusing on strongest levels only
More (10-15): Comprehensive view but may clutter chart
Strategy dependent: Scalpers prefer fewer (3-5), swing traders more (8-12)
Historical Tracking Settings
Update Frequency (Default: 20 bars)
Lower (5-10): More frequent updates, captures rapid market changes
Higher (50-100): Less frequent updates, focuses on major structural shifts
Timeframe scaling: 1-minute charts need lower frequency (5-10), daily charts higher (50+)
Show Historical Levels (Default: True)
Enables the "breadcrumb trail" effect showing evolution of support/resistance
Disable for cleaner charts focusing only on current levels
Max Historical Marks (Default: 50)
Lower (20-30): Less memory usage, shorter history
Higher (100-200): Longer historical context but more resource intensive
Fade Strength (Default: 0.8)
Lower (0.5-0.6): Historical levels more visible
Higher (0.9-0.95): Historical levels very subtle
Visual Settings
Support/Resistance Colors: Choose colors that contrast well with your chart theme Line Width: Thicker lines (3-4) for better visibility on busy charts Show PMI Scores: Toggle labels showing statistical strength Label Size: Adjust based on screen resolution and chart zoom level
- Most Effective Usage Strategies
For Day Trading:
Setup: Lookback 100-150, Volume Threshold 1.8-2.2, Update Frequency 10-15
Use PMI levels as bounce/rejection points for scalp entries
Higher PMI scores (>1.5) offer better probability setups
Watch for volume spike confirmations at levels
For Swing Trading:
Setup: Lookback 200-300, Volume Threshold 1.5-2.0, Update Frequency 20-30
Enter on pullbacks to high PMI support levels
Target next resistance level with PMI score >1.0
Hold through minor levels, exit at major PMI levels
For Position Trading:
Setup: Lookback 400-500, Volume Threshold 2.0+, Update Frequency 50+
Focus on PMI scores >2.0 for major structural levels
Use for portfolio entry/exit decisions
Combine with fundamental analysis for timing
- Trading Applications:
Entry Strategies:
PMI Bounce Trades
Price approaches high PMI support level (>1.0)
Wait for volume spike confirmation (orange triangles)
Enter long on bullish price action at the level
Stop loss just below the PMI level
Target: Next PMI resistance level
PMI Breakout Trades
Price consolidates near high PMI level
Volume increases (watch for orange triangles)
Enter on decisive break with volume
Previous resistance becomes new support
Target: Next major PMI level
PMI Rejection Trades
Price approaches PMI resistance with momentum
Watch for rejection signals and volume spikes
Enter short on failure to break through
Stop above the PMI level
Target: Next PMI support level
Risk Management:
Stop Loss Placement
Place stops 0.1-0.5% beyond PMI levels (adjust for volatility)
Higher PMI scores warrant tighter stops
Use ATR-based stops for volatile assets
Position Sizing
Larger positions at PMI levels >2.0 (highest conviction)
Smaller positions at PMI levels 0.5-1.0 (lower conviction)
Scale out at multiple PMI targets
- Key Warning Signs & What to Watch For
Red Flags:
🚨 Very Low PMI Scores (<0.3): Weak statistical significance, avoid trading
🚨 No Volume Confirmation: PMI level without recent volume spikes may be stale
🚨 Overcrowded Levels: Too many levels close together suggests poor parameter tuning
🚨 Outdated Levels: Historical traces are reference only, not tradeable
Optimization Tips:
✅ Regular Recalibration: Adjust parameters monthly based on market regime changes
✅ Volume Context: Always check for recent volume activity at PMI levels
✅ Multiple Timeframes: Confirm PMI levels across different timeframes
✅ Market Conditions: Higher thresholds during high volatility periods
Interpreting PMI Scores
PMI Score Ranges:
0.5-1.0: Moderate statistical significance, proceed with caution
1.0-1.5: Good significance, reliable for most trading strategies
1.5-2.0: Strong significance, high-confidence trade setups
2.0+: Very strong significance, institutional-grade levels
Historical Context: The historical trace system shows how support and resistance evolve over time. When current levels align with multiple historical traces, it indicates persistent market memory at those prices, significantly increasing the level's reliability.
Staccked SMA - Regime Switching & Persistance StatisticsThis indicator is designed to identify the prevailing market regime by analyzing the behavior of a "stack" of Simple Moving Averages (SMAs). It helps you understand whether the market is currently trending, mean-reverting, or moving randomly.
Core Concept: SMA Correlation
At its heart, the indicator examines the relationship between a set of nine SMAs with different lengths (3, 5, 8, 13, 21, 34, 55, 89, 144) and the lengths themselves.
In a strong trending market (either up or down), the SMAs will be neatly "stacked" in order of their length. The shortest SMA will be furthest from the longest SMA, creating a strong, almost linear visual pattern. When we measure the statistical correlation between the SMA values and their corresponding lengths, we get a value close to +1 (perfect uptrend stack) or -1 (perfect downtrend stack). The absolute value of this correlation will be very high (close to 1).
In a mean-reverting or sideways market, the SMAs will be tangled and crisscrossing each other. There is no clear order, and the relationship between an SMA's length and its price value is weak. The correlation will be close to 0.
This indicator calculates this Pearson correlation on every bar, giving a continuous measure of how ordered or "trendy" the SMAs are. An absolute correlation above 0.8 is considered strongly trending, while a value between 0.4 and 0.8 suggests a mean-reverting character. Below 0.4, the market is likely random or choppy.
Regime Classification and Statistics
The indicator doesn't just look at the current correlation; it analyzes its behavior over a user-defined lookback window (default is 252 bars) to classify the overall market "regime."
It presents its findings in a clear table:
📊 |SMA Correlation| Regime Table: This main table provides a snapshot of the current market character.
Median: Shows the median absolute correlation over the lookback period, giving a central tendency of the market's behavior.
% > 0.80: The percentage of time the market was in a strong trend during the lookback period.
% < 0.80 & > 0.40: The percentage of time the market showed mean-reverting characteristics.
🧠 Regime: The final classification. It's labeled "📈 Trend-Dominant" if the median correlation is high and it has spent a significant portion of the time trending. It's labeled "🔄 Mean-Reverting" if the median is in the middle range and it has spent significant time in that state. Otherwise, it's considered "⚖️ Random/ Choppy".
📐 Regime Significance: This tells you how statistically confident you can be in the current regime classification, using a Z-score to compare its occurrence against random chance. ⭐⭐⭐ indicates high confidence (99%), while "❌ Not Significant" means the pattern could be random.
Regime Transition Probabilities
Optionally, a second table can be displayed that shows the historical probability of the market transitioning from one regime to another over different time horizons (t+5, t+10, t+15, and t+20 bars).
📈 → 🔄 → ⚖️ Transition Table: This table answers questions like, "If the market is trending now (From: 📈), what is the probability it will be mean-reverting (→ 🔄) in 10 bars?"
This provides powerful insights into the market's cyclical nature, helping you anticipate future behavior based on past patterns. For example, you might find that after a period of strong trending, a transition to a choppy state is more likely than a direct switch to a mean-reverting
Indicator Settings
Lookback Window for Regime Classification: This sets the number of recent bars (default is 252) the script analyzes to determine the current market regime (Trending, Mean-Reverting, or Random). A larger number provides a more stable, long-term view, while a smaller number makes the classification more sensitive to recent price action.
Show Regime Transition Table: A simple toggle (on/off) to show or hide the table that displays the probabilities of the market switching from one regime to another.
Lookback Offset for Starting Regime: This determines the "starting point" in the past for calculating regime transitions. The default is 20 bars ago. The script looks at the regime at this point and then checks what it became at later points.
Step 1, 2, 3, 4 Offset (bars): These define the future time intervals (5, 10, 15, and 20 bars by default) for the transition probability table. For example, the script checks the regime at the "Lookback Offset" and then sees what it transitioned to 5, 10, 15, and 20 bars later.
Significance Filter Settings
Use Regime Significance Filter: When enabled, this filter ensures that the regime transition statistics only count transitions that were "statistically significant." This helps to filter out noise and focus on more reliable patterns.
Min Stars Required (1=90%, 2=95%, 3=99%): This sets the minimum confidence level required for a regime to be included in the transition statistics when the significance filter is on.
1 ⭐: Requires at least 90% confidence.
2 ⭐⭐: Requires at least 95% confidence (default).
3 ⭐⭐⭐: Requires at least 99% confidence.
EMA-Pack MTFEMA-Pack MTF
This TradingView Pine Script defines a custom indicator called "EMA-Pack MTF" that overlays various types of moving averages and Bollinger Bands across multiple timeframes on a chart. It begins by importing the built-in technical analysis library and defining a custom ma function that calculates several types of moving averages (SMA, EMA, TEMA, DEMA, HMA, and ALMA) based on user input. The ema function is the core logic, retrieving market data for the specified timeframe and calculating fast, mid, slow, 50, 100, and 200-period moving averages along with Bollinger Band components (basis, upper, and lower bands). The function adjusts values to the nearest valid price tick and returns them.
User input fields allow customization of timeframes, source data, moving average types, and Bollinger Band parameters. The script calls the ema function for each selected timeframe (1 minute, 5 minutes, 15 minutes, 1 hour, 4 hours, and 1 day), storing their respective computed values. It then plots the calculated moving averages and Bollinger Band basis lines on the chart, using different colors and line widths to distinguish between them. Some plots are hidden by default (display.none) to reduce chart clutter. This script is useful for multi-timeframe trend analysis using customizable moving averages and Bollinger Bands.
Jags Dynamic S/R with Breakout & Weakness SignalsThis script is designed to automatically identify and display significant support and resistance levels on your chart. It then goes a step further by actively monitoring for potential breakouts and signs of support weakness.
Core Functionality: Identifying Key Levels
At its heart, the script uses a pivot logic to find recent price highs and lows, which it then plots as horizontal lines representing potential resistance and support, respectively. You have full control over how these levels are identified:
Timeframe: You can choose to find these pivot points on the current chart's timeframe or a higher one (e.g., daily pivots on an hourly chart).
Lookback Period: You can define how many bars to the left and right of a pivot point the script should consider, allowing you to fine-tune the significance of the levels it identifies.
Line Management: To keep your chart clean, you can set the maximum number of support and resistance lines to display. The script also has a clever "merge" feature that combines new pivot levels with existing ones if they are very close together, preventing clutter.
Breakout Detection
A key feature of this indicator is its ability to signal when the price breaks through one of these identified support or resistance levels. You can enable or disable this feature and choose from several confirmation methods to suit your trading style:
Simple Price Action: A breakout is confirmed simply by the price closing above a resistance level or below a support level.
ATR (Average True Range): For a breakout to be valid, the price must close a certain distance (based on the ATR) beyond the level, filtering out minor fluctuations.
Volume: This option adds another layer of confirmation by requiring a significant increase in trading volume during the breakout, suggesting strong conviction behind the move.
Momentum: This method uses the RSI (Relative Strength Index) to confirm that the breakout is supported by strong underlying momentum.
Quantitative: A more advanced option that uses a combination of the Rate of Change (ROC) and a Volume-Weighted Moving Average (VWMA) to provide a robust, multi-faceted confirmation of the breakout.
When a confirmed breakout occurs, the script will:
Color the breakout bar green for a bullish breakout (upward) or red for a bearish breakout (downward).
Place an arrow below a bullish breakout or above a bearish breakout.
Trigger an alert to notify you of the event.
Support Weakness Detection
To provide an early warning of a potential breakdown, the script includes a unique "Support Weakness Detection" feature. When enabled, it looks for a specific confluence of bearish signals as the price approaches a support level:
The price is hovering just above a key support level.
The short-term trend has already turned bearish (based on a moving average).
Momentum is fading (indicated by a falling RSI).
If all these conditions are met, a blue down-arrow will appear above the price bar, signalling that the nearby support may not hold.
Alpha - Combined BreakoutThis Pine Script indicator, "Alpha - Combined Breakout," is a combination between Smart Money Breakout Signals and UT Bot Alert, The UT Bot Alert indicator was initially developer by Yo_adriiiiaan
The idea of original code belongs HPotter.
This Indicator helps you identify potential trading opportunities by combining two distinct strategies: Smart Money Breakout and a modified UT Bot (likely a variation of the Ultimate Trend Bot). It provides visual signals, draws lines for potential take profit (TP) and stop loss (SL) levels, and includes a dashboard to track performance metrics.
Tutorial:
Understanding and Using the "Alpha - Combined Breakout" Indicator
This indicator is designed for traders looking for confirmation of market direction and potential entry/exit points by blending structural analysis with a trend-following oscillator.
How it Works (General Concept)
The indicator combines two main components:
Smart Money Breakout: This part identifies significant breaks in market structure, which "smart money" traders often use to gauge shifts in supply and demand. It looks for higher highs/lows or lower highs/lows and flags when these structural points are broken.
UT Bot: This is a trend-following component that generates buy and sell signals based on price action relative to an Average True Range (ATR) based trailing stop.
You can choose to use these signals independently or combined to generate trading alerts and visual cues on your chart. The dashboard provides a quick overview of how well the signals are performing based on your chosen settings and display mode.
Parameters and What They Do
Let's break down each input parameter:
1. Smart Money Inputs
These settings control how the indicator identifies market structure and breakouts.
swingSize (Market Structure Time-Horizon):
What it does: This integer value defines the number of candles used to identify significant "swing" (pivot) points—highs and lows.
Effect: A larger swingSize creates a smoother market structure, focusing on longer-term trends. This means signals might appear less frequently and with some delay but could be more reliable for higher timeframes or broader market movements. A smaller swingSize will pick up more minor market structure changes, leading to more frequent but potentially noisier signals, suitable for lower timeframes or scalping.
Analogy: Think of it like a zoom level on your market structure map. Higher values zoom out, showing only major mountain ranges. Lower values zoom in, showing every hill and bump.
bosConfType (BOS Confirmation Type):
What it does: This string input determines how a Break of Structure (BOS) is confirmed. You have two options:
'Candle Close': A breakout is confirmed only if a candle's closing price surpasses the previous swing high (for bullish) or swing low (for bearish).
'Wicks': A breakout is confirmed if any part of the candle (including its wick) surpasses the previous swing high or low.
Effect: 'Candle Close' provides stronger, more conservative confirmation, as it implies sustained price movement beyond the structure. 'Wicks' provides earlier, more aggressive signals, as it captures momentary breaches of the structure.
Analogy: Imagine a wall. 'Candle Close' means the whole person must get over the wall. 'Wicks' means even a finger touching over the top counts as a breach.
choch (Show CHoCH):
What it does: A boolean (true/false) input to enable or disable the display of "Change of Character" (CHoCH) labels. CHoCH indicates the first structural break against the current dominant trend.
Effect: When true, it helps identify early signs of a potential trend reversal, as it marks where the market's "character" (its tendency to make higher highs/lows or lower lows/highs) first changes.
BULL (Bullish Color) & BEAR (Bearish Color):
What they do: These color inputs allow you to customize the visual appearance of bullish and bearish signals and lines drawn by the Smart Money component.
Effect: Purely cosmetic, helps with visual identification on the chart.
sm_tp_sl_multiplier (SM TP/SL Multiplier (ATR)):
What it does: A float value that acts as a multiplier for the Average True Range (ATR) to calculate the Take Profit (TP) and Stop Loss (SL) levels specifically when you're in "Smart Money Only" mode. It uses the ATR calculated by the UT Bot's nLoss_ut as its base.
Effect: A higher multiplier creates wider TP/SL levels, potentially leading to fewer trades but larger wins/losses. A lower multiplier creates tighter TP/SL levels, potentially leading to more frequent but smaller wins/losses.
2. UT Bot Alerts Inputs
These parameters control the behavior and sensitivity of the UT Bot component.
a_ut (UT Key Value (Sensitivity)):
What it does: This integer value adjusts the sensitivity of the UT Bot.
Effect: A higher value makes the UT Bot less sensitive to price fluctuations, resulting in fewer and potentially more reliable signals. A lower value makes it more sensitive, generating more signals, which can include more false signals.
Analogy: Like a noise filter. Higher values filter out more noise, keeping only strong signals.
c_ut (UT ATR Period):
What it does: This integer sets the look-back period for the Average True Range (ATR) calculation used by the UT Bot. ATR measures market volatility.
Effect: This period directly influences the calculation of the nLoss_ut (which is a_ut * xATR_ut), thus defining the distance of the trailing stop loss and take profit levels. A longer period makes the ATR smoother and less reactive to sudden price spikes. A shorter period makes it more responsive.
h_ut (UT Signals from Heikin Ashi Candles):
What it does: A boolean (true/false) input to determine if the UT Bot calculations should use standard candlestick data or Heikin Ashi candlestick data.
Effect: Heikin Ashi candles smooth out price action, often making trends clearer and reducing noise. Using them for UT Bot signals can lead to smoother, potentially delayed signals that stay with a trend longer. Standard candles are more reactive to raw price changes.
3. Line Drawing Control Buttons
These crucial boolean inputs determine which type of signals will trigger the drawing of TP/SL/Entry lines and flags on your chart. They act as a priority system.
drawLinesUtOnly (Draw Lines: UT Only):
What it does: If checked (true), lines and flags will only be drawn when the UT Bot generates a buy/sell signal.
Effect: Isolates UT Bot signals for visual analysis.
drawLinesSmartMoneyOnly (Draw Lines: Smart Money Only):
What it does: If checked (true), lines and flags will only be drawn when the Smart Money Breakout logic generates a bullish/bearish breakout.
Effect: Overrides drawLinesUtOnly if both are checked. Isolates Smart Money signals.
drawLinesCombined (Draw Lines: UT & Smart Money (Combined)):
What it does: If checked (true), lines and flags will only be drawn when both a UT Bot signal AND a Smart Money Breakout signal occur on the same bar.
Effect: Overrides both drawLinesUtOnly and drawLinesSmartMoneyOnly if checked. Provides the strictest entry criteria for line drawing, looking for strong confluence.
Dashboard Metrics Explained
The dashboard provides performance statistics based on the lines drawing control button selected. For example, if "Draw Lines: UT Only" is active, the dashboard will show stats only for UT Bot signals.
Total Signals: The total number of buy or sell signals generated by the selected drawing mode.
TP1 Win Rate: The percentage of signals where the price reached Take Profit 1 (TP1) before hitting the Stop Loss.
TP2 Win Rate: The percentage of signals where the price reached Take Profit 2 (TP2) before hitting the Stop Loss.
TP3 Win Rate: The percentage of signals where the price reached Take Profit 3 (TP3) before hitting the Stop Loss. (Note: TP1, TP2, TP3 are in order of distance from entry, with TP3 being furthest.)
SL before any TP rate: This crucial metric shows the number of times the Stop Loss was hit / the percentage of total signals where the stop loss was triggered before any of the three Take Profit levels were reached. This gives you a clear picture of how often a trade resulted in a loss without ever moving into profit target territory.
Short Tutorial: How to Use the Indicator
Add to Chart: Open your TradingView chart, go to "Indicators," search for "Alpha - Combined Breakout," and add it to your chart.
Access Settings: Once added, click the gear icon next to the indicator name on your chart to open its settings.
Choose Your Signal Mode:
For UT Bot only: Uncheck "Draw Lines: Smart Money Only" and "Draw Lines: UT & Smart Money (Combined)". Ensure "Draw Lines: UT Only" is checked.
For Smart Money only: Uncheck "Draw Lines: UT Only" and "Draw Lines: UT & Smart Money (Combined)". Ensure "Draw Lines: Smart Money Only" is checked.
For Combined Signals: Check "Draw Lines: UT & Smart Money (Combined)". This will override the other two.
Adjust Parameters:
Start with default settings. Observe how the signals appear on your chosen asset and timeframe.
Refine Smart Money: If you see too many "noisy" market structure breaks, increase swingSize. If you want earlier breakouts, try "Wicks" for bosConfType.
Refine UT Bot: Adjust a_ut (Sensitivity) to get more or fewer UT Bot signals. Change c_ut (ATR Period) if you want larger or smaller TP/SL distances. Experiment with h_ut to see if Heikin Ashi smoothing suits your trading style.
Adjust TP/SL Multiplier: If using "Smart Money Only" mode, fine-tune sm_tp_sl_multiplier to set appropriate risk/reward levels.
Interpret Signals & Lines:
Buy/Sell Flags: These indicate the presence of a signal based on your selected drawing mode.
Entry Line (Blue Solid): This is where the signal was generated (usually the close price of the signal candle).
SL Line (Red/Green Solid): Your calculated stop loss level.
TP Lines (Dashed): Your three calculated take profit levels (TP1, TP2, TP3, where TP3 is the furthest target).
Smart Money Lines (BOS/CHoCH): These lines indicate horizontal levels where market structure breaks occurred. CHoCH labels might appear at the first structural break against the prior trend.
Monitor Dashboard: Pay attention to the dashboard in the top right corner. This dynamically updates to show the win rates for each TP and, crucially, the "SL before any TP rate." Use these statistics to evaluate the effectiveness of the indicator's signals under your current settings and chosen mode.
*
Set Alerts (Optional): You can set up alerts for any of the specific signals (UT Bot Long/Short, Smart Money Bullish/Bearish, or the "Line Draw" combined signals) to notify you when they occur, even if you're not actively watching the chart.
By following this tutorial, you'll be able to effectively use and customize the "Alpha - Combined Breakout" indicator to suit your trading strategy.
Golden Pocket Syndicate [GPS]Golden Pocket Syndicate is a multi-layered market analysis toolkit built for precision entries and sniper-style reversals in both trending and ranging conditions. The script fuses volume dynamics, golden pocket structures, market maker behavior, and liquidation cluster tracking into one high-confluence system.
Core Features:
• 📐 Golden Pocket Zones: Dynamic GP levels from daily, weekly, monthly, and yearly timeframes. These levels update in real-time and serve as confluence zones for entries and exits.
• 📊 WaveTrend Divergence Diamonds: Momentum shifts are detected using a custom filtered WaveTrend cross system to mark high-probability reversal conditions.
• 🧠 Market Maker Premium Divergence: Tracks price dislocation between CME and Binance to detect large player manipulation using a configurable premium threshold.
• 💎 MM Reversal Diamonds: Identifies potential market maker traps and large player pivots using historical candle behavior, EMA alignment, and price structure breaks.
• 📉 Stealth Liquidation Cluster Arrows: Volume-based liquidation pressure visualized as lightweight directional arrows based on calculated wick expansion and volume bursts. Highlights key zones where price is likely to bounce or reject.
• 🧭 Trend Validation: Uses volume-based trend conditions and short-term EMA positioning to further qualify signals and eliminate noise.
How to Use:
This indicator is designed to help traders visualize confluence between key institutional price levels, momentum shifts, and volume-based pressure points. Long/short opportunities can be explored at marked reversal diamonds or liquidation zones that align with key GP levels. Intended for use on higher timeframes (15m to 4H), though flexible across any pair or market.
HL/OL Histogram + (Close-Open)🧠 Core Concept
This indicator is designed to detect meaningful directional intent in price action using a combination of:
Intrabar candle structure (high - open, open - low)
Net price momentum (close - open)
Timed trigger levels (frozen buy/sell prices based on selected timeframe closes)
The core idea is to visually separate bullish and bearish energy in the current bar, and to mark the price at which momentum flips from down to up or vice versa, based on a change in the close - open differential.
🔍 Components Breakdown
1. Histogram Bars
Green Bars (high - open): Represent bullish upper wicks, showing intrabar strength above the open.
Red Bars (open - low): Represent bearish lower wicks, showing pressure below the open.
Plotted as histograms above and below the zero line.
2. Close–Open Line (White)
Plots the difference between close and open for each bar.
Helps you visually track when momentum flips from negative to positive, or vice versa.
A bold black zero line provides clear reference for these flips.
3. Buy/Sell Signal Logic
A Buy Trigger is generated when close - open crosses above zero
A Sell Trigger occurs when close - open crosses below zero
These trigger events are one-shot, meaning they’re only registered once per signal direction. No retriggers occur until the opposite condition is met.
📈 Trigger Price Table (Static)
On a signal trigger, the close price from a lower timeframe (15S, 30S, 1, 2, 3, or 5 min) is captured.
This price is frozen and displayed in a table at the top-right of the pane.
The price remains fixed until the opposite trigger condition fires, at which point it is replaced.
Why close price?
Using the close from the lower timeframe gives a precise, decisive reference point — ideal for planning limit entries or confirming breakout commitment.
🛠️ Use Cases
Momentum traders can use the histogram and line to time entries after strong open rejection or close breakouts.
Scalpers can quickly gauge intrabar sentiment reversals and react to new momentum without waiting for candle closes.
Algo builders can use the frozen price logic as precise entry or confirmation points in automated strategies.
Fibonacci Retracement Engine (DFRE) [PhenLabs]📊 Fibonacci Retracement Engine (DFRE)
Version: PineScript™ v6
📌 Description
Dynamic Fibonacci Retracement Engine (DFRE) is a sophisticated technical analysis tool that automatically detects important swing points and draws precise Fibonacci retracement levels on various timeframes. The intelligent indicator eliminates the subjectivity of manual Fibonacci drawing using intelligent swing detection algorithms combined with multi timeframe confluence analysis.
Built for professional traders who demand accuracy and consistency, DFRE provides real time Fibonacci levels that adapt to modifications in market structure without sacrificing accuracy in changing market conditions. The indicator excels at identifying key support and resistance levels where price action is more likely to react, giving traders a potent edge in entry and exit timing.
🚀 Points of Innovation
Intelligent Swing Detection Algorithm : Advanced pivot detection with customizable confirmation bars and minimum swing percentage thresholds
Multi-Timeframe Confluence Engine : Simultaneous analysis across three timeframes to identify high-probability zones
Dynamic Level Management : Automatically updates and manages multiple Fibonacci sets while maintaining chart clarity
Adaptive Visualization System : Smart labeling that shows only the most relevant levels based on user preferences
Real-Time Confluence Detection : Identifies zones where multiple Fibonacci levels from different timeframes converge
Automated Alert System : Comprehensive notifications for level breakouts and confluence zone formations
🔧 Core Components
Swing Point Detection Engine : Uses pivot high/low calculations with strength confirmation to identify significant market turns
Fibonacci Calculator : Automatically computes standard retracement levels (0.236, 0.382, 0.5, 0.618, 0.786, 0.886) plus extensions (1.272, 1.618)
Multi-Timeframe Security Function : Safely retrieves Fibonacci data from higher timeframes without repainting
Confluence Analysis Module : Mathematically identifies zones where multiple levels cluster within specified thresholds
Dynamic Drawing Management : Efficiently handles line and label creation, updates, and deletion to maintain performance
🔥 Key Features
Customizable Swing Detection : Adjust swing length (3-50 bars) and strength confirmation (1-10 bars) to match your trading style
Selective Level Display : Choose which Fibonacci levels to show, from core levels to full extensions
Multi-Timeframe Analysis : Analyze up to 3 different timeframes simultaneously for confluence identification
Intelligent Labeling System : Options to show main levels only or all levels, with latest-set-only functionality
Visual Customization : Adjustable line width, colors, and extension options for optimal chart clarity
Performance Optimization : Limit maximum Fibonacci sets (1-5) to maintain smooth chart performance
Comprehensive Alerting : Get notified on level breakouts and confluence zone formations
🎨 Visualization
Dynamic Fibonacci Lines : Color-coded lines (green for uptrends, red for downtrends) with customizable width and extension
Smart Level Labels : Precise level identification with both ratio and price values displayed
Confluence Zone Highlighting : Visual emphasis on areas where multiple timeframe levels converge
Clean Chart Management : Automatic cleanup of old drawing objects to prevent chart clutter
Responsive Design : All visual elements adapt to different chart sizes and timeframes
📖 Usage Guidelines
Swing Detection Settings
Swing Detection Length - Default: 25 | Range: 3-50 | Controls the lookback period for identifying pivot points. Lower values detect more frequent swings but may include noise, while higher values focus on major market turns.
Swing Strength (Confirmation Bars) - Default: 2 | Range: 1-10 | Number of bars required to confirm a swing point. Higher values reduce false signals but increase lag.
Minimum Swing % Change - Default: 1.0% | Range: 0.1-10.0% | Minimum percentage change required to register a valid swing. Filters out insignificant price movements.
Fibonacci Level Settings
Individual Level Toggles : Enable/disable specific Fibonacci levels (0.236, 0.382, 0.5, 0.618, 0.786, 0.886)
Extensions : Show projection levels (1.272, 1.618) for target identification
Multi-Timeframe Settings
Timeframe Selection : Choose three higher timeframes for confluence analysis
Confluence Threshold : Percentage tolerance for level clustering (0.5-5.0%)
✅ Best Use Cases
Swing Trading : Identify optimal entry and exit points at key retracement levels
Confluence Trading : Focus on high-probability zones where multiple timeframe levels align
Support/Resistance Trading : Use dynamic levels that adapt to changing market structure
Breakout Trading : Monitor level breaks for momentum continuation signals
Target Setting : Utilize extension levels for profit target placement
⚠️ Limitations
Lagging Nature : Requires confirmed swing points, which means levels appear after significant moves
Market Condition Dependency : Works best in trending markets; less effective in extremely choppy conditions
Multiple Signal Complexity : Multiple timeframe analysis may produce conflicting signals requiring experience to interpret
Performance Considerations : Multiple Fibonacci sets and MTF analysis may impact indicator loading time on slower devices
💡 What Makes This Unique
Automated Precision : Eliminates manual drawing errors and subjective level placement
Multi-Timeframe Intelligence : Combines analysis from multiple timeframes for superior confluence detection
Adaptive Management : Automatically updates and manages multiple Fibonacci sets as market structure evolves
Professional-Grade Alerts : Comprehensive notification system for all significant level interactions
🔬 How It Works
Step 1 - Swing Point Identification : Scans price action using pivot high/low calculations with specified lookback periods, applies confirmation logic to eliminate false signals, and calculates swing strength based on surrounding price action for quality assessment.
Step 2 - Fibonacci Level Calculation : Automatically computes retracement and extension levels between confirmed swing points, creates dynamic level sets that update as new swing points are identified, and maintains multiple active Fibonacci sets for comprehensive market analysis.
Step 3 - Multi-Timeframe Confluence : Retrieves Fibonacci data from higher timeframes using secure request functions, analyzes level clustering across different timeframes within specified thresholds, and identifies high-probability zones where multiple levels converge.
💡 Note: This indicator works best when combined with other technical analysis tools and proper risk management. The multi-timeframe confluence feature provides the highest probability setups, but always confirm signals with additional analysis before entering trades.
Range Breakout [sgbpulse]Range Breakout
1. Overview
The "Range Breakout " indicator is a powerful tool designed to identify and visually display price ranges on your chart using pivot points. It dynamically draws two distinct boxes – an External Range and an Internal Range – helping traders pinpoint potential support and resistance zones. Beyond its visual representation, the indicator offers a comprehensive set of 12 unique breakout alerts, providing real-time notifications for significant price movements outside these defined ranges. Additionally, it integrates RSI and MFI metrics for momentum confirmation.
2. How It Works
The indicator operates by identifying pivot points based on user-defined "left" and "right" bar lengths. A high pivot is a bar with a specified number of lower highs both to its left and right, and similarly for a low pivot.
External Range: Calculated using longer pivot lengths (default: 15 bars left, 6 bars right). This range represents broader, more significant price consolidation areas.
Internal Range: Calculated using shorter pivot lengths (default: 4 bars left, 3 bars right). This range captures tighter, more immediate price consolidations within the broader trend.
The External Range will always be greater than or equal to the Internal Range, as it's based on a wider historical context. Both ranges are displayed as transparent boxes on your chart, dynamically adjusting as new pivots are formed.
3. Key Features and Settings
Customizable Pivot Lengths:
External Range (Left/Right Bars): Adjust sensitivity for identifying the broader price range. Longer lengths lead to more stable, but less frequent, range updates.
Internal Range (Left/Right Bars): Adjust sensitivity for the tighter, more immediate price range.
Tool Tips: Minimum 6 bars for the External Range, and minimum 2 bars for the Internal Range.
Customizable Range Colors: Easily change the background colors of the External and Internal Range boxes to match your chart's aesthetic.
Dynamic Range Display: The indicator automatically updates the range boxes as new pivot highs and lows are formed, always presenting the most current valid ranges.
RSI / MFI Settings:
Timeframe Source: Select the timeframe for RSI and MFI calculation.
- Chart: Calculation based on the current chart timeframe.
- Daily: Always calculated based on the daily ("D") timeframe, even if the chart is on a lower timeframe.
RSI Length: Period length for RSI calculation (default: 14).
RSI Overbought Level: Overbought level for RSI (default: 70.0).
RSI Oversold Level: Oversold level for RSI (default: 30.0).
MFI Length: Period length for MFI calculation (default: 14).
MFI Overbought Level: Overbought level for MFI (default: 80.0).
MFI Oversold Level: Oversold level for MFI (default: 20.0).
4. Synergy of Ranges & Breakout Strength
The interaction between the External and Internal Ranges provides deep insights into price movement and breakout strength:
Immediate Direction: The movement of the Internal Range (up or down) indicates the short-term directional bias within the broader framework of the External Range.
Strength Confirmation: A breakout of the External Range, followed by a breakout of the Internal Range, confirms the strength of the move and increases confidence in the breakout.
Strong Momentum ("Leaving" Ranges Behind): When price breaks out with exceptionally strong momentum, it continues to move aggressively and does not immediately form new pivots. In such situations, the existing ranges (External and Internal) remain in place while the candles "leave them behind." A "Full Candle" breakout, where the entire candle moves past both ranges, indicates a particularly powerful and decisive move.
Momentum (RSI / MFI) as Confirmation:
- RSI (Relative Strength Index): Measures the speed and change of price movements. Extreme values (above 70 or below 30) indicate overbought/oversold conditions respectively, confirming strong momentum in a breakout.
- MFI (Money Flow Index): Similar to RSI but incorporates volume. Extreme values (above 80 or below 20) indicate strong money flow in/out, reinforcing breakout confirmation.
- Importance of Confirmation: If a breakout occurs but momentum indicators do not confirm it (for example, an upside breakout while RSI is declining), this could signal weakness in the move and the risk of a false breakout (Fakeout).
5. Visuals
The indicator provides clear visual representations on the chart:
Range Boxes:
Two dynamic boxes are drawn on the chart: one for the External Range and one for the Internal Range.
These boxes update continuously, displaying the current range boundaries based on the latest pivots. They provide an immediate visual indication of support and resistance levels.
RSI/MFI Status Labels:
Small text labels appear to the right of the current bar, vertically centered.
They display the status of RSI and MFI: RSI OB (Overbought), RSI OS (Oversold), MFI OB, MFI OS, along with the exact value.
Important: The labels remain on the chart as long as the condition holds (indicator is above/below the level), unlike alerts which mark a singular crossover event.
Plotting of Key Values:
The indicator plots six invisible series on the chart, primarily to allow the user to view the exact numerical values of:
- The upper and lower bounds of the External Range (External High, External Low).
- The upper and lower bounds of the Internal Range (Internal High, Internal Low).
- The calculated RSI and MFI values (RSI, MFI).
These values are accessible for viewing through TradingView's Data Window and also via the Status Line when hovering over the relevant candle. This enables more precise quantitative analysis of range levels and momentum.
6. Comprehensive Breakout Alerts
The "Range Breakout " indicator provides 12 distinct alert conditions for breakouts, allowing you to select the required level of confirmation for each alert. All alerts are triggered only upon a fully confirmed bar close (barstate.isconfirmed) to minimize false signals and ensure reliability.
All breakout alerts are configured to detect a Crossover/Crossunder of the levels, meaning a specific event where the price moves from one side of the range to the other.
External Range Breakout UP
- Close: Price closes above the External Range.
- Real Body: The entire "real body" of the candle (min of open/close prices) closes above the External Range.
- Full Candle: The entire candle (the lowest point of the candle) closes above the External Range.
External Range Breakout DOWN
- Close: Price closes below the External Range.
- Real Body: The entire "real body" of the candle (max of open/close prices) closes below the External Range.
- Full Candle: The entire candle (the highest point of the candle) closes below the External Range.
Internal Range Breakout UP
- Close: Price closes above the Internal Range.
- Real Body: The "real body" of the candle closes above the Internal Range.
- Full Candle: The entire candle closes above the Internal Range.
Internal Range Breakout DOWN
- Close: Price closes below the Internal Range.
- Real Body: The "real body" of the candle closes below the Internal Range.
- Full Candle: The entire candle closes below the Internal Range.
7. Ideal Use Cases
This indicator is ideal for traders who:
Want to clearly identify and monitor price consolidation zones.
Seek confirmation for breakout strategies across various timeframes.
Require reliable and automated alerts for potential entry or exit points based on range expansion.
8. Complementary Indicator
For even more comprehensive market analysis, we highly recommend using this indicator in conjunction with Market Structure Support & Resistance External/Internal & BoS .
This powerful complementary indicator automatically and accurately identifies significant support and resistance levels by locating high and low pivot points, as well as key Pre-Market High/Low levels. Its strength lies in its dynamic adaptability to any timeframe and asset, providing precise and relevant real-time levels while maintaining a clean chart. It also identifies Break of Structure (BoS) to signal potential trend changes or continuations.
Using both indicators together provides a robust framework for identifying defined ranges and potential trend shifts, enabling more informed trading decisions.
View Market Structure Support & Resistance External/Internal & BoS Indicator
9. Important Note: Trading Risk
This indicator is intended for educational and informational purposes only and does not constitute investment advice or a recommendation for trading in any form whatsoever.
Trading in financial markets involves significant risk of capital loss. It is important to remember that past performance is not indicative of future results. All trading decisions are your sole responsibility. Never trade with money you cannot afford to lose.
Conservative High Low Identifier by AgungIndicator to identify high and low on candlestick chart.
This indicator use concept of every movement of high and low, there is small movement of high and low too. This movement can be identified by variance of bullish and bearish candle.
How to use this indicator?
Set number of bar that wanna be analyzed by this indicator on setting then there will be high and low label on your chart for identify high and low
db/dt [keypoems]Double Top / Double Bottom Marker
This indicator identifies classic double bottom/double top reversal patterns using pivot point analysis and breakout confirmation methodology, it also marks pivot based market structure shifts or flips.
WHAT IT DOES
The indicator detects two primary types of trading patterns:
1. Double Bottom/Top Patterns: Recognizes classic reversal formations where price creates two similar highs or lows before breaking the neckline
2. Market Structure Shifts (Flips): Identifies when price breaks through significant pivot levels indicating a potential trend change
HOW IT WORKS
Double Pattern Detection:
For double bottoms, the system identifies the first pivot low, then tracks the highest point between potential lows to establish the neckline level. It searches for a second pivot low within the specified price tolerance percentage of the first low. The pattern confirms when price breaks above the neckline. Double tops use the same logic but inverted, tracking the lowest point for the neckline and confirming on downward breaks.
Pattern Invalidation:
Double patterns are automatically invalidated if price creates new extremes beyond both pivot points before neckline confirmation occurs.
Flip Detection:
The algorithm uses a three-step process for each direction. For bullish shifts, it first identifies a pivot high using the specified left/right bar length parameters. It then waits for a subsequent pivot low that occurs after the pivot high. Finally, it confirms the shift when price closes above the original pivot high level. The bearish detection works inversely, starting with a pivot low, followed by a pivot high, and confirmed when price closes below the original pivot low.
CONFIGURATION OPTIONS
General Settings:
- Pivot High/Low Length: Controls the number of bars required on each side of a pivot point for validation
- Start Bar Index: Sets how many bars from the beginning of data to start pattern detection
- Time Filter: Optional start time to limit detection to specific periods
Double Pattern Settings:
- Separate pivot length controls for each pattern type
- Price Tolerance: Maximum percentage difference allowed between the two pivot points to qualify as a double pattern (0.1% to 20%)
- Individual start bar settings for each pattern type
Visual Controls:
- Toggle display for bullish flips, bearish flips, double bottoms, and double tops
- Optional text labels for each pattern type
- Sweep/Mitigation classification labels that distinguish between patterns where the second pivot sweeps beyond the first versus those that hold within tolerance
VISUAL PRESENTATION
Market structure shifts display as triangular markers above or below price with connecting lines that extend from the original pivot point to the breakout confirmation bar. Double patterns appear as rectangular boxes that encompass both pivot points with pattern type labels. The boxes automatically size themselves based on the price range and bar spacing of the pattern.
Color coding uses green for bullish signals, red for bearish signals, blue for double bottoms, and orange for double tops. All visual elements can be individually enabled or disabled based on trading preferences.
UNDERLYING CONCEPTS
This indicator applies market structure theory which suggests that trend changes are often preceded by breaks of significant swing points. The double pattern recognition is based on classical technical analysis principles where price creates similar levels twice before reversing direction, indicating exhaustion of the prevailing trend.
The pivot point methodology ensures that only statistically significant highs and lows are considered, filtering out minor fluctuations that might create false signals. The confirmation requirement prevents premature signals during consolidation phases.
PRACTICAL APPLICATION
Market structure shifts help identify potential trend changes early in their development. Double patterns provide high-probability reversal setups with clear entry levels at neckline breaks and logical stop placements beyond the pattern extremes.
The price tolerance setting allows adaptation to different market volatility conditions. Tighter tolerances work better in stable markets while looser tolerances accommodate more volatile instruments.
LIMITATIONS AND CONSIDERATIONS
This indicator works best in trending markets and may produce less reliable signals during extended sideways consolidation periods. The pivot-based approach means signals occur with some delay after actual market turns, as confirmation requires subsequent price action.
Users should be aware that the indicator plots historical patterns and breakout confirmations. Real-time trading decisions should account for the lag inherent in pivot point calculation and pattern completion requirements.
The effectiveness of detected patterns may vary significantly across different timeframes, market conditions, and instrument types. Combining these signals with additional analysis methods and proper risk management is recommended for practical trading applications.
Double pattern detection requires sufficient price history and bar spacing to properly identify and validate formations. Very short timeframes or instruments with limited volatility may not generate frequent pattern signals.
All pattern recognition is based on historical price data and does not guarantee future performance. Market conditions, fundamental factors, and external events can invalidate technical patterns regardless of their historical reliability.