Liquidations Aggregated (Lite)Liquidations Aggregated (Lite)
The Liquidations Aggregated (Lite) script provides a unified cross-exchange visualization of short and long liquidation volumes, allowing traders to identify high-impact market events and sentiment reversals driven by forced position closures. It aggregates normalized liquidation data from Binance, Bybit, and OKX into a single coherent output, offering a consolidated perspective of derivative market stress across major venues.
Core Concept
Liquidations are involuntary closures of leveraged positions when margin requirements are breached. They represent points of structural orderflow imbalance, often triggering localized volatility spikes and price pivots. This indicator isolates and aggregates those liquidation volumes by direction (short vs. long), allowing traders to map where leveraged traders are being forced out and whether current market movement is driven by short covering or long capitulation.
Underlying Methodology
Each connected exchange provides liquidation feeds via standardized symbols (e.g., BTCUSDT.P_LQBUY or BTCUSD.P_LQSELL).
The script differentiates between:
Short Liquidations → Buy Volume: Forced covering of shorts, representing upward pressure.
Long Liquidations → Sell Volume: Forced selling of longs, representing downward pressure.
Bybit’s inverse data is normalized to align directional logic with Binance and OKX. Data is drawn through the request.security() function per symbol and per exchange, with per-exchange scaling adjustments applied to compensate for differences in reported nominal sizes (USD vs. coin-margined). The script is meant to match the calculation methods of professional-grade data sources (e.g., Velodata, Coinalyze). The value is denominated in the base currency at all times.
Computation Logic
Liquidation volumes are fetched separately for USD- and USDT-margined pairs on each exchange.
Exchange-specific magnitude adjustments are applied to account for nominal denomination differences.
Normalized liquidation buy and sell volumes are summed into two global aggregates:
combinedBuyVolumeLiquidationsShort → aggregated buy volume from forced short positions closes (Short Liquidations)
combinedSellVolumeLiquidationsLong → aggregated sell pressure from forced long position closes (Long Liquidations)
Final series are plotted as mirrored column charts around a zero baseline for direct comparison.
How to Use
Apply the script to any crypto perpetual futures symbol (e.g., BTCUSDT, ETHUSDT).
Observe teal bars (Buy Volume from Short Liquidations) for short squeezes and red bars (Sell Volume from Long Liquidations) for long wipes.
Strong teal spikes during downtrends often indicate aggressive short liquidations leading to short-term bounces.
Strong red spikes during uptrends often mark long unwinds that can trigger sharp retracements.
Sustained asymmetry in either direction suggests systemic imbalance across leveraged positioning.
Penunjuk dan strategi
UTM 共感覺 식스센스 차트UTM chart PropKorea chart done by UTM aming to identify where the pirce is now compared to market.
Lesh_ghoti_2Custom Timeframe 2 randomness, Custom Timeframe 2 randomness, Custom Timeframe 2 randomness
Logit RSI [AdaptiveRSI]The traditional 0–100 RSI scale makes statistical overlays, such as Bollinger Bands or even moving averages, technically invalid. This script solves this issue by placing RSI on an unbounded, continuous scale, enabling these tools to work as intended.
The Logit function takes bounded data, such as RSI values ranging from 0 to 100, and maps them onto an unbounded scale ranging from negative infinity (−∞) to positive infinity (+∞).
An RSI reading of 50 becomes 0 on the Logit scale, indicating a balanced market. Readings above 50 map to positive Logit values (price above Wilder’s EMA / RSI above 50), while readings below 50 map to negative values (price below Wilder’s EMA / RSI below 50).
For the detailed formula, which calculates RSI as a scaled distance from Wilder’s EMA, check the RSI
: alternative derivation script.
The main issue with the 0–100 RSI scale is that different lookback periods produce very different distributions of RSI values. The histograms below illustrate how often RSIs of various lengths spend time within each 5-point range.
On RSI(2), the tallest bars appear at the edges (0–5 and 95–100), meaning short-term RSI spends most of its time at the extremes. For longer lookbacks, the bars cluster around the center and rarely reach 70 or 30.
This behavior makes it difficult to generalize the two most common RSI techniques:
Fixed 70/30 thresholds: These overbought and oversold levels only make sense for short- or mid-range lookbacks (around the low teens). For very short periods, RSI spends most of its time above or below these levels, while for long-term lookbacks, RSI rarely reaches them.
Bollinger Bands (±2 standard deviations): When applied directly to RSI, the bands often extend beyond the 0–100 limits (especially for short-term lookbacks) making them mathematically invalid. While the issue is less visible on longer settings, it remains conceptually incorrect.
To address this, we apply the Logit Transform :
Logit RSI = LN(RSI / (100 − RSI))
The transformed data fits a smooth bell-shaped curve, allowing statistical tools like Bollinger Bands to function properly for the first time.
Why Logit RSI Matters:
Makes RSI statistically consistent across all lookback periods.
Greatly improves the visual clarity of short-term RSIs
Allows proper use of volatility tools (like Bollinger Bands) on RSI.
Replaces arbitrary 70/30 levels with data-driven thresholds.
Simplifies RSI interpretation for both short- and long-term analysis.
INPUTS:
RSI Length — set the RSI lookback period used in calculations.
RSI Type — choose between Regular RSI or Logit RSI .
Plot Bollinger Bands — ON/OFF toggle to overlay statistical envelopes around RSI or Logit RSI.
SMA and Standard Deviation Length — defines the lookback period for both the SMA (Bollinger Bands midline) and Standard Deviation calculations.
Standard Deviation Multiplier — controls the width of the Bollinger Bands (e.g., 2.0 for ±2σ).
While simple, the Logit transformation represents an unexplored yet powerful mathematically grounded improvement to the classic RSI.
It offers traders a structured, intuitive, and statistically consistent way to use RSI across all timeframes.
I welcome your feedback, suggestions, and code improvements—especially regarding performance and efficiency. Your insights are greatly appreciated.
Aggregated Long Short Ratio (Binance + Bybit)This indicator displays the Long/Short Ratio (LSR) from Binance and Bybit exchanges, plus an aggregated average. LSR shows the ratio between traders holding long positions vs short positions.
Settings AvailableExchanges Group:
☑️Show Binance - Display Binance LSR line
☑️ Show Bybit - Display Bybit LSR line
☑️ Show Aggregated LSR - Display combined average
Timeframe - Choose data timeframe (leave empty for chart timeframe)
Visualization Group:
🎨 Binance Color - Default: Yellow
🎨 Bybit Color - Default: Orange
🎨 Aggregated Color - Default: White
📖 How to Read the Indicator
⚠️ CRITICAL: Always analyze LSR together with Open Interest (OI)
Key Levels:
LSR = 1.0 (gray dashed line) = Balance - Equal longs and shorts
LSR > 1.0 = More longs than shorts (bullish sentiment)
LSR < 1.0 = More shorts than longs (bearish sentiment)
Extreme Zones:
LSR > 1.5 (green zone) = Very bullish - Possible market top
LSR < 0.5 (red zone) = Very bearish - Possible market bottom
Why Open Interest Matters:
LSR alone doesn't tell the full story. You MUST check Open Interest:
Rising OI + High LSR (>1.5) = New longs opening → Strong momentum OR potential trap
Rising OI + Low LSR (<0.5) = New shorts opening → Strong momentum OR potential trap
Falling OI + Extreme LSR = Positions closing → Weak signal, avoid trading
Stable OI + Extreme LSR = No new positions → Less reliable signal
💡 Trading Interpretation
⚠️ ALWAYS combine LSR with Open Interest analysis!
Contrarian Strategy (High Leverage Zones):
High LSR (>1.5) + Rising OI → Many new longs → Potential short squeeze OR reversal down
Low LSR (<0.5) + Rising OI → Many new shorts → Potential long squeeze OR reversal up
Trend Confirmation:
Rising LSR + Rising price + Rising OI = Strong bullish trend with new positions
Falling LSR + Falling price + Rising OI = Strong bearish trend with new positions
Weak Signals (Avoid):
Extreme LSR + Falling OI = Positions closing → Low conviction
Extreme LSR + Stable OI = No new money → Wait for confirmation
Divergences:
Price higher highs but LSR falling + Rising OI = Bearish divergence (shorts accumulating)
Price lower lows but LSR rising + Rising OI = Bullish divergence (longs accumulating)
Best Setups:
Reversal: Extreme LSR (>1.5 or <0.5) + Rising OI + Price rejection
Trend: LSR trending with price + Steadily rising OI
Caution: Extreme LSR + Falling OI = Ignore signal
Built-in Alerts
The indicator includes 4 preset alerts:
LSR Crossed Above 1.0 - Market turned bullish
LSR Crossed Below 1.0 - Market turned bearish
LSR Very High - Above 1.5 (possible top)
LSR Very Low - Below 0.5 (possible bottom)
To Set Up Alerts:
Click the "..." on the indicator
Select "Add Alert"
Choose the condition you want
Configure notification method
Best Practices
MANDATORY: Always add Open Interest indicator to your chart alongside LSR
To add OI: Click Indicators → Search "Open Interest" → Add official TradingView OI
Use on perpetual futures charts (symbols ending in .P)
Works best on USDT pairs (BTCUSDT, ETHUSDT, etc.)
Combine LSR + OI + price action + support/resistance levels
Higher timeframes (4h, 1D) give more reliable signals
Don't trade LSR extremes without confirming OI direction
Golden Rule: Rising OI = Strong signal | Falling OI = Weak signal
⚠️ Important Notes
Indicator requires TradingView Premium or above (uses Request library)
Only works on crypto perpetual futures
Data availability depends on exchange API
NA values mean data is not available for that exchange/symbol
Never use LSR without Open Interest context
USCBBS-WDTGAL-RRPONTSYDThis is the U.S. Financial Market Net Liquidity.
The calculation method is to subtract the U.S. Treasury General Account balance (WDTGAL) and then the Overnight Reverse Repo balance (RRPONTSYD) from the Federal Reserve's balance sheet total (USCBBS).
mt_elliott_coreLibrary "mt_elliott_core"
ewo(maFastLen, maSlowLen, smoothLen)
Parameters:
maFastLen (simple int)
maSlowLen (simple int)
smoothLen (simple int)
mt_phase_num(_len, _minGap)
Parameters:
_len (simple int)
_minGap (simple float)
mt_color_from_phase(_len, _minGap)
Parameters:
_len (simple int)
_minGap (simple float)
mt_phase_progress_pct(_len, _minGap)
Parameters:
_len (simple int)
_minGap (simple float)
anchor_p1_close(len, minGap)
Parameters:
len (simple int)
minGap (simple float)
anchor_p1_pivot(len, minGap)
Parameters:
len (simple int)
minGap (simple float)
row_group_from_ewo(ewoValue, atrValue, strongPct, neutralPct)
Parameters:
ewoValue (float)
atrValue (float)
strongPct (simple float)
neutralPct (simple float)
wave_event_pivot_aligned(ewoSeries, left, right, divTolPct, minBarsGap)
Parameters:
ewoSeries (float)
left (simple int)
right (simple int)
divTolPct (simple float)
minBarsGap (simple int)
Open Interest + Continuation/Discontinuation Patterns📈 Open Interest + Continuation/Discontinuation Patterns
This indicator analyzes Open Interest data to detect four key convergence/divergence patterns that signal potential trend continuation or reversal:
Buyer Continuation
Seller Continuation
Buyer Discontinuation
Seller Discontinuation
Each pattern is identified by comparing price action with Open Interest behavior, using pivot-based logic and ATR filtering for precision. When a valid pattern is detected, the indicator draws visual lines on the chart and triggers custom alert conditions for each type, enabling timely decision-making.
The Open Interest data is plotted as a candle-style oscillator, offering a clear view of momentum shifts. The detection logic is fully configurable, allowing users to adjust pivot sensitivity, lookback ranges, and ATR filters to suit different market conditions.
Key features:
🔍 Detects continuation and discontinuation patterns via convergence/divergence logic
🔔 Alerts for all four pattern types
🕯️ Candle-style visualization of Open Interest
⚙️ ATR-based filtering and pivot customization
Perfect for traders seeking to enhance their market timing using Open Interest dynamics and divergence-based signals.
Institutional Rolling VWAPs • 3 lines Institutional Rolling VWAPs • 3 lines + editable σ bands. 3 x modifiable vwaps, time anchored, same for ltf and htf
SMA 10/20 Here are two simple moving averages that can help you see the underlying trend. These are the moving averages used by the famous trader Qullamagie
Timebender - Fractal CloseTimebender – Fractal Close displays which higher-timeframe candles (Daily, Weekly, Monthly) are scheduled to close within the next 24 hours — helping traders anticipate potential volatility and liquidity shifts around key session or higher-TF closes.
It automatically scans:
• Daily: 1D → 11D
• Weekly: 1W → 3W
• Monthly: 1M → 12M
The detected timeframes are shown in a compact on-chart table that can be positioned anywhere (top, middle, bottom — left, center, or right). You can also customize text color, background, and font size for visual clarity.
Use it to align intraday setups with higher-timeframe structure, or to prepare for major session transitions as multiple fractal closes converge.
SPY vs VIX SMA Slope Alignment (Adjustable Days)Use this on VIX Chart only.
This indicator compares the SLOPE of the daily SMA of SPY, to the SLOPE of the Daily SMA to VIX
When SPY and VIX are trending UP for the length of time that you define, you will get a GREEN ARROW on the VIX chart showing that the condition has been met.
EXAMPLE:
Set 3 day SMA for VIX and SPY
THEN
Set Look back time to 2 days
---IF SPY 3day SMA AND VIX 3day SMA are both ASCENDING during any 3 day lookback period, a green indicator arrow will be showing on the VIX Chart
DO NOT Use this indicator on SPY Chart
(SPY and VIX have different daily open/close times. This indicator DOES NOT work propertly on SPY Chart. But it DOES work properly on VIX chart. )
Timebender – 369 PivotsTimebender – 369 Pivots is a clean visual study that marks swing highs and lows with numeric “369-sequence” digits derived from time.
Each digit is automatically color-coded into Accumulation (1 – 3), Manipulation (4 – 6), and Distribution (7 – 9) phases, helping traders identify rhythm and symmetry in market structure.
Labels float above or below bars for clear visibility and never overlap price, allowing smooth zoom and multi-timeframe use.
This base model focuses on clarity, precision, and efficient plotting — no toggles, no clutter — a stable foundation for future Timebender builds.
CMF, RSI, CCI, MACD, OBV, Fisher, Stoch RSI, ADX (+DI/-DI)
Stoch RSINine indicators in one, CMF, RSI, CCI, MACD, OBV, Fisher, Stoch RSI, ADX (+DI/-DI) You can use whichever of the nine indicators you want. I use CFM, CCI, MACD, Stoch RSI.
Risk ModuleThis indicator provides a visual reference for position sizing and approximate stop and target placement. It supports trade planning by calculating equalized risk per trade and maintaining consistent exposure across different markets.
For more information about the concept, see the post Position Sizing and Risk Management .
Fixed Fractional Risk
The indicator calculates the number of shares that can be traded to maintain consistent monetary risk. The formula is based on the distance between the current price and stop reference, adjusting position size proportionally. A closer stop results in a larger position size, while a wider stop results in a smaller one.
Position Size = (Account Size × Risk %) ÷ (Entry Price – Stop Price)
Stop and Target
Stop placement is derived from volatility using the Average True Range (ATR). The target is plotted as a multiple of the stop distance, defining the risk-to-reward relationship in R units.
Stop = Price ± ATR × Multiplier
Target = Price ± (R × Risk Distance)
Chart Elements
The stop and target levels are plotted above and below the current price, with the stop marked by a red dot and the target by a green dot. The information table displayed on the chart shows the number of shares to trade, stop level, and target level.
Setup and Configuration
This configuration only needs to be set once, but can be adjusted later if preferred.
1. Start by setting the account size and risk percentage per trade to define the monetary amount risked on each trade. These values form the basis for position size calculation.
2. Set the ATR multiplier to determine stop distance, common values range between 1 and 3 ATR. Lower values place stops closer to price, increasing sensitivity but risking short-term noise. Higher values widen the stop, which reduces noise impact but extends time in risk.
3. Set the R-multiple to determine target distance relative to the stop. A value of 1 represents a 1:1 risk-to-reward relationship. Lower values reduce potential reward but tend to increase win rate, whereas higher values increase potential reward but tend to reduce win rate. The selection depends on system characteristics and trade expectancy.
When the parameters are defined, the indicator displays the stop, target, and calculated position size on the chart. All that remains is to enter the trade with the number of shares shown in the table and place bracket orders at the plotted stop and target levels.
Settings Overview
Account Size / Risk %: Defines account capital and per-trade exposure.
ATR Multiplier: Adjusts stop distance relative to volatility.
R Multiple: Sets target distance relative to stop (risk-reward ratio).
Position: Choose Long or Short direction.
Table Position: Controls information table placement and scale.
Buy-or-Sell-WiPIndicator Features:
> Simple red/green histogram to indicate go long/buy or go short/sell
> Recommended to use with my other indicator: 5/15-Min-ORB-Trend-Finder-WiP
Strategy:
> Use with 1-min chart with 5-min High/Low or 5-min chart with 15-min High/Low
> After a breakout, wait for confirmation before placing a trade, which is:
- Two confirming candles (green for long/buy, red for short/sell)
and
- Buy-or-Sell-WiP histogram: green for long/buy, red for short/sell
5/15-Min-ORB-Trend-Finder-WiPIndicator Features:
> "Open" flag for each market day.
> Toggleable 5-min and 15-min High/Low markings.
> Horizontal support (red) and resistance (blue) lines.
> EMA-based trend line: green for long/buy, purple for short/sell.
> Recommended to use with my other indicator: Buy-or-Sell-WiP.
Strategy:
> Use with 1-min chart with 5-min High/Low or 5-min chart with 15-min High/Low
> After a breakout, wait for confirmation before placing a trade, which is:
- Two confirming candles (green for long/buy, red for short/sell)
and
- Buy-or-Sell-WiP histogram: green for long/buy, red for short/sell
Bull vs Bear Volume(Simplified)Bull vs Bear Volume
After experimenting with countless volume-based indicators, I sought a simple way to visualize buying and selling pressure with just two lines—an indicator that stays closely coupled with price action.
I went through endless trial and error, building extremely complex volume indicators, only to find that in live trading, errors kept arising and the tools became more hindrance than help. Yet, to enhance the reliability of price indicators, a trustworthy volume measure is indispensable. Even after testing numerous community-shared indicators, I could not find one that met my needs.
This led me to a simple idea: process volume only when Close > Open for buying pressure, and Close < Open for selling pressure, while cleaning out the noise. By reflecting only the volume contributing to price movement, the indicator remains stable and intuitive.
Implementing this concept, I created an indicator that, among countless volume tools, stands out for its clarity and lack of extraneous functions. Users can freely adjust the sum periods of the Bull and Bear lines, choose line styles, and even enjoy the dynamic color changes when the lines cross.
If this indicator can provide even a little assistance in trading, then my purpose is fulfilled.
Indicateur d'executionThis indicator is based on a 50-period RSI and a 50-period SMA. It allows you to visualize the rebounds between the different curves. These rebounds have proven to be relevant for execution.
Le vrai parmi les trois
EMA 9 + VWAP Lower Band Buy SignalEMA 9 + VWAP Lower Band Buy Signal. It uses Ema 9 and VWAP lower band. Has buy alerts