PPO Divergence AlertsThis is a pretty straightforward script that adds alerts to Pekipek's excellent PPO Divergence indicator and changes the visuals a bit. You can have the alerts fire on these events:
Purple Circle (bullish signal)
Orange Circle (bearish signal)
Green Dot (High Point)
Red Dot (Low Point)
I use this on daily Forex charts to get alerts when purple or orange dots show. As you can see, it catches a lot of big moves, some of which can give insane returns if you're 200x leveraged on the likes of 1Broker.com. In regards to reducing false signals, I'm getting good results with a Williams %R but would love to hear any suggestions.
Edit: Oops. Box #6 in the example should be yellow, not purple.
Cari skrip untuk "Divergence"
[RS]Convergence Divergence Impulse Counter V0EXPERIMENTAL:
Counts the number of impulses with the same direction within a larger trend.
Willams %R extreme and MACD DivergenceThis is two different indicators combine into one.
First is the two different period of Williams% 5 mins and 15 mins.
Second is the MACD line of 5 mins chart.
Both will be primarily use on the 5 mins chart, you can use on another time frame if you wish
Williams %:
green = uptrending
red = downtrending
Bright green: overbought condition, look to Short at the end of the signal
Bright Red: oversold condition, look to Long at the end of the signal
MACD:
I also added the MACD line which you can use for divergence
when price move higher and MACD is moving down, expecting price to drop sometime soon or vice versa. See chart for example.
[RS]Leading Momentum Oscilator V0EXPERIMENTAL: Momentum oscilator based on offset, can also be used for divergence/convergence
ridenz rsi"Divergence is when the price of an asset is moving in the opposite direction of a technical indicator, such as an oscillator, or is moving contrary to other data. Divergence warns that the current price trend may be weakening, and in some cases may lead to the price changing direction.
If the stock is rising and making new highs, ideally the RSI is reaching new highs as well. If the stock is making new highs, but the RSI starts making lower highs, this warns the price uptrend may be weakening. This is negative divergence.
Positive divergence is the opposite situation. Imagine the price of a stock is making new lows while the RSI makes higher lows with each swing in the stock price. Investors may conclude that the lower lows in the stock price are losing their downward momentum and a trend reversal may soon follow.
Divergence is one of the common uses of many technical indicators, primarily the oscillators."
Continuation Gauge - Bull vs BearDivergence/ strength detector - great for tracking entry at key divergences and visualizing volatility.
VMDivergences◈ DIVERGENCE DETECTION SYSTEM ◈
════════════════════════════════════════════════════════════
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ 🎯 OVERVIEW █
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
VMDiv is a professional-grade divergence detection system built on a unique
hybrid oscillator that combines the best of momentum analysis and mean-reversion
theory. Unlike standard divergence indicators that rely on RSI or MACD, this
system uses a custom Volume Momentum oscillator with adjustable characteristics.
═══════════════════════════════════════════════════════════
🔧 THE VM OSCILLATOR ENGINE
═════════════════════════════════════════════════════════════
The core innovation is a hybrid oscillator combining TWO analytical approaches:
┌──────────────────────────────────────────────────────┐
│ COMPONENT 1: EMA MOMENTUM │
│ ════════════════════════ │
│ • Fast EMA minus Slow EMA (similar to MACD) │
│ • Normalized by standard deviation for consistency │
│ • Captures trend strength and directional momentum │
├─────────────────────────────────────────────────────────┤
│ COMPONENT 2: BOLLINGER BAND DISTANCE │
│ ════════════════════════════════════ │
│ • Price distance from Bollinger Band midline │
│ • Normalized to show position within bands (-1 to +1 typically) │
│ • Captures overextension and mean-reversion potential │
├─────────────────────────────────────────────────────────┤
│ THE BLEND │
│ ════════════ │
│ • "Momentum Blend" parameter controls the mix │
│ • 1.0 = Pure momentum oscillator │
│ • 0.0 = Pure mean-reversion oscillator │
│ • 0.5 = Balanced hybrid (often optimal) │
└───────────────────────────────────────────────────┘
═══════════════════════════════════════════════════════
📊 DIVERGENCE TYPES DETECTED
══════════════════════════════════════════════════════
This indicator detects SIX types of divergence patterns:
┌───────────────────────────────────────────────────────┐
│ 🔴 REGULAR BEARISH DIVERGENCE │
│ ══════════════════════════════ │
│ Price: Makes HIGHER HIGH ↗ │
│ Oscillator: Makes LOWER HIGH ↘ │
│ │
│ Interpretation: Momentum is weakening despite higher prices. │
│ Signal: Potential reversal to the DOWNSIDE │
│ Reliability: HIGH - Classic reversal signal at tops │
├────────────────────────────────────────────────────────┤
│ 🟢 REGULAR BULLISH DIVERGENCE │
│ ══════════════════════════════ │
│ Price: Makes LOWER LOW ↘ │
│ Oscillator: Makes HIGHER LOW ↗ │
│ │
│ Interpretation: Momentum is strengthening despite lower prices. │
│ Signal: Potential reversal to the UPSIDE │
│ Reliability: HIGH - Classic reversal signal at bottoms │
├──────────────────────────────────────────────────┤
│ 🟠 HIDDEN BEARISH DIVERGENCE │
│ ════════════════════════════ │
│ Price: Makes LOWER HIGH ↘ │
│ Oscillator: Makes HIGHER HIGH ↗ │
│ │
│ Interpretation: Downtrend showing internal strength. │
│ Signal: Trend CONTINUATION - expect further downside │
│ Best used: During confirmed downtrends │
├──────────────────────────────────────────────────────┤
│ 🟡 HIDDEN BULLISH DIVERGENCE │
│ ════════════════════════════ │
│ Price: Makes HIGHER LOW ↗ │
│ Oscillator: Makes LOWER LOW ↘ │
│ │
│ Interpretation: Uptrend showing internal strength. │
│ Signal: Trend CONTINUATION - expect further upside │
│ Best used: During confirmed uptrends │
├───────────────────────────────────────────────────┤
│ 🟣 DOUBLE TOP DIVERGENCE │
│ ═════════════════════════ │
│ Price: Two SIMILAR HIGHS (within ATR tolerance) │
│ Oscillator: Second high LOWER than first │
│ │
│ Interpretation: Resistance tested twice with weakening momentum. │
│ Signal: Strong reversal setup - HIGH PROBABILITY bearish │
│ Best used: At major resistance levels │
├───────────────────────────────────────────────────────────┤
│ 🔵 DOUBLE BOTTOM DIVERGENCE │
│ ═══════════════════════════ │
│ Price: Two SIMILAR LOWS (within ATR tolerance) │
│ Oscillator: Second low HIGHER than first │
│ │
│ Interpretation: Support tested twice with strengthening momentum. │
│ Signal: Strong reversal setup - HIGH PROBABILITY bullish │
│ Best used: At major support levels │
└──────────────────────────────────────────────────┘
Spirit Time SMT 1M DIVDivergences from 90Min-1Min
apparently i have to explain more of what this does.
pretty self explanatory
Hope this enough text
Divergence Channels Indicator — JudasBulletUnique Buy/Sell Indicator. Place stoploss above/below 18 EMA. Low risk/high reward. My No.1 indicator on every chart.
Divergence TridentA Combination of MACD + VFI + WaveTrend
Tradingview hates me and is making me explain this in greater detail so maybe this is enough????
Divergence from Moving AverageSimple script to monitor the difference between closing price and sma(20), sma(20) and sma(60), sma(60) and sma(120). The zero axis provides times when the moving average converge.
Divergence Volume of BiznesFilosofThis indicator warns in advance about impending trouble. And also prepares in advance for a new rally. It also shows the ratio of volumes in dollars to the actual volume of the instrument. We can see when whales accumulate positions and carry extra passengers into the market.
More details about this indicator on my channel in YouTube.
===
Этот индикатор предупреждает заранее о надвигающейся беде. А также готовит заранее к новому ралли. Также он показывает соотношение объемов в долларах к фактическому объёму инструмента. Мы можем видеть когда киты накапливают позиции и выносят лишних пассажиров в срынка.
Более подробно про этот индикатор на моём канале в Ютуб.
Directional Comparisons - Two Tickers📊 Directional Comparisons – Two Tickers
Overview:
This tool allows you to visually and statistically compare the directional behaviour of any two assets on any chart timeframe. It identifies and color-codes each bar based on how both the current asset and your chosen comparison asset performed in that period (e.g., both up, both down, diverging). A statistical summary table dynamically updates in the corner of your chart, tracking the probability and streak performance of each condition.
🛠 How It Works:
Each candle is analysed and color-coded based on the relationship between the current chart's asset and a comparison asset of your choice:
✅ Green – Both tickers closed higher (bullish alignment)
🔻 Red – Both tickers closed lower (bearish alignment)
🔷 Blue – Current ticker up, comparison ticker down (positive divergence)
🟧 Orange – Current ticker down, comparison ticker up (negative divergence)
You can toggle each colour condition on/off independently.
📈 Statistical Table (Top Right):
For the candles in the visible chart range, the indicator displays:
The frequency (probability) of each condition
Longest, shortest, and average streaks for each condition
Average % change for both the current and comparison asset under each scenario
All stats auto-update as you zoom or scroll through the chart.
🔧 User Inputs:
Comparison Ticker: Choose any ticker symbol to compare against the current chart
Toggle Conditions: Enable or disable individual directional conditions (color-coded)
✅ Use Cases:
Spot high-probability alignment zones between two assets (e.g., BTC vs ETH, SPX vs VIX)
Identify divergence opportunities for trading signals
Analyse historical relationships and co-movements between assets
Perform correlation streak studies directly on the chart
🔍 Notes:
The script works across all timeframes (1min to monthly).
Stats only consider visible bars on your chart for responsiveness.
Ideal for pair traders, macro analysts, or anyone interested in cross-asset relationships.
Old Glory Exhaustion Detector / In Chart Oscillator SignalsThis custom oscillator-based indicator detects potential trend exhaustion and reversal points through overextension thresholds. It highlights overextended candle bodies in gold and plots diamonds for buy/sell signals (red/blue), regular divergences (yellow), and hidden divergences (silver). Customize lengths, thresholds, and all colors via inputs for flexible analysis across timeframes.
4 EMA Perfect Order + Strength + MTF + Breakdown Alerts (v6)🇯🇵 日本語説明文
📌 スクリプト概要
このスクリプトは、EMA10・20・40・80 を使用して「パーフェクトオーダー(PO)」を判定し、
PO が確定した瞬間と、PO が崩壊した瞬間の両方を自動で検知して通知します。
さらに、PO の強さ(短期と長期 EMA の乖離率)を数値化して表示し、
上位足(MTF)でも同様の判定と強さ表示が可能です。
トレンドの「始まり」と「終わり」をどちらも捉えることができる、
トレンドフォローに最適化されたインジケーターです。
🔧 機能一覧
• EMA10/20/40/80 のライン表示(黒・赤・オレンジ・青)
• パーフェクトオーダー(Bull/Bear)の自動判定
• PO確定時に矢印(▲/▼)を表示
• PO崩壊(Break)を検知してシグナル表示
• POの強さ(乖離率)をリアルタイム表示
• 上位足(MTF)での PO 判定と強さ表示
• アラート条件付き
• Bull PO 確定
• Bear PO 確定
• Bull PO 崩壊
• Bear PO 崩壊
• 背景は白で視認性を重視
📈 パーフェクトオーダーとは?
• Bull PO(上昇トレンド)
EMA10 > EMA20 > EMA40 > EMA80
• Bear PO(下降トレンド)
EMA10 < EMA20 < EMA40 < EMA80
PO が確定したバーで矢印とアラートが発生し、
PO が崩れた瞬間にもアラートが発生します。
🧠 活用例
• トレンドの勢い(強さ)を数値で把握
• 上位足のトレンドと一致しているか確認
• トレンドフォロー戦略のフィルターとして利用
• PO崩壊を使って利確・撤退の判断材料に
• MTFと組み合わせて精度を向上
🇺🇸 English Description
📌 Overview
This script detects “Perfect Order” (PO) conditions using EMA10, EMA20, EMA40, and EMA80.
It alerts you both when a PO is confirmed and when it breaks down, allowing you to capture the beginning and the end of a trend.
The script also calculates PO strength (based on EMA divergence) and supports multi‑timeframe (MTF) analysis.
This indicator is designed for traders who want to track trend momentum and identify early signs of trend reversal.
🔧 Features
• Displays EMA10/20/40/80 with color coding (black, red, orange, blue)
• Detects Bull and Bear Perfect Order conditions
• Shows arrows (▲/▼) when PO is confirmed
• Detects PO breakdown and displays a signal
• Displays PO strength as a percentage (EMA10 vs EMA80 divergence)
• Supports MTF PO detection and strength display
• Includes alert conditions:
• Bull PO confirmed
• Bear PO confirmed
• Bull PO breakdown
• Bear PO breakdown
• Clean white background for better visibility
📈 What is a Perfect Order?
• Bull PO (Uptrend): EMA10 > EMA20 > EMA40 > EMA80
• Bear PO (Downtrend): EMA10 < EMA20 < EMA40 < EMA80
Alerts are triggered both when the PO is newly confirmed and when it breaks.
🧠 Use Cases
• Measure trend momentum using PO strength
• Confirm alignment with higher timeframe trends
• Use as a trend‑following filter
• Detect early signs of trend reversal using PO breakdown
• Improve accuracy by combining MTF and PO logic
Spearman Correlation🔗 Spearman Correlation – Ranked Relationship Tracker
Overview:
This indicator calculates and plots the Spearman Rank Correlation Coefficient between the current chart’s asset and a custom comparison ticker (the example shown is BTC vs the OTHERS market cap for crypto). Unlike Pearson correlation, which measures linear relationships, Spearman correlation captures monotonic (ranked) relationships—making it better suited for analysing assets that move in sync but not necessarily in a linear fashion.
🧠 What It Does:
Computes ranked correlation between two assets over a user-defined lookback period
Smooths the correlation curve for better readability
Visually shades the background by correlation strength and direction:
🟩 Strong Positive (+0.5 to +1)
🟨 Weak Positive (+0.1 to +0.5)
⬜ No Correlation (–0.1 to +0.1)
🟧 Weak Negative (–0.5 to –0.1)
🟥 Strong Negative (–1 to –0.5)
⚙️ User Inputs:
Lookback Period: Number of bars used to calculate correlation
Comparison Ticker: Choose any asset to compare against
Shading Toggles: Customize which correlation zones are highlighted
📈 Use Cases:
Identify evolving relationships between assets (e.g., BTC vs DXY, ETH vs SPX)
Spot when assets become inversely correlated or lose correlation entirely
Track regime shifts where traditional relationships break down or re-align
Use alongside trend or momentum strategies to add a cross-asset confirmation layer
🔍 Interpreting the Correlation:
+1 → Perfect positive (ranks match exactly)
+0.5 to +1 → Strong positive relationship
+0.1 to +0.5 → Weak but positive relationship
–0.1 to +0.1 → Essentially uncorrelated
–0.5 to –0.1 → Weak negative correlation
–1 to –0.5 → Strong inverse relationship
–1 → Perfect negative (rankings are completely opposite)
🧪 Technical Notes:
Calculation uses ranked returns to better reflect monotonic relationships
Smoothed with a simple moving average (SMA) for stability
Arrays are managed internally to maintain performance and adaptability
This script is ideal for traders seeking deeper insight into cross-asset dynamics, portfolio hedging, or timing divergence-based strategies.





















