BTC Premium -WinCAlgoBitcoin Premium/Discount Tracker
This indicator tracks the premium or discount between different Bitcoin markets, helping traders identify arbitrage opportunities and market sentiment shifts.
What it shows:
CME vs Index: Price difference between CME Bitcoin futures and BTC index
CME vs Binance Perpetual: Spread between traditional futures and crypto perpetual contracts
Coinbase vs Binance Spot: Price difference between major spot exchanges
Moving Averages: 20-period smoothed trend lines for each spread
CME Market Hours: Automatically detects when CME is closed (weekends)
How to interpret:
Positive Values (Green): First market trading at premium to second market
Negative Values (Red): First market trading at discount to second market
Large Spreads: Indicate potential arbitrage opportunities or market stress
Converging Spreads: Suggest market equilibrium and efficient pricing
Diverging MA: May signal trend changes in market dynamics
📌 Trading Applications:
Arbitrage Detection: Identify price discrepancies between markets
Market Sentiment: Premium/discount patterns often reflect institutional vs retail sentiment
Weekend Analysis: CME closure periods can create temporary price dislocations
Risk Assessment: Large persistent premiums may indicate overheating in specific markets
Entry Timing: Use spread normalization as confluence for position entries
Key Features:
Smart Timeframe: Automatically switches to daily data on higher timeframes
CME Hours Detection: Shows "No Data" during CME closure with background highlighting
Customizable Display: Toggle different spread calculations and moving averages
Real-time Table: Current values displayed in customizable table
Visual Clarity: Color-coded columns and clear positive/negative distinction
指標和策略
DVWAP Spread -WinCAlgoDynamic VWAP Spread Oscillator
This indicator transforms the relationship between two adaptive VWAP curves into an oscillator format, making trend analysis more precise and intuitive.
What it shows:
Spread Value: The difference between Fast VWAP and Smoothed VWAP
Dynamic Coloring: Intensity increases as the spread moves away from zero
Zero Line: The neutral point where both VWAP curves converge
How to interpret:
Above Zero (Green): Fast VWAP > Smoothed VWAP → Bullish bias
Below Zero (Red): Fast VWAP < Smoothed VWAP → Bearish bias
Distance from Zero: Shows the strength of the current trend
Zero Crossovers: Potential trend change signals
📌 Usage Ideas:
Trend Filter: Take long trades only when oscillator is positive, shorts when negative
Momentum Gauge: Larger spread values indicate stronger trend momentum
Divergence Analysis: Look for divergences between price and oscillator for reversal signals
Overbought/Oversold: Extreme values may indicate potential mean reversion opportunities
Zero Line Bounces: Use zero line as dynamic support/resistance for entries
Parameters:
Period: Controls the lookback period for adaptive calculations
Adjustment Step: Fine-tunes the adaptive smoothing sensitivity
Fast Response: Adjusts how quickly the fast VWAP responds to price changes
Source: Price input for VWAP calculation (default: HLC3)
Dynamic VWAP -WinCAlgoDynamic VWAP Curve
This indicator applies an adaptive smoothing method to VWAP (Volume Weighted Average Price) to create two dynamic curves:
Fast VWAP (reacts quickly to price changes)
Smoothed VWAP (slower, adaptive baseline)
How to interpret:
When Fast VWAP > Smoothed VWAP, trend bias is bullish.
When Fast VWAP < Smoothed VWAP, trend bias is bearish.
The shaded area between the two lines works like a dynamic support/resistance zone.
📌 Usage ideas:
As a trend filter: take long trades only when Fast > Smoothed.
As a crossover signal: buy/sell when the two lines cross.
As support/resistance: price moving too far from the band can signal mean-reversion opportunities.
Sunmool's Trend Reversal Detection AlgorithmSunmool's Trend Reversal Detection Algorithm 사용 설명서
📋 알고리즘 개요
Sunmool's Trend Reversal Detection Algorithm은 Fair Value Gap(FVG), Change in State of Direction(CISD), Break of Structure(BOS) 개념을 활용하여 추세 반전을 단계별로 감지하는 트레이딩뷰 인디케이터입니다.
조건이 단계별로 달성될수록 추세 반전의 신뢰도가 높아지며, 최대 20단계까지 추적하여 극도로 높은 신뢰도의 신호를 제공합니다.
🎯 핵심 개념
Fair Value Gap (FVG)
정의: 3개 캔들 사이에 생긴 가격 공백 (갭)
상승 FVG: 현재 캔들의 저점 > 2캔들 전 고점
하락 FVG: 현재 캔들의 고점 < 2캔들 전 저점
역할: 시장의 불균형을 나타내며, 향후 되돌림 지역으로 작용
Change in State of Direction (CISD)
정의: 추세의 방향성 변화
감지 방법: 단기 이동평균(5)과 장기 이동평균(10)의 교차
역할: 추세 전환의 초기 신호 확인
Break of Structure (BOS)
정의: 중요한 지지/저항 레벨의 돌파
조건: 종가와 고점/저점이 모두 기준 레벨을 넘어설 때
역할: 추세 전환의 확정적 신호
📊 단계별 조건 설명
🔵 1번 조건 - FVG 형성
조건: Fair Value Gap이 형성되었을 때
표시: 파란색 박스 + 파란색 원 마크
의미: 시장 불균형 발생, 추세 반전 가능성의 시작점
신뢰도: ⭐ (매우 낮음)
🟠 2번 조건 - FVG 터치 + CISD
조건: 1번 FVG를 가격이 터치한 후 → CISD 발생
표시: 주황색 삼각형 마크
의미: FVG 반응 + 추세 변화 신호 확인
신뢰도: ⭐⭐ (낮음)
🟢 3번 조건 - 몸통 돌파 + 새 FVG
조건: 캔들 몸통이 기존 FVG 레벨을 돌파 + 새로운 FVG 형성
표시: 초록색 박스 + 초록색 다이아몬드 마크
의미: 구조적 돌파와 새로운 불균형 생성
신뢰도: ⭐⭐⭐ (보통)
🔴 4번+ 조건 - BOS + 새 FVG (반복)
조건: FVG 터치 → BOS 발생 → 새로운 FVG 형성
표시: 조건 레벨에 따른 색상 박스 + 빨간색 깃발 마크
의미: 추세 전환 확정 및 연속적 강화
신뢰도:
4-6번: ⭐⭐⭐⭐ (높음)
7-9번: ⭐⭐⭐⭐⭐ (매우 높음)
10번+: ⭐⭐⭐⭐⭐⭐ (최고)
🖥️ 인터페이스 설명
시각적 표시
FVG 박스: 각 단계별 Fair Value Gap 영역을 색상별로 표시
조건 라벨: 각 조건 달성 시 상세 정보가 담긴 라벨 표시
백테스트 마크: 차트 하단에 조건별 다른 모양의 마크 표시
통계 테이블: 우상단에 실시간 상태 정보 표시
색상 체계
파란색: 1번 조건 (FVG 형성)
주황색: 2번 조건 (CISD)
초록색: 3번 조건 (몸통 돌파)
남색: 4-5번 조건
적갈색: 6-7번 조건
빨간색: 8-9번 조건
보라색: 10번+ 조건
통계 테이블 항목
현재 조건: 현재 달성된 최고 조건 레벨
신뢰도: 조건 레벨에 따른 신뢰도 (낮음~최고)
상태: 다음 조건을 위해 기다리는 상황
경과바: 마지막 조건 달성 이후 경과한 캔들 수
⚙️ 설정 옵션
표시 옵션
FVG 영역 표시: FVG 박스 표시 여부
조건 라벨 표시: 조건 라벨 표시 여부
연결선 표시: 조건들 간 연결선 표시 여부
통계 표시: 우상단 통계 테이블 표시 여부
백테스트 마크 표시: 차트 하단 마크 표시 여부
필터링 옵션
최소 FVG 크기: 감지할 최소 FVG 크기 (기본 0.0005% = 0.05%)
최대 조건 개수: 추적할 최대 조건 레벨 (기본 20개)
📈 사용 방법
1단계: 기본 설정
트레이딩뷰에서 새 인디케이터 추가
파인스크립트 코드 복사/붙여넣기
저장 후 차트에 적용
2단계: 신호 해석
1번 조건: FVG 형성 확인 (관심 지역 설정)
2-3번 조건: 초기 추세 전환 신호 (관찰 단계)
4-6번 조건: 신뢰할 만한 진입 신호 (거래 고려)
7번+ 조건: 높은 확신의 진입 신호 (적극적 거래)
3단계: 리스크 관리
낮은 조건 (1-3번): 작은 포지션으로 테스트
중간 조건 (4-6번): 적정 포지션 크기
높은 조건 (7번+): 더 큰 포지션 고려 (개인 리스크 관리 원칙 내에서)
🎯 실전 활용 팁
진입 전략
4번 이상 조건: 첫 진입 고려점
7번 이상 조건: 추가 진입 또는 포지션 확대
10번 이상 조건: 최고 신뢰도 진입 기회
청산 전략
반대 방향으로 3번 이상 조건 발생 시 청산 고려
새로운 FVG 형성 후 반대 방향 신호 주의
필터링
시간대: 주요 거래 시간대에서 더 신뢰성 높음
볼륨: 거래량이 평소보다 높을 때 더 유효
시장 상황: 트렌드 시장에서 더 효과적
⚠️ 주의사항
리스크 요소
가짜 신호: 낮은 조건 레벨에서는 가짜 신호 가능
지연 신호: 높은 조건일수록 진입 타이밍이 늦을 수 있음
시장 환경: 횡보 시장에서는 효율성 저하
권장사항
백테스트 필수: 실제 거래 전 충분한 백테스트 진행
다른 지표 병행: 다른 기술적 분석과 함께 사용
자금 관리: 항상 적절한 리스크 관리 원칙 준수
🚀 버전 정보
현재 버전: v1.0
Pine Script v5 기반
최대 500개 라벨/박스/라인 지원
실시간 알림 기능 내장
백테스트 친화적 설계
📞 문의 및 지원
이 알고리즘에 대한 문의사항이나 개선 제안이 있으시면 언제든 연락 주세요. 지속적인 업데이트를 통해 더 나은 도구로 발전시켜 나가겠습니다.
면책 조항: 이 인디케이터는 교육 및 분석 목적으로 제작되었습니다. 실제 거래에서의 손실에 대해서는 책임지지 않으니, 반드시 충분한 테스트와 개인 판단 하에 사용하시기 바랍니다.
Sunmool's Trend Reversal Detection Algorithm User Manual
📋 Algorithm Overview
Sunmool's Trend Reversal Detection Algorithm is a TradingView indicator that utilizes Fair Value Gap (FVG), Change in State of Direction (CISD), and Break of Structure (BOS) concepts to detect trend reversals through progressive stages.
As conditions are met step by step, the reliability of trend reversal increases, tracking up to 20 stages to provide extremely high-confidence signals.
🎯 Core Concepts
Fair Value Gap (FVG)
Definition: Price gap between 3 candles
Bullish FVG: Current candle's low > 2 candles ago high
Bearish FVG: Current candle's high < 2 candles ago low
Purpose: Represents market imbalance, acts as future retracement zone
Change in State of Direction (CISD)
Definition: Change in trend direction
Detection Method: Crossover between short-term MA(5) and long-term MA(10)
Purpose: Confirms initial trend reversal signal
Break of Structure (BOS)
Definition: Breaking through important support/resistance levels
Condition: When both close and high/low exceed the reference level
Purpose: Definitive signal of trend reversal
📊 Stage-by-Stage Conditions
🔵 Condition 1 - FVG Formation
Condition: When Fair Value Gap is formed
Display: Blue box + Blue circle mark
Meaning: Market imbalance occurs, starting point of potential trend reversal
Reliability: ⭐ (Very Low)
🟠 Condition 2 - FVG Touch + CISD
Condition: Price touches Condition 1 FVG → CISD occurs
Display: Orange triangle mark
Meaning: FVG reaction + trend change signal confirmation
Reliability: ⭐⭐ (Low)
🟢 Condition 3 - Body Break + New FVG
Condition: Candle body breaks existing FVG level + new FVG formation
Display: Green box + Green diamond mark
Meaning: Structural breakout and new imbalance creation
Reliability: ⭐⭐⭐ (Medium)
🔴 Condition 4+ - BOS + New FVG (Repeated)
Condition: FVG touch → BOS occurs → new FVG formation
Display: Color-coded boxes by condition level + Red flag mark
Meaning: Trend reversal confirmation and continuous strengthening
Reliability:
4-6: ⭐⭐⭐⭐ (High)
7-9: ⭐⭐⭐⭐⭐ (Very High)
10+: ⭐⭐⭐⭐⭐⭐ (Maximum)
🖥️ Interface Description
Visual Display
FVG Boxes: Color-coded Fair Value Gap zones for each stage
Condition Labels: Detailed information labels when each condition is met
Backtest Marks: Different shaped marks below chart for each condition
Statistics Table: Real-time status information in top-right corner
Color Scheme
Blue: Condition 1 (FVG Formation)
Orange: Condition 2 (CISD)
Green: Condition 3 (Body Break)
Navy: Conditions 4-5
Maroon: Conditions 6-7
Red: Conditions 8-9
Purple: Conditions 10+
Statistics Table Items
Current Condition: Highest condition level achieved
Reliability: Confidence level based on condition level (Low~Maximum)
Status: Current waiting situation for next condition
Bars Since: Number of candles since last condition achievement
⚙️ Settings Options
Display Options
Show FVG Areas: Toggle FVG box display
Show Condition Labels: Toggle condition label display
Show Connection Lines: Toggle connection lines between conditions
Show Statistics: Toggle top-right statistics table
Show Backtest Marks: Toggle chart bottom marks
Filtering Options
Minimum FVG Size: Minimum FVG size to detect (default 0.0005% = 0.05%)
Maximum Conditions: Maximum condition levels to track (default 20)
📈 How to Use
Step 1: Basic Setup
Add new indicator in TradingView
Copy/paste Pine Script code
Save and apply to chart
Step 2: Signal Interpretation
Condition 1: Confirm FVG formation (set interest zone)
Conditions 2-3: Initial trend reversal signals (observation phase)
Conditions 4-6: Reliable entry signals (consider trading)
Conditions 7+: High-confidence entry signals (active trading)
Step 3: Risk Management
Low Conditions (1-3): Test with small position
Medium Conditions (4-6): Appropriate position size
High Conditions (7+): Consider larger position (within personal risk management principles)
🎯 Practical Trading Tips
Entry Strategy
Condition 4+: First entry consideration point
Condition 7+: Additional entry or position increase
Condition 10+: Maximum reliability entry opportunity
Exit Strategy
Consider exit when 3+ conditions occur in opposite direction
Watch for opposite direction signals after new FVG formation
Filtering
Time Frame: More reliable during major trading hours
Volume: More valid when volume is higher than usual
Market Condition: More effective in trending markets
⚠️ Important Warnings
Risk Factors
False Signals: Possible false signals at low condition levels
Delayed Signals: Higher conditions may result in late entry timing
Market Environment: Reduced efficiency in sideways markets
Recommendations
Backtesting Required: Conduct thorough backtesting before live trading
Use with Other Indicators: Combine with other technical analysis
Money Management: Always follow proper risk management principles
🚀 Version Information
Current Version: v1.0
Based on Pine Script v5
Supports up to 500 labels/boxes/lines
Built-in real-time alert functionality
Backtest-friendly design
📞 Support & Contact
If you have any questions about this algorithm or suggestions for improvement, please feel free to contact anytime. We will continue to develop it into a better tool through continuous updates.
Disclaimer: This indicator is created for educational and analytical purposes. We are not responsible for losses in actual trading. Please use it after sufficient testing and personal judgment.
ICT AI ATR Signals [TradingFinder]🔵 Introduction
In financial markets, two main factors always have the greatest impact on traders’ decisions: the direction of the trend and the level of price volatility. Although there are various tools to analyze each of these factors, very few indicators can combine them in a coordinated and simultaneous way.
The ICT AI ATR indicator has been designed with this purpose in mind, to provide a unified and comprehensive view of the market instead of relying on multiple scattered indicators.
This indicator is built upon two widely used tools: the Moving Average (MA) and the Average True Range (ATR). The combination of these two indicators allows traders to simultaneously track the trend direction and account for market volatility two elements that always play a decisive role in trading decisions.
In the structure of the indicator, the Moving Average acts as the central line and serves as the backbone of the tool. By calculating the average price over a defined period, the Moving Average filters out excess market noise and provides a clearer picture of the overall price movement.
This helps traders focus on the main trend instead of being distracted by minor and temporary fluctuations. The central line is thus the main reference point for identifying the trend direction.
Alongside this, the ATR is responsible for measuring the real volatility of the market. Unlike many tools that only look at closing price changes, the ATR considers the true range of candlestick movements, giving a more accurate view of market dynamics.
In the ICT AI ATR indicator, this feature is used to draw dynamic bands above and below the Moving Average line. These bands shift with changing market conditions and act like dynamic support and resistance levels, areas where strong price reactions often occur.
This combination allows traders not only to see the dominant market trend through the Moving Average but also to understand volatility and the natural price range via the ATR. For this reason, the ICT AI ATR identifies points that are likely to act as reaction or reversal zones, whether during bounces off the bands or breakouts through them.
With this structure, the trader can at a glance :
Identify the overall market direction using the Moving Average.
Observe volatility and the natural range of price movement through ATR.
Recognize key levels where strong reactions or potential reversals are more likely.
As a result, the ICT AI ATR functions as a combined tool that replaces the need to use several separate indicators, enabling traders to analyze trend, volatility, price bands, and even Fibonacci targets within a single unified framework.
🔵 How to Use
The ICT AI ATR indicator is designed to simplify market analysis through two main components: visual display of bands and signals on the chart itself, and a multi-symbol analytical dashboard capable of monitoring over 20 different assets simultaneously across multiple timeframes.
This dashboard feature allows traders to gain a quick overview of overall market conditions without opening multiple charts or constantly switching timeframes. It updates in real-time, showing active Buy (Long) and Sell signals for each symbol.
As such, the combination of direct chart display and dashboard analytics makes the indicator useful both for detailed analysis of a single symbol and for monitoring multiple markets at once.
🟣 How do ICT AI ATR trading signals work?
Sell Signal (Short) : Triggered when the price pushes below the lower band (Low goes outside the lower band) and then closes back above it. This indicates potential weakness in bullish momentum and suggests possible selling pressure or the start of a downward correction. Traders can use this to spot sell setups or manage long positions.
Buy Signal (Long) : Triggered when the price extends above the upper band (High goes outside the upper band) and then closes back below it. This often signals exhaustion in bearish pressure and the return of buying strength, potentially marking the start of a new upward move.
This signaling logic is based on the actual behavior of price relative to the ATR dynamic bands. Unlike static formulas, signals adapt to changing market conditions, making them more accurate and reliable.
The main advantage of the ICT AI ATR indicator is that traders can benefit from real-time analysis directly on the chart by observing price interactions with the bands and signals while also receiving a multi-market overview through the dashboard. This combination is especially valuable for traders who operate across multiple instruments or markets simultaneously.
🔵 Settings
🟣 Logical settings
Moving Average Type : Select the type of moving average for the central line. Options include EMA, SMA, RMA, WMA, or HMA depending on the trading strategy.
Moving Average Period : Defines the length of the moving average. Shorter periods make the central line more responsive to price changes, while longer periods smooth out the line to show the broader trend.
ATR Period : Determines the number of candles considered for volatility calculation. Shorter periods increase sensitivity, while longer periods provide a more stable view of volatility.
ATR Multiplier : Sets the distance between the upper/lower bands and the central moving average line. Higher values widen the bands, while lower values bring them closer to price.
Smooth Period: Used to smooth data and reduce chart noise. Higher values produce smoother, more consistent indicator lines.
Signal Gap : Defines the minimum number of candles required between two consecutive signals. This prevents back-to-back signals from appearing too frequently and ensures only the more reliable ones are shown.
🟣 Display Settings
Table on Chart : Allows users to choose the position of the signal dashboard either directly on the chart or below it, depending on their layout preference.
Number of Symbols : Enables users to control how many symbols are displayed in the screener table, from 10 to 20, adjustable in increments of 2 symbols for flexible screening depth.
Table Mode : This setting offers two layout styles for the signal table :
Basic : Mode displays symbols in a single column, using more vertical space.
Extended : Mode arranges symbols in pairs side-by-side, optimizing screen space with a more compact view.
Table Size : Lets you adjust the table’s visual size with options such as: auto, tiny, small, normal, large, huge.
Table Position : Sets the screen location of the table. Choose from 9 possible positions, combining vertical (top, middle, bottom) and horizontal (left, center, right) alignments.
🟣 Symbol Settings
Each of the 10 symbol slots comes with a full set of customizable parameters :
Symbol : Define or select the asset (e.g., XAUUSD, BTCUSD, EURUSD, etc.).
Timeframe : Set your desired timeframe for each symbol (e.g., 15, 60, 240, 1D).
🟣 Alert Settings
Alert : Enables alerts for AAS.
Message Frequency : Determines the frequency of alerts. Options include 'All' (every function call), 'Once Per Bar' (first call within the bar), and 'Once Per Bar Close' (final script execution of the real-time bar). Default is 'Once per Bar'.
Show Alert Time by Time Zone : Configures the time zone for alert messages. Default is 'UTC'.
🔵 Conclusion
The ICT AI ATR indicator, by combining three core elements Moving Average for trend detection, ATR for volatility measurement and dynamic bands, and Fibonacci levels for price targets—provides a multi-layered and intelligent tool for market analysis. In addition to showing accurate bands directly on the chart, it also offers a multi-symbol dashboard that allows traders to monitor signals across different assets and timeframes in real time.
The key advantage of this indicator is that it eliminates the need to use several separate tools by integrating trend, volatility, key levels, and trade signals into one unified framework. For this reason, ICT AI ATR is a reliable and effective choice for both short-term traders seeking quick market moves and long-term traders focused on dynamic support and resistance levels.
Script_Algo - Day Range Breakout Strategy + Trend Filter📊 Overview
An enhanced version of the strategy based on daily high/low breakouts.
🔑 Key Improvements
1️⃣ Solved the repainting issue.
There are similar strategies in the community, but the historical results of those algorithms absolutely do not correspond to the results of real backtesting.
2️⃣ Added a trend filter.
In most cases, this makes it possible to achieve higher profitability. The trend filter is adjusted using the Lookback Period setting.
3️⃣ Choice of entry principle.
Implemented the ability to choose whether trades are opened based on closing prices or by high/low breakout, which allows finding the optimal settings for a specific instrument.
4️⃣ Improved entry/exit logic.
When an opposite signal appears, before entering a trade, the script first closes the previous position.
✅ This makes the strategy fully ready for algorithmic trading via webhook on any exchange that supports this function.
5️⃣ Better visualization.
🟥 Red and 🟩 green backgrounds indicate the trend direction.
⚙️ How It Works
The principle of the strategy is simple:
Wait for the breakout of the previous day’s high or low.
Enter long on a breakout of the high, or short on a breakout of the low.
Exit occurs on the breakout of the opposite extreme.
📈 This allows capturing long trends.
⚠️ But, like all similar strategies, in a sideways market it produces losing trades.
📌 Example Results
On the OP/USDT pair, this strategy showed about +280% profit in 3 years on the 4H timeframe,
while the coin itself grew only by about 50%.
🕒 Recommended Settings
Timeframe: 1H and higher
On lower timeframes → significant discrepancies may occur between historical and real backtesting data.
On higher timeframes → minor differences are possible, related to slippage, sharp moves, and other unpredictable situations.
⚠️ Important Notes
Always remember: Strategy results may not repeat in the future.
The market constantly changes, so:
✅ Monitor the situation
✅ Backtest regularly
✅ Adjust settings for each asset
Also remember about possible bugs in any algorithmic trading strategy.
Even if a script is well-tested, no one knows what unpredictable events the market may bring tomorrow.
⚠️ Risk Management:
Do not risk more than 1% of your deposit per trade, otherwise you may lose your account balance, since this strategy works without stop losses.
⚠️ Disclaimer
The author of the strategy does not encourage anyone to use this algorithm and bears no responsibility for any possible financial losses resulting from its application!
Any decision to use this strategy is made personally by the owners of TradingView accounts and cryptocurrency exchange accounts.
📝 Final Notes
The script is not published yet, as this is not the final version.
I already have ideas on how to improve it further, so follow me to not miss updates.
🐞 Bug Reports
If you notice any bugs or inconsistencies in my algorithm,
please let me know — I will try to fix them as quickly as possible.
💬 Feedback & Suggestions
If you have any ideas on how this or any of my other strategies can be improved, feel free to write to me. I will try to implement your suggestions in the script.
Wishing everyone good luck and stable profits! 🚀💰
Crypto Flows [ETF|On-chain]The surge in Bitcoin and Ethereum spot ETFs has transformed how crypto is held and traded. By mid‑2025, U.S. spot Bitcoin ETFs already controlled roughly 1.28 million BTC, or about 6.5 percent of the circulating supply (Fosque, 2025). This accumulation has coincided with sharp price rallies and signals that regulated vehicles are absorbing a meaningful share of supply (Fosque, 2025; Wright, 2025). At the same time, on‑chain analytics show that exchange flows still influence markets: large inflows to exchanges often precede sell‑offs, whereas withdrawals to private wallets signal accumulation and reduced sell pressure (Singh, 2024; CryptoQuant, 2024). IntoTheBlock’s large‑holder inflow indicator even notes that spikes in whale buying frequently mark major bottoms (IntoTheBlock, 2022). I wanted to weave these pieces together, so I created this indicator.
Essence and logic
The script draws from two data streams: net flows into ETFs and net on‑chain flows from large holders, both scaled by the asset’s circulating market cap. ETF flows are aggregated across the ten largest INDEX:BTCUSD Bitcoin ETFs, the ten largest Ethereum INDEX:ETHUSD ETFs and the first CRYPTOCAP:SOL Solana ETF; each fund has its own checkbox and colour selection. On‑chain data uses IntoTheBlock’s large‑holder inflows and outflows, with dozens of coins available( CRYPTO:XRPUSD CRYPTOCAP:AVAX CRYPTOCAP:ADA CRYPTOCAP:LINK CRYPTO:DOGEUSD CRYPTOCAP:OTHERS ; if your coin isn’t shown in the dropdown you can manually enter its symbol. For each component, daily flows are converted into either a Z‑score or, by default, a percent‑of‑market‑cap series; users choose the weighting between ETF and on‑chain signals. These weighted series are summed into a composite, smoothed, and then two moving averages (a fast and a slow one) are applied to define bullish or bearish regimes. Because ETFs are a recent phenomenon, the early part of the composite is dominated by on‑chain flows; as ETF history lengthens, the fund‑flow component will become more influential. Trade signals are generated via moving‑average crossovers and optional dip triggers, and a trend table summarises current values and directions.
Why these components?
ETF flows reflect institutional adoption and supply absorption. Funds such as IBIT already hold about 744 000 BTC (roughly 3.3 percent of total supply), and cumulative ETF holdings have been growing faster than new coins are mined (Wright, 2025). Net inflows into these vehicles have tended to accompany rising prices and signal long‑horizon capital (Fosque, 2025). On‑chain flows, meanwhile, capture exchange liquidity dynamics. High inflows to exchanges often indicate that investors are preparing to sell, increasing tradable supply (Singh, 2024; CryptoQuant, 2024). Outflows into self‑custody suggest accumulation and reduced sell pressure, providing a bullish signal (Singh, 2024; CryptoQuant, 2024). IntoTheBlock points out that spikes in large‑holder inflows—whales moving coins into cold storage—have historically preceded price bottoms (IntoTheBlock, 2022). By weighting and standardising these flows relative to market cap, the composite aims to offer a more objective lens on risk‑on versus risk‑off regimes than price alone.
Limitations and outlook
ETFs a pretty new, so the data history is short. The list of tracked funds is currently limited to U.S. and European products; adding Asian or Canadian vehicles could provide a fuller picture. On‑chain flows can be noisy and occasionally give conflicting signals, and large‑holder data is not available for every crypto asset. The ETF and on‑chain components are also correlated through market cap, so equal weighting may amplify common trends. As macro conditions evolve and ETF redemption mechanisms change, the usefulness of fund flows could vary. I see this indicator as one tool among many, and I’m considering adding stablecoin flows, derivatives funding rates, or halving‑cycle adjustments. Suggestions are welcome.
Personal note
I’m a student who enjoys exploring the intersection of macro flows, on‑chain analytics and market psychology. This script is free to use. You can enable or disable each component, adjust weights, change the display mode and lookback, and select individual ETF tickers. If it brings you value, feel free to follow my work or reach out with feedback. I appreciate your support. Please remember that this indicator is for educational purposes and not investment advice. I built this indicator in addition to my Liquidity indicator, where I use Global M2, the yield curve, and the high-yield spread to define risk-on/risk-off regimes. If you are interested, you can find it here:
References
CryptoQuant Team. (2024). Exchange in/outflow and netflow user guide.
Fosque, J. (2025). Bitcoin ETFs pull $17.8 billion in 90 days as price surges past $118 K. The Digital Chamber.
IntoTheBlock. (2022). Large holders inflow indicator description.
Singh, O. (2024). Crypto exchange inflows and outflows explained: What they reveal about market trends. CCN.
Wright, L. (2025). Bitcoin ETFs to lock up 1.5 million BTC by New Year as supply squeeze tightens grip. CryptoSlate.
HTF Dealing Range & FibsKey Features:
Premium & Discount Zone Visualization: Clear, color-coded boxes are drawn to represent the Premium (sell zone), Discount (buy zone), and the crucial Equilibrium (50%) level. These boxes extend into the future so you can anticipate future price action.
Customizable Fibonacci Levels: Plot key Fibonacci retracement levels within the defined range. You can customize which levels you want to see (e.g., 0.62, 0.79, etc.) to pinpoint specific points of interest.
Multi-Timeframe Confluence Table: A powerful, on-screen dashboard that shows you the status of the current price relative to the P&D zones on up to 5 different timeframes simultaneously. Instantly see if the price is in a Premium or Discount zone on the 15m, 1H, 4H, and Daily charts at a single glance.
Built-in Alerts: Never miss an opportunity. Set up alerts to be notified the moment the price enters the Premium or Discount zone on your chosen HTF, allowing you to prepare for potential trade setups.
Fully Customizable: Take full control over the indicator's appearance. Adjust pivot lookback periods, colors of the zones and Fibs, and select which timeframes appear in your dashboard to match your personal trading plan.
Disclaimer:
This indicator is provided for educational and informational purposes only and should not be considered as financial or investment advice. Trading and investing in financial markets, including but not limited to stocks, forex, and cryptocurrencies, involves a substantial risk of loss and is not suitable for every investor.
[FXO] Smart OBV RSI – Volume-based Reversal TrackerThis script plots a Relative Strength Index (RSI) based on the On-Balance Volume (OBV) indicator, offering a volume-weighted momentum view. It highlights key RSI levels with customizable thresholds (default 70/30), and dynamically adjusts the plot color based on overbought/oversold zones.
Additionally, it tracks how often the OBV-RSI crosses above or below your set levels within a user-defined lookback window, displaying this data in a compact on-chart table.
Use this tool to monitor potential volume-based reversals, momentum shifts, or exhaustion signals in any market.
Features:
• RSI calculated from OBV (not price)
• Customizable RSI period and levels
• Visual threshold coloring
• Cross count table (optional)
• Pine Script v6, optimized for performance
Created by FXO
Para Akışı OVERLAY + Trend + Scoreboard (CUSTOM v6 – CLEAN)📖 Components of the Indicator and How to Use Them
1️⃣ EMAs (Exponential Moving Averages)
EMA-1 and EMA-2: Show short- and long-term trends (e.g., 21 and 200).
How to read it:
EMA-1 > EMA-2 → strong uptrend.
EMA-1 < EMA-2 → strong downtrend.
Key point: Watch for “Golden Cross” (EMA-1 crossing above EMA-2) and “Death Cross” (EMA-1 crossing below EMA-2).
2️⃣ Supertrend
An ATR-based trend indicator.
Color logic:
Green (UP) → bullish trend.
Red (DOWN) → bearish trend.
Key point: Trend reversals when color changes → potential entry/exit signals.
3️⃣ Keltner Channel (KC)
Middle line: EMA → overall direction.
Upper/Lower bands: EMA ± ATR × multiplier → volatility boundaries.
Shading:
Upper zone (green) → momentum up, possible overbought area.
Lower zone (red) → momentum down, possible oversold area.
Key point: Price breaking out of the bands often signals the start of a new trend.
4️⃣ Anchored VWAP
Volume-weighted average price from a chosen date.
Shows the cost basis of large players.
Key point: Price above VWAP → buyers in control. Price below VWAP → sellers in control.
5️⃣ SMF (Standardized Money Flow z-score)
Measures money inflow/outflow.
Positive → inflow.
Negative → outflow.
Since it’s a z-score, moving away from zero means unusual money activity.
Key point: If SMF rises while price falls → positive divergence (hidden buying). If the opposite → negative divergence (hidden selling).
6️⃣ OBV z-score
Normalized version of the On-Balance Volume indicator.
Shows whether volume is supporting the price move.
Positive → buying pressure.
Negative → selling pressure.
Key point: If OBV diverges from price → possible reversal signal.
7️⃣ Spike (IN/OUT)
Detects sudden OBV spikes.
IN: strong money inflow (buying pressure).
OUT: strong money outflow (selling pressure).
Key point: Spikes near tops or bottoms can speed up reversals.
8️⃣ Divergence (Buy/Sell Signals)
If price makes a higher high or lower low while the indicator doesn’t follow → divergence.
Price makes a new low but SMF makes a higher low → positive divergence → Buy signal.
Price makes a new high but SMF makes a lower high → negative divergence → Sell signal.
9️⃣ Stop/TP Labels
ATR-based automatic stop-loss and take-profit levels.
Long → stop at 1.5×ATR below, TP at 2×ATR above.
Short → stop at 1.5×ATR above, TP at 2×ATR below.
Key point: Check if these levels match your entry → see if the risk/reward is balanced.
🔟 Scoreboard
A quick summary in the top right corner:
SMF z (money flow)
OBV z (volume support)
EMA crossover
Is price above EMA?
Supertrend direction
Spike presence
Interpretation:
Score 4+ → strong bullish.
Score 1 or less → strong bearish.
In between → neutral.
✅ What to Focus On
Divergences (Buy/Sell labels) → the most reliable reversal signals.
Spike IN/OUT → major money inflow/outflow, can trigger new trends.
Scoreboard → shows the bigger picture; use as a filter, not alone.
Supertrend + EMA cross → strong trend confirmation.
Keltner breakout → potential start of a trend.
MSS Boxes (close-break only)What it does
MSS Boxes detects Market Structure Shifts (MSS) and draws clean, non-repainting mitigation boxes you can trade from. When price closes through the most recent swing with momentum, the candle that caused the break is captured as a box (supply for bearish, demand for bullish) and extended to the right as objective S/R.
How it works
Swings: swing highs/lows from your chosen left/right bars.
Shift: a bullish shift when price closes above the last swing high; bearish when it closes below the last swing low.
Displacement filter: optional size/ATR filter to require an impulsive break.
Box recipe: use wick-to-wick or body-only from the last opposite-colour candle before the break. Boxes don’t move after confirmation.
Lifecycle
Active → printed and valid.
Mitigated → price trades back into the box (optional strict wick rule).
Invalidated → close through the far side.
Expired → after N bars or at your session reset (e.g., NY 18:00).
What you see
Green boxes for bullish, red for bearish.
Small tag at origin (e.g., BOS↑/BOS↓).
Optional status markers (active/mitigated/invalid).
Key options
Swing length and displacement thresholds.
Box style (wicks vs body), max height cap, auto-merge overlaps.
MTF alignment (H1/M15) for plotting or alerts only.
Session reset time, max boxes, colours/opacity/label size.
SMF-Z & OBV-Z Oscillator (v6)🧭 Quick Reference
• SMF-Z (teal): flow of money.
• OBV-Z (orange): volume support for price moves.
• Zero line (0): neutral. Positive side = bullish bias, negative side = bearish bias.
• ±2 levels: “extreme” zone (unusual inflow/outflow).
• IN/OUT triangles: short-term strong money inflow/outflow (spike signals).
✅ Core Rules
LONG (buy/hold)
Both SMF-Z and OBV-Z above zero and rising (upward slope).
Zero line crossover (especially if both cross around the same bar) + IN spike = strong confirmation.
Expansion toward +2 = momentum intact, let profits run.
EXIT / SELL (close long or consider short)
Either SMF-Z or OBV-Z drops below zero (especially both together).
OUT spike (heavy selling pressure) = aggressive exit signal.
Rolling over from +2 downward (especially if OBV-Z turns first) = momentum fading.
SHORT (sell side)
Both indicators below zero and falling; zero line crossunders + OUT spike = strong confirmation.
Expansion toward −2 shows trend strength; taking profit on reversal from −2 is reasonable.
♟️ Divergences (most reliable signal)
Positive divergence: Price makes a new low while SMF-Z/OBV-Z form a higher low → strong accumulation sign (especially if paired with an IN spike).
Negative divergence: Price makes a new high while SMF-Z/OBV-Z form a lower high → distribution/selling sign (confirmed with an OUT spike).
🔧 Parameter Effects
SMF z-window / OBV z-window: shorter (20–50) = more sensitive but noisier; longer (100–200) = slower but more reliable.
OBV EMA: smaller (10–13) = faster response; larger (34–55) = smoother.
Spike window & σ (spK): shorter window or smaller sigma = more frequent spikes; larger = fewer but more selective spikes.
📝 Simple Playbook
Filter: Check if both SMF-Z and OBV-Z are on the same side of zero before taking a trade.
Trigger: Zero line crossover + IN/OUT spike.
Management:
For longs: exit/reduce if OBV-Z falls below zero or an OUT spike appears.
For shorts: exit/reduce if SMF-Z rises above zero or an IN spike appears.
Extra confirmation: If Supertrend/EMA from the overlay indicator agrees with SMF-Z & OBV-Z, confidence is stronger.
⚠️ Cautions
In sideways markets, frequent whipsaws around zero are common → always wait for confirmation (both indicators + spike + trend filter).
+2/−2 zones do not guarantee reversal by themselves; in strong trends the indicators can stay there for a while.
OB - MentorXOB - MentorX
Advanced OrderBlock Detection with Smart Alerts
🎯 Key Features:
- Smart OrderBlock Detection: Identifies bullish/bearish OrderBlocks using fractal breaks
- Multi-Timeframe Alerts: Get instant notifications on 1m, 3m, 5m, 15m, 30m, 1h, 4h
- Strength Filter: Only alerts on significant OrderBlocks (ATR-based strength)
- Visual Confirmation: Alerts sync perfectly with drawn OrderBlock lines
- Customizable Settings: Adjust line styles, colors, and alert preferences
🔔 Alert System:
How It Works:
- OrderBlock detected → Lines drawn → Alert triggered
- No false signals - only alerts when OrderBlock is visible on chart
- Strength filter prevents noise alerts on weak OrderBlocks
Alert Examples:
🔴 Bearish OrderBlock Created
Timeframe: 15m
High: 1.2345
Low: 1.2300
Strength: 2.45% ATR
🟢 Bullish OrderBlock Created
Timeframe: 1h
High: 1.2400
Low: 1.2350
Strength: 3.20% ATR
⚙️ Setup:
1. Enable "Enable Alerts" in settings
2. Select desired timeframes (1m, 3m, 5m, 15m, 30m, 1h, 4h)
3. Adjust "Minimum OB Strength" (0.1-5.0% ATR)
4. Create TradingView alert with "Any alert() function call"
🎨 Customization:
- Line styles: Solid, Dashed, Dotted
- Colors: Customize bearish/bullish line colors
- Fractal filters: 3-bar or 5-bar fractals
- FVG filtering: Optional Fair Value Gap confirmation
📊 Perfect for:
- Scalping
- Swing trading
- Multi-timeframe analysis
- Professional trading strategies
Perfect for scalping, swing trading, and multi-timeframe analysis!
Prime ZonesThe indicators calculates Pivot Zones for First session from 0915-1230 and Second Session 1230-1530. It also calculates Prime Zones Levels as per opening session and plot historic level with values as R1, R2 and S1, S2.
B版本~低风险稳定版Red and yellow and pink and green,
Purple and orange and blue,
I can sing a rainbow,
Sing a rainbow,
Sing a rainbow too.
优化开仓信号~7月更新Twinkle, twinkle, little star,
How I wonder what you are.
Up above the world so high,
Like a diamond in the sky.
InfinityAlgo LevelsThe InfinityAlgo Levels indicator is a comprehensive and integrated technical analysis tool, designed to empower traders by merging three of the most powerful price-level theories into one robust and user-friendly package. The indicator combines Fibonacci Levels, classic Pivot Points, and Camarilla Levels, offering unparalleled flexibility with its dual calculation modes: Automatic and Manual.
Key Features:
Multiple Level Systems: The indicator provides three distinct sets of levels simultaneously:
Fibonacci Levels: Includes both retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) and key extension levels (127%, 141%, 161.8%, 261.8%).
Classic Pivot Points: Plots standard support and resistance pivots (R1, R2, R3, S1, S2, S3) along with the main Pivot Point (PP).
Advanced Camarilla Levels: Displays 12 Camarilla levels (H1-H6 and L1-L6) to identify potential reversals and tight trading ranges.
Dual Calculation Modes (Automatic & Manual):
Automatic Mode: The indicator intelligently scans the market to automatically detect the most recent significant swing high and low, continuously updating all levels based on them. This mode is perfect for real-time market tracking.
Manual Mode: Gives you full control to input specific High, Low, and Close values. This allows you to analyze a specific price wave of your choice, whether historical or current.
Fully Customizable Display:
You can show or hide each set of levels (Fibonacci, Pivots, Camarilla) independently through the settings, allowing you to focus your analysis and declutter your chart.
An option to set the Fibonacci direction (Bullish or Bearish) to display only the relevant retracement and extension levels.
Interactive Information Panel:
When Automatic mode is enabled, a sleek information panel appears on the top-right of the chart, displaying the auto-detected High, Low, and Close values, keeping you informed of the data driving the indicator.
Clear Level Labels:
Each line is plotted with a clear label indicating the exact price and the level type, making it easy to identify important support and resistance zones at a glance.
InfinityAlgo LevelsThe InfinityAlgo Levels indicator is a comprehensive and integrated technical analysis tool, designed to empower traders by merging three of the most powerful price-level theories into one robust and user-friendly package. The indicator combines Fibonacci Levels, classic Pivot Points, and Camarilla Levels, offering unparalleled flexibility with its dual calculation modes: Automatic and Manual.
Key Features:
Multiple Level Systems: The indicator provides three distinct sets of levels simultaneously:
Fibonacci Levels: Includes both retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) and key extension levels (127%, 141%, 161.8%, 261.8%).
Classic Pivot Points: Plots standard support and resistance pivots (R1, R2, R3, S1, S2, S3) along with the main Pivot Point (PP).
Advanced Camarilla Levels: Displays 12 Camarilla levels (H1-H6 and L1-L6) to identify potential reversals and tight trading ranges.
Dual Calculation Modes (Automatic & Manual):
Automatic Mode: The indicator intelligently scans the market to automatically detect the most recent significant swing high and low, continuously updating all levels based on them. This mode is perfect for real-time market tracking.
Manual Mode: Gives you full control to input specific High, Low, and Close values. This allows you to analyze a specific price wave of your choice, whether historical or current.
Fully Customizable Display:
You can show or hide each set of levels (Fibonacci, Pivots, Camarilla) independently through the settings, allowing you to focus your analysis and declutter your chart.
An option to set the Fibonacci direction (Bullish or Bearish) to display only the relevant retracement and extension levels.
Interactive Information Panel:
When Automatic mode is enabled, a sleek information panel appears on the top-right of the chart, displaying the auto-detected High, Low, and Close values, keeping you informed of the data driving the indicator.
Clear Level Labels:
Each line is plotted with a clear label indicating the exact price and the level type, making it easy to identify important support and resistance zones at a glance.
Enhanced ATR Level Touch Counter with Gaussian - OverlayEnhanced ATR Level Touch Counter with Gaussian Statistics
Advanced Pine Script indicator combining ATR-based dynamic levels with Gaussian statistical analysis for precise market structure identification.
Key Features:
Dynamic ATR Levels: 10 customizable levels (5 positive, 5 negative) based on daily ATR percentages
Individual Level Controls: Toggle any level on/off with inline checkboxes
Gaussian Statistics: Real-time mean, standard deviation, and confidence intervals
Custom Sigma Multipliers: Fully adjustable sigma levels (e.g., -2.5σ, +3.5σ) instead of fixed ±1,2,3
Monthly VWAP Integration: Key institutional reference level
Comprehensive Statistics Table: 180-day lookback with touch frequency and percentages
Price Units Display: Shows exact price levels for each ATR percentage
Color Customization: Full control over all visual elements
Overlay Design: Displays directly on main chart for seamless analysis
Perfect for:
Day traders seeking precise entry/exit levels
Statistical analysis of price behavior around key levels
Institutional-grade market structure analysis
Custom sigma-based trading strategies
Transform your trading with data-driven level analysis and customizable statistical boundaries.
ATR-Filtered EMA Scale-Out v7v7
updated adjustable atr
atr upper band
scale out notifications relocated 5 atr away
ema line changed to circles for better visibility
SuperTrend V — Volume Shadow趋势速度分析(中文)Overview
SuperTrend V — Volume Shadow augments the classic SuperTrend with a price–volume “Volume Shadow” core and an EMA-smoothed centerline. Trend direction is derived from ATR bands around that center. The tool also adds a higher-timeframe EMA band (red/blue) for regime filtering and a linear-regression ±σ channel for take-profit triggers—giving you a simple “enter → trail → take profit” workflow.
How it works
Volume Shadow center: a volatility-scaled, volume-diffused series (out) built from price spread and volume; smoothed with EMA to form the SuperTrend base.
SuperTrend line: ATR bands around the smoothed center; green/red cross plot shows the active trailing level.
HTF reference band: red = EMA of out, blue = EMA of open, both computed from a reference timeframe (default 720 minutes). Red above blue = bullish regime; red below blue = bearish regime.
±σ take-profit channel: rolling linear regression midline ± (σ × stdev). Crosses of these bands emit TP triggers.
Inputs
Reference Timeframe (minutes) — default 720.
SuperTrend Multiplier (st_mult) — default 1.0 (higher = fewer, sturdier signals).
SuperTrend Period (st_period) — default 10 (ATR length).
TP Multiplier (σ) — default 2.
TP Window Length (len5) — default 150.
Signals & alerts
Buy: close crosses above the SuperTrend line and price is above the blue EMA.
Sell: close crosses below the SuperTrend line and price is below the blue EMA.
TP triggers (±σ channel)
Long TP Trigger: price crosses down through the upper band (crossunder upper).
Short TP Trigger: price crosses up through the lower band (crossover lower).
Recommended usage (workflow)
Regime filter
Trade longs only when red EMA > blue EMA; shorts only when red EMA < blue EMA.
Entries
Go long on Buy; go short on Sell (both require agreement with the regime filter).
Risk & exit
Use the SuperTrend line as a dynamic stop; flip/exit on an opposite cross.
Take profit
When a TP trigger fires (±σ channel), scale out or trail stops to the most recent ST level.
Suggested starting points
High-volatility (crypto, indices): st_mult 1.2–1.6, st_period 10–14, σ 2–2.5.
Lower-volatility (FX): st_mult 0.8–1.2, st_period 10, σ 1.5–2.
Daily Start Vertical Lines (≤1H)This indicator automatically plots vertical lines at the start of each new trading day, based on the selected chart’s timezone. Unlike the default daily session boundaries (which often start at 17:00 New York time), this tool ensures that lines are drawn precisely at 00:00 midnight of the chart’s timezone.
🔹 Features:
Plots a vertical line at every new day start (midnight).
Fully time-zone aware → lines adjust automatically when you change the chart’s timezone.
Customizable line style, width, and color.
Option to limit plotting to specific timeframes (e.g., show only on ≤ 1H charts).
Lightweight & optimized (does not clutter higher-timeframe charts).
🔹 Use Cases:
Quickly identify daily boundaries for intraday analysis.
Helps scalpers and day traders align trades with new day opens.
Useful for strategies that depend on daily session resets.
This tool is especially helpful for traders who want clarity when working across different time zones.
EMA20/EMA100 RSI Cross – Simpler than SimpleThis indicator combines the clarity of EMA20–EMA100 crossovers with the strength of RSI confirmation, giving traders a straightforward yet effective tool for spotting momentum shifts.
Designed with simplicity in mind, it delivers clear visual signals and instant alerts whenever price conditions align, works perfectly well in every timeframe (my choice is 15M timeframe).
No clutter, no overcomplication – just clean, intuitive signals to help you stay on top of the market.
I want to give it back to Tradingview society, so feel free to try and experience.
Best,