Aggregated Open Interest [Alpha Extract]The Aggregated Open Interest indicator provides a comprehensive view of open interest across multiple cryptocurrency exchanges, allowing traders to monitor institutional positioning and market sentiment. By aggregating data from major exchanges like Binance, BitMEX, and Kraken, this indicator offers valuable insights into potential price movements and market shifts.
🔶 CALCULATION
The indicator processes open interest data through multiple analytical methods:
Exchange Aggregation: Collects and normalizes open interest data from multiple exchanges (Binance, BitMEX, Kraken) with proper currency normalization.
Multi-Mode Analysis: Calculates various metrics including raw open interest values, OI change, OI delta, volume-weighted delta, and OI RSI.
Divergence Detection: Uses pivot point analysis to identify divergences between price action and open interest movements.
Activity Assessment: Tracks bullish and bearish activity patterns by correlating open interest changes with price movements.
Formula:
Aggregate OI = Sum of normalized open interest from selected exchanges
OI Change = Current OI - Previous OI
OI Delta = Net change in open interest across timeframes
OI Delta × Volume = OI Delta weighted by relative volume
OI RSI = Relative Strength Index applied to open interest values
OI Heatmap = Multi-timeframe visualization of OI changes across 7 distinct periods
🔶 DETAILS
Visual Features:
Open Interest: Candlestick representation of aggregated open interest
OI Change: Histogram showing period-to-period changes
OI Delta: Histogram displaying net OI movements
OI Delta × Volume: Volume-weighted OI delta for enhanced signals
OI RSI: Oscillator showing overbought/oversold OI conditions
OI Heatmap: Multi-timeframe visualization showing OI changes across 7 periods (3, 5, 8, 13, 21, 34, and 55 days)
Divergence Detection: Color-coded markers (teal for bullish, red for bearish) highlighting significant divergences between price and open interest
Analysis Table: Real-time summary of key metrics including aggregate OI, recent changes, and bullish/bearish activity.
Interpretation:
Increasing Open Interest + Rising Price: Strong bullish trend confirmation
Increasing Open Interest + Falling Price: Strong bearish trend confirmation
Decreasing Open Interest + Rising Price: Weak bullish trend (potential reversal)
Decreasing Open Interest + Falling Price: Weak bearish trend (potential reversal)
Divergences: Signal potential trend exhaustion and reversals when price moves in one direction while open interest moves in the opposite direction
Heatmap: Provides at-a-glance insight into open interest trends across multiple timeframes, with green bars indicating rising OI and red bars indicating falling OI
🔶 EXAMPLES
Trend Confirmation: Rising open interest accompanying a price increase confirms strong bullish momentum with institutional backing.
Example: During January-February 2025, rising OI during price advances confirms institutional participation in the uptrend.
Bearish Divergence: Price makes a higher high while open interest makes a lower high, signaling potential trend reversal.
Example: Red markers appear at market tops where price continues higher but open interest fails to confirm, preceding significant corrections.
Bullish Divergence : Price makes a lower low while open interest makes a higher low, indicating potential bottoming.
Example: Teal markers appear at market bottoms where price continues lower but open interest fails to confirm, preceding significant rallies.
OI Heatmap Analysis : Multiple timeframes showing consistent red signals across short to long-term periods indicate strong institutional selling pressure.
Example: When all 7 periods (3-55 days) show red during a price uptrend, this signals institutional selling into retail strength, often preceding major corrections.
🔶 SETTINGS
Customization Options:
Data Sources: Toggle different exchanges (Binance USDT/USD/BUSD, BitMEX USD/USDT, Kraken USD)
Display Mode: Choose between Open Interest, OI Change, OI Delta, OI Delta × Volume, OI RSI, and OI Heatmap
Currency Units: Display in USD or base cryptocurrency (COIN)
Analysis Tools: Moving Average (length and color), RSI (length and color)
Divergence Detection: Enable/disable signals, adjust lookback period and threshold percentage, customize bullish/bearish divergence colors
OI Heatmap Colors: Customize bullish (green) and bearish (red) signal colors for the multi-timeframe heatmap visualization
The Aggregated Open Interest indicator provides traders with comprehensive insights into institutional positioning across major exchanges, helping identify potential trend continuations, reversals, and key market turning points driven by smart money movements. The addition of the OI Heatmap feature enables traders to quickly visualize open interest trends across multiple timeframes, providing valuable context for institutional positioning over different market cycles.
Indicators and strategies
RSI + MACD + OBV Reversal ComboRSI overbought/oversold
MACD crossovers
OBV divergence
…and fires a LONG ✅ or SHORT ✅ signal only when all align.
Comercial Trader -Vol. Desvio PadrãoScript criado para fazer a distribuição de volatilidade do ativo pelo desvio padrão
Deadzone Pro Strategy (Final & Verified)Just a basic script to backtest the Deadzone Pro indicator. Adjust as necessary. Love ya'll!
Volume Profile - Session Display w/ sell & Buy # Volume Profile Right Side
## Description
This enhanced Volume Profile indicator displays a real-time volume distribution analysis on the right side of your TradingView chart, making it easier to identify key trading levels based on actual market participation. By analyzing the distribution of volume across price levels, traders can identify significant support and resistance zones where the most trading activity has occurred.
## Key Features
- **Right Side Display**: Shows volume distribution on the right side of your chart for better visibility of current price action against volume context
- **Color-Coded Buy/Sell Signals**: Green bars represent buying volume, red bars represent selling volume for intuitive visual analysis
- **Point of Control (POC)**: Clearly marks the price level with the highest trading volume, often a significant support/resistance area
- **Value Area Visualization**: Highlights the price range where a specified percentage (default 70%) of all trading occurred
- **Session Reset**: Automatically resets with each new trading session to show fresh volume data
- **Customizable Settings**: Adjust bar count, row size, colors, and value area percentage to suit your trading style
## Trading Applications
- Identify high-probability support and resistance levels based on actual trading volume
- Spot price levels that may act as magnets for future price action
- Recognize potential reversal zones at volume clusters
- Verify the strength of trends based on volume distribution
- Plan entries and exits around high-volume price levels
- Determine optimal stop-loss placement using volume voids
## Settings
- **Number of Bars**: Control how many historical bars are analyzed (default: 150)
- **Row Size**: Adjust the granularity of price level analysis (default: 24)
- **Value Area Volume %**: Set the percentage of volume contained in the value area (default: 70%)
- **POC Color and Width**: Customize the Point of Control line appearance
- **Reset Each Session**: Toggle automatic reset for each new trading day
## Notes
This indicator is based on LonesomeTheBlue's original Volume Profile indicator with modifications to display on the right side of the chart with enhanced buy/sell color visualization. The indicator respects TradingView's limitations and is optimized for performance.
First Hour TrendThis indicator analyzes the first hour of trading to determine if the market is showing bullish, bearish, or neutral momentum. By default, it's configured for regular US market hours (9:30-10:30 AM ET), but can be customized for any market session. It's based on the "Opening Candle Continuation" strategy, which has shown strong predictive power for daily market direction based on first hour performance.
24 Hour Key LevelsIndicator automatically plots horizontal rays from yesterday high/low of day and current day premarket high/low. Levels are customizable in color and thickness.
New Momentum H/LNew Momentum H/L shows when momentum, defined as the rate of price change over time, exceeds the highest or lowest values observed over a user-defined period. These events shows points where momentum reaches new extremes relative to that period, and the indicator plots a column to mark each occurrence.
Increase in momentum could indicate the start of a trend phase from a low volatile or balanced state. However in developed trends, extreme momentum could also mark potential climaxes which can lead to trend termination. This reflects the dual nature of the component.
This indicator is based on the MACD calculated as the difference between a 3-period and a 10-period simple moving average. New highs are indicated when this value exceeds all previous values within the lookback window; new lows when it drops below all previous values. The default lookback period is set to 40 bars, which corresponds with two months on a daily chart.
The indicator also computes a z-score of the MACD line over the past 100 bars. This standardization helps compare momentum across different periods and normalizes the values of current moves relative to recent history.
In practice, use the indicator to confirm presence of momentum at the start of a move from a balanced state (often following a volatility expansion), track how momentum develops inside of a trend structure and locate potential climactic events.
Momentum should in preference be interpreted from price movement. However, to measure and standardize provides structure and helps build more consistent models. This should be used in context of price structure and broader market conditions; as all other tools.
TJR Liquidity mark-out indicatorIndicator Description:
This custom Pine Script indicator is designed to mark highs and lows based on a simple candle pattern recognition system, ideal for traders using TJR's Strategy or any strategy focused on liquidity.
The indicator marks out key levels where the price has not yet taken out liquidity. Specifically, it looks for price patterns where there is:
A bullish candle followed by a bearish candle (marking a potential high).
A bearish candle followed by a bullish candle (marking a potential low).
Once these highs and lows are identified, lines are drawn extending to the right until price sweeps the level — that is, when the price breaks above a high or below a low, the line is deleted. This makes the indicator highly useful for liquidity-based strategies where the goal is to spot unfilled liquidity zones (i.e., levels where price has not yet reached).
The indicator is especially beneficial for traders who:
Use TJR's Strategy, which typically involves identifying market structure shifts and liquidity zones.
Focus on liquidity pools and want to visualize areas where the market could potentially "sweep" or revisit to grab liquidity before continuing its movement.
By showing these areas where the liquidity hasn't been taken out yet, this indicator allows traders to better time their entries and exits, helping them align with areas of unfilled liquidity in the market. It’s a great addition for those looking to trade near key liquidity zones or manage risk based on market structure shifts.
Key Features:
Marks Liquidity Zones: Detects potential liquidity areas based on candle patterns.
Dynamic Lines: Lines extend to the right and disappear once price sweeps them.
Perfect for TJR's Strategy: Aligns with liquidity-focused strategies.
Customizable: Choose time periods, colors, and line length for personalized settings.
Real-time Updates: Continuously updates as new candles form, ensuring you have the latest liquidity data.
Session High - LowHighs and Lows of each session. Shows the highs for each session with lines throughout the day.
MACD Signal Filtered (One per Area)MACD Signal Filtered (One per Area) is a clean, minimalistic signal tool designed to help traders spot high-probability market reversals using the MACD crossover logic — but with smart filtering to eliminate noise and redundant signals.
Unlike standard MACD indicators that flood your chart with repeated signals in the same area, this version applies a cooldown filter, ensuring that only the first strong signal in a given area is shown. This makes it the perfect companion for traders who rely on price action, structure, and trendlines to anticipate market moves.
🔍 Key Features:
✅ 15-minute MACD cross signals (bullish/bearish).
✅ Filtered to avoid repeat signals in the same zone (1-hour cooldown by default).
✅ Minimum MACD strength threshold to catch only significant moves.
✅ Clear LONG/SHORT labels plotted directly on the chart.
✅ Optimized for clean charting — no zones, no clutter.
🧠 Ideal Use Case:
This indicator is ideal for traders who:
Use trendlines, supply & demand zones, or price action.
Want to confirm breakout/reversal setups with momentum-backed MACD crosses.
Prefer a clean chart with fewer but stronger trade signals.
Pair this with your trendline breakouts or retests — and use it to confirm momentum in the direction of your setup. You’ll quickly see how effective a filtered MACD signal can be when combined with structure-based trading.
TJR Liquidity mark-out indicatorIndicator Description:
This custom Pine Script indicator is designed to mark highs and lows based on a simple candle pattern recognition system, ideal for traders using TJR's Strategy or any strategy focused on liquidity.
The indicator marks out key levels where the price has not yet taken out liquidity. Specifically, it looks for price patterns where there is:
A bullish candle followed by a bearish candle (marking a potential high).
A bearish candle followed by a bullish candle (marking a potential low).
Once these highs and lows are identified, lines are drawn extending to the right until price sweeps the level — that is, when the price breaks above a high or below a low, the line is deleted. This makes the indicator highly useful for liquidity-based strategies where the goal is to spot unfilled liquidity zones (i.e., levels where price has not yet reached).
The indicator is especially beneficial for traders who:
Use TJR's Strategy, which typically involves identifying market structure shifts and liquidity zones.
Focus on liquidity pools and want to visualize areas where the market could potentially "sweep" or revisit to grab liquidity before continuing its movement.
By showing these areas where the liquidity hasn't been taken out yet, this indicator allows traders to better time their entries and exits, helping them align with areas of unfilled liquidity in the market. It’s a great addition for those looking to trade near key liquidity zones or manage risk based on market structure shifts.
Key Features:
Marks Liquidity Zones: Detects potential liquidity areas based on candle patterns.
Dynamic Lines: Lines extend to the right and disappear once price sweeps them.
Perfect for TJR's Strategy: Aligns with liquidity-focused strategies.
Customizable: Choose time periods, colors, and line length for personalized settings.
Real-time Updates: Continuously updates as new candles form, ensuring you have the latest liquidity data.
Asian & London Session Highs/LowsAsian & London Session Highs/Lows with Extendable Lines
This TradingView script automatically marks the highs and lows of the Asian and London trading sessions for the most recent day, allowing traders to identify key levels during these active periods. The lines representing the high and low of each session are drawn at the exact price point where the high/low occurred, and they extend to the right for a customizable number of bars, helping to visualize how the price reacts to these key levels after the session ends.
Key Features:
Session High/Low Tracking: Automatically tracks the highest and lowest points for the Asian and London sessions.
Extendable Lines: Lines start at the exact bar where the high/low occurred and can be extended to the right for a specified number of bars.
Timezone Adjustment: Allows you to input a timezone offset to adjust session times based on your local time or desired market time zone.
Customizable Colors & Line Thickness: Adjust the color and thickness of the session high and low lines to suit your visual preferences.
Clear & Precise Levels: Helps identify important support and resistance levels, making it easier to spot market reactions around session highs and lows.
This indicator is perfect for day traders and those looking to trade during specific market hours, offering clear visual markers of session boundaries and critical price levels.
Pre-Market and TargetsPre Market and Yesterday high lows, you can take judgement on based of these levels, if price is above pre market high and yesterday high then just go for long trades and vice versa
SMA & EMA Lines//@version=6
indicator("SMA & EMA Lines", shorttitle="FattyPockets-SMAD", overlay=true)
//── Inputs ───────────────────────────────────────────────────────
src = input.source(close, "Source for Price")
len7 = input.int(7, "SMA Length 7", minval=1)
len25 = input.int(25, "SMA Length 25", minval=1)
len50 = input.int(50, "SMA Length 50", minval=1)
len99 = input.int(99, "SMA Length 99", minval=1)
len200 = input.int(200, "SMA Length 200", minval=1)
lenEma = input.int(20, "EMA Length 20", minval=1)
//── Visibility Toggles ────────────────────────────────────────────
show7 = input.bool(true, "Show SMA 7")
show25 = input.bool(true, "Show SMA 25")
show50 = input.bool(true, "Show SMA 50")
show99 = input.bool(true, "Show SMA 99")
show200 = input.bool(true, "Show SMA 200")
showEma = input.bool(true, "Show EMA 20")
//── Price Series ────────────────────────────────────────────────
price = request.security(syminfo.tickerid, timeframe.period, src)
//── Moving Averages ─────────────────────────────────────────────
sma7 = ta.sma(price, len7)
sma25 = ta.sma(price, len25)
sma50 = ta.sma(price, len50)
sma99 = ta.sma(price, len99)
sma200 = ta.sma(price, len200)
ema20 = ta.ema(price, lenEma)
//── Plots ───────────────────────────────────────────────────────
// note: titles must be constant strings in v6, so we hard-code them
plot(show7 ? sma7 : na, "SMA 7", color=color.orange, linewidth=2)
plot(show25 ? sma25 : na, "SMA 25", color=color.blue, linewidth=2)
plot(show50 ? sma50 : na, "SMA 50", color=color.green, linewidth=2)
plot(show99 ? sma99 : na, "SMA 99", color=color.purple, linewidth=2)
plot(show200 ? sma200 : na, "SMA 200", color=color.white, linewidth=2)
plot(showEma ? ema20 : na, "EMA 20", color=color.maroon, linewidth=2)
15m ATR Target (Long-Only)15m ATR Target (Long-Only) Indicator
Overview
This custom indicator combines two powerful intraday tools into one clean overlay:
10-Minute Opening Range Breakout (ORB) – Yellow dashed lines marking the high and low of the first 10 minutes after your chosen session start.
15-Minute ATR Target – A green dotted line set at (15-min block close + ATR), recalculated and redrawn every 15 minutes.
Together, they give you both a classic ORB framework and a volatility-based price target for long entries.
How It Works
1. Define Your Session Start
You choose the clock time (e.g. 9:30 AM). From that moment:
For the next 10 minutes, the indicator records the highest high and lowest low.
2. Draw the 10-Minute ORB Lines
As soon as those 10 minutes pass, two yellow dashed horizontal lines appear at the OR high and low, extending right across your chart. These mark your key breakout levels.
3. Split the Day into 15-Minute Blocks
Independently, the day is also broken into fixed 15-minute intervals (e.g. 9:00–9:15, 9:15–9:30, etc.).
4. Measure ATR in Each Block
For each 15-min window, the script calculates the Average True Range over that block’s bars—a gauge of how much price typically moves within 15 minutes.
5. Capture Each Block’s Close
When the clock ticks past each 15-min boundary, the script notes that block’s closing price.
6. Plot the ATR-Based Target
Immediately after each 15-min block, a green dotted line is drawn at (block close + ATR). This line extends forward a set number of bars, giving you a dynamic upper-target level for long trades.
7. Auto-Refresh & Alerts
Both the ORB lines and ATR target update automatically:
8. The ORB lines appear once at the 10-min mark and persist all day.
The ATR target line deletes and redraws every 15 minutes, so you’re always seeing the latest volatility-adjusted target. You can also enable an alert to ping you the moment price crosses above the ATR target.
Why Use It?
Opening Range Clarity: The 10-min ORB is a widely used breakout setup; these yellow lines give you clear entry and stop levels.
Volatility-Adaptive Targets: The ATR-based green line adjusts to current market chop or calm, so your profit targets stay relevant.
Long-Only Focus: Everything is designed around catching upside breakouts—ideal for bulls and momentum traders.
Fully Automated: No manual drawing or recalculation—just add it and trade its levels.
Ideal For:
Intraday traders looking for volatility-based, long-only entry targets incorporating an ORB strategy.
Anyone who wants an objective way to gauge whether price has moved “beyond normal” and is ready to run further.
Volatility-Adaptive Targets: The ATR-based green line adjusts to current market chop or calm, so your profit targets stay relevant.
Long-Only Focus: Everything is designed around catching upside breakouts—ideal for bulls and momentum traders.
Fully Automated: No manual drawing or recalculation—just add it and trade its levels.
Add the 15m ATR Target to your chart today and start spotting volatility-backed, long-only opportunities with confidence!
Candle SequenceLooking to easily identify moments of strong market conviction? "Racha Velas" (or your chosen English name like "Consecutive Candles Streak") allows you to visualize clearly and directly sequences of consecutive bullish and bearish candles.
**Key Features:**
* **Real-time Counting:** Displays the number of consecutive candles directly on the chart.
* **Visual Customization:** Adjust the text size and color for optimal visualization.
* **Vertical Offset:** Control the position of the counter to avoid obstructions.
* **Maximum Streaks Table (Optional):** Visualize the largest bullish and bearish streaks found in the chart's history, useful for understanding volatility and price behavior.
* **Easy to Use:** Simply add the indicator to your chart and start analyzing.
This indicator is a valuable tool for traders looking to confirm trends, identify potential exhaustion points, or simply understand price dynamics at a glance. Give it a try and discover the market's streaks!
*****************************************************************************************************
¿Buscas identificar momentos de fuerte convicción del mercado? "Racha Velas" te permite visualizar de forma clara y directa las secuencias de velas consecutivas alcistas y bajistas.
**Características principales:**
* **Conteo en Tiempo Real:** Muestra el número de velas consecutivas directamente en el gráfico.
* **Personalización Visual:** Ajusta el tamaño y color del texto para una visualización óptima.
* **Offset Vertical:** Controla la posición del contador para evitar obstrucciones.
* **Tabla de Rachas Máximas (Opcional):** Visualiza las mayores rachas alcistas y bajistas encontradas en el historial del gráfico, útil para entender la volatilidad y el comportamiento del precio.
* **Fácil de Usar:** Simplemente añade el indicador a tu gráfico y comienza a analizar.
Este indicador es una herramienta valiosa para traders que buscan confirmar tendencias, identificar posibles agotamientos o simplemente entender la dinámica del precio en un vistazo. ¡Pruébalo y descubre las rachas del mercado!
EMA Break & Retest + Trend TableA technical analysis tool that:
Detects EMA break & retest setups
Filters signals using higher timeframe trends
Shows buy/sell signals on the chart
Displays a trend table for multiple timeframes
SuperFib Enhanced (Array Only)Key Changes:
Removed MAX_LINES and defined const int MAX_STORAGE_CAPACITY = 200 (You can adjust 200 higher or lower, but be mindful of the total drawings limit).
Removed all individual inputs (show1-show10, price1-price10, text1-text10) and their corresponding groups. The array input is now the only way to define levels.
Removed the useArrayInput boolean input, as it's no longer needed.
Initialized var hLines and var lineLabels arrays with MAX_STORAGE_CAPACITY.
Modified the array parsing loop to respect MAX_STORAGE_CAPACITY when adding parsed levels.
Modified the main drawing loop (if barstate.islast) to iterate from 0 up to
MAX_STORAGE_CAPACITY - 1. Inside the loop, it checks if i < parsedLevelsCount to determine if a line should exist at that index.
Modified the real-time update loop (if barstate.isrealtime) to also iterate up to MAX_STORAGE_CAPACITY - 1 to handle any potential drawing index within the indicator's capacity.
Updated the tooltips for the array inputs to reflect that this is the primary method and mention the (increased) capacity limit.
This version is more flexible for users who rely heavily on array input, allowing them to define up to 200 levels. Remember that while the indicator itself can manage 200, the total drawings on your chart from all sources still cannot exceed Pine Script's platform-wide limit.