Mongoose Capital: BTC ETF DriftScope ProMongoose Capital: BTC ETF DriftScope Pro
A proprietary indicator for monitoring drift between Bitcoin Spot (BTCUSD) and Bitcoin Spot ETFs (such as IBIT). Designed to detect ETF premium/discount zones and generate actionable Fade or Long bias signals.
What it Does
Tracks IBIT and BTCUSD spread to highlight ETF price deviations.
Calculates correlation Z-Score for ETF/Spot alignment.
Outputs numeric bias signals: Fade (1), Long (1), Neutral (1).
How to Use
Apply to a BTCUSD chart (4H, 1D, or higher recommended).
Open the Data Window to view:
IBIT Spread %
Correlation Z-Score
Correlation %
Bias Flags (Fade, Long, Neutral)
Configure alerts for Fade and Long Bias conditions.
Confirm all signals with your trade plan and risk management.
Methodology
This tool calculates the percentage spread between IBIT and BTC Spot. A rolling Z-Score of the correlation is used to detect periods of significant divergence.
Fade Bias suggests potential short setups in premium zones with high Z-Scores.
Long Bias suggests potential long setups in discount zones with low Z-Scores.
Disclaimer
This indicator is for educational purposes only. It is not financial advice. Use at your own risk and verify signals independently.
M-oscillator
Zero-Lag RSI DivergenceZero-Lag RSI Divergence
Overview
This indicator identifies RSI divergences in real-time without delay, providing immediate signals as price-momentum discrepancies develop. The indicator analyzes price action against RSI momentum across dual configurable periods, enabling traders to detect potential reversal opportunities with zero lag.
Key Features
Instant Divergence Detection : Identifies bullish and bearish divergences immediately upon formation without waiting for candle confirmation or historical validation. This eliminates signal delay but may increase false signals due to higher sensitivity.
Dual Period Analysis : Configure detection across two independent cycles - Short Period (default 15) and Long Period (default 50) - allowing for multi-timeframe divergence analysis and enhanced signal validation across different market conditions.
Visual Divergence Lines : Automatically draws dashed lines connecting divergence points between price highs/lows and corresponding RSI peaks/troughs, clearly illustrating the momentum-price relationship.
Customizable RSI Parameters : Adjustable RSI length (default 14) allows optimization for different market volatility and trading timeframes.
How It Works
The indicator continuously monitors price action patterns and RSI momentum:
- Bullish Divergence : Detected when price makes lower lows while RSI makes higher lows, suggesting potential upward momentum
- Bearish Divergence : Identified when price makes higher highs while RSI makes lower highs, indicating potential downward momentum
The algorithm uses candle color transitions and immediate RSI comparisons to trigger signals without historical repainting , ensuring backtesting accuracy and real-time reliability.
How To Read
Important Notes
Higher Signal Frequency : The zero-lag approach increases signal sensitivity, generating more frequent alerts that may include false signals. Consider using additional confirmation methods for trade entries.
Non-Repainting : All signals are generated and maintained without historical modification, ensuring consistent backtesting and forward-testing results.
Input Parameters
RSI Length: Period for RSI calculation (default: 14)
Short/Long Periods: Lookback periods for divergence detection (default: 15/50)
Line Colors: Customizable colors for short and long period divergence lines
Label Settings: Optional divergence labels with custom text
This indicator is designed for traders seeking immediate divergence identification across multiple timeframes while maintaining signal integrity and backtesting reliability.
RSI PotentialRSI Potential
This indicator does more than just track RSI; it measures the "energy" or "fuel" left in a trend. It answers a critical question: how much further can the price move before momentum is exhausted?
The key insight is that high momentum often means low potential, and vice versa. This inverse relationship is what allows the indicator to provide powerful, forward-looking signals about trend health and potential reversals.
Think of it like a race car:
Momentum is the car's current speed.
Potential is the amount of fuel left in the tank.
A car at top speed (high momentum) is burning fuel rapidly (potential is decreasing). A car just starting (low momentum) has a full tank of fuel (high potential). This indicator helps you see the fuel gauge, not just the speedometer.
This indicator plots three distinct components in a separate pane below your chart:
1. Upside Potential (Green Line)
What it shows: The percentage price increase required to hit the Overbought RSI Level. In other words, how much "fuel" is left for the upward trend.
How to interpret it:
Low Value (Approaching Zero): This is a warning sign. It means the price is already in high gear, and there is very little room left to run before hitting overbought exhaustion. Even if the price is rocketing up (high momentum), low potential signals the rally is likely on its last legs.
High Value: This indicates the market has a full tank of fuel for a rally. Even if the price is moving sideways or slowly (low momentum), the high potential suggests that if a new uptrend starts, it has the energy to be sustainable and significant.
2. Downside Potential (Red Line)
What it shows: The percentage price decrease required to hit the Oversold RSI Level—the "fuel" for a downtrend.
How to interpret it:
Low Value (Approaching Zero): A warning for bears. The price may be dropping fast (high momentum), but it's running out of energy to fall further. This signals seller exhaustion and increases the probability of a bounce or reversal.
High Value: The market has significant room to fall before becoming oversold. This can confirm the health of a new downtrend or suggest that a current downtrend has more to go.
3. Net Potential (Columns / Histogram)
What it shows: The net balance of energy: Upside Potential - Downside Potential. It answers, "Which side has more fuel in the tank?"
Intelligent Top & Bottom Finder v9.8 Keyvankh📈 Intelligent Top & Bottom Finder v9.8 Keyvankh
A next-generation all-in-one trading system for precise tops, bottoms, and reversals across all timeframes.
---
🟢 Overview
This indicator is a powerful and intelligent solution for detecting market tops and bottoms, key reversals, and S/R zones with institutional-grade accuracy. Designed for traders seeking an edge in any market (crypto, forex, stocks), it combines advanced candlestick recognition, multi-indicator confirmation, smart support/resistance clustering, and strict signal filtering into one seamless tool.
---
🔎 How Does It Work?
1. Advanced Support & Resistance Clustering
Automatically detects and draws high-probability support and resistance zones using dynamic ATR-based pivot clustering.
Highlights breakouts and retest (flip) zones in real-time, adapting to changing market structure.
2. Full Candlestick Pattern Recognition
Scans for 15+ classic and advanced patterns: Engulfing, Pin Bar, Doji, Three Bar, Marubozu, Hammer, Shooting Star, Three White Soldiers, Three Black Crows, Tweezer, Morning/Evening Star, Kicker, Belt Hold, and more.
Scores each pattern’s strength based on location (S/R zone, retest, breakout), volume context, and confirmation signals.
3. Multi-Indicator Confirmation Engine**
Integrates and scores confirmation from up to five additional sources:
RSI Games 1.2** (smoothed LTF momentum shifts)
MACD Divergence** (bullish/bearish momentum reversal)
QQE+ v7 Advanced** (dynamic volatility filter)
OBV Trend Filter** (volume-backed trend validation)
Volume Game** (net volume spike and reversal detection)
Each module can be enabled or disabled to fit your personal trading style.
4. Institutional S/R and Retest Logic
Real-time recognition of major trendline breaks, retest zones, and price flips.
Automatic labeling and coloring of S/R zones, retest boxes, and confirmation candles.
5. Smart Buy & Sell Signal Generation**
Combines all scoring modules with strict logical filters and “failsafe override” logic (guaranteeing signal on confirmed hammers, engulfings, etc. even if other filters disagree).
Plots clear “BUY” and “SELL” labels only when a strong, multi-factor signal appears—minimizing noise and maximizing reliability.
Built-in fallback logic (optional) for edge cases.
6. Alerts & Automation Ready
TradingView alerts for all BUY, SELL, or ANY signal conditions—perfect for auto-trading or notification setups.
---
*⚙️ Customizable Inputs
Enable/Disable any module (RSI Games, MACD, OBV, QQE+, Candlestick Scanner, Volume Game)
Minimum Confirmations** required for a signal (1–10)
Pivot/Zone Sensitivity:** ATR multiplier, pivots per cluster, retest bar duration
LTF (Lower Timeframe) Confirmation:** Fully configurable
---
📊 How To Use**
Apply on any timeframe and symbol**—crypto, stocks, forex, indices.
Use as a **standalone reversal/entry tool** or to confirm your own technical setups.
Combine with your favorite momentum, trend, or volume indicators for advanced confluence.
Set up **TradingView alerts** for auto-trading, Telegram/email notifications, or trade journaling.
---
🟢 What Makes This Unique?
All-in-one multi-indicator fusion:** No more juggling a dozen scripts.
Institutional logic:** Goes beyond basic signals with true S/R, retest, and volume logic.
Full transparency:** Source code is clear and commented (if published open-source).
Fast and reliable:** Optimized for minimal lag and maximum accuracy.
---
⚠️ Disclaimer**
This indicator is a tool to assist with trade timing and risk management. **No system is 100% accurate.** Always use in conjunction with your own analysis and risk management practices.
---
📚 Credits & License**
Created by Keyvan Khodakhah.
You may use, modify, or share this script under the (mozilla.org).
Please credit the original author if you fork or reuse in public.
---
Questions, feedback, or collaboration? Contact: Keyvankh
---
Precision in technical analysis comes from layers of confluence and discipline. This tool brings that precision to your chart.
Triangular Fib🔍 Features
- Dynamic Lookback & Projection: Automatically adjusts the range and projection horizon based on timeframe changes.
- Triangular Fibonacci Arms: Projects fib levels upward and downward from high/low extremes to highlight potential price inflections.
- Volatility-Shaded Equilibrium: Visual zone highlights areas of consolidation or energy buildup before breakouts.
- Breakout Alerts: Detects and signals bullish/bearish breakouts from triangular fib thresholds.
- Auto-Traced Triangle Wedge: Dotted wedge lines visually represent narrowing price action from range extremes to midpoint.
Ideal for traders who seek visual clarity, price symmetry, and alert-driven decision-making across multiple timeframes. Whether you're swing trading or intraday scouting, this script provides a richly layered roadmap of market potential.
Not financial advice.
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)는 시장의 방향성을 객관적으로 측정하고 추세의 강도를 시각화하는 강력한 도구입니다. 최소 변화율 설정을 통한 노이즈 필터링은 각자의 트레이딩 성향과 시장 특성에 맞게 조정할 수 있어 최적의 효과를 누릴 수 있습니다. 추세의 초기 단계를 식별하고 과열 구간을 감지하는 능력은 트레이더에게 중요한 진입 및 퇴출 포인트를 제공합니다. 다른 기술적 지표와 함께 사용하면 트레이딩 결정의 신뢰도를 크게 향상시킬 수 있습니다.
─────────────────────────────────────
※ 면책 조항: 과거 성과가 미래 결과를 보장하지 않습니다. 항상 적절한 리스크 관리 전략을 사용하세요.
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.
Chaikin Oscillator Enhanced📊 What Is the Chaikin Oscillator?
The Chaikin Oscillator is a momentum indicator that helps traders understand the strength of buying and selling pressure in the market, based on volume and price movement.
It is calculated as the difference between two moving averages (short-term and long-term) of the Accumulation/Distribution Line (A/D Line). This line combines price and volume to show whether money is flowing into or out of an asset.
________________________________________
🧠 Simple Concept
• When big traders are buying, they usually do so with volume support—the Chaikin Oscillator picks this up.
• When volume is rising but price is falling, or vice versa, it shows hidden strength or weakness.
So, this indicator helps you see what the smart money is doing, even if the price isn’t moving much.
________________________________________
🛠️ How It Works
• Oscillator Value Above Zero → More buying pressure (bullish).
• Oscillator Value Below Zero → More selling pressure (bearish).
• Crossing above zero → A potential buy signal.
• Crossing below zero → A potential sell signal.
The histogram (vertical bars) in the indicator changes color:
• Green bars = Positive momentum.
• Red bars = Negative momentum.
________________________________________
🎯 How Traders Use It for Entry and Exit
✅ For Entries:
• Buy Entry: When the oscillator crosses above the zero line and the bars turn green, it means buyers are stepping in with volume.
• For better confirmation, combine it with price breaking above a resistance level.
❌ For Exits or Shorts:
• Sell Exit or Short Entry: When the oscillator crosses below the zero line and bars turn red, it suggests selling pressure is growing.
• If the price is also below support, it’s a stronger signal.
________________________________________
🔍 Example Use Case:
1. You’re watching a stock or crypto that's been going sideways.
2. Suddenly, the Chaikin Oscillator crosses above zero, and green bars appear.
3. That’s your early clue that big buyers might be entering.
4. If price confirms this with a breakout, you can enter a long position.
________________________________________
🌐 Where Is It Useful?
The Chaikin Oscillator is great for:
• Stocks (especially volume-heavy large caps)
• ETFs
• Cryptocurrency (on exchanges that provide volume data)
• Forex – less reliable unless volume is proxy-based
⚠️ Important: It won’t work well on instruments where volume data is missing or unreliable (like some CFDs or synthetic assets).
________________________________________
🧭 Pro Tips for Using It:
• Combine it with support/resistance, moving averages, or candlestick patterns.
• Avoid trading only based on this indicator—use it as confirmation.
• Use the alerts (added in the script) so you don’t miss key movements.
________________________________________
AMV Impulse AssistantThe AMV Impulse Assistant is a custom momentum tool designed to assess how aggressively price is moving relative to recent volatility. It combines Bollinger-based range analysis and fast-moving average behavior to generate a dynamic impulse score. This score helps identify when price action is potentially overextended or showing signs of unusual momentum — useful for pullback traders, breakout traders, and anyone managing entries during trending conditions.
What it does:
Tracks the relationship between a short WMA and Bollinger basis to gauge directional strength.
Measures price movement compression/expansion with a normalized Bollinger Width Percentile.
Combines both into a smoothed Impulse Score (from -10 to +10) that reflects how aggressively price is pushing in either direction.
Colors the score line and highlights background zones when momentum enters extreme ranges.
📈 Use case:
This tool is especially effective for day traders who need to quickly identify when price is moving abnormally fast — either as an exhaustion signal or confirmation of an aggressive continuation. It can be used to:
Confirm the end of a pullback.
Spot overly aggressive moves that may revert.
Avoid entries during neutral chop or volatility compression.
It is best used alongside your primary trend filters and execution tools as a supplementary confirmation.
AMV Volume AssistantThe AMV Volume Assistant is a custom tool that visualizes volume delta strength using percentile-based scoring. It helps identify potential overbought and oversold conditions by measuring how strong recent buying or selling pressure is compared to historical volume behavior.
What it does:
Tracks delta accumulation using lower timeframe data split into buying and selling volume based on candle direction.
Converts this accumulation into a percentile score to show relative strength or weakness.
Colors the background green or red when the smoothed score crosses key thresholds (+3 or -3), highlighting moments of possible volume exhaustion or continuation.
Use case:
This tool is useful for intraday traders who want a simple way to spot strong buying or selling pressure and assess when the move may be overextended. It works best as a supporting indicator alongside your main strategy or trend framework.
This tool works best on futures such as CME_MINI:NQ1! due to the accuracy of volume data provided.
IMPORTANT: On lower tf's such as the 1 minute timeframes, 5s data is needed so a premium subscription is required for the use of this indicator.
Chaikin Money Flow (CMF) [ParadoxAlgo]OVERVIEW
This indicator implements the Chaikin Money Flow oscillator as an overlay on the price chart, designed to help traders identify institutional money flow patterns. The Chaikin Money Flow combines price and volume data to measure the flow of money into and out of a security, making it particularly useful for detecting accumulation and distribution phases.
WHAT IS CHAIKIN MONEY FLOW?
Chaikin Money Flow was developed by Marc Chaikin and measures the amount of Money Flow Volume over a specific period. The indicator oscillates between +1 and -1, where:
Positive values indicate money flowing into the security (accumulation)
Negative values indicate money flowing out of the security (distribution)
Values near zero suggest equilibrium between buying and selling pressure
CALCULATION METHOD
Money Flow Multiplier = ((Close - Low) - (High - Close)) / (High - Low)
Money Flow Volume = Money Flow Multiplier × Volume
CMF = Sum of Money Flow Volume over N periods / Sum of Volume over N periods
KEY FEATURES
Big Money Detection:
Identifies significant institutional activity when CMF exceeds user-defined thresholds
Requires volume confirmation (volume above average) to validate signals
Uses battery icon (🔋) for institutional buying and lightning icon (⚡) for institutional selling
Visual Elements:
Background coloring based on money flow direction
Support and resistance levels calculated using Average True Range
Real-time dashboard showing current CMF value, volume strength, and signal status
Customizable Parameters:
CMF Period: Calculation period for the money flow (default: 20)
Signal Smoothing: EMA smoothing applied to reduce noise (default: 5)
Big Money Threshold: CMF level required to trigger institutional signals (default: 0.15)
Volume Threshold: Volume multiplier required for signal confirmation (default: 1.5x)
INTERPRETATION
Signal Types:
🔋 (Battery): Indicates strong institutional buying when CMF > threshold with high volume
⚡ (Lightning): Indicates strong institutional selling when CMF < -threshold with high volume
Background color: Green tint for positive money flow, red tint for negative money flow
Dashboard Information:
CMF Value: Current Chaikin Money Flow reading
Volume: Current volume as a multiple of 20-period average
Big Money: Status of institutional activity (BUYING/SELLING/QUIET)
Signal: Strength assessment (STRONG/MEDIUM/WEAK)
TRADING APPLICATIONS
Trend Confirmation: Use CMF direction to confirm price trends
Divergence Analysis: Look for divergences between price and money flow
Volume Validation: Confirm breakouts with corresponding money flow
Accumulation/Distribution: Identify phases of institutional activity
PARAMETER RECOMMENDATIONS
Day Trading: CMF Period 14-21, higher sensitivity settings
Swing Trading: CMF Period 20-30, moderate sensitivity
Position Trading: CMF Period 30-50, lower sensitivity for major trends
ALERTS
Optional alert system notifies users when:
Big money buying is detected (CMF above threshold with volume confirmation)
Big money selling is detected (CMF below negative threshold with volume confirmation)
LIMITATIONS
May generate false signals in low-volume conditions
Best used in conjunction with other technical analysis tools
Effectiveness varies across different market conditions and timeframes
EDUCATIONAL PURPOSE
This open-source indicator is provided for educational purposes to help traders understand money flow analysis. It demonstrates the practical application of the Chaikin Money Flow concept with visual enhancements for easier interpretation.
TECHNICAL SPECIFICATIONS
Overlay indicator (displays on price chart)
No repainting - all calculations are based on closed bar data
Suitable for all timeframes and asset classes
Minimal resource usage for optimal performance
DISCLAIMER
This indicator is for educational and informational purposes only. Past performance does not guarantee future results. Always conduct your own analysis and consider risk management before making trading decisions.
Tsallis Entropy Market RiskTsallis Entropy Market Risk Indicator
What Is It?
The Tsallis Entropy Market Risk Indicator is a market analysis tool that measures the degree of randomness or disorder in price movements. Unlike traditional technical indicators that focus on price patterns or momentum, this indicator takes a statistical physics approach to market analysis.
Scientific Foundation
The indicator is based on Tsallis entropy, a generalization of traditional Shannon entropy developed by physicist Constantino Tsallis. The Tsallis entropy is particularly effective at analyzing complex systems with long-range correlations and memory effects—precisely the characteristics found in crypto and stock markets.
The indicator also borrows from Log-Periodic Power Law (LPPL).
Core Concepts
1. Entropy Deficit
The primary measurement is the "entropy deficit," which represents how far the market is from a state of maximum randomness:
Low Entropy Deficit (0-0.3): The market exhibits random, uncorrelated price movements typical of efficient markets
Medium Entropy Deficit (0.3-0.5): Some patterns emerging, moderate deviation from randomness
High Entropy Deficit (0.5-0.7): Strong correlation patterns, potentially indicating herding behavior
Extreme Entropy Deficit (0.7-1.0): Highly ordered price movements, often seen before significant market events
2. Multi-Scale Analysis
The indicator calculates entropy across different timeframes:
Short-term Entropy (blue line): Captures recent market behavior (20-day window)
Long-term Entropy (green line): Captures structural market behavior (120-day window)
Main Entropy (purple line): Primary measurement (60-day window)
3. Scale Ratio
This measures the relationship between long-term and short-term entropy. A healthy market typically has a scale ratio above 0.85. When this ratio drops below 0.85, it suggests abnormal relationships between timeframes that often precede market dislocations.
How It Works
Data Collection: The indicator samples price returns over specific lookback periods
Probability Distribution Estimation: It creates a histogram of these returns to estimate their probability distribution
Entropy Calculation: Using the Tsallis q-parameter (typically 1.5), it calculates how far this distribution is from maximum entropy
Normalization: Results are normalized against theoretical maximum entropy to create the entropy deficit measure
Risk Assessment: Multiple factors are combined to generate a composite risk score and classification
Market Interpretation
Low Risk Environments (Risk Score < 25)
Market is functioning efficiently with reasonable randomness
Price discovery is likely effective
Normal trading and investment approaches appropriate
Medium Risk Environments (Risk Score 25-50)
Increasing correlation in price movements
Beginning of trend formation or momentum
Time to monitor positions more closely
High Risk Environments (Risk Score 50-75)
Strong herding behavior present
Market potentially becoming one-sided
Consider reducing position sizes or implementing hedges
Extreme Risk Environments (Risk Score > 75)
Highly ordered market behavior
Significant imbalance between buyers and sellers
Heightened probability of sharp reversals or corrections
Practical Application Examples
Market Tops: Often characterized by gradually increasing entropy deficit as momentum builds, followed by extreme readings near the actual top
Market Bottoms: Can show high entropy deficit during capitulation, followed by normalization
Range-Bound Markets: Typically display low and stable entropy deficit measurements
Trending Markets: Often show moderate entropy deficit that remains relatively consistent
Advantages Over Traditional Indicators
Forward-Looking: Identifies changing market structure before price action confirms it
Statistical Foundation: Based on robust mathematical principles rather than empirical patterns
Adaptability: Functions across different market regimes and asset classes
Noise Filtering: Focuses on meaningful structural changes rather than price fluctuations
Limitations
Not a Timing Tool: Signals market risk conditions, not precise entry/exit points
Parameter Sensitivity: Results can vary based on the chosen parameters
Historical Context: Requires some historical perspective to interpret effectively
Complementary Tool: Works best alongside other analysis methods
Enjoy :)
ADX & Angle Strength📌 Indicator Overview – ADX Angle Strength
This script merges the power of the traditional ADX with a visual interpretation of the angular slope of a moving average, offering a highly effective tool to identify real impulses in price action. The goal of the indicator is not only to highlight market strength, but to reveal direction and slope —helping traders spot the end of impulses, consolidation zones, and potential reversal points.
This script does not aim to replace or compete with ADX, but instead highlights a lesser-used metric: the true angular slope of a moving average as a functional and interpretable force component. Rather than relying exclusively on traditional strength tools, it introduces an immediate, intuitive, and quantifiable way to observe trend steepness — reinforced by a robust metric like ADX.
The author considers both perspectives valuable. While ADX remains an integral part of their technical analysis, greater attention is often given to the angles formed by price-tracking moving averages, as they offer faster insight into trend acceleration. This dual-approach — with one reactive and one confirmatory signal — makes ADX & AngleStrength a practical, clear, and flexible tool for analyzing market momentum from two synchronized yet distinct vantage points.
Key user-configurable options:
- Display of ADX lines (DI+, DI−, zero line, lines 20, 25, 50, and 75)
- ADX length and smoothing
- Moving average type (SMA, EMA, WMA, HMA, ALMA)
- Length, source, color, and style of the angle calculation
- Minimum angle threshold to define color changes (slope comparison)
This indicator is highly sensitive and allows users to visualize:
- Range zones via flat angles (yellow)
- Bullish or bearish impulses through positive or negative slopes (green and red)
- Convergences or divergences relative to traditional ADX strength
📘 Single Real-World Example: Step-by-Step Interpretation
In this section, we’ll walk through a single real-world example on a 1-hour chart, divided into five key moments marked by vertical lines labeled A, B, C, D, and E. Each line identifies a specific point in the movement of price and indicator behavior. We’ll move through the chart step-by-step, explaining what happens between each line and how each indicator responds.
Before Line A: The setup
The chart shows a slight upward movement in the price, though not particularly strong. This section doesn’t have any lines marked yet but sets the foundation for what’s coming next.
The ADX is falling, dropping below the 20-level threshold, which usually signals weakening market momentum. However, the angle indicator, which is more sensitive, starts pointing upward, detecting an increase in slope as the price begins climbing.
This early upward tilt is what we call a rising angle, suggesting the market is gaining slope.
🅰 Line A: First peak
As the upward move completes, a peak forms right at Line A. The angle at that moment reaches +44.70°, showing a relatively strong upward slope.
After Line A:
- Price stalls, entering a sideways range — a classic consolidation.
- The angle indicator begins to fall, because price action no longer has a strong slope.
- The ADX, however, keeps rising, continuing even after the angle begins to decline. It reaches a peak at 35.6, then gradually drops to 15.13, reflecting that the trend’s strength has faded.
🅱 Line B: Sharp drop
Following the sideways range after Line A, the price breaks downward with a strong bearish candle.
This is where the second peak happens — but this time it's a negative angle, as price drops quickly. The angle reaches -48.45°, clearly marking the end of this quick bearish impulse.
At the same moment:
- The ADX, recovering from its earlier drop, reaches 21.83 and continues rising after the angle has peaked.
- This shows that while the angle detects the end of the move, the ADX is still registering the momentum that just occurred — a bit delayed, but confirming.
🅲 Line C: Key turning point
After the drop at Line B, price moves sideways again. During this range:
- The angle gradually declines and enters a yellow zone, indicating low slope or momentum.
But at Line C, everything changes. Unlike the other lines, Line C does not mark a peak, but rather the beginning of a stronger downward move.
From here:
- Price breaks through the range and continues falling — this marks the start of a stronger trend.
- The angle indicator shows a sequence of five descending peaks, tracking the steepening drop in price:
1. 26.47°
2. 40.64°
3. 35.87°
4. 38.71°
5. 66.3° (the steepest)
- The ADX starts rising in parallel, confirming the growing strength of the trend.
🅳 Line D: Bottom and reversal
At Line D, price reaches a bottom — a point of exhaustion marked by high volume, sometimes known as a volume climax or stopping volume.
- The angle reaches its steepest reading so far: 66.3° negative.
- The ADX keeps rising for two more candles after this angle peak, then begins to fall — revealing that the angle catches the momentum shift earlier.
🅴 Line E: Bullish reversal and final peak
After the low at Line D, price begins to rise steadily. The angle responds immediately, tilting upward again.
At Line E, we get the final peak, this time positive, as the bullish move reaches its climax. The angle here is +71.64° — the highest reading in the entire example.
Meanwhile:
- The ADX is still falling at this point, having peaked two candles after Line D and never recovering in time to catch this bullish push.
- Once again, the angle proves more responsive to changes in price behavior, especially at the end of impulses.
⚠️ Compatibility and Intended Use
This indicator is specifically designed to be used on Binance charts, as it is intended for the analysis of cryptocurrency markets, and Binance exclusively operates with crypto assets. It has been optimized for the following timeframes:
- 1 minute
- 5 minutes
- 15 minutes
- 30 minutes
- 1 hour
- 4 hours
- 1 day
These intervals were selected based on the internal architecture used for angle computation. As such, the indicator will not display any data outside of these supported timeframes or on non-Binance assets. Attempting to apply it beyond those conditions will produce a blank chart by design.
👤 Author
This indicator was developed as part of a visual technical analysis project focused on capturing true momentum through combined signals.
📄 User guide available in both Spanish and English for clarity and learning.
Volume bar range# Volume Bar Range (VBR) Indicator
## Overview
The Volume Bar Range indicator identifies key support and resistance levels based on high-volume price bars. It creates a visual range that represents significant price levels where the market has shown strong interest through volume confirmation.
## Features
### Visual Range Display
- **Blue/Aqua Area**: Shows the price range of the highest volume bar within the lookback period
- **Dynamic Color**: The fill color changes to indicate whether the range is stable (aqua) or newly updated (white)
- **Boundary Lines**: Invisible white lines mark the upper and lower boundaries of the range
### Trading Signals
- **BUY Signal**: Blue upward arrow appears when price breaks above the resistance level with volume confirmation
- **SELL Signal**: Black downward arrow appears when price breaks below the support level with volume confirmation
## How to Use
### Setup
1. Apply the indicator to any chart
2. The indicator automatically identifies the highest volume bar in the last 55 periods
3. The price range of this high-volume bar becomes your support/resistance zone
### Trading Strategy
- **Range Trading**: Trade within the identified support/resistance range
- **Breakout Trading**: Enter positions when price breaks above resistance (BUY) or below support (SELL)
- **Volume Confirmation**: Only take signals when current volume exceeds the 21-period average
### Signal Interpretation
- **BUY Signal**: Price closes above the resistance level with above-average volume
- **SELL Signal**: Price closes below the support level with above-average volume
- **No Signal**: Price remains within the range or volume is insufficient
## Key Parameters
- **Lookback Period**: 55 bars (automatically identifies the highest volume bar)
- **Volume MA**: 21-period simple moving average for volume confirmation
- **Signal Size**: Tiny markers to avoid chart clutter
## Best Practices
- Use on multiple timeframes for confirmation
- Combine with other technical indicators for stronger signals
- Pay attention to the color changes in the range area
- Consider market context and overall trend direction
## Ideal Markets
- Works well on liquid markets with consistent volume patterns
- Effective on stocks, forex, and crypto markets
- Best suited for swing trading and medium-term analysis
This indicator is particularly useful for traders who rely on volume analysis and want to identify key price levels where the market has shown significant interest.
Fair Value Z Gauge📊 Fair Value Z Gauge Indicator Description
- This indicator visually represents whether the price is relatively overvalued or undervalued compared to a specific moving average (MA) using a Z-score normalization approach.
- When the Z-score is around 0, it can be interpreted statistically as fair value or "fair price."
✅ Key Concept
- Price-to-MA ratio (p_ratio): Calculated by dividing the price by the MA and then subtracting 1, this shows the relative deviation from the moving average.
- Z-score normalization: p_ratio is divided by its 200-period standard deviation, making it easy to identify statistically significant overbought or oversold zones.
✅ Default & User Inputs
- Default MA period (100, DEMA by default)
- Selectable MA types: EMA, SMA, WMA, VWMA, RMA, DEMA, TEMA, ZLEMA, HMA
- Upper/lower threshold levels (h_level: 3, l_level: -1.5)
- Signal line period (default: 100) and line thickness
✅ Visualization
- Z-score line: Red gradient for overbought, aqua/green gradient for oversold zones
- Signal line: SMA of p_ratio for trend confirmation
- Upper/lower threshold lines: Clearly indicate risk and undervaluation zones
- Fill highlights: Visual emphasis when crossing thresholds
- Bar color: Automatically adjusts based on Z-score status
- Table: Displays real-time p_ratio value
✅ Swing Trading Strategy Interpretation & Usage
- Upper red peak: Overbought zone → Mandatory profit-taking or sell signal
- Lower blue bottom: Undervalued zone → Mandatory buy signal
- Line dropping toward 0: Ideal for gradual, phased entries (scaling in)
- Signal line: Helps confirm overall trend and entry/exit timing
💡 Usage Ideas
- Enables clear, quantified entry/exit strategies based on statistical overextension
- Allows for various MA combinations to define personalized "fair value" levels
- Ideal for scaling in/out and portfolio rebalancing strategies
copyright @invest_hedgeway
===========================================================================
📊 Fair Value Z Gauge 지표 설명
- 이 지표는 가격이 특정 이동평균(MA) 대비 상대적으로 고평가(Overvalued) 혹은 저평가(Undervalued) 되었는지를 Z-score 방식으로 정규화하여 시각적으로 보여줍니다.
- Z-Score가 0이라면 통계적으로 적정평가=공정가치라고 설명할 수 있습니다.
✅ 주요 개념
-가격 대비 이동평균 비율 (p_ratio) : 가격을 MA로 나눈 뒤 -1을 적용해 MA와의 상대적 괴리를 계산합니다.
- Z-score 기반 정규화: p_ratio를 200기간 표준편차로 나누어, 통계적으로 의미 있는 과열 구간과 저평가 구간을 쉽게 파악하도록 설계했습니다.
✅ 기본 입력 및 사용자 입력값
- 기본 MA 기간 (기본: 100, DEMA)
- MA 유형 선택 가능 : EMA, SMA, WMA, VWMA, RMA, DEMA, TEMA, ZLEMA, HMA
- 상단/하단 기준 경계선 (h_level: 3, l_level: -1.5)
- 시그널 라인 기간 (기본: 100) 및 굵기
✅ 시각화 구성
- Z-score 라인: 과열 시 빨간색, 과매도 시 청록색/녹색 그라디언트
- 시그널 라인: p_ratio의 SMA로 추세 보조
- 상단/하단 기준선: 위험 구간과 저점 구간 한눈에 확인
- fill 강조: 기준선 돌파 시 시각적 강조
- 바 색상: Z-score 상태에 따라 자동 채색
- 테이블: 현재 p_ratio 값 실시간 표시
✅ 스윙매매 간 전략적 해석 및 활용
- 상단 빨간 색상 최고·저점: 과열 구간 → 반드시 차익실현 또는 매도 신호
- 하단 파랑 색상 저점: 저평가 구간 → 반드시 매수 신호
- 선이 하락하며 0 인근 도달: 단계적 분할매수 시점
- 시그널 라인은 전체 흐름과 추가 타이밍 보조
💡 활용 아이디어
- 정량화된 과열·과매도 기준으로 단호한 진입·청산 전략 가능
- 다양한 MA 실험으로 자신만의 "공정 가치" 탐색
- 분할매수·매도, 포트폴리오 리밸런싱 전략에 최적
copyright @invest_hedgeway
BTC Correlation CoefficientThe BTCUSDT Correlation Coefficient indicator measures the strength and direction of the relationship between the selected asset (e.g., a stock or altcoin) and the price of BTCUSDT over a chosen time period. It uses a custom correlation function to calculate how closely the asset's price movements align with Bitcoin, returning a value between -1 and +1. A coefficient near +1 indicates strong positive correlation, while values near -1 indicate inverse correlation. This helps traders assess whether the asset tends to follow Bitcoin’s price trends or behave independently, enabling more informed decisions on portfolio diversification and market sentiment alignment.
Contrarian RSIContrarian RSI Indicator
Pairs nicely with Contrarian 100 MA (optional hide/unhide buy/sell signals)
Description
The Contrarian RSI is a momentum-based technical indicator designed to identify potential reversal points in price action by combining a unique RSI calculation with a predictive range model inspired by the "Contrarian 5 Levels" logic. Unlike traditional RSI, which measures price momentum based solely on price changes, this indicator integrates a smoothed, weighted momentum calculation and predictive price ranges to generate contrarian signals. It is particularly suited for traders looking to capture reversals in trending or range-bound markets.
This indicator is versatile and can be used across various timeframes, though it performs best on higher timeframes (e.g., 1H, 4H, or Daily) due to reduced noise and more reliable signals. Lower timeframes may require additional testing and careful parameter tuning to optimize performance.
How It Works
The Contrarian RSI combines two primary components:
Predictive Ranges (5 Levels Logic): This calculates a smoothed price average that adapts to market volatility using an ATR-based mechanism. It helps identify significant price levels that act as potential support or resistance zones.
Contrarian RSI Calculation: A modified RSI calculation that uses weighted momentum from the predictive ranges to measure buying and selling pressure. The result is smoothed and paired with a user-defined moving average to generate clear signals.
The indicator generates buy (long) and sell (exit) signals based on crossovers and crossunders of user-defined overbought and oversold levels, making it ideal for contrarian trading strategies.
Calculation Overview
Predictive Ranges (5 Levels Logic):
Uses a custom function (pred_ranges) to calculate a dynamic price average (avg) based on the ATR (Average True Range) multiplied by a user-defined factor (mult).
The average adjusts only when the price moves beyond the ATR threshold, ensuring responsiveness to significant price changes while filtering out noise.
This calculation is performed on a user-specified timeframe (tf5Levels) for multi-timeframe analysis.
Contrarian RSI:
Compares consecutive predictive range values to calculate gains (g) and losses (l) over a user-defined period (crsiLength).
Applies a Gaussian weighting function (weight = math.exp(-math.pow(i / crsiLength, 2))) to prioritize recent price movements.
Computes a "wave ratio" (net_momentum / total_energy) to normalize momentum, which is then scaled to a 0–100 range (qrsi = 50 + 50 * wave_ratio).
Smooths the result with a 2-period EMA (qrsi_smoothed) for stability.
Moving Average:
Applies a user-selected moving average (SMA, EMA, WMA, SMMA, or VWMA) with a customizable length (maLength) to the smoothed RSI (qrsi_smoothed) to generate the final indicator value (qrsi_ma).
Signal Generation:
Long Entry: Triggered when qrsi_ma crosses above the oversold level (oversoldLevel, default: 1).
Long Exit: Triggered when qrsi_ma crosses below the overbought level (overboughtLevel, default: 99).
Entry and Exit Rules
Long Entry: Enter a long position when the Contrarian RSI (qrsi_ma) crosses above the oversold level (default: 1). This suggests the asset is potentially oversold and due for a reversal.
Long Exit: Exit the long position when the Contrarian RSI (qrsi_ma) crosses below the overbought level (default: 99), indicating a potential overbought condition and a reversal to the downside.
Customization: Adjust overboughtLevel and oversoldLevel to fine-tune sensitivity. Lower timeframes may benefit from tighter levels (e.g., 20 for oversold, 80 for overbought), while higher timeframes can use extreme levels (e.g., 1 and 99) for stronger reversals.
Timeframe Considerations
Higher Timeframes (Recommended): The indicator is optimized for higher timeframes (e.g., 1H, 4H, Daily) due to its reliance on predictive ranges and smoothed momentum, which perform best with less market noise. These timeframes typically yield more reliable reversal signals.
Lower Timeframes: The indicator can be used on lower timeframes (e.g., 5M, 15M), but signals may be noisier and require additional confirmation (e.g., from price action or other indicators). Extensive backtesting and parameter optimization (e.g., adjusting crsiLength, maLength, or mult) are recommended for lower timeframes.
Inputs
Contrarian RSI Length (crsiLength): Length for RSI momentum calculation (default: 5).
RSI MA Length (maLength): Length of the moving average applied to the RSI (default: 1, effectively no MA).
MA Type (maType): Choose from SMA, EMA, WMA, SMMA, or VWMA (default: SMA).
Overbought Level (overboughtLevel): Upper threshold for exit signals (default: 99).
Oversold Level (oversoldLevel): Lower threshold for entry signals (default: 1).
Plot Signals on Main Chart (plotOnChart): Toggle to display signals on the price chart or the indicator panel (default: false).
Plotted on Lower:
Plotted on Chart:
5 Levels Length (length5Levels): Length for predictive range calculation (default: 200).
Factor (mult): ATR multiplier for predictive ranges (default: 6.0).
5 Levels Timeframe (tf5Levels): Timeframe for predictive range calculation (default: chart timeframe).
Visuals
Contrarian RSI MA: Plotted as a yellow line, representing the smoothed Contrarian RSI with the applied moving average.
Overbought/Oversold Lines: Red line for overbought (default: 99) and green line for oversold (default: 1).
Signals: Blue circles for long entries, white circles for long exits. Signals can be plotted on the main chart (plotOnChart = true) or the indicator panel (plotOnChart = false).
Usage Notes
Use the indicator in conjunction with other tools (e.g., support/resistance, trendlines, or volume) to confirm signals.
Test extensively on your chosen timeframe and asset to optimize parameters like crsiLength, maLength, and mult.
Be cautious with lower timeframes, as false signals may occur due to market noise.
The indicator is designed for contrarian strategies, so it works best in markets with clear reversal patterns.
Disclaimer
This indicator is provided for educational and informational purposes only. Always conduct thorough backtesting and risk management before using any indicator in live trading. The author is not responsible for any financial losses incurred.
Z-scored ZLEMA | OquantZ-Scored ZLEMA | Oquant
This indicator combines the Zero-Lag Exponential Moving Average (ZLEMA) with Z-score normalization to present recent ZLEMA values relative to its mean. It helps users observe trend direction and momentum with reduced lag, while also highlighting potential overbought or oversold levels based on how far ZLEMA values deviate from their mean.
🧠 Concept Overview
📉 Zero Lag Exponential Moving Average (ZLEMA)
The EMA is a popular tool that calculates an average price, but unlike a simple moving average, it gives more weight to recent prices. This means the EMA reacts faster to new price changes and is less affected by older data. However, even with this weighting, the EMA still introduces some lag.
ZLEMA improves on the EMA by reducing this lag. It does this by adjusting how it accounts for previous prices, effectively "shifting" the data to better align the average with current market action. The result is an average that stays smooth but responds more quickly to real price changes—helping traders spot turning points or trend shifts earlier without being fooled by random noise.
📏 Z-score Normalization
Once ZLEMA is calculated, the indicator applies Z-score normalization to measure how far the current ZLEMA value is from its mean. The Z-score expresses this difference using standard deviations, providing a clear, standardized scale. This helps highlight when price moves are unusually strong—either upward or downward—beyond normal fluctuations.
🔍 How This Indicator Works
Smooth Price Data with ZLEMA
The indicator begins by applying the Zero-Lag Exponential Moving Average (ZLEMA) to the chosen price data. Unlike a regular moving average, ZLEMA reduces the typical delay by adjusting the input data before averaging. It does this by "shifting" the price series to remove the lag caused by older prices. This way, ZLEMA stays smooth but reacts more quickly to recent price changes—helping the indicator follow market moves faster without being too noisy.
Normalize ZLEMA values Using Z-score
Once ZLEMA is calculated, the indicator applies Z-score normalization to measure how far the current ZLEMA value is from its mean. The Z-score expresses this difference in terms of standard deviations, creating a clear, standardized scale. This helps highlight when price moves are unusually strong—either up or down—beyond normal fluctuations.
Set Signal Thresholds
Two threshold levels are set on the Z-score scale—crossing above the upper threshold is considered a long (buy) signal, indicating bullish momentum, while crossing below the lower threshold is considered a short (sell) signal, indicating bearish momentum.
Show Visual Signals on the Chart
The Z-score and bars are plotted with colors: green when Z-score is above the bullish threshold, purple when Z-score is below the bearish threshold.
⚙️ Customizable Inputs
Source: Choose the price source (close, open, etc.) for calculations.
ZLEMA Length: Adjust the ZLEMA length to control smoothness versus responsiveness.
Z-score period: Set the Z-score period to define how far back the indicator measures normal price behavior.
Thresholds: Adjust the upper and lower thresholds to control how sensitive the indicator is to strong momentum changes.
📈 Practical Use
This indicator helps identify trend directions and changes faster by combining ZLEMA with statistical analysis. It highlights when price moves are stronger than normal, making it easier to spot early signs of momentum shifts. Traders can use it to confirm trends or detect potential reversals with more timely signals.
🔔 Alert Support
This indicator includes optional built-in alert conditions that notify you when the Z-score crosses above the bullish threshold (long signal) or below the bearish threshold (short signal). You can enable these alerts to get timely updates on potential momentum shifts without constantly watching the chart.
⚠️ Disclaimer: This indicator is intended for educational and informational purposes only. Trading/investing involves risk, and past performance does not guarantee future results. Always test and evaluate indicators/strategies before applying them in live markets. Use at your own risk.
Momentum Trail Oscillator [AlgoAlpha]🟠 OVERVIEW
This script builds a Momentum Trail Oscillator designed to measure directional momentum strength and dynamically track shifts in trend bias using a combination of smoothed price change calculations and adaptive trailing bands. The oscillator aims to help traders visualize when momentum is expanding or contracting and to identify transitions between bullish and bearish conditions.
🟠 CONCEPTS
The core idea combines two methods. First, the script calculates a normalized momentum measure by smoothing price changes relative to their absolute values, which creates a bounded oscillator that highlights whether moves are directional or choppy. Second, it uses a trailing band mechanism inspired by volatility stops, where bands adapt to the oscillator’s volatility, adjusting the thresholds that define a shift in directional bias. This dual approach seeks to address both the magnitude and persistence of momentum, reducing false signals in ranging markets.
🟠 FEATURES
The momentum calculation applies Hull Moving Averages and double EMA smoothing to price changes, producing a smooth, responsive oscillator.
The trailing bands are derived by offsetting a weighted moving average of the oscillator by a multiple of recent momentum volatility. A directional state variable tracks whether the oscillator is above or below the bands, updating when the momentum crosses these dynamic thresholds.
Overbought and oversold zones are visually marked between fixed levels (+30/+40 and -30/-40), with color fills to highlight when momentum is in extreme areas. The script plots signals on both the oscillator pane and optionally overlays markers on the main price chart for clarity.
🟠 USAGE
To use the indicator, apply it to any symbol and timeframe. The “Oscillator Length” controls how sensitive the momentum line is to recent price changes—lower values react faster, higher values smooth out noise. The “Trail Multiplier” sets how far the adaptive bands sit from the oscillator mid-line, which affects how often trend state changes occur. When the momentum line rises into the upper filled area and then crosses back below +40, it signals potential overbought exhaustion. The opposite applies for the oversold zone below -40. The plotted trailing bands switch visibility depending on the current directional state: when momentum is trending up, the lower band acts as the active trailing stop, and when trending down, the upper band becomes active. Trend changes are marked with circular symbols when the direction variable flips, and optional overlay arrows appear on the price chart to highlight overbought or oversold reversals. Traders can combine these signals with their own price action or volume analysis to confirm entries or exits.
Best ADX Pro🎯 Best ADX Pro: Advanced Multi-Smoothing Trend Analysis
📌 Overview
The Best ADX Pro is a sophisticated enhancement of the traditional ADX indicator, offering five smoothing methods for unparalleled adaptability across market conditions. Designed for traders who demand precision, it combines flexible trend detection with customizable sensitivity, making it ideal for all trading styles—from scalping to long-term investing.
✨ Key Upgrades from Standard ADX
5 Smoothing Methods – Choose between EMA, SMA, RMA, WMA, and SMMA to match your strategy’s responsiveness.
Smart Thresholds – Dual levels (default: 20 and 25) filter weak trends and confirm strong momentum.
Zero-Division Protection – Ensures stable calculations during low-volatility periods.
Alerts & Crosses – Built-in alerts for DI+/DI- crossovers and ADX threshold breaks.
⚙️ When to Use Each Smoothing Mode
🔴 EMA (Exponential Moving Average)
Best For: Scalping/Crypto
Timeframe: M1-M15
Risk: Higher false signals
🟠 WMA (Weighted Moving Average)
Best For: Swing Trading
Timeframe: H1-H4
Risk: Moderate
🟢 SMA (Simple Moving Average)
Best For: Position Trading
Timeframe: D1-W1
Risk: Lowest noise
🔵 RMA/SMMA (Wilder’s & Smoothed MA)
Best For: Classic ADX Strategy
Timeframe: Any
Risk: Balanced
📈 Pro Strategies
🔴 Trend Acceleration
Enter: When ADX > 20 (WMA/RMA) + DI+ > DI- (uptrend).
Exit: If ADX < 15 or DI- crosses DI+.
🟠 Reversal Trading
SMMA + Length 20: Wait for DI+/DI- crossover + ADX rising from below 25.
🟢 Low-Noise Filtering
SMA + Length 30: Ignore trades if ADX < 20 (avoids choppy markets).
⚠️ Limitations & Fixes
Whipsaws in Ranges → Combine with ATR to filter low-volatility phases.
Lag on SMA → Use WMA/EMA for faster entries on lower timeframes.
🎯 Who Should Use It?
🚀 Day Traders: EMA/WMA for quick signals.
⏳ Swing Traders: RMA/SMMA for reliability.
🤖 Algorithmic Trading: SMA for backtest stability.
🎨 Color Guide
🔴 EMA → Fastest signals (volatile markets).
🟠 WMA → Prioritizes recent data (aggressive trends).
🟢 SMA → Smoothest output (low noise).
🔵 RMA/SMMA → Classic ADX Wilder’s smoothing.
Uptrick: Universal Z-Score ValuationOverview
The Uptrick: Universal Z-Score Valuation is a tool designed to help traders spot when the market might be overreacting—whether that’s on the upside or the downside. It does this by combining the Z-scores of multiple key indicators into a single average, letting you see how far the current market conditions have stretched away from “normal.” This average is shown as a smooth line, supported by color-coded visuals, signal markers, optional background highlights, and a live breakdown table that shows the contribution of each indicator in real time. The focus here is on spotting potential reversals, not following trends. The indicator works well across all timeframes and asset classes, from fast intraday charts like the 1-minute and 5-minute, to higher timeframes such as the 4-hour, daily, or even weekly. Its universal design makes it suitable for any market — whether you're trading crypto, stocks, forex, or commodities.
Introduction
To understand what this indicator does, let’s start with the idea of a Z-score. In simple terms, a Z-score tells you how far a number is from the average of its recent history, measured in standard deviations. If the price of an asset is two standard deviations above its mean, that means it’s statistically “rare” or extended. That doesn’t guarantee a reversal—but it suggests the move is unusual enough to pay attention.
This concept isn’t new, but what this indicator does differently is apply the Z-score to a wide set of market signals—not just price. It looks at momentum, volatility, volume, risk-adjusted performance, and even institutional price baselines. Each of those indicators is normalized using Z-scores, and then they’re combined into one average. This gives you a single, easy-to-read line that summarizes whether the entire market is behaving abnormally. Instead of reacting to one indicator, you’re reacting to a statistically balanced blend.
Purpose
The goal of this script is to catch turning points—places where the market may be topping out or bottoming after becoming overstretched. It’s built for traders who want to fade sharp moves rather than follow trends. Think of moments when price explodes upward and starts pulling away from every moving average, volume spikes, volatility rises, and RSI shoots up. This tool is meant to spot those situations—not just when price is stretched, but when multiple different indicators agree that something is overdone.
Originality and Uniqueness
Most indicators that use Z-scores only apply them to one thing—price, RSI, or maybe Bollinger Bands. This one is different because it treats each indicator as a contributor to the full picture. You decide which ones to include, and the script averages them out. This makes the tool flexible but also deeply informative.
It doesn’t rely on complex or hidden math. It uses basic Z-score formulas, applies them to well-known indicators, and shows you the result. What makes it unique is the way it brings those signals together—statistically, visually, and interactively—so you can see what’s happening in the moment with full transparency. It’s not trying to be flashy or predictive. It’s just showing you when things have gone too far, too fast.
Inputs and Parameters
This indicator includes a wide range of configurable inputs, allowing users to customize which components are included in the Z-score average, how each indicator is calculated, and how results are displayed visually. Below is a detailed explanation of each input:
General Settings
Z-Score Lookback (default: 100): Number of bars used to calculate the mean and standard deviation for Z-score normalization. Larger values smooth the Z-scores; smaller values make them more reactive.
Bar Color Mode (default: None): Determines how bars are visually colored. Options include: None: No candle coloring applied. - Heat: Smooth gradient based on the Z-score value. - Latest Signal: Applies a solid color based on the most recent buy or sell signal
Boolean - General
Plot Universal Valuation Line (default: true): If enabled, plots the average Z-score (zAvg) line in the separate pane.
Show Signals (default: true): Displays labels ("𝓤𝓹" for buy, "𝓓𝓸𝔀𝓷" for sell) when zAvg crosses above or below user-defined thresholds.
Show Z-Score Table (default: true): Displays a live table listing each enabled indicator's Z-score and the current average.
Select Indicators
These toggles enable or disable each indicator from contributing to the Z-score average:
Use VWAP Z-Score (default: true)
Use Sortino Z-Score (default: true)
Use ROC Z-Score (default: true)
Use Price Z-Score (default: true)
Use MACD Histogram Z-Score (default: false)
Use Bollinger %B Z-Score (default: false)
Use Stochastic K Z-Score (default: false)
Use Volume Z-Score (default: false)
Use ATR Z-Score (default: false)
Use RSI Z-Score (default: false)
Use Omega Z-Score (default: true)
Use Sharpe Z-Score (default: true)
Only enabled indicators are included in the average. This modular design allows traders to tailor the signal mix to their preferences.
Indicator Lengths
These inputs control how each individual indicator is calculated:
MACD Fast Length (default: 12)
MACD Slow Length (default: 26)
MACD Signal Length (default: 9)
Bollinger Basis Length (default: 20): Used to compute the Bollinger %B.
Bollinger Deviation Multiplier (default: 2.0): Standard deviation multiplier for the Bollinger Band calculation.
Stochastic Length (default: 14)
ATR Length (default: 14)
RSI Length (default: 14)
ROC Length (default: 10)
Zones
These thresholds define key signal levels for the Z-score average:
Neutral Line Level (default: 0): Baseline for the average Z-score.
Bullish Zone Level (default: -1): Optional intermediate zone suggesting early bullish conditions.
Bearish Zone Level (default: 1): Optional intermediate zone suggesting early bearish conditions.
Z = +2 Line Level (default: 2): Primary threshold for bearish signals.
Z = +3 Line Level (default: 3): Extreme bearish warning level.
Z = -2 Line Level (default: -2): Primary threshold for bullish signals.
Z = -3 Line Level (default: -3): Extreme bullish warning level.
These zone levels are used to generate signals, fill background shading, and draw horizontal lines for visual reference.
Why These Indicators Were Merged
Each indicator in this script was chosen for a specific reason. They all measure something different but complementary.
The VWAP Z-score helps you see when price has moved far from the volume-weighted average, often used by institutions.
Sortino Ratio Z-score focuses only on downside risk, which is often more relevant to traders than overall volatility.
ROC Z-score shows how fast price is changing—strong momentum may burn out quickly.
Price Z-score is the raw measure of how far current price has moved from its mean.
RSI Z-score shows whether momentum itself is stretched.
MACD Histogram Z-score captures shifts in trend strength and acceleration.
%B (Bollinger) Z-score indicates how close price is to the upper or lower volatility envelope.
Stochastic K Z-score gives a sense of how high or low price is relative to its recent range.
Volume Z-score shows when trading activity is unusually high or low.
ATR Z-score gives a read on volatility, showing if price movement is expanding or contracting.
Sharpe Z-score measures reward-to-risk performance, useful for evaluating trend quality.
Omega Z-score looks at the ratio of good returns to bad ones, offering a more nuanced view of efficiency.
By normalizing each of these using Z-scores and averaging only the ones you turn on, the script creates a flexible, balanced view of the market’s statistical stretch.
Calculations
The core formula is the standard Z-score:
Z = (current value - average) / standard deviation
Every indicator uses this formula after it’s calculated using your chosen settings. For example, RSI is first calculated as usual, then its Z-score is calculated over your selected lookback period. The script does this for every indicator you enable. Then it averages those Z-scores together to create a single value: zAvg. That value is plotted and used to generate visual cues, signals, table values, background color changes, and candle coloring.
Sequence
Each selected indicator is calculated using your custom input lengths.
The Z-score of each indicator is computed using the shared lookback period.
All active Z-scores are added up and averaged.
The resulting zAvg value is plotted as a line.
Signal conditions check if zAvg crosses user-defined thresholds (default: ±2).
If enabled, the script plots buy/sell signal labels at those crossover points.
The candle color is updated using your selected mode (heatmap or signal-based).
If extreme Z-scores are reached, background highlighting is applied.
A live table updates with each individual Z-score so you know what’s driving the signal.
Features
This script isn’t just about stats—it’s about making them usable in real time. Every feature has a clear reason to exist, and they’re all there to give you a better read on market conditions.
1. Universal Z-Score Line
This is your primary reference. It reflects the average Z-score across all selected indicators. The line updates live and is color-coded to show how far it is from neutral. The further it gets from 0, the brighter the color becomes—cyan for deeply oversold conditions, magenta for overbought. This gives you instant feedback on how statistically “hot” or “cold” the market is, without needing to read any numbers.
2. Signal Labels (“𝓤𝓹” and “𝓓𝓸𝔀𝓷”)
When the average Z-score drops below your lower bound, you’ll see a "𝓤𝓹" label below the bar, suggesting potential bullish reversal conditions. When it rises above the upper bound, a "𝓓𝓸𝔀𝓷" label is shown above the bar—indicating possible bearish exhaustion. These labels are visually clear and minimal so they don’t clutter your chart. They're based on clear crossover logic and do not repaint.
3. Real-Time Z-Score Table
The table shows each indicator's individual Z-score and the final average. It updates every bar, giving you a transparent breakdown of what’s happening under the hood. If the market is showing an extreme average score, this table helps you pinpoint which indicators are contributing the most—so you’re not just guessing where the pressure is coming from.
4. Bar Coloring Modes
You can choose from three modes:
None: Keeps your candles clean and untouched.
Heat: Applies a smooth gradient color based on Z-score intensity. As conditions become more extreme, candle color transitions from neutral to either cyan (bullish pressure) or magenta (bearish pressure).
Latest Signal: Applies hard coloring based on the most recent signal—greenish for a buy, purple for a sell. This mode is great for tracking market state at a glance without relying on a gradient.
Every part of the candle is colored—body, wick, and border—for full visibility.
5. Background Highlighting
When zAvg enters an extreme zone (typically above +2 or below -2), the background shifts color to reflect the market’s intensity. These changes aren’t overwhelming—they’re light fills that act as ambient warnings, helping you stay aware of when price might be reaching a tipping point.
6. Customizable Zone Lines and Fills
You can define what counts as neutral, overbought, and oversold using manual inputs. Horizontal lines show your thresholds, and shaded regions highlight the most extreme zones (+2 to +3 and -2 to -3). These lines give you visual structure to understand where price currently stands in relation to your personal reversal model.
7. Modular Indicator Control
You don’t have to use all the indicators. You can enable or disable any of the 12 with a simple checkbox. This means you can build your own “blend” of market context—maybe you only care about RSI, price, and volume. Or maybe you want everything on. The script adapts accordingly, only averaging what you select.
8. Fully Customizable Sensitivity and Lengths
You can adjust the Z-score lookback length globally (default 100), and tweak individual indicator lengths separately. This lets you tune the indicator’s responsiveness to suit your trading style—slower for longer swings, faster for scalping.
9. Clean Integration with Any Chart Layout
All visual elements are designed to be informative without taking over your chart. The coloring is soft but clear, the labels are readable without being huge, and you can turn off any feature you don’t need. The indicator can work as a full dashboard or as a simple line with a couple of alerts—it’s up to you.
10. Precise, Real-Time Signal Logic
The crossover logic for signals is exact and only fires when the Z-score moves across your defined boundary. No estimation, no delay. Everything is calculated based on current and previous bar data, and nothing repaints or back-adjusts.
Conclusion
The Universal Z-Score Valuation indicator is a tool for traders who want a clear, unbiased way to detect overextension. Instead of relying on a single signal, you get a composite of several market perspectives—momentum, volatility, volume, and more—all standardized into a single view. The script gives you the freedom to control the logic, the visuals, and the components. Whether you use it as a confirmation tool or a primary signal source, it’s designed to give you clarity when markets become chaotic.
Disclaimer
This indicator is for research and educational use only. It does not constitute financial advice or guarantees of performance. All trading involves risk, and users should test any strategy thoroughly before applying it to live markets. Use this tool at your own discretion.
Normalized Open InterestNormalized Open Interest (nOI) — Indicator Overview
What it does
Normalized Open Interest (nOI) transforms raw futures open-interest data into a 0-to-100 oscillator, so you can see at a glance whether participation is unusually high or low—similar in spirit to an RSI but applied to open interest. The script positions today’s OI inside a rolling high–low range and paints it with contextual colours.
Core logic
Data source – Loads the built-in “_OI” symbol that TradingView provides for the current market.
Rolling range – Looks back a user-defined number of bars (default 500) to find the highest and lowest OI in that window.
Normalization – Calculates
nOI = (OI – lowest) / (highest – lowest) × 100
so 0 equals the minimum of the window and 100 equals the maximum.
Visual cues – Plots the oscillator plus fixed horizontal levels at 70 % and 30 % (or your own numbers). The line turns teal above the upper level, red below the lower, and neutral grey in between.
User inputs
Window Length (bars) – How many candles the indicator scans for the high–low range; larger numbers smooth the curve, smaller numbers make it more reactive.
Upper Threshold (%) – Default 70. Anything above this marks potentially crowded or overheated interest.
Lower Threshold (%) – Default 30. Anything below this marks low or capitulating interest.
Practical uses
Spot extremes – Values above the upper line can warn that the long side is crowded; values below the lower line suggest disinterest or short-side crowding.
Confirm breakouts – A price breakout backed by a sharp rise in nOI signals genuine engagement.
Look for divergences – If price makes a new high but nOI does not, participation might be fading.
Combine with volume or RSI – Layer nOI with other studies to filter false signals.
Tips
On intraday charts for non-crypto symbols the script automatically fetches daily OI data to avoid gaps.
Adjust the thresholds to 80/20 or 60/40 to fit your market and risk preferences.
Alerts, shading, or additional signal logic can be added easily because the oscillator is already normalised.