ค้นหาในสคริปต์สำหรับ "BTC"
PT Feeder - Market Trends Top 10 / BTC Moves Becasue nobody was kind enough to post some PT Feeder scripts and i knew i could just modify my trends / btc script that i originally created for PT Magic. Well i just did it.
What is this script for ? PT Feeder it allows you to better imagine what kind of values you should be expecting when setting the Market Trends and BTC moves.
Green are top 10 Markets:
"MaxTopCoinLongTermAverageChange": "-3"
"MinBaseCoinPriceChange": "3",
Blue is BTC:
"MinBaseCoinLongTermPriceChange": "-3"
"MaxBaseCoinPriceChange": "3",
Why only 10 markets well becasue tradingview is very limited but it is still better than nothing.
If you like agree and follow !
PT Magic - BTC/ETH Trigger Trend ChangesThis Script shows you how BTC/ETH Percentage change in trends affect coins you trade.
- For ETH market please change BTC in Setting for ETH
What you need it PT Magic:
{
"Name": "BTC1h", // UNIQUE market trend name (to be referenced by your triggers below)
"Platform": "CoinMarketCap", // Platform to grab prices from (Allowed values are: CoinMarketCap, Exchange)
"MaxMarkets": 1, // Number of markets/pairs to analyze sorted by 24h volume
"TrendMinutes": 60 // Number of minutes to build a trend (1440 = 24h, 720 = 12h, 60 = 1h)
},
{
"Name": "ETH1h", // UNIQUE market trend name (to be referenced by your triggers below)
"Platform": "CoinMarketCap", // Platform to grab prices from (Allowed values are: CoinMarketCap, Exchange)
"MaxMarkets": 2, // Number of markets/pairs to analyze sorted by 24h volume
"IgnoredMarkets": "BTC",
"TrendMinutes": 60 // Number of minutes to build a trend (1440 = 24h, 720 = 12h, 60 = 1h)
},
[NG] Territory - BTC - v1This indicator marks the territory for BTC growth
- when the indicator is in positive region (above zero-line) - it means, that BTC is expected to grow.
- when the indicator is in negative regision (below zero-line) - it means, that BTC price may decline.
This Indicator offers several options, and can be used for:
- spotting long term trades
- spotting intraday/short term trades (set MA Diff to 'on')
- trend indication via bar colors or background colors
- several ma types for the indicator in-built
- smooth out indicator plot, etc.
Here is another version of this indicator:
LTC/BTC USD Price by stecAdd indicator to LTC/BTC charts.
Will show the current exchanges LTC/USD price in white and the LTC/BTC converted rate in green/red.
Allows you to see if the LTC/BTC levels are higher or lower then the LTC/USD prices and may allow for a better entry or exit.
Circle indicators above and below in red/green are flags that show if the price has exceeded a predetermined amount and can be changed.
NeuroSwarm BTC — Crowd vs Experts Forecast TrackerEnglish:
NeuroSwarm — Crowd vs Experts Forecast Tracker (BTC)
This indicator visualizes monthly forecasts collected from two independent groups:
Crowd – a large sample of retail traders
Experts – a smaller, curated group of analysts and experienced market participants
For each month, the following values are displayed as horizontal levels on the chart:
Median forecast of the Crowd
Average forecast of the Crowd
Median forecast of Experts
Average forecast of Experts
Shaded zones showing the range between median and mean
The values remain fixed throughout each month. This allows traders to compare sentiment dynamics between groups and see how expectations evolve relative to actual market movement.
Purpose:
This indicator is designed for sentiment analysis — NOT for generating trading signals.
It helps identify divergences between retail expectations and expert forecasts, which can be informative during trend transitions.
Data source:
All values come from monthly surveys conducted within the NeuroSwarm project (1–5 of every month).
Crowd and Expert groups are collected separately to avoid bias and to preserve independent aggregation.
Interface language note:
The indicator’s interface may contain non-English labels for ease of use, but full English documentation is provided here in compliance with TradingView House Rules.
Русская версия (optional, allowed only AFTER English):
NeuroSwarm — Мудрость Толпы vs Эксперты (BTC)
Индикатор показывает ежемесячные прогнозы двух групп:
Толпа: медиана и средняя прогнозов
Эксперты: медиана и средняя прогнозов
Значения фиксируются на весь месяц и отображаются на графике горизонтальными уровнями.
Заливка показывает диапазон между медианой и средней.
Цель индикатора — визуализировать настроение толпы и экспертов и сравнить его с реальным движением цены.
Это аналитический инструмент, а не торговая стратегия.
Данные берутся из ежемесячных опросов (1–5 числа), проводимых в рамках проекта NeuroSwarm.
RoseTree BTC Macro LiquidityThis indicator identies good entry and exit points for Bitcoin by comparing its market cap to the total global M2 money supply, while also factoring in macroeconomic trends.
Why It's Unique
- Combines macro liquidity (M2) with BTC valuation.
- Not price-based — more about where BTC stands in the bigger economic picture.
- Useful for long-term, macro-aware investors looking for timing signals aligned with monetary expansion.
✅ Buy Signal (Green Triangle Below Bar)
M2 is expanding (liquidity increasing), AND
Bitcoin is undervalued compared to its historical relationship to M2
→ Suggests potential upside, triggers a green triangle below the bar.
❌ Sell Signal (Red Triangle Above Bar)
Bitcoin is significantly above its historical average share of M2
→ Suggests overvaluation or a short-term top, triggers a red triangle above the bar.
What is Global M2 Money Supply? (GLM2)
M2 is a measure of money supply, including cash, checking deposits, and easily convertible near money.
This indicator manually aggregates M2 values from numerous countries and converts them into USD equivalents using exchange rates.
The countries include the US, EU, UK, China, India, Japan, Brazil, and many others — totaling over 20.
This tells you how large Bitcoin is relative to the global money supply, giving a sense of its macroeconomic footprint or potential room to grow.
[NBK] Cover Buy Sell for BTC Cover Buy Sell for BTC— Engulfing Reversals with EMA/ATR Trend & Quality Filters
{Update for BTC}
What it does
This indicator flags high-quality bullish/bearish reversal candles only when they align with a short-term trend and pass several objective quality filters. It is not a simple mashup: each component serves a distinct role and they work together to keep early/low-quality signals out.
How it works (components & interaction)
Pattern engine (entry candidates)
Bullish side (Cover Buy):
Body Engulf: current green body fully covers the prior red body, or
Piercing (relaxed): prior red → current green closes above the prior body’s midpoint (not beyond prior open).
Bearish side (Cover Sell):
Full-candle Engulf: current red candle (body + wicks) covers the entire prior candle, or
Body Engulf: current red body fully covers the prior body, or
Dark-Cloud (relaxed): prior green → current red closes below the prior body’s midpoint.
Short-term trend gate (non-repainting)
Trend is defined by the EMA slope between bar-1 and bar-2, scaled by ATR to require minimum strength.
Slope < 0 → only bullish candidates pass. Slope > 0 → only bearish candidates pass.
Body-size filter (noise control)
Rejects tiny candles: each body is compared with the lookback average body size.
For bearish candidates an additional ratio check requires current body ≥ a fraction of the prior body (to avoid weak top-ticks).
Peak filters for bearish signals (late, cleaner tops)
Distance above EMA: the high must be at least X × ATR above EMA (avoids mid-range noise).
Near local high: the high of the current bar (or bar-1) must be close to the highest high in a recent window.
Break confirmation: close must break low by at least Y × ATR (filters shallow dark-clouds).
Only when a candidate satisfies the pattern ➝ trend ➝ size ➝ peak sequence is a signal printed/alerted.
Inputs (key parameters)
EMA length, Min EMA slope vs ATR, ATR length: trend strength.
Lookback for average body, Min body vs average, Bear body ratio: body-quality filters.
High distance above EMA (×ATR), Local high lookback, Tolerance to local high (×ATR), Min break of low (×ATR): bearish peak confirmation.
Alerts
Built-in alerts fire on bar close for both Cover Buy and Cover Sell.
How to use
Increase High distance above EMA / Local high lookback / Min break of low to reduce early Cover Sell in ranges.
If you miss good tops, ease those thresholds slightly.
Works across symbols/timeframes; evaluated on bar close; no repaint from the trend gate.
Notes
This tool is a signal screener, not financial advice. For best results, combine with your structure/SR zones, risk management, and execution rules.
13 thg 10
Phát hành các Ghi chú
Cover Buy Sell — Engulfing Reversals with EMA/ATR Trend & Quality/Peak Filters
What this script does
Flags high-quality bullish/bearish engulfing reversals only when short-term trend and price-action quality conditions are met. Signals evaluate on bar close. No promotions, no links, no external calls.
Why this is an original combination (mashup justification)
Raw engulfing patterns are noisy in ranges. This script is a pipeline where each module solves a specific failure mode, not a simple merge of indicators:
Pattern engine (candidates):
Bullish (Cover Buy): body-engulf of prior red body, or relaxed Piercing (close above prior body midpoint, not beyond prior open).
Bearish (Cover Sell): full-candle engulf (body+wicks), body-engulf, or relaxed Dark-Cloud (close below prior body midpoint).
Short-term trend gate (non-repainting):
EMA slope is measured between bar-1 and bar-2 and must exceed an ATR-scaled threshold (slopeAtrPct).
Slope < 0 → only bullish candidates pass.
Slope > 0 → only bearish candidates pass.
Body-size filter (noise control):
Bodies must not be tiny vs the average over lenBodyRef. For bearish candidates, an alternate check allows current body ≥ bearRatioMin × prior body to keep decisive tops.
Bearish peak filters (late, cleaner tops):
High must be far above EMA (≥ emaDistAtrMin × ATR), near the local high (current or prior bar within nearHighLen & nearHighTol × ATR), and the close must break prior low by ≥ breakAtrMin × ATR.
These remove premature Cover Sell flags in chop and keep the later, higher-quality reversal.
Only candidates that pass Pattern → Trend → Size → Peak become signals. This staged design is the core originality.
How to use (practical guidance)
To reduce early Cover Sell in ranges: raise emaDistAtrMin, raise nearHighLen, and/or raise breakAtrMin.
If you miss clean tops: slightly lower those thresholds.
Typical starting points: lenTrend=4–6, slopeAtrPct=0.03–0.06, atrLen=14; adjust to instrument/TF volatility.
Combine with structure/SR zones and your risk rules. This tool is for analysis only and is not investment advice.
Alerts
Two alert conditions are included: Cover Buy and Cover Sell, both evaluated on bar close.
Non-repainting note
The trend gate uses confirmed data (EMA slope from bar-1 vs bar-2). Pattern and filters also use confirmed values; no forward-looking references.
English translations of UI strings (if your on-chart UI uses another language)
“Strict engulf (không cho bằng nhau)” → Strict engulf (no equality)
“EMA length (trend ngắn hạn)” → EMA length (short-term trend)
“Lookback tính thân trung bình” → Lookback for average body size
“Ngưỡng thân tối thiểu vs trung bình” → Min body vs average (ratio)
“Bear: thân hiện tại ≥ rRatio * thân trước” → Bear: current body ≥ rRatio × prior body
“Bear: HIGH cách EMA tối thiểu (x ATR)” → Bear: HIGH distance above EMA (× ATR) min
“Bear: cửa sổ đỉnh cục bộ (bars)” → Bear: local high lookback (bars)
“Bear: dung sai tới đỉnh (x ATR)” → Bear: tolerance to local high (× ATR)
“Bear: mức phá LOW tối thiểu (x ATR)” → Bear: min break of LOW (× ATR)
Compliance notes
English-only title, English appears first in this description; no ads, logos, links, or solicitations.
This is an original, closed-source script with a meaningful explanation of what, how, why, and how to use.
(Vietnamese short summary)
Chỉ báo bắt tín hiệu engulfing chất lượng cao khi có xu hướng EMA ngắn hạn (đo bằng độ dốc/ATR) và vượt qua lọc kích thước thân + điều kiện đỉnh cho tín hiệu bán. Chuỗi xử lý Mẫu → Xu hướng → Kích thước → Đỉnh giúp loại tín hiệu sớm trong vùng đi ngang. Có alert Cover Buy/Sell, đánh giá theo bar close, không quảng cáo/đường link, và không phải khuyến nghị đầu tư.
Rg btc levels Rg BTC Levels – Advanced Gann Rotation Levels
The Rg BTC Levels indicator is a refined implementation of W.D. Gann’s square of price and degree rotation principles, built to dynamically calculate and visualize Gann-based price levels for Bitcoin (or any instrument).
This tool lets traders explore how price reacts to mathematically significant degree levels (360°, 720°, 1080°, 1440°) — both above and below a central pivot — helping identify support, resistance, and rotation-based reversal zones.
⚙️ Key Features
✅ Dynamic Pivot Selection:
Automatically updates pivot levels based on your chosen resolution (1m to Monthly) or lets you manually set a base price.
✅ Rotation Control:
Adjust “Rotations” to raise or lower pivots by 1440° steps — perfect for aligning the grid with current price structure or higher Gann cycles.
✅ Flexible Price Source:
Choose from open, high, low, close, hlc3, ohlc4, etc. for precise level calculation.
✅ Resolution-Based Pivots:
Use any timeframe as the base resolution — from intraday to multi-month charts — to explore how major swings relate across time scales.
✅ Custom Multiplier:
Adaptable for different markets —
• 1.0 for prices between 1–999
• 10.0 for assets priced above 1000
• 0.001 for Forex or crypto pairs
✅ Automatic Base Price Memory:
Remembers and locks the last valid pivot price until the next rotation or resolution change — ensuring level stability.
✅ Visual Clarity:
Each degree level (±360°, ±720°, ±1080°, ±1440°) is distinctly color-coded for quick chart reading.
📊 How It Works
The indicator takes a pivot price (either manually set or dynamically derived from the previous period’s selected resolution).
It computes the square root of that price, adjusts it by any user-defined rotation offset, and then projects Gann angle levels by squaring the incremented/decremented root values.
These squared values represent key harmonic levels where price often pauses, reverses, or accelerates — a mathematical map of potential turning points.
🔍 Practical Use Cases
Identify support and resistance zones based on geometric price relationships.
Study rotation alignments between timeframes (e.g., weekly pivots influencing daily levels).
Combine with trend, volume, or cycle analysis to confirm turning zones.
Experiment with rotations and multipliers to visualize Gann’s “price-time square” across different markets.
⚠️ Note
This indicator is not a buy/sell signal tool.
It is designed for analytical and educational purposes, providing a geometric and cyclical framework for traders exploring Gann methodologies.
✨ Ideal For
Gann traders and price cycle researchers
Crypto and commodity analysts
Technical analysts seeking structure beyond conventional support/resistance
Traders experimenting with square root and geometric price harmonics
📘 Recommended Reading
If you wish to go deeper into these concepts:
📗 How to Make Profits in Commodities – W.D. Gann
📗 45 Years in Wall Street – W.D. Gann
📗 The Square of Nine Explained – C.J. Smiley
Developed by: ravi_matrix
Type: Educational / Analytical
Best Used On: BTCUSD or any instrument with sufficient price history
MARA + IREN / BTC Divergence Monitor (v6, fixed)This indicator tracks the relative performance of two major Bitcoin miners — MARA (Marathon Digital Holdings) and IREN (Irene Energy) against Bitcoin (BTC). It calculates smoothed ratios (Miner Price ÷ BTC Price) for each miner and automatically detects divergences and convergences between them.
Ant_JJun 5분봉 데이 트레이딩 지표[체험판]Ant_JJun — 5분봉 단기 규칙 기반 데이 트레이딩 프레임워크
(Ichimoku 구조 + 거래량 논리 기반)
이 지표는 BTC 5분봉 환경에서의 단기 트레이딩 의사결정을 돕기 위해 설계되었습니다.
목표는 진입 신호의 빈도를 늘리는 것이 아니라, 추세 구간과 비추세 구간을 구별하여 불필요한 노출을 줄이는 것에 있습니다.
많은 보조지표는 가격이 이미 움직인 뒤에만 유효하게 작동합니다.
이 시스템은 반대로, 방향성이 형성되기 전의 횡보 구간에서 자본 손실을 억제하는 것을 우선합니다. 이를 위해 일목 구조(선행스팬 기반)로 환경을 분류하고, 거래량 비대칭과 캔들 성향을 추가 필터로 사용합니다.
핵심 작동 개념
• 선행스팬 기반 구조 판별로 추세/중립 환경을 분리
• 구조 + 거래량 + 캔들조건이 모두 정렬될 때만 방향 라벨 출력
• 정렬되지 않을 경우 진입 강제가 아닌 ‘대기’ 상태 유지
• 리페인트 없음 / 사후 라벨 생성 없음 / 실시간 판정
사용 환경
• 5분봉 단기 매매
• 데이터 발표 등 변동성 이벤트 인접 구간 관찰 목적
• 자동매매가 아닌 규칙 기반 의사결정 필터링용
이 스크립트는 독자적 방식이 포함되어 있어 공개 배포되지 않습니다.
Ant_JJun — 5-Minute Rule-Based Day-Trading Framework
(Ichimoku structure + volume logic)
This indicator is designed to support short-term decision-making on the BTC 5-minute chart.
Its goal is not to increase signal frequency, but to reduce unnecessary exposure by distinguishing trending from non-trending conditions.
Most indicators only function effectively after price has already moved.
This framework prioritizes capital protection during pre-move consolidation.
It classifies market context using Ichimoku leading spans, and adds volume imbalance and candle behavior as additional filters.
Core operating logic
• Leading-span structure to classify trend vs. neutral zones
• Directional labels only when structure + volume + candle conditions align
• When alignment is absent, the system remains in a waiting state rather than forcing entries
• No repainting / no post-hoc labels / real-time evaluation only
Intended environment
• 5-minute intraday trading
• Particularly around volatility events such as economic data releases
• Used as a rule-based decision filter rather than an automation engine
This script is not publicly distributed due to proprietary methodology.
Crypto ETFs AUM📘 Description: BTC ETFs AUM Tracker
This indicator tracks the Assets Under Management (AUM) and daily inflows/outflows of the main U.S.-listed Bitcoin ETFs, allowing you to visualize institutional capital movement into Bitcoin products over time. It helps traders correlate institutional capital movement with Bitcoin price behavior.
🧩 Overview
The script adds up the daily AUM changes from selected Bitcoin ETFs to estimate the total net inflow/outflow of capital into spot BTC funds. It also accumulates those flows over time to display the total aggregated AUM balance, giving you a clearer sense of market direction and institutional sentiment. Two display modes are available: Balance view: plots the cumulative sum of net inflows (total ETF AUM). Inflows view: shows daily inflows (green) and outflows (red) as histogram columns, together with a smoothed moving average line.
⚙️ Inputs
Explained Base Settings Base Multiplier (base_multi) – Scaling factor applied to all AUM values. Leave at 1 for USD units, or adjust to display values in millions (1e6) or billions (1e9). Smoothing (c_smoothing) – Period length for the simple moving average used to calculate the smoothed mean inflow/outflow line. Show Balance (showBalance) – When enabled, displays the total cumulative AUM balance (sum of all net inflows over time). Show Inflows (showInflows) – When enabled, displays the daily inflows/outflows as colored columns. ETF Selection You can toggle which ETFs are included in the calculation:
BIT (BlackRock)
GBTC (Grayscale)
FBTC (Fidelity)
ARKB (ARK/21Shares)
BITB (Bitwise)
EZBC (Franklin Templeton)
BTCW (WisdomTree)
BTCO (Invesco Galaxy)
BRRR (Valkyrie)
HODL (VanEck)
Each switch determines whether the ETF’s AUM and daily flow data are included in the total calculation.
📊 Displayed Values Green Columns → Positive daily net inflows (AUM increased). Red Columns → Negative daily net outflows (AUM decreased). Orange Line → Smoothed moving average of net flows, used to identify persistent inflow/outflow trends. Blue Line (if enabled) → Total cumulative AUM balance (sum of all historical flows).
💡 Usage Notes Works best on daily timeframe, since ETF data is typically updated once per trading day. Not all ETFs have identical data history; missing data points are automatically skipped. The indicator doesn’t represent official fund NAV or guarantee data accuracy — it visualizes TradingView’s public financial feed. You can combine this tool with price action or on-chain metrics to analyze institutional Bitcoin flows.
Note: Some ETF data may not be available to all users depending on their TradingView data subscription or market access. Missing values are automatically skipped.
🧠 Disclaimer This script is for educational and analytical purposes only. It is not financial advice, and no investment decisions should be based solely on this indicator. Data accuracy depends on TradingView’s financial data sources and exchange reporting frequency.
Debt Refinance Cycle + Liquidity vs BTC (Wk) — Overlay Part 1Debt Refi Cycle - Overlay script (BTC + Liquidity + DRCI/Z normalized to BTC range)
(VIX Spread-BTC Cycle Timing Strategy)A multi-asset cycle timing strategy that constructs a 0-100 oscillator using the absolute 10Y-2Y U.S. Treasury yield spread multiplied by the inverse of VIX squared. It integrates BTC’s deviation from its 100-day MA and 10Y Treasury’s MA position as dual filters, with clear entry rules: enter bond markets when the oscillator exceeds 80 (hiking cycles) and enter BTC when it drops below 20 (easing cycles).
MO and Stoch BTC/Altcoin H4 V.s.1 – Kim TradingMO and Stoch BTC/Altcoin H4 V.s.1 – Kim Trading
Market: BTCUSD + major USDT altcoins (e.g., ETH, SOL, …) • Timeframe: H4 (4h)
Signal tiers.
B/S (basic), B1★/S1★ (MO + Stoch RSI), B2★/S2★ (with-trend filter), B3★/S3★ (plus divergence).
Trade only when one of the four labels appears. Consider DCA with the prevailing trend and add other confluences (levels, candles, volume, timing) for optimal setups.
Notes. Use Alerts → Once Per Bar Close. Educational tool, not financial advice. Source code Protected.
Author: Kim Trading • Version: V1 • Date: 2025-08-25
#BTC #Bitcoin #Altcoins #Crypto #H4 #MO #Stoch #KimTrading
Mongoose Capital: BTC ETF DriftScope ProMongoose Capital: BTC ETF DriftScope Pro
A proprietary indicator for monitoring drift between Bitcoin Spot (BTCUSD) and Bitcoin Spot ETFs (such as IBIT). Designed to detect ETF premium/discount zones and generate actionable Fade or Long bias signals.
What it Does
Tracks IBIT and BTCUSD spread to highlight ETF price deviations.
Calculates correlation Z-Score for ETF/Spot alignment.
Outputs numeric bias signals: Fade (1), Long (1), Neutral (1).
How to Use
Apply to a BTCUSD chart (4H, 1D, or higher recommended).
Open the Data Window to view:
IBIT Spread %
Correlation Z-Score
Correlation %
Bias Flags (Fade, Long, Neutral)
Configure alerts for Fade and Long Bias conditions.
Confirm all signals with your trade plan and risk management.
Methodology
This tool calculates the percentage spread between IBIT and BTC Spot. A rolling Z-Score of the correlation is used to detect periods of significant divergence.
Fade Bias suggests potential short setups in premium zones with high Z-Scores.
Long Bias suggests potential long setups in discount zones with low Z-Scores.
Disclaimer
This indicator is for educational purposes only. It is not financial advice. Use at your own risk and verify signals independently.
Luma DCA Simulator (BTC only)Luma DCA Simulator – Guide
What is the Luma DCA Simulator?
The Luma DCA Tracker shows how regular Bitcoin investments (Dollar Cost Averaging) would have developed over a freely selectable period – directly in the chart, transparent and easy to follow.
Settings Overview
1. Investment amount per interval
Specifies how much capital is invested at each purchase (e.g. 100).
2. Start date
Defines the point in time from which the simulation begins – e.g. 01.01.2020.
3. Investment interval
Determines how frequently investments are made:
– Daily
– Weekly
– Every 14 days
– Monthly
4. Language
Switches the info box display between English and German.
5. Show investment data (optional)
If activated, the chart will display additional values such as total invested capital, BTC amount, current value, and profit/loss.
What the Chart Displays
Entry points: Each DCA purchase is marked as a point in the price chart.
Average entry price: An orange line visualizes the evolving DCA average.
Info box (bottom left) with a live summary of:
– Total invested capital
– Total BTC acquired
– Average entry price
– Current portfolio value
– Profit/loss in absolute terms and percentage
Note on Accuracy
This simulation is for illustrative purposes only.
Spreads, slippage, fees, and tax effects are not included.
Actual results may vary.
Technical Note
For daily or weekly intervals, the chart timeframe should be set to 1 day or lower to ensure all purchases are accurately included.
Larger timeframes (e.g. weekly or monthly charts) may result in missed investments.
Currency Handling
All calculations are based on the selected chart symbol (e.g. BTCUSD, BTCEUR, BTCUSDT).
The displayed currency is automatically determined by the chart used.
Luma DCA Tracker (BTC)Luma DCA Tracker (BTC) – User Guide
Function
This indicator simulates a regular Bitcoin investment strategy (Dollar Cost Averaging). It calculates and visualizes:
Accumulated BTC amount
Average entry price
Total amount invested
Current portfolio value
Profit/loss in absolute and percentage terms
Settings
Investment per interval
Fixed amount to be invested at each interval (e.g., 100 USD)
Start date
The date when DCA simulation begins
Investment interval
Choose between:
daily, weekly, every 14 days, or monthly
Show investment data
Displays additional chart lines (total invested, value, profit, etc.)
Chart Elements
Orange line: Average DCA entry price
Grey dots: Entry points based on selected interval
Info box (bottom left): Live summary of all key values
Notes
Purchases are simulated at the closing price of each interval
No fees, slippage, or taxes are included
The indicator is a simulation only and not linked to an actual portfolio
Crypto Portfolio vs BTC – Custom Blend TrackerThis tool tracks the performance of a custom-weighted crypto portfolio (SUI, BTC, SOL, DEEP, DOGE, LOFI, and Other) against BTC. Simply input your start date to anchor performance and compare your basket’s relative strength over time. Ideal for portfolio benchmarking, alt-season tracking, or macro trend validation.
Supports all timeframes. Based on BTC-relative returns (not USD). Open-source and customizable.
Spent Output Profit Ratio Z-Score | Vistula LabsOverview
The Spent Output Profit Ratio (SOPR) Z-Score indicator is a sophisticated tool designed by Vistula Labs to help cryptocurrency traders analyze market sentiment and identify potential trend reversals. It leverages on-chain data from Glassnode to calculate the Spent Output Profit Ratio (SOPR) for Bitcoin and Ethereum, transforming this metric into a Z-Score for easy interpretation.
What is SOPR?
Spent Output Profit Ratio (SOPR) measures the profit ratio of spent outputs (transactions) on the blockchain:
SOPR > 1: Indicates that, on average, coins are being sold at a profit.
SOPR < 1: Suggests that coins are being sold at a loss.
SOPR = 1: Break-even point, often seen as a key psychological level.
SOPR provides insights into holder behavior—whether they are locking in profits or cutting losses—making it a valuable gauge of market sentiment.
How It Works
The indicator applies a Z-Score to the SOPR data to normalize it relative to its historical behavior:
Z-Score = (Smoothed SOPR - Moving Average of Smoothed SOPR) / Standard Deviation of Smoothed SOPR
Smoothed SOPR: A moving average (e.g., WMA) of SOPR over a short period (default: 30 bars) to reduce noise.
Moving Average of Smoothed SOPR: A longer moving average (default: 180 bars) of the smoothed SOPR.
Standard Deviation: Calculated over a lookback period (default: 200 bars).
This Z-Score highlights how extreme the current SOPR is compared to its historical norm, helping traders spot significant deviations.
Key Features
Data Source:
Selectable between BTC and ETH, using daily SOPR data from Glassnode.
Customization:
Moving Average Types: Choose from SMA, EMA, DEMA, RMA, WMA, or VWMA for both smoothing and main averages.
Lengths: Adjust the smoothing period (default: 30) and main moving average length (default: 180).
Z-Score Lookback: Default is 200 bars.
Thresholds: Set levels for long/short signals and overbought/oversold conditions.
Signals:
Long Signal: Triggered when Z-Score crosses above 1.02, suggesting potential upward momentum.
Short Signal: Triggered when Z-Score crosses below -0.66, indicating potential downward momentum.
Overbought/Oversold Conditions:
Overbought: Z-Score > 2.5, signaling potential overvaluation.
Oversold: Z-Score < -2.0, indicating potential undervaluation.
Visualizations:
Z-Score Plot: Teal for long signals, magenta for short signals.
Threshold Lines: Dashed for long/short, solid for overbought/oversold.
Candlestick Coloring: Matches signal colors.
Arrows: Green up-triangles for long entries, red down-triangles for short entries.
Background Colors: Magenta for overbought, teal for oversold.
Alerts:
Conditions for Long Opportunity, Short Opportunity, Overbought, and Oversold.
Usage Guide
Select Cryptocurrency: Choose BTC or ETH.
Adjust Moving Averages: Customize types and lengths for smoothing and main averages.
Set Thresholds: Define Z-Score levels for signals and extreme conditions.
Monitor Signals: Use color changes, arrows, and background highlights to identify opportunities.
Enable Alerts: Stay informed without constant chart watching.
Interpretation
High Z-Score (>1.02): SOPR is significantly above its historical mean, potentially indicating overvaluation or strong bullish momentum.
Low Z-Score (<-0.66): SOPR is below its mean, suggesting undervaluation or bearish momentum.
Extreme Conditions: Z-Scores above 2.5 or below -2.0 highlight overbought or oversold markets, often preceding reversals.
Conclusion
The SOPR Z-Score indicator combines on-chain data with statistical analysis to provide traders with a clear, actionable view of market sentiment. Its customizable settings, visual clarity, and alert system make it an essential tool for both novice and experienced traders seeking an edge in the cryptocurrency markets.
Supply In Profit Z-Score | Vistula LabsOverview
The Supply In Profit Z-Score indicator is a Pine Script™ tool developed by Vistula Labs for technical analysis of cryptocurrencies, specifically Bitcoin (BTC) and Ethereum (ETH). It utilizes on-chain data from IntoTheBlock to calculate the difference between the percentage of addresses in profit and those in loss, transforming this metric into a Z-Score. This indicator helps traders identify market sentiment, trend-following opportunities, and overbought or oversold conditions.
What is Supply In Profit?
Supply In Profit is defined as the net difference between the percentage of addresses in profit and those in loss:
Profit Percentage: The proportion of addresses where the current value of holdings exceeds the acquisition price.
Loss Percentage: The proportion of addresses where the current value is below the acquisition price.
A positive value indicates more addresses are in profit, suggesting bullish sentiment, while a negative value indicates widespread losses, hinting at bearish sentiment.
How It Works
The indicator computes a Z-Score to normalize the Supply In Profit data relative to its historical behavior:
Z-Score = (Current Supply In Profit - Moving Average of Supply In Profit) / Standard Deviation of Supply In Profit
Current Supply In Profit: The latest profit-minus-loss percentage.
Moving Average: A customizable average (e.g., EMA, SMA) over a default 180-bar period.
Standard Deviation: Calculated over a default 200-bar lookback period.
Key Features
Data Source:
Selectable between BTC and ETH, pulling daily profit/loss percentage data from IntoTheBlock.
Customization:
Moving Average Type: Options include SMA, EMA, DEMA, RMA, WMA, or VWMA (default: EMA).
Moving Average Length: Default is 180 bars.
Z-Score Lookback: Default is 200 bars.
Thresholds: Adjustable for long/short signals and overbought/oversold levels.
Signals:
Long Signal: Z-Score crosses above the Long Threshold (default: 1.0).
Short Signal: Z-Score crosses below the Short Threshold (default: -0.64).
Overbought/Oversold Conditions:
Overbought: Z-Score > 3.0.
Oversold: Z-Score < -2.0.
Visualizations:
Z-Score Plot: Teal for long signals, magenta for short signals.
Threshold Lines: Dashed lines for long/short, solid lines for overbought/oversold.
Candlestick Coloring: Matches signal colors (teal/magenta).
Arrows: Green up-triangles for long entries, red down-triangles for short entries.
Background Colors: Magenta for overbought, teal for oversold.
Alerts:
Conditions for Long Opportunity, Short Opportunity, Overbought, and Oversold.
Usage Guide
Trend Following
Long Entry: When Z-Score crosses above 1.0, indicating potential upward momentum.
Short Entry: When Z-Score crosses below -0.64, suggesting potential downward momentum.
Overbought/Oversold Analysis
Overbought (Z-Score > 3.0): Consider profit-taking or preparing for a reversal.
Oversold (Z-Score < -2.0): Look for buying opportunities or exiting shorts.
Timeframe
Uses daily IntoTheBlock data, ideal for medium to long-term analysis.
Interpretation
High Z-Score: Indicates Supply In Profit is significantly above its historical mean, potentially signaling overvaluation.
Low Z-Score: Suggests Supply In Profit is below its mean, indicating possible undervaluation.
Signals and thresholds help traders act on shifts in market sentiment or extreme conditions.
Conclusion
The Supply In Profit Z-Score indicator provides a robust, data-driven approach to analyzing cryptocurrency market trends and sentiment. By combining on-chain metrics with statistical normalization, it empowers traders to make informed decisions based on historical context and current market dynamics.
Aggregation BTC CVDThe script calculates the Cumulative Volume Delta (CVD) for multiple cryptocurrency exchanges, then averages these values and plots them.
Indicator Setup:
The script sets up an indicator called "BTC Cumulative Volume Delta (CVD) for multiple cryptocurrency exchanges", displayed as a separate panel (not overlaid on the price chart) with volume format.
Getting 1-minute data from multiple exchanges:
It retrieves 1-minute data (buy and sell volumes) for Bitcoin (BTC) against USD or USDT from several exchanges: Binance, OKEx, Coinbase (both BTCUSDT and BTCUSD), Bitfinex, Bybit, Huobi, and Kraken.
Calculating total buying and selling volume for each exchange:
For each exchange, it calculates the total buying volume (buy_vol_...), selling volume (sell_vol_...), and the difference between them (delta_vol_...).
It then computes the cumulative delta volume (cum_delta_vol_...), which is a running total of delta_vol_....
Calculating the average CVD:
It calculates the average cumulative delta volume (average_cum_delta_vol) by summing the cumulative delta volumes from all exchanges and dividing by the number of exchanges.
Plotting the average CVD:
Finally, it plots the average CVD with white color, and a line width of 2.
This script essentially provides an averaged Cumulative Volume Delta across multiple exchanges, giving a comprehensive view of buying and selling pressure in the Bitcoin market across these platforms.
COIN/BTC Volume-Weighted DivergenceThe COIN/BTC Volume-Weighted Divergence indicator identifies buy and sell signals by analyzing deviations between Coinbase and Bitcoin prices relative to their respective VWAPs (Volume-Weighted Average Price). This method isolates points of potential trend reversals, overextensions, or relative mispricing based on volume-adjusted price benchmarks.
The indicator leverages Coinbase’s high beta relative to Bitcoin in bull markets. A buy signal occurs when Coinbase is below VWAP (indicating undervaluation) while Bitcoin is above VWAP (signaling strong broader momentum). A sell signal is generated when Coinbase trades above VWAP (indicating overvaluation) while Bitcoin moves below VWAP (indicating weakening momentum).
This divergence logic enables traders to identify misalignment between Bitcoin-driven market trends and Coinbase’s price behavior. The indicator effectively identifies undervalued entry points and signals exits before speculative extensions are correct. It provides a systematic approach to trading during trending conditions, aligning decisions with volume-weighted price dynamics and inter-asset relationships.
How It Works
1. VWAP:
“fair value” benchmark combining price and volume.
• Above VWAP: Bullish momentum.
• Below VWAP: Bearish momentum.
2. Divergence:
• Coinbase Divergence: close - coin_vwap (distance from COIN’s VWAP).
• Bitcoin Divergence: btc_price - btc_vwap (distance from BTC’s VWAP).
3. Signals:
• Buy: Coinbase is below VWAP (potentially oversold), and Bitcoin is above VWAP (broader bullish trend).
• Sell: Coinbase is above VWAP (potentially overbought), and Bitcoin is below VWAP (broader bearish trend).
4. Visualization:
• Green triangle: Buy signal.
• Red triangle: Sell signal.
Strengths
• Combines price and volume for reliable insights.
• Highlights potential trend reversals or overextensions.
• Exploits correlations between Coinbase and Bitcoin.
Limitations
• Struggles in sideways markets.
• Sensitive to volume spikes, which may distort VWAP.
• Ineffective in strong trends where divergence persists.
Improvements
1. Z-Scores: Use statistical thresholds (e.g., ±2 std dev) for stronger signals.
2. Volume Filter: Generate signals only during high-volume periods.
3. Momentum Confirmation: Combine with RSI or MACD for better reliability.
4. Multi-Timeframe VWAP: Use intraday, daily, and weekly VWAPs for deeper analysis.
Complementary Tools
• Momentum Indicators: RSI, MACD for trend validation.
• Volume-Based Metrics: OBV, cumulative delta volume.
• Support/Resistance Levels: Enhance reversal accuracy.






















