Crypto Spot Volume Ratio**Overview**
This TradingView Pine Script v7 indicator computes and visualizes each exchange’s spot‐volume share relative to the average across ten major venues. By plotting ten “volume coefficients” around a baseline of 1, you immediately see which exchanges are trading above or below the aggregate average in each bar (timeframe period).
---
## 1. Data Sources
The script pulls spot trading volume for the current symbol (e.g. BTC/USDT, ETH/USDT, SOL/USDT, etc.) from these ten exchanges:
* Binance
* OKX
* Bybit
* KuCoin
* Gate.io
* HTX
* Kraken (USD pair)
* Coinbase (USD pair)
* Bitstamp (USD pair)
* Bitfinex (USD pair)
For USD-quoted venues (Coinbase, Kraken, Bitstamp, Bitfinex), it automatically converts the symbol suffix from “USDT” to “USD.”
---
## 2. Calculation Steps
1. **Fetch Volumes**
Using `request.security`, the script retrieves `volume` from each exchange’s contract at the chart’s timeframe.
2. **Sum and Average**
* **Total Volume (`sumVol`)** = sum of all ten exchanges’ volumes.
* **Average Volume (`avgVol`)** = `sumVol / 10‘.
3. **Compute Coefficients**
For each exchange *i*,
A coefficient > 1 means that exchange’s volume is above the ten‐exchange average; < 1 means below average.
4. **Rendering**
* **Table**: A horizontal row in the top‐right corner lists each enabled exchange’s coefficient (formatted to two decimals).
* **Plots**: Ten overlaid line plots show each exchange’s coefficient time series. A dashed horizontal line at **1** marks the average baseline.
---
## 3. Configuration Options
In the indicator’s settings panel, you can toggle **“Show …”** for any of the ten exchanges. Disabling an exchange will hide both its table entry and its plotted line—but does **not** change the average calculation (which always divides by 10).
---
## 4. Interpretation & Significance
* **Relative Activity**: By normalizing each venue to the ten‐exchange average, you spot shifts in where volume is concentrated.
* **Liquidity Insights**: Exchanges consistently above 1 may offer deeper liquidity, tighter spreads, or attract more order flow. Those below 1 may lag on volume, signaling lower activity or potential outages.
* **Arbitrage & Flow Monitoring**: Sudden spikes on a particular exchange (coefficient >> 1) can indicate localized buying/selling pressure, useful for spotting arbitrage windows, large order flows, or exchange-specific events.
* **Market Health**: Tracking the dispersion of these coefficients over time gives you a quick visual of how balanced or skewed the overall market activity is across venues.
---
## 5. How It Works in Practice
1. **Attach** this indicator to any USDT or USD spot chart (e.g., BTCUSDT, ETHUSDT).
2. **Observe** which exchange lines rise above the dashed **1** line—those venues are currently trading more volume than the average of the ten.
3. **Use** the table to see exact coefficient values each bar.
4. **Toggle** exchanges on/off to focus on specific venues without affecting the universal average baseline.
By comparing ten exchanges on a single pane, you gain real-time clarity on where crypto liquidity and activity are most intense—and where it temporarily wanes—empowering more informed trading, arbitrage strategies, and market‐structure analysis.
Indicatori di ampiezza
ZYTX CCI SuperTrendZYTX CCI SuperTrend
The definitive integration of CCI and SuperTrend trend-following indicators, delivering exemplary performance in automated trading bots.
RSI(2) - Estratégia com 3 filtros e 3 saídas
Entry: RSI(2) < 20 + EMA80 + above-average volume + reversal candle
Exit: Profit at close OR RSI > 70 OR 7th candle
MA Band Zones with AlertsThis is a simple script with alerts.
Its a tool, helps traders, who works on price average range, to identify zones away from Moving average + and - side.
it will work on sma, ema, wma.
custom TF
custom source
alert 5 alert variation to choose from.
there is small glitch, kindly uncheck both the background boxes in in the input setting. it will removed in the next version
Turtle Trading System + ATR Trailing StopIndicator Description: Turtle ATR Trailing Stop
The **Turtle ATR Trailing Stop** is a technical indicator designed to enhance the classic Turtle Trading System by incorporating a dynamic trailing stop based on the Average True Range (ATR). This indicator is ideal for traders seeking to manage risk and lock in profits on both long and short positions in trending markets.
Key Features:
- Turtle Trading Levels: Calculates the 20-day highest high and lowest low to identify potential breakout points, a core principle of the Turtle Trading System.
- ATR-Based Trailing Stop: Utilizes a trailing stop that adjusts dynamically based on a multiple of the ATR (default multiplier: 2.0), providing a volatility-adjusted exit mechanism.
- Position Flexibility: Supports both long and short positions, with the trailing stop positioned below the highest price for long trades and above the lowest price for short trades.
- Smooth Updates: The trailing stop updates on each bar, ensuring a more responsive adjustment to price movements, rather than only on new highs or lows.
- Reset Mechanism: Automatically resets the trailing stop when the price deviates significantly (configurable threshold, default 0.1%), adapting to major trend reversals.
- Alerts: Includes customizable alerts that trigger when the price reaches the trailing stop level, notifying traders of potential exit points.
- Debugging Tools: Features an on-chart debug table displaying ATR, Close, Highest Price, Lowest Price, Potential Stop, and Trailing Stop values for real-time analysis.
How It Works:
- For **Long Positions**: The trailing stop starts below the initial close price (minus 2*ATR) and moves up as the highest price increases, locking in profits while trailing at a fixed ATR distance.
- For **Short Positions**: The trailing stop starts above the initial close price (plus 2*ATR) and moves down as the lowest price decreases, protecting against upward price movements.
- The stop resets if the price falls (for long) or rises (for short) beyond the set threshold, ensuring adaptability to new market conditions.
Customization:
- Period Settings: Adjust the length for highs/lows (default 20) and ATR period (default 14).
- ATR Multiplier: Modify the distance of the trailing stop (default 2.0).
- Reset Threshold: Fine-tune the percentage at which the stop resets (default 0.1%).
- Position Type: Switch between "Long" and "Short" modes via input settings.
Usage:
Apply this indicator to any chart in TradingView, set your preferred parameters, and monitor the trailing stop line (yellow) alongside the Turtle highs (red) and lows (blue). Use the debug table to validate calculations and set alerts to stay informed of stop triggers.
This indicator combines the trend-following strength of the Turtle System with a flexible, ATR-based stop-loss strategy, making it a powerful tool for both manual and automated trading strategies.
顶底力量这个"顶底力量"指标是一个反转信号识别器,专门用来捕捉价格的顶部和底部转折点。
顶部信号(红色下三角):
价格创新高但动量衰竭
适合考虑做空或止盈多单
底部信号(绿色上三角):
价格创新低但动能衰竭
适合考虑做多或止盈空单
优缺点
优点:
结合价格行为和动量指标,相对可靠
有确认机制,减少假信号
专门捕捉转折点,适合波段交易
缺点:
在强趋势中容易产生假信号
RSI可能长时间保持极值状态
确认周期短,可能错过最佳入场点
Application Scenarios
This is a typical reversal trading indicator:
Top Signal (Red down triangle):
Price makes new high but momentum is exhausted
Consider short entry or take profit on long positions
Bottom Signal (Green up triangle):
Price makes new low but selling pressure is exhausted
Consider long entry or take profit on short positions
Pros and Cons
Advantages:
Combines price action with momentum indicator for reliability
Has confirmation mechanism to reduce false signals
Specifically targets turning points, suitable for swing trading
Disadvantages:
May generate false signals in strong trending markets
RSI can remain at extreme levels for extended periods
Short confirmation period might miss optimal entry points
This indicator is particularly effective in sideways markets or at trend exhaustion points for timing reversal entries.
Samrat Directional Movement Index with Mediun to track ADX Samrat Directional Movement Index with Mediun to track ADX has a mediun line added for better tracking of ADX and +DI an -DI for traders.Feedback welcome
Nadaraya,poly100,MA ribbon,volume nến,RSInadaraya
polynomial 100
volume nến
rsi break out 75,25
MA Ribbon
Chiaroscuro Scalp Model A [Signal + Visuals]This indicator is based on the Chiaroscuro Scalp Model A — a precision-based scalping system that identifies high-probability trade setups during the London and New York sessions. It combines daily range expansion, order blocks, fair value gaps, and W/M reversal patterns to generate 20-pip scalping opportunities with clearly plotted stop loss and take profit levels. Ideal for intraday traders seeking structured, rule-based entries.
SMA Fecho na Máxima, Mínima e NormalLarry Williams' Strategy - Short Moving Average Channel
✅ Indicators used:
High SMA: 3 periods
Low SMA: 3 periods
30-period Closing SMA: used as a trend filter
Chiaroscuro Scalp Model A [Signal + Visuals]This indicator is based on the Chiaroscuro Scalp Model A — a precision-based scalping system that identifies high-probability trade setups during the London and New York sessions. It combines daily range expansion, order blocks, fair value gaps, and W/M reversal patterns to generate 20-pip scalping opportunities with clearly plotted stop loss and take profit levels. Ideal for intraday traders seeking structured, rule-based entries.
Intraday vs Overnight OBV🔍 Purpose
This indicator provides a volume-weighted cumulative flow model that mimics On-Balance Volume (OBV) logic but splits the volume impact into intraday vs. overnight sessions. It allows traders to track how volume contributes to price movement in each session and identify whether buying/selling pressure is stronger during or outside of regular trading hours.
This indicator attempts to alleviate some of the downfalls of the standard OBV indicator, which only looks at total volume and total direction. The price of stocks generally behaves extremely differently during market hours and outside market hours, and many of the large moves happen outside of regular market hours on low volume.
⚙️ Core Features
1) OBV-style calculation:
If price increases → volume is added to the OBV stream.
If price decreases → volume is subtracted.
If price is flat → OBV remains unchanged.
2) Session splitting:
Intraday session: movement from today's open to close.
Overnight session: movement from yesterday’s close to today’s open.
Volume is split proportionally between these two periods based on user input.
3) Four visualization modes:
"Intraday" — plots only OBV from intraday price movement.
"Overnight" — plots only OBV from overnight price movement.
"Aggregate" — plots the sum of intraday and overnight OBV for a holistic view.
"Both Intraday and Overnight" — plots intraday and overnight OBV separately on the same chart.
📐 Inputs
1) Synthetic OBV Type:
"Intraday" — Show OBV from open to close only.
"Overnight" — Show OBV from prior close to today's open only.
"Aggregate" — Show a single line combining both.
"Both Intraday and Overnight" — Show both lines on the same chart.
2) Estimated Overnight Volume %:
Percentage of total daily volume assumed to occur during extended hours.
The rest is allocated to regular session (intraday).
Default: 20% overnight, 80% intraday.
🧮 How It Works
Volume Splitting:
Total bar volume is split into overnight Volume and intraday Volume:
Intraday change is the difference between today’s close and open.
Overnight change is the difference between today’s open and yesterday’s close.
Session OBV Calculations:
OBV is incremented/decremented by the session's allocated volume, depending on whether the session’s price change was positive or negative.
Aggregate OBV:
Combines both session deltas for a holistic volume flow view.
📊 Interpretation
Rising OBV (any stream) suggests accumulation; falling OBV suggests distribution.
Divergences between price and OBV lines (especially overnight vs. intraday) can reveal where hidden buying/selling is occurring.
Comparing intraday vs overnight OBV can help:
Spot whether institutional demand is building off-hours.
Detect retail vs. institutional behavior (retail trades often dominate intraday; institutional may prefer after-hours).
💡 Use Cases
Identify whether overnight gaps are supported by overnight volume momentum.
Detect accumulation in low-volume overnight sessions.
Compare intraday and overnight strength during earnings season or news events.
Complement traditional OBV by seeing session-based breakdowns.
Turtle Trading System + ATRTurtle Trading System + ATR
This Pine Script v5 indicator implements a Turtle Trading System with ATR integration.
It plots a 20-day high (red), 20-day low (blue), and an ATR-based level (orange) shifted upward by a user-defined percentage (default 5%).
Customizable inputs include lookback period (default 20), ATR period (default 14), and ATR offset.
Dynamic labels show the 20-day high, low, and ATR values at the current bar, updating with price.
Suitable for trend-following strategies, it highlights breakout and volatility levels.
Crypto Breadth | AlphaNatt\ Crypto Breadth | AlphaNatt\
A dynamic, visually modern market breadth indicator designed to track the strength of the top 40 cryptocurrencies by measuring how many are trading above their respective 50-day moving averages. Built with precision, branding consistency, and UI enhancements for fast interpretation.
\ 📊 What This Script Does\
* Aggregates the performance of \ 40 major cryptocurrencies\ on Binance
* Calculates a \ breadth score (0.00–1.00)\ based on how many tokens are above their moving averages
* Smooths the breadth with optional averaging
* Displays the result as a \ dynamic, color-coded line\ with aesthetic glow and gradient fill
* Provides automatic \ background zones\ for extreme bullish/bearish conditions
* Includes \ alerts\ for key threshold crossovers
* Highlights current values in an \ information panel\
\ 🧠 How It Works\
* Pulls real-time `close` prices for 40 coins (e.g., XRP, BNB, SOL, DOGE, PEPE, RENDER, etc.)
* Compares each coin's price to its 50-day SMA (adjustable)
* Assigns a binary score:
• 1 if the coin is above its MA
• 0 if it’s below
* Aggregates all results and divides by 40 to produce a normalized \ breadth percentage\
\ 🎨 Visual Design Features\
* Smooth blue-to-pink \ color gradient\ matching the AlphaNatt brand
* Soft \ glow effects\ on the main line for enhanced legibility
* Beautiful \ multi-stop fill gradient\ with 16 transition zones
* Optional \ background shading\ when extreme sentiment is detected:
• Bullish zone if breadth > 80%
• Bearish zone if breadth < 20%
\ ⚙️ User Inputs\
* \ Moving Average Length\ – Number of periods to calculate each coin’s SMA
* \ Smoothing Length\ – Smooths the final breadth value
* \ Show Background Zones\ – Toggle extreme sentiment overlays
* \ Show Gradient Fill\ – Toggle the modern multicolor area fill
\ 🛠️ Utility Table (Top Right)\
* Displays live breadth percentage
* Shows how many coins (e.g., 27/40) are currently above their MA
\ 🔔 Alerts Included\
* \ Breadth crosses above 50%\ → Bullish signal
* \ Breadth crosses below 50%\ → Bearish signal
* \ Breadth > 80%\ → Strong bullish trend
* \ Breadth < 20%\ → Strong bearish trend
\ 📈 Best Used For\
* Gauging overall market strength or weakness
* Timing trend transitions in the crypto market
* Confirming trend-based strategies with broad market support
* Visual dashboard in macro dashboards or strategy overlays
\ ✅ Designed For\
* Swing traders
* Quantitative investors
* Market structure analysts
* Anyone seeking a macro view of crypto performance
Note: Not financial advise
Market Breadth TableDisplay overall market condition, can select different trading market NYSE or NASDAQ, if declining stock number is more than advancing same day is not good for heavy traded long position
You can adjust the table position in the chart as well
Universal Trade Levels & Signal Classifierscript has been enhanced and generalized for all instruments — not just ES or SPX.
You now get the following classifications:
💎 Perfect Trade – trend confirmed, strong signal, ATR + VWAP + volume aligned
🚀 Sure Shot Trade – very high volume + ATR breakout + directional bias
⚡ Quick Call/Put – fast actionable setups
❌ No Trade – avoid/no confirmation
The logic works across any timeframe and any ticker.
You can now test this live on any instrument in TradingView. Let me know if you’d like to add things like:
Multi-timeframe confirmation
Re-entry logic
Heatmap table of confidence levels
Signal filtering based on RSI, OBV, etc.
EMA Slope FilterEMA SLOPE FILTER....50EMA....You’ll see a line oscillating around zero; when it’s within ±0.1, treat the market as “flat.”
Smart Volatility Squeeze + Trend Filter
Smart Volatility Squeeze + Trend Filter
This advanced indicator detects low-volatility squeeze conditions and plots breakout signals, helping you spot strong price moves before they happen.
How it works
This script combines Bollinger Bands (BB) and the Keltner Channel (KC) — two popular volatility tools — to identify squeeze setups:
A squeeze occurs when the Bollinger Bands contract and move completely inside the Keltner Channel. This means the market is quiet and volatility is low — often right before a significant breakout.
When the squeeze condition is active, the background highlights the chart area with a soft color that gradually intensifies the longer the squeeze lasts. This gives a clear visual cue that pressure is building.
A breakout signal triggers when price crosses above the upper Bollinger Band (bullish) or below the lower Bollinger Band (bearish) — confirming that the squeeze has ended and a new impulse is likely starting.
To reduce false breakouts, you can enable the built-in trend filter. By default, it uses a simple EMA: breakouts are confirmed only if the price action aligns with the overall trend direction.
Key features
🔹 Bollinger Bands + Keltner Channel squeeze detection
🔹 Automatic squeeze marker and background shading
🔹 Breakout arrows for up and down signals
🔹 Optional trend filter with adjustable EMA length
🔹 Works on any market: crypto, stocks, forex, indices
🔹 Fully adjustable inputs for BB, KC and trend filter
🔹 Built-in ready-to-use alerts for breakouts
How to use
Watch for areas where the squeeze condition appears — the background will highlight them.
Wait for a breakout arrow to appear outside the bands.
Use the trend filter to focus only on breakouts in the dominant trend direction.
Combine with your existing risk management and confirmation tools.
Inputs
BB Length & StdDev: Control the Bollinger Bands settings.
KC EMA Length & ATR Multiplier: Control the Keltner Channel width.
Trend Filter Length: Adjust how smooth or sensitive the trend filter is.
Use Trend Filter: Enable or disable confirmation by trend direction.
Disclaimer
⚠️ This script is for educational purposes only and does not constitute financial advice. Always test any strategy thoroughly and trade at your own risk.
3% Price RangeThe simplest way to track a 3% range is to calculate it directly:
Upper Limit: Current Spot Price * 1.03
Lower Limit: Current Spot Price * 0.97