Funding Rate & OI Radar [StrixEDGE]What It Does
Funding Rate & OI Radar is a multi-symbol derivatives dashboard that consolidates funding rate intensity, open interest momentum across three timeframes, and price-OI divergence signals into a single on-chart table. It is designed for perpetual futures traders who need to read market positioning at a glance — without switching tabs or charts.
The indicator tracks up to 5 perpetual contract symbols simultaneously, surfaces extreme funding conditions as they develop, and flags structurally weak rallies or drops where price and open interest are moving in opposite directions.
Core Features
Funding Rate with Color Intensity
Funding rate values are color-graded by severity — from dim neutral tones near zero, through elevated orange, to extreme red (longs paying) or bright green (shorts paying). Extreme readings trigger a highlighted cell background so they stand out immediately during fast-moving markets.
Open Interest Change — 1H / 4H / 24H
Three separate OI delta columns show how positioning is shifting across intraday, swing, and daily windows. Each cell includes a directional arrow (▲ ▼ ►) and percentage change, color-coded against your configured alert threshold. This gives you a layered read: is OI building across all timeframes, or only spiking on the short window?
Price-OI Divergence Detection
The SIGNAL column cross-references 24H price change against 24H OI change and classifies the move:
- WEAK▲ — Price rising but OI declining. Rally lacks new capital commitment. Potential short squeeze or exhaustion move.
- WEAK▼ — Price falling but OI rising. New positions opening into the drop. Potential capitulation trap or forced selling.
- STRONG▲ — Price and OI both rising. New money entering on the long side. Structurally supported move.
- STRONG▼ — Price and OI both falling. Positions closing out. Orderly deleveraging.
- NEUTRAL — No meaningful divergence.
Weak signals receive a highlighted background row to ensure they are not missed.
Multi-Symbol Table
Monitor BTC, ETH, SOL, and two custom perpetual contracts of your choice — all rendered in a single dashboard. The table includes configurable column visibility, so you can strip it down to just FR + divergence, or run the full 8-column view.
Aggregate Sentiment Footer
The bottom row averages funding rates across all active symbols and classifies the overall market into one of seven sentiment tiers — from 🟢 EXTREME FEAR through ⚪ NEUTRAL to 🔴 EXTREME GREED. A fast, blunt read on whether the derivatives market is skewing overleveraged in either direction.
Alerts
Four built-in alert conditions, all routed through PulseWire's native alert system:
- Extreme Funding Rate — Any tracked symbol's absolute FR exceeds your configured threshold (default: 0.05%/8h).
- OI Surge — Any symbol's 1H OI change exceeds your OI alert threshold (default: 5%).
- OI-Price Divergence — A WEAK▲ or WEAK▼ signal fires on any tracked symbol.
- Sentiment Extreme — Aggregate average FR across all symbols reaches the extreme zone.
Data Sources & Configuration
The indicator supports two modes for funding rate data:
- Ticker Mode (default) — Pulls funding rate from your exchange's dedicated FR data feed using a configurable ticker suffix (default: `_FR`). Requires the exchange to publish FR data through PulseWire.
- Basis Proxy Mode — Estimates the implied 8-hour funding rate from the perpetual-spot price spread: `(Perp − Spot) / Spot / 3`. Useful when direct FR tickers are unavailable. Note: this is an approximation, not the actual settlement rate.
Open interest data is fetched via configurable OI ticker suffix (default: `_OI`).
Important: Ticker formats vary across exchanges and PulseWire data providers. If columns display "N/A", adjust the OI/FR suffix inputs under 🔌 Data Sources to match your exchange's naming convention. Consult your exchange's PulseWire symbol search for the correct format.
Settings Overview
📊 Symbols — Exchange selector, 3 default symbols (BTC/ETH/SOL perpetuals), 2 optional custom slots.
🔌 Data Sources — OI suffix, FR suffix, FR method toggle, spot suffix override for basis proxy.
🚨 Thresholds — Extreme FR level, elevated FR level, OI alert percentage. These control both color intensity breakpoints and alert trigger levels.
🎨 Display — Table position (8 positions), text size (Tiny / Small / Normal / Large).
📋 Columns — Individual toggles for Price, Price Δ24H, Funding Rate, OI Δ1H, OI Δ4H, OI Δ24H, Divergence Signal, and Sentiment Footer. Disable any column you don't need to keep the table compact.
Technical Notes
- Uses 25 `request.security()` calls across 5 symbols (well within Pine Script's 40-call limit).
- OI changes are calculated from actual multi-timeframe requests (60min, 240min, Daily) — not bar-count estimates — so they remain accurate regardless of your chart's timeframe.
- Table renders only on the last bar (`barstate.islast`) for performance.
- Inactive custom symbol slots (left blank) fall back to the primary ticker internally and are hidden from the table.
How to Read It
Open the indicator on any chart. The table appears as an overlay (default: top-right corner). Scan left to right:
1. Symbol — Which asset.
2. Price — Current perpetual price.
3. Δ24H — Daily price change. Green = up, red = down.
4. FR /8h — Current funding rate per 8-hour interval. Bright color = elevated. Highlighted background = extreme.
5. OI Δ1H / 4H / 24H — Open interest change with directional arrows. Look for alignment across timeframes (all rising = strong conviction) or divergence (1H spiking, 24H flat = short-term noise).
6. SIGNAL — Divergence classification. WEAK▲ and WEAK▼ are the actionable signals — they indicate structural fragility in the current move.
7. Sentiment — Aggregate market tilt from combined funding rates.
Use Cases
- Scalpers & intraday traders — Monitor 1H OI spikes alongside funding rate to detect short-squeeze or long-squeeze setups forming in real time.
- Swing traders — Use the divergence signal column to filter entries. Avoid longing into WEAK▲ conditions; avoid shorting into WEAK▼.
- Portfolio monitors — Track funding costs across multiple positions simultaneously. Elevated aggregate sentiment warns of crowded positioning before liquidation cascades.
Complementary Tools
Designed to pair with liquidity heatmaps and liquidation level estimators. Funding rate tells you who is paying whom. OI tells you how much is at stake. Liquidity maps tell you where the pressure points are. Together, they give a full derivatives positioning read. Indicator

Exogenous Heatmap [invincible3]Exogenous Heatmap
The Exogenous Heatmap is a multi-country macro and market-performance dashboard designed to help traders and investors monitor external economic forces that may influence currencies, equities, commodities, and broader risk sentiment.
Instead of focusing only on price action from the current chart, this indicator visualizes key exogenous variables across major economies in a clean historical heatmap format. Users can compare countries by interest rates, GDP growth, balance of trade, foreign exchange reserves, and major stock index performance.
The indicator supports two calculation modes:
1. Raw Value
Displays the actual macroeconomic value or stock index performance for each country.
2. Differential vs Base
Compares each country against a selected base country. This is useful for identifying relative macro strength or weakness. For example, if the base country is set to the USA, the indicator shows how Australia, Japan, the UK, Europe, China, and other countries compare against the United States.
The heatmap includes the following datasets:
Interest Rates and Differentials
Displays policy interest rates or interest-rate differentials between countries. This is especially useful for forex analysis because higher relative interest rates can influence capital flows and currency strength.
GDP and Differentials
Displays GDP year-over-year growth or GDP growth differentials. This helps identify which economies are expanding faster or slower relative to the selected base country.
Balance of Trade and Differentials
Displays trade balance data. A stronger trade surplus may indicate external demand strength, while a deficit may reflect import pressure or weaker export competitiveness.
Reserves and Differentials
Displays foreign exchange reserve levels. This can help assess external liquidity strength and a country’s ability to manage currency or balance-of-payment stress.
Stock Index Performance and Differentials
Displays the performance of major stock indexes from leading economies. This adds a global risk-on/risk-off component to the indicator. Strong equity index performance may reflect improving investor sentiment, while weak performance may signal risk aversion.
The default stock index symbols include:
Australia: ASX 200
Canada: TSX Composite
China: Shanghai Composite
Europe: Euro Stoxx 50
Japan: Nikkei 225
New Zealand: NZX 50
Switzerland: SMI
United Kingdom: FTSE 100
United States: S&P 500
Users can manually change these symbols from the settings panel if they prefer alternative benchmarks.
Example 1: Interest Rate Differential
Suppose the selected dataset is Interest Rates and Differentials and the base country is set to USA .
If:
USA interest rate = 5.50%
Japan interest rate = 0.50%
Then Japan’s differential versus the USA is:
0.50% - 5.50% = -5.00 pp
This means Japan’s policy rate is 5.00 percentage points lower than the USA. In the heatmap, this would appear as a negative differential and would be colored toward the negative side of the gradient.
Example 2: Stock Index Performance Differential
Suppose the selected dataset is Stock Index Performance and Differentials and the timeframe is set to Monthly .
If:
USA S&P 500 monthly return = +4.20%
Japan Nikkei 225 monthly return = +2.10%
Then Japan’s stock index performance differential versus the USA is:
2.10% - 4.20% = -2.10 pp
This means Japan’s equity market underperformed the USA by 2.10 percentage points during that monthly period.
Example 3: Raw Stock Index Performance
If the calculation mode is set to Raw Value , the indicator displays each country’s own index return for the selected period.
For example:
USA: +4.20%
Japan: +2.10%
UK: -1.30%
Europe: +0.80%
This allows users to quickly identify which regions are leading or lagging in global equity performance.
Color Interpretation
Positive values are shown using the positive color gradient.
Negative values are shown using the negative color gradient.
Neutral or near-zero values are shown near the neutral color.
The indicator includes both automatic and manual color scaling. Auto Scale adjusts the heatmap based on the strongest visible value, while Manual Scale lets the user set a fixed range for more consistent comparisons.
How Traders Can Use It
Forex traders can use interest-rate and GDP differentials to evaluate relative currency strength.
Macro traders can use trade balance and reserve data to identify external economic pressure or resilience.
Equity and index traders can use global stock index performance to track international risk sentiment.
Commodity traders can use the dashboard as a macro backdrop because global growth, rates, and risk appetite often influence commodity demand and capital flows.
Important Notes
For percentage-based datasets such as interest rates, GDP growth, and stock index returns, differential values are displayed in percentage points, abbreviated as “pp.”
For balance of trade and reserves, raw values may often be more meaningful than differentials because countries may report values in different scales or currencies.
This indicator is designed as a macro and risk-sentiment visualization tool. It should be used together with technical analysis, fundamental analysis, and proper risk management.
Indicator

Crypto: Macro Heatmap [invincible3]Crypto Macro Heatmap is an automatic market-regime dashboard designed to summarize crypto macro conditions using liquidity, leverage, breadth, and risk-participation metrics.
The indicator converts multiple market data sources into normalized 0–100 scores and displays them in a structured heatmap table. It is built to help traders quickly understand whether the broader crypto environment is risk-on, neutral, or risk-off.
Main dashboard sections:
1. Liquidity
Tracks Global M2, total crypto market cap, USDT dominance, and BTC volume confirmation. Higher liquidity scores generally suggest stronger macro support for crypto markets.
2. Leverage
Tracks open interest pressure, funding-risk proxy, liquidation-risk proxy, and OI acceleration. Higher leverage scores mean higher stress or crowding risk.
3. Breadth
Tracks TOTAL2, TOTAL3, BTC dominance, ETH dominance, and altcoin participation. This section helps identify whether market strength is broad or concentrated.
Key features:
* Fully automatic scoring
* No manual market-score inputs
* Dashboard show/hide checkbox
* Light/dark chart theme detection
* Composite regime score
* Regime meter
* Market phase detection
* Risk-state classification
* Confidence score
* Section delta versus 7 days ago
* Fixed-width heatmap layout for cleaner visual alignment
The composite score combines liquidity support, market breadth, and leverage-adjusted risk into one regime reading. The dashboard is intended for macro context and regime analysis, not direct buy or sell signals.
Use this tool as a higher-timeframe market filter together with your own technical analysis, risk management, and trading system.
Disclaimer: This indicator is for educational and analytical purposes only. It does not provide financial advice. Always do your own research and manage risk carefully.
Indicator

Liquidation Cascade Risk Map [AGPro Series]Liquidation Cascade Risk Map
🧠 Core Idea
When leverage pressure builds, is the market entering a real cascade-risk zone, or is liquidation pressure already cooling?
📌 Overview / What it does
Liquidation Cascade Risk Map is a crypto derivatives analysis tool designed to visualize liquidation-cascade risk without pretending to know exact exchange liquidation levels.
The script evaluates open interest data when available, falls back to a transparent volume-proxy mode when needed, and combines volatility expansion, range pressure, candle body stress, directional movement, and distance from reference structure into a single cascade-risk context.
It produces a cascade pressure path, right-side state tags, event labels, optional pulse markers, and a compact AG Pro dashboard panel. It does not predict future price, automate entries, provide liquidation prices, or act as a guaranteed signal system.
🎯 Purpose & Design Philosophy
This script was built for traders who want to understand when a crypto market may be carrying unstable leverage pressure.
Many liquidation tools focus on exact levels, heatmaps, or speculative liquidation clusters. Those can be useful, but they often require external datasets and may create false certainty when used as chart overlays.
Liquidation Cascade Risk Map takes a different approach. It asks whether current market behavior has the ingredients of cascade vulnerability: expanding pressure, directional stress, range instability, aggressive bodies, and persistence.
⚡ Why This Script Is Different
Most tools focus on liquidation levels, estimated heatmap bands, or simple volatility alerts.
This script does NOT claim to know where every liquidation sits, and it does not draw exchange-style liquidation heatmaps.
Instead, it maps the quality of the surrounding cascade-risk environment. It highlights when the market is showing pressure that may support long-side cascade risk, short-side cascade risk, two-way cascade vulnerability, or cooling after a pressure build-up.
⚙️ Methodology
1. Context Detection
The script checks whether usable open interest data exists. If not, it can fall back to a volume-proxy model so the visual framework remains usable across more symbols.
2. Pressure Mapping
It evaluates data change, volatility shock, candle range pressure, body expansion, distance from reference structure, and directional movement.
3. Cascade Evaluation
Those components are blended into a cascade-risk score. The script then classifies the environment as Long Cascade Risk, Short Cascade Risk, Two-Way Cascade, Risk Cooling, Neutral Risk, or Data Missing.
4. Visual Output
The chart displays a cascade pressure path, a dotted center reference, a vertical pressure needle, right-side tags, event labels, and a panel that summarizes the active state.
🗺️ How to Read the Chart
The upper pressure rail represents elevated liquidation-cascade risk.
The lower pressure rail represents cooling or pressure release context.
The dotted centerline acts as the current reference path.
The vertical needle shows how stretched the active cascade-risk score is inside the pressure path.
Event labels identify important changes such as Long Cascade, Short Cascade, Two-Way Cascade, or Risk Cooling.
The panel summarizes state, score, data change, velocity, persistence, cooling, direction, grade, data mode, ATR shock, data source, and trend.
🚦 Signals & States
• Long Cascade Risk → downside pressure is elevated and long-side liquidation vulnerability may be rising
• Short Cascade Risk → upside pressure is elevated and short-side liquidation vulnerability may be rising
• Two-Way Cascade → volatility and pressure are elevated on both sides, suggesting unstable conditions
• Risk Cooling → cascade pressure is decreasing after a build-up
• Neutral Risk → no strong cascade-risk condition is currently active
• Data Missing → the selected data source is not usable on the current symbol or mode
🔔 Alerts Logic
Alerts can be enabled for Long Cascade Risk, Short Cascade Risk, Two-Way Cascade, and Risk Cooling.
Each alert triggers when the selected state becomes active. Alerts are designed as attention markers, not trade instructions.
🧩 Confluence Logic
The context becomes stronger when data expansion, volatility shock, range pressure, directional bias, and persistence align at the same time.
For example, high volatility with strong directional movement and rising pressure persistence may indicate a more unstable cascade-risk environment than volatility alone.
📊 When to Use
• Crypto perpetual futures
• High-volatility market phases
• Sharp directional moves
• Post-breakout acceleration
• Failed recovery or forced unwind environments
• Situations where leverage pressure may matter more than ordinary trend context
⚠️ When NOT to Use
• Very low liquidity symbols
• Symbols with unreliable volume or open interest data
• Extremely noisy low-timeframe charts
• Markets with abnormal gaps or data breaks
• Any situation where the user expects exact exchange liquidation prices
🎛️ Key Inputs
• Data Mode → chooses between automatic open interest, manual open interest symbol, or volume proxy
• Lookback Length → controls the normalization window for pressure scoring
• Fast / Slow Pressure Length → controls short-term and baseline pressure reaction
• Cascade Threshold → defines how demanding the script is before marking cascade-risk conditions
• Cooling Threshold → controls when pressure is considered to be cooling
• Persistence Bars → measures whether pressure is sustained or only momentary
• Visual settings → control labels, pulse markers, path visibility, panel layout, and font sizes
🖥️ Interface & Visual Design
The interface is built to make the chart readable at first glance.
The cascade path is intentionally not a large boxed zone. It is a pressure-path structure designed to remain visually distinct from corridor, ladder, and basis-style scripts.
The panel uses a merged AG Pro header row, compact metrics, and a dark professional layout. Visual elements avoid white or pale primary treatments so the script remains readable on both dark and light PulseWire chart backgrounds.
🧪 Practical Usage Workflow
1. Read the panel state first.
2. Check whether Data Mode shows real open interest or volume proxy.
3. Look at the cascade pressure path and current needle position.
4. Check event labels for recent pressure build-up or cooling.
5. Compare the state with broader trend, volatility, and market structure.
🔍 Interpretation Guidelines
Do not treat a cascade-risk state as a direct entry or exit signal.
Use it as a context layer. The script is most useful when combined with structure, liquidity, volatility, market regime, and risk management.
Rising cascade risk can mean the market is becoming unstable. Cooling can mean pressure is easing, but it does not guarantee reversal or continuation.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not financial advice.
It is not an automated trading system.
It does not calculate exact liquidation prices.
It does not guarantee that a liquidation cascade will happen.
⚠️ Limitations & Transparency
Open interest availability depends on symbol, exchange, and PulseWire data support.
Volume proxy mode is only a proxy. It can help visualize pressure context, but it is not the same as real open interest.
Different timeframes may produce different readings.
Fast markets, illiquid symbols, gaps, and abnormal candles can affect outputs.
🧠 Market Context Notes
Liquidation pressure is often connected to leverage, volatility, liquidity, and forced positioning.
This script focuses on context quality rather than exact liquidation geography. That makes it useful as a decision-support layer, but it should always be interpreted with broader market evidence.
🧾 Use Case Examples
When price accelerates downward while pressure score and persistence rise, the chart may show Long Cascade Risk.
When price squeezes upward with high pressure and volatility expansion, the chart may show Short Cascade Risk.
When volatility and pressure expand without clean directional separation, the chart may show Two-Way Cascade.
When pressure falls after a build-up, the chart may show Risk Cooling.
🧱 System Philosophy
AGProLabs scripts are built as structured decision-support tools.
The goal is not to make the chart louder. The goal is to make hidden market context easier to read, compare, and question.
🔐 Non-Promise Statement
No script can remove uncertainty.
No state should be treated as certainty.
No visual element should replace trader judgment.
📉 Risk Disclosure
Trading involves risk.
Crypto derivatives and leveraged markets can be especially volatile.
This script is for educational and analytical purposes only.
Nothing in this script should be interpreted as financial advice, investment advice, or a guarantee of outcome.
Users remain fully responsible for their own decisions.
📚 Educational Note
Use this script to study how pressure, volatility, persistence, and directional stress interact before and after unstable crypto market moves.
Indicator

Leverage Reset Quality Map [AGPro Series]Leverage Reset Quality Map
🧠 Core Idea
Did leverage actually reset, or did the market only pause before risk rebuilt again?
📌 Overview / What it does
Leverage Reset Quality Map is a crypto derivatives context tool designed to evaluate whether a leverage washout is developing into a cleaner reset, a fragile reset, a crowded stress condition, or a reload-risk environment.
The script combines open interest when available, a transparent volume-proxy fallback, data-change behavior, volatility shock, range expansion, wick flush behavior, recovery quality, persistence, and trend context. It converts those inputs into a reset-quality ladder, compact state labels, right-side tags, pulse markers, alerts, and an AG Pro dashboard.
It does not liquidate positions, predict future price direction, automate entries, or claim that a reset must lead to a reversal. It is an analytical map for reading whether leverage pressure appears to be clearing, rebuilding, or remaining unstable.
🎯 Purpose & Design Philosophy
This script was built for traders who want to separate a true leverage reset from a simple bounce, pause, or noisy reaction.
After sharp moves, many markets look relieved for a short period. The important question is whether participation pressure cooled, volatility stabilized, and price recovered with acceptable structure. Leverage Reset Quality Map turns that question into a visible workflow.
The design philosophy is simple: a reset is not automatically bullish or bearish. A reset is a context condition. Its quality depends on stress release, recovery quality, volatility behavior, and whether participation starts rebuilding too early.
⚡ Why This Script Is Different
Most tools focus on liquidation levels, open interest changes, or raw volume spikes.
This script does NOT draw another liquidation heatmap, does NOT treat every OI drop as bullish, and does NOT mark every volume spike as meaningful leverage cleansing.
Instead, it evaluates reset quality as a multi-factor condition. It asks whether stress is building, whether pressure is releasing, whether the market is recovering cleanly, and whether leverage-style participation is reloading before the reset matures.
⚙️ Methodology
1. Context Detection
The script reads official open interest when available. If official OI is unavailable and fallback is enabled, it uses volume as a transparent leverage-participation proxy.
2. Stress Mapping
It evaluates data-change pressure, velocity, volatility shock, range shock, and wick flush behavior to estimate whether leverage-style stress is present.
3. Reset Quality Evaluation
It measures participation contraction, volatility cooling, price recovery, wick recovery, and trend context to estimate reset quality.
4. Visual Output
The output is displayed as a reset-quality ladder with state, quality, reload risk, event labels, compact pulse markers, reaction tracks, and a dashboard panel.
🗺️ How to Read the Chart
The reset-quality ladder is the main visual object.
The upper step represents the current reset or stress state.
The middle step represents reset quality.
The lower step represents reload risk.
The vertical needle shows where current reset quality sits inside the ladder.
Labels mark state transitions such as Clean Reset, Fragile Reset, Reload Risk, and Stress Build.
Compact pulse markers add context:
• R = Clean Reset pulse
• F = Fragile Reset pulse
• L = Reload Risk pulse
• S = Stress Build pulse
Colors communicate context:
• Teal = cleaner reset pressure
• Yellow = fragile or incomplete reset
• Pink = reload or stress risk
• Indigo = neutral reset-quality structure
The panel summarizes state, reset quality, data change, stress score, persistence, reload score, direction, grade, data mode, volatility shock, OI source, and trend.
🚦 Signals & States
• Clean Reset → stress release and recovery quality are improving
• Fragile Reset → some reset behavior is visible, but quality remains incomplete
• Reload Risk → participation may be rebuilding before the reset is healthy
• Crowded Stress → leverage-style pressure is building without a clean reset
• Neutral Reset → no active reset state dominates the current read
• Data Missing → official OI and fallback data are not available
🔔 Alerts Logic
Alerts trigger when the script transitions into selected reset-quality states.
Clean Reset alerts mark improving reset quality.
Fragile Reset alerts mark incomplete reset conditions.
Reload Risk alerts mark renewed leverage-style participation before quality improves.
Stress Build alerts mark stress expansion without a clean reset read.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The strongest context appears when several components align:
Participation contraction + volatility cooling + wick recovery + price recovery + improving reset quality.
The weakest context appears when participation expands again, volatility stays hot, and reset quality remains low.
📊 When to Use
• Crypto perpetual and futures charts
• Post-selloff or post-squeeze environments
• High-volatility reactions
• Open interest or volume-pressure analysis
• Markets where leverage reset quality matters more than a raw signal
⚠️ When NOT to Use
• Extremely illiquid symbols
• Markets with unreliable open interest or volume data
• Very low-volatility sideways charts where leverage pressure is not active
• News-driven gaps where normal reset logic may be distorted
• Any situation where the user expects a direct buy or sell signal
🎛️ Key Inputs
• Data Mode → selects official OI, manual OI, or volume-proxy behavior
• Manual Open Interest Symbol → lets the user define a specific OI source
• Context Lookback → controls the normalization window
• Fast Reaction Length → controls the short-term recovery track
• Slow Baseline Length → controls the slower reset baseline
• Minimum Stress Score → controls how much pressure is required for stress states
• Minimum Quality Score → controls how much recovery quality is required for a clean reset
• Event Label Cooldown → controls label spacing and visual density
• Panel / label settings → control visual layout and readability
🖥️ Interface & Visual Design
The interface is designed to feel different from zone-first or corridor-first tools.
Instead of drawing a large boxed area, the script uses a staggered reset-quality ladder. This keeps the chart readable on both dark and light PulseWire backgrounds and reduces the risk of looking like a duplicate of nearby derivatives tools.
The panel uses a merged blue AG Pro header row and a compact information hierarchy.
🧪 Practical Usage Workflow
1. Read the panel state.
2. Check whether data mode is Open Interest or Volume Proxy.
3. Look at the reset-quality ladder.
4. Compare reset quality with reload risk.
5. Review recent event labels and pulse markers.
6. Confirm the broader chart structure.
🔍 Interpretation Guidelines
A Clean Reset does not mean price must rise.
A Reload Risk state does not mean price must fall.
The script is designed to help users think in terms of leverage pressure, reset quality, and context alignment. It should be interpreted with broader structure, liquidity, trend, and risk controls.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not financial advice.
It is not an auto-trading system.
It is not a liquidation heatmap.
It does not guarantee reversals, continuations, entries, exits, or outcomes.
⚠️ Limitations & Transparency
Open interest availability depends on the symbol, exchange, and PulseWire data support.
When official OI is unavailable, the script can use volume as a transparent proxy. A proxy is not the same as official open interest.
Timeframe differences may change how reset quality appears.
Volatility spikes, exchange-specific behavior, and sudden news events may distort the read.
🧠 Market Context Notes
Leverage resets often appear after forced movement, sharp volatility expansion, wick-heavy reactions, or participation contraction.
The important distinction is whether the reset becomes cleaner or whether risk reloads before the market has stabilized.
This script focuses on that distinction.
🧾 Use Case Examples
When price flushes lower, participation contracts, volatility cools, and price recovers toward the reaction track, the script may show Clean Reset.
When a market bounces but participation expands again while reset quality remains weak, the script may show Reload Risk.
When volatility remains hot and stress score remains elevated, the script may show Crowded Stress.
🧱 System Philosophy
Leverage Reset Quality Map follows the AGProLabs principle of building decision-support maps rather than prediction tools.
The goal is to make hidden market conditions easier to observe, compare, and interpret without overclaiming certainty.
🔐 Non-Promise Statement
No script can know future price direction.
No state should be treated as certainty.
Every output should be interpreted as context, not as an instruction.
📉 Risk Disclosure
Trading involves risk.
Crypto derivatives can be highly volatile and may involve leverage, liquidation risk, exchange risk, data limitations, and rapid market movement.
Users remain fully responsible for their own decisions.
This script does not provide financial advice.
📚 Educational Note
This script is intended for educational, analytical, and visual market-structure study.
Its value comes from helping users ask better questions about leverage pressure, reset quality, and risk rebuilding.
Indicator

Open Interest Commitment Map [AGPro Series]Open Interest Commitment Map
🧠 Core Idea
Is open interest expansion actually committing with price, or is participation building without conviction?
📌 Overview / What it does
Open Interest Commitment Map is a crypto derivatives context tool designed to evaluate whether open interest expansion, contraction, price movement, volatility, and persistence are aligning into a meaningful market participation state.
The script attempts to read open interest data through configurable OI symbol builders, including Perp Contract OI, Chart Ticker + _OI, Dot-P + _OI, and Manual mode. When supported open interest data is available, it measures OI change, normalizes that change, compares it with price movement, and classifies the result into commitment states. If official open interest data is unavailable, it can fall back to a transparent Volume Proxy mode so the user knows exactly what data mode is being used.
It produces a projected commitment zone, state labels, right-side tags, alerts, and an AG Pro dashboard. It does not predict price direction, automate entries, or claim that open interest expansion must continue.
🎯 Purpose & Design Philosophy
This script was built because open interest is often discussed as if it has one simple meaning. In reality, rising open interest can support a trend, pressure a crowded side, reflect absorption, or become irrelevant without price confirmation.
The goal is to turn open interest into a readable commitment map rather than a raw number. The script asks whether participation is expanding, whether price is accepting that expansion, whether the behavior persists, and whether the current state deserves attention.
It is designed for crypto futures and perpetual traders who want to evaluate derivatives participation without relying on a simplistic “OI up equals bullish” or “OI down equals bearish” interpretation.
⚡ Why This Script Is Different
Most tools show open interest as a separate line or histogram.
This script does NOT treat open interest as a standalone signal, does NOT assume rising OI is automatically bullish, and does NOT hide data limitations when official OI is unavailable.
Instead, it maps OI behavior into structured states: Long Build, Short Build, OI Unwind, Absorption, Reset, or Data Missing. It combines OI change, normalized OI deviation, price movement in ATR units, trend acceptance, persistence, and volume rank into one visual commitment framework.
⚙️ Methodology
1. Context Detection
The script builds or reads the open interest source and checks whether official OI data is available.
2. Reference Mapping
Open interest change is measured over a configurable lookback and normalized against a longer historical window.
3. Reaction Evaluation
The model compares OI expansion or contraction with price movement, trend position, volatility, and persistence.
4. Visual Output
The final state is displayed through a projected commitment zone, state tags, event labels, and a compact AG Pro panel.
🗺️ How to Read the Chart
The commitment zone represents the active area where price and participation behavior are being monitored.
Labels mark key state transitions such as Long Build, Short Build, OI Unwind, and OI Absorption.
Colors communicate context:
• Teal = Long Build
• Pink = Short Build
• Yellow = OI Unwind
• Indigo = Absorption or neutral commitment context
• Light/neutral = Reset or Data Missing
The panel shows state, score, OI change, OI z-score, persistence, volume rank, direction, quality, data mode, OI source, and distance from the OI baseline.
🚦 Signals & States
• Long Build → open interest expands while price shows constructive acceptance
• Short Build → open interest expands while price shows bearish acceptance
• OI Unwind → open interest contracts meaningfully while price moves
• OI Absorption → open interest expands but price movement remains compressed
• Reset → no strong commitment state is active
• Data Missing → no usable open interest or proxy data is available
🔔 Alerts Logic
Alerts trigger when the script transitions into a selected commitment state.
Long Build alerts mark expanding participation with constructive price acceptance.
Short Build alerts mark expanding participation with bearish price acceptance.
OI Unwind alerts mark meaningful open interest contraction while price is moving.
OI Absorption alerts mark expanding open interest with limited price movement.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The strongest read appears when multiple conditions align:
Open interest change + OI z-score + price movement + trend acceptance + persistence + volume rank.
When expansion appears without price progress, the context can shift from directional commitment to absorption. When contraction appears with price movement, the context can shift toward unwind behavior.
📊 When to Use
• Crypto perpetual and futures markets
• Symbols where PulseWire provides open interest data through `_OI`
• High-participation sessions where trader positioning may matter
• Breakout, breakdown, compression, and post-liquidation environments
• Situations where the user wants to distinguish commitment from noise
⚠️ When NOT to Use
• Symbols with no reliable open interest data when proxy mode is not desired
• Illiquid markets with unstable volume or fragmented data
• Very low timeframe noise without broader context
• Spot-only markets where open interest is not relevant
• Major news events where positioning can change faster than the model can stabilize
🎛️ Key Inputs
• OI Symbol Mode → controls whether the script uses Perp Contract OI, Chart Ticker + _OI, Dot-P + _OI, or Manual OI source selection
• Manual Open Interest Symbol → allows manual OI source selection if needed
• Allow Volume Proxy Fallback → uses transparent proxy mode when official OI is unavailable
• OI Baseline Length → controls the smoothing baseline for participation data
• OI Change Lookback → controls the change window for OI expansion or contraction
• OI Normalization Lookback → controls how unusual the OI change must be
• OI Commitment Z Threshold → defines the minimum normalized expansion required for commitment
• Visual Settings → control zone projection, event labels, right-side tags, and font sizes
🖥️ Interface & Visual Design
The interface is built around a clean commitment zone and a compact AG Pro panel.
The chart should feel active but not crowded. The projected zone gives the screenshot a visible story, right-side tags show the live state, and event labels highlight meaningful historical transitions.
The panel follows the AG Pro standard with a merged blue header row, adjustable location, adjustable theme, and adjustable font size.
🧪 Practical Usage Workflow
1. Apply the script to a crypto perpetual or futures chart.
2. Start with OI Symbol Mode set to Perp Contract OI.
3. Confirm the Data Mode row says Open Interest when official OI data is available.
4. If Data Mode says Volume Proxy, try Chart Ticker + _OI, Dot-P + _OI, or Manual mode before using the screenshot for publication.
5. Read the State and Score rows.
6. Inspect whether price and OI are building, unwinding, absorbing, or resetting.
7. Confirm the context with broader market structure, liquidity, volatility, and risk management.
🔍 Interpretation Guidelines
Rising open interest is not automatically bullish.
Falling open interest is not automatically bearish.
Open interest expansion becomes more meaningful when price movement and persistence support the same story.
Absorption can be important because participation is increasing without clean price progress.
Unwind can be important because positioning is contracting while price is moving.
🚫 What This Script Is NOT
This script is not a prediction engine.
This script is not financial advice.
This script is not an auto trading system.
This script is not a guaranteed signal engine.
This script does not guarantee official open interest data exists on every symbol.
This script does not claim that open interest expansion must continue or reverse.
⚠️ Limitations & Transparency
Official open interest availability depends on the symbol, exchange, and PulseWire data support.
If official OI data is not available and proxy fallback is enabled, the panel clearly shows Volume Proxy mode.
Volume Proxy is not the same as official open interest. It can still help visualize participation pressure, but it should be interpreted more cautiously.
Different exchanges, contract types, timeframes, and liquidity conditions can produce different open interest behavior.
🧠 Market Context Notes
Open interest can help traders think about participation, but it needs context.
Expansion with price acceptance may indicate commitment.
Expansion without progress may indicate absorption.
Contraction with movement may indicate unwind.
No single state removes uncertainty.
🧾 Use Case Examples
When OI expands and price accepts higher while trend context supports the move, the script may classify Long Build.
When OI expands and price accepts lower while trend context supports the move, the script may classify Short Build.
When OI expands but price remains compressed, OI Absorption can warn that participation is building without clean directional progress.
When OI contracts while price moves, OI Unwind can help identify positioning reduction.
🧱 System Philosophy
Open Interest Commitment Map follows the AGProLabs design principle of building decision-support maps rather than prediction tools.
The script is designed to organize participation context into a readable workflow: read the panel, inspect the zone, check the state, evaluate reaction, and confirm with broader structure.
🔐 Non-Promise Statement
No open interest model can guarantee future price direction.
No commitment score creates certainty.
This tool helps structure interpretation; it does not replace judgment.
📉 Risk Disclosure
Trading involves risk.
Crypto derivatives can be highly volatile and may involve leverage, liquidation risk, exchange risk, and rapid market movement.
This script is for educational and analytical purposes only.
It does not provide financial advice or guaranteed trading outcomes.
Users remain responsible for their own decisions.
📚 Educational Note
Use the script as a learning layer for understanding how participation, price movement, volatility, persistence, and open interest behavior can combine into a more complete derivatives-context read.
Indicator

Indicator

Open Interest Flow & Context Overlay [HYPR-run]DESCRIPTION:
Reads Binance perpetual open interest and classifies each bar into one of eight context states based on OI direction, price direction, and volume direction. Flow arrows show how open interest is developing bar by bar; the context matrix tells you what it means. OI rising + price rising + volume rising = new longs with conviction. OI rising + price falling + volume rising = new shorts with conviction. OI falling + price falling = long squeeze (liquidation, trend acceleration). OI falling + price rising + volume = short squeeze (covering, trend acceleration). The matrix answers: who is entering, who is exiting, and is volume confirming?
DISCOVERING EDGE
This indicator classifies every bar into eight context states by combining OI direction, price direction, and volume direction into a single read. In order to gain a persistent, mechanical edge in distinguishing real demand from forced covering and genuine selling from liquidation, we explored a more meaningful expression of open interest flow that resulted in strong confirmation signals that became actual entry/exit signals (Large Outline Triangles on chart) in our latest automated strategies.
8 OI CONTEXT STATES vs RAW OI CANDLES
Raw OI rising tells you positions are opening but not who or why. Eight context states (new longs with volume, short squeeze, long liquidation, etc.) answer who is entering, who is exiting, and whether volume confirms, turning a single data stream into actionable positioning context. Arrow color hierarchy gives the instant read: green/bright red = fresh direction flip (highest conviction); cyan/orange = continuation; purple = no volume confirmation (lower conviction but a staple of grinding price action in intermediate trend. Dashboard distinguishes "LONG, New Longs + Volume" from "Short Squeeze, Accumulation"; both show price rising, but one is real demand and the other is forced covering that ends when covering is done. Alerts fire only on strong OI signals (OI + price + volume all aligned) with full bar filter and directional candle confirmation; three layers of filtering before the signal fires.
FEATURES
- Eight OI context states with color-coded overlay arrows
- Two-row dashboard: OI context state + OI flow arrows with color badges
- Strong/weak filter: price + volume + OI alignment required for full signals
- Direction flip tracking: fresh signals vs continuation (brighter vs dimmer)
- ZLEMA-based trend detection (smoother than raw crossovers)
- Webhook-ready alerts on strong OI signals with full bar filter
- Full bar filter: body >= 66.6% of range (no doji fakeouts)
DASHBOARD
Two-row display: OI context state and OI flow. Row 1 classifies the current bar from the eight-state matrix. Row 2 shows the active flow arrow state matching the arrows on chart.
OI CONTEXT TABLE (Dashboard row 1)
OI FLOW TABLE (Dashboard row 2)
HOW IT WORKS
ZLEMA (zero-lag EMA) detects rising/falling direction on three inputs: open interest, price, and volume. The combination determines the context state. Strong signals require all three aligned. A fixnan state variable tracks direction flips to distinguish fresh entries from continuation. OI data is pulled from Binance perpetual contracts (USDT or coin-margined). Auto-detects the coin from the chart symbol, or enter manually for non-Binance tickers.
ALERTS
Fires on strong OI long/short signals (all three aligned) with a full directional bar. Fresh direction flips are distinguished from continuation. Alert payload is built into the script; works with any webhook receiver.
CREDITS
OI data approach: ByzantiumScripts, spacemanbtc
Indicator

Fair Interest Rate Ladder (Auto + Info)Description:
The Fair Interest Rate Ladder indicator is designed to visualize the "fair value" of interest rate instruments (bond futures, rate swaps, etc.), accounting for accrued interest or carry costs. It plots a step-line that converges toward a target base point as the expiration date approaches.
Key Features:
Auto-Spread Detection: The indicator automatically detects if you are using a spread formula (e.g., ZN1!-100). If detected, the anchor point automatically shifts from 100 to 0.
Adjustable Rate & Direction: Easily set the annual percentage rate and choose the price convergence direction (upward or downward toward expiration).
Leap Year Accuracy: Mathematically precise calculations based on the actual number of days in the current year (365 or 366).
Dashboard: A real-time table in the top-right corner displays the exact Fair Value and the countdown of days remaining until expiration.
Expiration Tracking: A distinct red "zero line" and a visual label marking the contract's end date.
How to use:
Input the start and expiration dates of your contract, set the current interest rate, and the indicator will show where the price should theoretically be trading today.
Russian (Русский)
Описание:
Индикатор Fair Interest Rate Ladder предназначен для визуализации «справедливой стоимости» процентных инструментов (фьючерсов на облигации, ставки) с учетом накопленного купона или процентного дохода. Он строит ступенчатую линию, которая стремится к целевой точке (базе) по мере приближения даты экспирации.
Основные возможности:
Автоматика для спредов: Индикатор автоматически определяет, используете ли вы формулу спреда (например, ZN1!-100). В этом случае точка нуля автоматически смещается со 100 на 0.
Гибкая настройка ставки: Возможность задать годовую процентную ставку и направление движения цены (вверх или вниз к экспирации).
Учет високосных лет: Математически точный расчет на базе количества дней в текущем году (365 или 366).
Инфо-панель: В правом верхнем углу отображается таблица с текущим расчетным значением Fair Value и счетчиком дней до экспирации.
Визуализация экспирации: Четкая красная линия «горизонта» и метка даты окончания контракта.
Как использовать:
Введите дату начала и дату экспирации вашего контракта, укажите актуальную ставку, и индикатор покажет, где должна находиться цена сегодня относительно её теоретического идеала. Indicator

Indicator

Aggregated Open InterestAggregates Open Interest data across 10 major crypto exchanges: Binance, Bybit, Kraken, MEXC, Bitget, BingX, Coinbase, Deribit, HTX, and Crypto.com.
Displays total market OI with candlesticks on intraday timeframes and a step line on daily+ timeframes. Color-coded: teal for increasing OI, red for decreasing OI.
Toggle individual exchanges on/off in settings to customize your view.
With this indicator there is no need to be on the perpetual chart of the asset for the open interest to be displayed. Indicator

Indicator

Interest Rate Trading (Manually Added Rate Decisions) [TANHEF]Interest Rate Trading: How Interest Rates Can Guide Your Next Move.
How were interest rate decisions added?
All interest rate decision dates were manually retrieved from the 'Record of Policy Actions' and 'Minutes of Actions' on the Federal Reserve's website due to inconsistent dates from other sources. These were manually added as Pine Script currently only identifies rate changes, not pauses.
█ Simple Explanation:
This script is designed for analyzing and backtesting trading strategies based on U.S. interest rate decisions which occur during Federal Open Market Committee (FOMC) meetings, to make trading decisions. No trading strategy is perfect, and it's important to understand that expectations won't always play out. The script leverages historical interest rate changes, including increases, decreases, and pauses, across multiple economic time periods from 1971 to the present. The tool integrates two key data sources for interest rates—USINTR and FEDFUNDS—to support decision-making around rate-based trades. The focus is on identifying opportunities and tracking trades driven by interest rate movements.
█ Interest Rate Decision Sources:
As noted above, each decision date has been manually added from the 'Record of Policy Actions' and 'Minutes of Actions' documents on the Federal Reserve's website. This includes +50 years of more than 600 rate decisions.
█ Interest Rate Data Sources:
USINTR: Reflects broader U.S. interest rate trends, including Treasury yields and various benchmarks. This is the preferred option as it corresponds well to the rate decision dates.
FEDFUNDS: Tracks the Federal Funds Rate, which is a more specific rate targeted by the Federal Reserve. This does not change on the exact same days as the rate decisions that occur at FOMC meetings.
█ Trade Criteria:
A variety of trading conditions are predefined to suit different trading strategies. These conditions include:
Increase/Decrease: Standard rate increases or decreases.
Double/Triple Increase/Decrease: A series of consecutive changes.
Aggressive Increase/Decrease: Rate changes that exceed recent movements.
Pause: Identification of no changes (pauses) between rate decisions, including double or triple pauses.
Complex Patterns: Combinations of pauses, increases, or decreases, such as "Pause after Increase" or "Pause or Increase."
█ Trade Execution and Exit:
The script allows automated trade execution based on selected criteria:
Auto-Entry: Option to enter trades automatically at the first valid period.
Max Trade Duration: Optional exit of trades after a specified number of bars (candles).
Pause Days: Minimum duration (in days) to validate rate pauses as entry conditions. This is especially useful for earlier periods (prior to the 2000s), where rate decisions often seemed random compared to the consistency we see today.
█ Visualization:
Several visual elements enhance the backtesting experience:
Time Period Highlighting: Economic time periods are visually segmented on the chart, each with a unique color. These periods include historical phases such as "Stagflation (1971-1982)" and "Post-Pandemic Recovery (2021-Present)".
Trade and Holding Results: Displays the profit and loss of trades and holding results directly on the chart.
Interest Rate Plot: Plots the interest rate movements on the chart, allowing for real-time tracking of rate changes.
Trade Status: Highlights active long or short positions on the chart.
█ Statistics and Criteria Display:
Stats Table: Summarizes trade results, including wins, losses, and draw percentages for both long and short trades.
Criteria Table: Lists the selected entry and exit criteria for both long and short positions.
█ Economic Time Periods:
The script organizes interest rate decisions into well-defined economic periods, allowing traders to backtest strategies specific to historical contexts like:
(1971-1982) Stagflation
(1983-1990) Reaganomics and Deregulation
(1991-1994) Early 1990s (Recession and Recovery)
(1995-2001) Dot-Com Bubble
(2001-2006) Housing Boom
(2007-2009) Global Financial Crisis
(2009-2015) Great Recession Recovery
(2015-2019) Normalization Period
(2019-2021) COVID-19 Pandemic
(2021-Present) Post-Pandemic Recovery
█ User-Configurable Inputs:
Rate Source Selection: Choose between USINTR or FEDFUNDS as the primary interest rate source.
Trade Criteria Customization: Users can select the criteria for long and short trades, specifying when to enter or exit based on changes in the interest rate.
Time Period: Select the time period that you want to isolate testing a strategy with.
Auto-Entry and Pause Settings: Options to automatically enter trades and specify the number of days to confirm a rate pause.
Max Trade Duration: Limits how long trades can remain open, defined by the number of bars.
█ Trade Logic:
The script manages entries and exits for both long and short trades. It calculates the profit or loss percentage based on the entry and exit prices. The script tracks ongoing trades, dynamically updating the profit or loss as price changes.
█ Examples:
One of the most popular opinions is that when rate starts begin you should sell, then buy back in when rate cuts stop dropping. However, this can be easily proven to be a difficult task. Predicting the end of a rate cut is very difficult to do with the the exception that assumes rates will not fall below 0.25%.
2001-2009
Trade Result: +29.85%
Holding Result: -27.74%
1971-2024
Trade Result: +533%
Holding Result: +5901%
█ Backtest and Real-Time Use:
This backtester is useful for historical analysis and real-time trading. By setting up various entry and exit rules tied to interest rate movements, traders can test and refine strategies based on real historical data and rate decision trends.
This powerful tool allows traders to customize strategies, backtest them through different economic periods, and get visual feedback on their trading performance, helping to make more informed decisions based on interest rate dynamics. The main goal of this indicator is to challenge the belief that future events must mirror the 2001 and 2007 rate cuts. If everyone expects something to happen, it usually doesn’t. Indicator

[DarkTrader] Pivot Point HeatmapThe indicator calculates pivot points using price data from different timeframes such as 12M, 1M, 1W, 3D, and 1D. For each timeframe, it retrieves the high, low, open, and close prices of the previous bar. The pivot point is calculated as the average of the high, low, and close prices, which provides a central level where market sentiment may shift. This calculation is repeated for each timeframe, ensuring a multi-dimensional view of potential interest zones.
Importance of Pivot Points :
Pivot points are essential tools in technical analysis, providing traders with levels that act as potential support and resistance zones. These zones help identify price levels where reversals or breakouts are more likely to occur.
Visual Representation :
The core feature of this indicator is its ability to visualize pivot points as a heatmap on the chart. Instead of showing just the latest pivot points, it tracks the historical pivot swipe, providing a dynamic view of how price interacts with these key levels. Each pivot point is represented by a line, color-coded based on its position relative to other points, creating a gradient effect that highlights the most critical price areas.
Customization Options :
Traders can customize various aspects of the heatmap to suit their preferences. The indicator offers options to toggle pivot swipe history, enabling traders to either focus on the most recent price interactions or consider how price has behaved over time. The background color and pivot line colors are fully customizable, making it easy to match the heatmap with your chart's theme or emphasize certain price levels.
Detecting Sweeps and Price Interaction :
Another important feature is the detection of price interactions with pivot levels. If the current bar's high and low cross a pivot point, it signals that the pivot level has been "swept" by price action, potentially indicating a change in market sentiment. The indicator either extends the line if the pivot point remains relevant or deletes it if price has broken through. This dynamic adjustment helps traders stay updated on which pivot levels are still valid. Indicator

OI Volume Oscillator Cross DynamicsThe OI Volume Oscillator Cross Dynamics is a custom indicator designed to analyze the relationship between Open Interest (OI) and Volume Oscillator in the cryptocurrency markets. This tool aims to assist traders in identifying potential market sentiment shifts, enabling them to make informed trading decisions based on the dynamic interplay of these key market components.
Key Components:
Open Interest (OI): This component represents the total number of outstanding derivative contracts, such as futures and options, that have not been settled. Open Interest provides insights into market participation and trader commitment, offering a broader perspective on the flow of money into the market.
Volume Oscillator: The Volume Oscillator is a momentum indicator that showcases the difference between two volume moving averages. It is instrumental in identifying bullish or bearish market trends by providing insights into buying and selling pressure in the market.
Functional Dynamics:
Crossover Analysis: The indicator identifies points where the Volume Oscillator crosses above or below the Open Interest, marking potential shifts in market sentiment. These crossover points are visually represented, making them easily identifiable for analysis.
Visual Cues: The indicator uses visual shapes and colors to enhance interpretability. Bullish crossovers are marked with green upward triangles, while bearish crossovers are represented by red downward triangles.
Customization: The indicator allows for customization of the Volume Oscillator’s sensitivity through a multiplier, enabling traders to adjust the indicator according to their trading strategy and market outlook.
Usage Guidelines:
Bullish Scenario: A crossover of the Volume Oscillator above the Open Interest is interpreted as a bullish signal, indicating potential upward price movement due to increased buying pressure or trading activity.
Bearish Scenario: A crossover of the Volume Oscillator below the Open Interest is seen as a bearish signal, suggesting potential downward price movement due to increased selling pressure or reduced trading activity.
Conclusion:
The OI Volume Oscillator Cross Dynamics indicator is designed to provide traders with a nuanced perspective of market activity through the combined analysis of Open Interest and Volume Oscillator. Its design aims to offer valuable insights, allowing for a strategic approach to trading based on the observed market dynamics.
The code is open source and utilizes Binance info but you can alter the code to meet your needs to go beyond just Bitcoin if needed. Indicator

Open Interest Chart [LuxAlgo]The Open Interest Chart displays Commitments of Traders %change of futures open interest , with a unique circular plotting technique, inspired from this publication Periodic Ellipses .
🔶 USAGE
Open interest represents the total number of contracts that have been entered by market participants but have not yet been offset or delivered. This can be a direct indicator of market activity/liquidity, with higher open interest indicating a more active market.
Increasing open interest is highlighted in green on the circular plot, indicating money coming into the market, while decreasing open interests highlighted in red indicates money coming out of the market.
You can set up to 6 different Futures Open interest tickers for a quick follow up:
🔶 DETAILS
Circles are drawn, using plot() , with the functions createOuterCircle() (for the largest circle) and createInnerCircle() (for inner circles).
Following snippet will reload the chart, so the circles will remain at the right side of the chart:
if ta.change(chart.left_visible_bar_time ) or
ta.change(chart.right_visible_bar_time)
n := bar_index
Here is a snippet which will draw a 39-bars wide circle that will keep updating its position to the right.
//@version=5
indicator("")
n = bar_index
barsTillEnd = last_bar_index - n
if ta.change(chart.left_visible_bar_time ) or
ta.change(chart.right_visible_bar_time)
n := bar_index
createOuterCircle(radius) =>
var int end = na
var int start = na
var basis = 0.
barsFromNearestEdgeCircle = 0.
barsTillEndFromCircleStart = radius
startCylce = barsTillEnd % barsTillEndFromCircleStart == 0 // start circle
bars = ta.barssince(startCylce)
barsFromNearestEdgeCircle := barsTillEndFromCircleStart -1
basis := math.min(startCylce ? -1 : basis + 1 / barsFromNearestEdgeCircle * 2, 1) // 0 -> 1
shape = math.sqrt(1 - basis * basis)
rad = radius / 2
isOK = barsTillEnd <= barsTillEndFromCircleStart and barsTillEnd > 0
hi = isOK ? (rad + shape * radius) - rad : na
lo = isOK ? (rad - shape * radius) - rad : na
start := barsTillEnd == barsTillEndFromCircleStart ? n -1 : start
end := barsTillEnd == 0 ? start + radius : end
= createOuterCircle(40)
plot(h), plot(l)
🔶 LIMITATIONS
Due to the inability to draw between bars, from time to time, drawings can be slightly off.
Bar-replay can be demanding, since it has to reload on every bar progression. We don't recommend using this script on bar-replay. If you do, please choose the lowest speed and from time to time pause bar-replay for a second. You'll see the script gets reloaded.
🔶 SETTINGS
🔹 TICKERS
Toggle :
• Enabled -> uses the first column with a pre-filled list of Futures Open Interest tickers/symbols
• Disabled -> uses the empty field where you can enter your own ticker/symbol
Pre-filled list : the first column is filled with a list, so you can choose your open interest easily, otherwise you would see COT:088691_F_OI aka Gold Futures Open Interest for example.
If applicable, you will see 3 different COT data:
• COT: Legacy Commitments of Traders report data
• COT2: Disaggregated Commitments of Traders report data
• COT3: Traders in Financial Futures report data
Empty field : When needed, you can pick another ticker/symbol in the empty field at the right and disable the toggle.
Timeframe : Commitments of Traders (COT) data is tallied by the Commodity Futures Trading Commission (CFTC) and is published weekly. Therefore data won't change every day.
Default set TF is Daily
🔹 STYLE
From middle:
• Enabled (default): Drawings start from the middle circle -> towards outer circle is + %change , towards middle of the circle is - %change
• Disabled: Drawings start from the middle POINT of the circle, towards outer circle is + OR -
-> in both options, + %change will be coloured green , - %change will be coloured red .
-> 0 %change will be coloured blue , and when no data is available, this will be coloured gray .
Size circle : options tiny, small, normal, large, huge.
Angle : Only applicable if "From middle" is disabled!
-> sets the angle of the spike:
Show Ticker : Name of ticker, as seen in table, will be added to labels.
Text - fill
• Sets colour for +/- %change
Table
• Sets 2 text colours, size and position
Circles
• Sets the colour of circles, style can be changed in the Style section.
You can make it as crazy as you want:
Indicator

Annualized Spot-Future DifferenceThe "Annualized Spot-Future Difference" indicator (ASFD) compares the closing prices of a futures contract and its underlying spot asset. It calculates the price difference between the two instruments and annualizes this difference to provide a standardized measure for comparison.
The indicator takes inputs for the futures ticker symbol and the spot ticker symbol, allowing flexibility in selecting the specific assets for analysis. Additionally, it allows the user to input the contract date, which represents the expiration date of the futures contract.
The ASFD indicator plots the annualized difference between the futures and spot prices. It calculates the price difference by subtracting the spot price from the futures price. To annualize this difference, it considers the remaining days to the contract expiration and scales the difference accordingly.
The annualized difference can provide insights into market expectations, as it reflects the market's perception of the future price movement of the underlying asset. A positive value indicates that the futures price is higher than the spot price, potentially suggesting bullish sentiment. Conversely, a negative value suggests bearish sentiment, with the futures price lower than the spot price.
Traders and analysts can utilize the ASFD indicator to identify potential opportunities for arbitrage or evaluate market sentiment regarding the underlying asset. By monitoring changes in the annualized difference over time, they can gain insights into market dynamics and make informed trading decisions.
It's important to note that the ASFD indicator relies on accurate and up-to-date pricing data for both the futures and spot assets. Traders should verify that the selected ticker symbols correspond to the desired instruments and ensure that the contract date aligns with the relevant futures contract expiration.
Overall, the ASFD indicator provides a quantitative measure of the annualized price difference between futures and spot assets, enabling traders and analysts to assess market expectations and identify potential trading opportunities. Indicator

Indicator

Indicator

10-Year Bond Yields (Interest Rate Differential)With this little script, I have attempted to incorporate fundamental data (in this case, 10-year bond yields) into technical analysis . When pairing two currencies, the one with a higher bond interest rate usually appreciates when the interest rate differential widens, or, to use a simple example: in a currency pair A vs. B, with A showing a higher bond yield than B, a widening interest rate gap is likely to help A and create a buying opportunity (shown as a blue square at the bottom of the chart), while the opposite is true when the gap tightens (sell signal, red square).
While long-term investors know about and make use of the importance of bond yield fluctuations, most short-term traders tend to dismiss the idea of using fundamental data, mostly for lack of quantifiability and limited impact in an intraday environment. After extensive backtesting on daily and intraday charts (6-12 hours), however, I realized this indicator still managed to produce useful results (less useful than on monthly and yearly charts, to be fair, but still useful enough), especially when paired with simple price-driven indicators, such as Heikin Ashi or linear regression .
My personal (and thus subjective) thoughts: worth a try. Buy and sell signals frequently contradicted both more popular indicators and my gut feeling and managed to take out losing trades that I had considered trades with a high winning probability. In other words, when the market lures traders into seemingly promising trading decisions, this indicator might give you an early warning, especially when you manage to adjust period and continuity parameters to your trading strategy.
Currency pairs used in this script are all possible combinations of the eight majors. Each security has been assigned a name ("inst01" to "inst08" in the code) and a broker; if you make changes to the code, be sure not to mess with currency and broker names as this would render the entire script useless. Good luck trading, and feel free to suggest improvements! Indicator

Indicator

Indicator

FunctionCompoundInterestLibrary "FunctionCompoundInterest"
Method for compound interest.
simple_compound(principal, rate, duration) Computes compound interest for given duration.
Parameters:
principal : float, the principal or starting value.
rate : float, the rate of interest.
duration : float, the period of growth.
Returns: float.
variable_compound(principal, rates, duration) Computes variable compound interest for given duration.
Parameters:
principal : float, the principal or starting value.
rates : float array, the rates of interest.
duration : int, the period of growth.
Returns: float array.
simple_compound_array(principal, rates, duration) Computes variable compound interest for given duration.
Parameters:
principal : float, the principal or starting value.
rates : float array, the rates of interest.
duration : int, the period of growth.
Returns: float array.
variable_compound_array(principal, rates, duration) Computes variable compound interest for given duration.
Parameters:
principal : float, the principal or starting value.
rates : float array, the rates of interest.
duration : int, the period of growth.
Returns: float array. Library
