지표 및 전략
Prev HL Labels + TF Filter + INTRADAY Alerts OnlyWhat it does
Displays the previous candle’s High and Low prices as two price labels plotted near the previous bar (one above the high, one below the low).
Triggers intraday alerts only when price breaks above the previous high or breaks below the previous low.
Lets you choose which timeframes the script is allowed to run on (labels + alerts), via a timeframe filter.
FVG + Close + Manip)This indicator identifies confirmed Fair Value Gaps (FVGs) using a three-candle structure and plots them on the chart as bullish or bearish zones.
FVGs remain active until they are fully filled, either by wick or by candle body (user-selectable).
Candles are highlighted only when they are manipulative (selectable logic: Base, Base + Break, or Displacement) and react correctly to an active FVG: bullish candles close with the body above a bullish FVG, and bearish candles close with the body below a bearish FVG.
The script is non-repainting and fully customizable in terms of colors, borders, and methodology.
NY Levels - Ultra StableDescription: NY Daily Open Levels (Current Day Only)
This high-precision indicator automatically plots the key opening price levels for the New York session, specifically designed for ICT and SMC traders. Unlike standard period-based indicators, this script is optimized for visual clarity and clutter-free charting.
ProfessorRSI Swing BUY SELL📊 Indicator Name: RSI Swing Buy Sell Indicator
🔥 Description
RSI Swing Buy Sell Indicator specially un traders ke liye design kiya gaya hai jo market ke swing points par accurate BUY aur SELL signals chahte hain.
Yeh indicator RSI momentum + swing logic ka use karta hai jisse overbought aur oversold zones se high-probability reversal aur continuation trades milte hain.
Indicator chart par clear BUY (Green) aur SELL (Red) signals show karta hai, jisse decision fast aur confusion-free hota hai.
✅ Key Features
✔️ RSI Based Swing Logic – Market momentum ko accurately read karta hai
✔️ Swing Buy Signal – Oversold zone se strong bounce confirmation
✔️ Swing Sell Signal – Overbought zone se strong rejection confirmation
✔️ No Repaint Signals – Candle close ke baad signal fix
✔️ Clean & Lightweight – Chart clutter nahi hota
✔️ All Timeframes Supported – 5m se Daily/Weekly
✔️ All Markets – Crypto | Forex | Gold | Indices | Stocks
📌 How to Use
🟢 BUY Signal:
RSI oversold area se upar ki taraf move kare
Chart par Green BUY label appear ho
Best results sideways ya pullback market me milte hain
🔴 SELL Signal:
RSI overbought area se neeche ki taraf move kare
Chart par Red SELL label appear ho
Swing high ke paas entry ke liye ideal
📍 Stop Loss & Target:
Stop Loss recent swing high/low ke piche
Target minimum Risk:Reward 1:2 ya 1:3
⚠️ Important Disclaimer
⚠️ Indicator 100% accuracy guarantee nahi karta
⚠️ Strong trend market me false signals aa sakte hain
⚠️ Hamesha risk management follow karein
⚠️ Confirmation ke liye trend ya support–resistance use karna recommended hai
👨🏫 Best For
✅ Swing Traders
✅ Intraday Traders
✅ Crypto & Forex Traders
✅ Beginners + Advanced Traders
Price Levels - Only TodayThis high-precision indicator automatically plots the key opening price levels for the New York session, specifically designed for ICT and SMC traders. Unlike standard period-based indicators, this script is optimized for visual clarity and clutter-free charting.
LSDE Zones PRO v2 - Smart Money Concepts - MSS - FVG - OB═══════════════════════════════════════════════════════════
LSDE ZONES PRO v2 - INVITE ONLY
Advanced Smart Money Concepts Indicator
═══════════════════════════════════════════════════════════
📊 OVERVIEW
LSDE Zones PRO v2 is a comprehensive technical analysis tool designed to help traders identify key institutional trading patterns and market structure elements. This indicator visualizes Smart Money Concepts (SMC) to assist in making informed trading decisions.
⚠️ DISCLAIMER: This indicator is for educational and informational purposes only. It does not provide trading signals or investment advice. All trading decisions should be made based on your own analysis and risk management.
═══════════════════════════════════════════════════════════
✨ KEY FEATURES
🔄 MARKET STRUCTURE ANALYSIS
- Market Structure Shift (MSS) detection with multi-bar confirmation
- Break of Structure (BOS) identification
- Trend direction visualization
- Customizable structure period (5-50 bars)
- Volume confirmation option
📦 FAIR VALUE GAPS (FVG)
- Automatic imbalance detection between candles
- Visual gap highlighting with transparent boxes
- 50% midpoint levels for precision entries
- Auto-mitigation tracking when price fills the gap
- Minimum gap size filtering (% based)
- Optional volume confirmation
- Extend and display limit controls
🎯 ORDER BLOCKS (OB)
- Institutional demand/supply zone identification
- Last opposite candle before strong moves
- Visual zone boxes with 50% levels
- Multi-condition validation (body size, volume, momentum)
- Automatic invalidation tracking
- Customizable lookback and extension periods
💥 BREAKER BLOCKS
- Failed order block detection
- Polarity change visualization
- Automatic breaker creation when OB breaks
- Extended validity periods
- Color-coded for direction
⚡ DISPLACEMENT DETECTION
- Strong momentum candle identification
- Body size and volume validation
- Useful for trend initiation signals
- Customizable multiplier (1.5x - 5x)
🌊 LIQUIDITY ANALYSIS
- Dynamic high/low liquidity zones
- Equal high/low detection
- Liquidity sweep identification
- Visual sweep alerts with labels
- Customizable lookback period (5-100 bars)
💰 PREMIUM/DISCOUNT ZONES
- Dynamic price range analysis
- 100%, 75%, 50%, 25%, 0% level plotting
- Multiple anchor options: Daily, Weekly, Session
- Color-coded zone fills
- Equilibrium (50%) midpoint
- Useful for entry timing and bias determination
📅 PREVIOUS DAY HIGH/LOW (PDH/PDL)
- Automatic daily level tracking
- Visual line plotting
- Price labels at levels
- Useful for key support/resistance
🕐 SESSION ANALYSIS
- London Session (03:00-12:00)
- New York Session (08:30-17:00)
- Asian Session (20:00-03:00)
- Session high/low tracking
- Visual background coloring
- Session labels with flags
- Optional session filter for all detections
📊 STATISTICS DASHBOARD
Real-time information display:
- Current trend direction
- Premium/Discount zone status
- Active session
- PDH/PDL levels
- Today's high/low
- Active FVG count
- Active OB count
- Daily range percentage
- Volume status (High/Normal)
🔔 COMPREHENSIVE ALERTS
- Liquidity sweep detection
- Market structure shifts
- Fair value gap creation
- Order block formation
- Breaker block activation
- Displacement detection
- Customizable alert frequency
═══════════════════════════════════════════════════════════
⚙️ CUSTOMIZATION OPTIONS
All features are fully customizable:
- Toggle individual features on/off
- Adjustable lookback periods
- Extension bar controls
- Color customization
- Size filters and thresholds
- Volume confirmation toggles
- Session time settings
- Alert preferences
═══════════════════════════════════════════════════════════
🎨 VISUAL DESIGN
- Clean, professional interface
- Color-coded elements for easy identification
- Transparent overlays to maintain chart clarity
- 50% midpoint levels on all zones (yellow dotted lines)
- Emoji indicators for quick recognition
- Session backgrounds with minimal opacity
- Top-right statistics table
═══════════════════════════════════════════════════════════
📈 BEST PRACTICES
Recommended Settings by Trading Style:
SCALPING (1m-5m):
- Liquidity Lookback: 15
- Structure Period: 7
- FVG/OB Extend: 10 bars
- Session Filter: Enabled
DAY TRADING (15m-1H):
- Liquidity Lookback: 20
- Structure Period: 10
- FVG/OB Extend: 20 bars
- Session Filter: Enabled
SWING TRADING (4H-D):
- Liquidity Lookback: 50
- Structure Period: 20
- FVG/OB Extend: 50 bars
- P/D Anchor: Weekly
═══════════════════════════════════════════════════════════
🎯 RECOMMENDED INSTRUMENTS
Works best on:
- Forex Major Pairs (EURUSD, GBPUSD, USDJPY, etc.)
- Indices (US30, NAS100, SPX500)
- Cryptocurrency (BTCUSD, ETHUSD)
- High liquidity instruments
May be less effective on:
- Low volume stocks
- Exotic pairs
- Highly choppy markets
═══════════════════════════════════════════════════════════
⚡ PERFORMANCE & OPTIMIZATION
- Efficient array management with automatic cleanup
- Maximum display limits to prevent chart lag
- Optimized drawing frequency
- Memory-efficient object handling
- Smooth performance on all timeframes
- No repainting (all calculations use confirmed bars)
═══════════════════════════════════════════════════════════
📚 EDUCATIONAL PURPOSE
This indicator is built on Smart Money Concepts including:
- Market structure theory
- Institutional order flow
- Supply and demand dynamics
- Liquidity concepts
- Fair value analysis
Users are encouraged to:
- Study SMC principles thoroughly
- Practice on demo accounts first
- Combine with proper risk management
- Use alongside other analysis methods
- Never rely solely on indicators
═══════════════════════════════════════════════════════════
⚠️ IMPORTANT DISCLAIMERS
1. NOT FINANCIAL ADVICE: This indicator does not provide buy/sell signals or investment recommendations. It is a visual tool for technical analysis only.
2. PAST PERFORMANCE: Historical patterns do not guarantee future results. Always conduct your own analysis.
3. RISK WARNING: Trading involves substantial risk of loss. Only trade with capital you can afford to lose.
4. EDUCATION FIRST: Learn Smart Money Concepts thoroughly before using this tool in live trading.
5. NO GUARANTEE: No indicator is 100% accurate. This tool is meant to assist analysis, not replace it.
6. DEMO TESTING: Always test strategies on demo accounts before live implementation.
7. PERSONAL RESPONSIBILITY: All trading decisions and their outcomes are your own responsibility.
═══════════════════════════════════════════════════════════
🔐 INVITE-ONLY ACCESS
This indicator is published as invite-only to ensure proper user education and responsible usage. Access is granted to users who:
- Understand Smart Money Concepts
- Have proper risk management practices
- Commit to using the tool responsibly
- Will not redistribute or share access
═══════════════════════════════════════════════════════════
📞 SUPPORT & UPDATES
- Regular updates and improvements
- Bug fixes and optimization
- Feature requests considered
- Active support for invited users
═══════════════════════════════════════════════════════════
🏆 VERSION INFORMATION
Current Version: 2.0
Release Date: January 2025
Pine Script Version: v5
Previous versions are deprecated. Always use the latest version for best performance and features.
═══════════════════════════════════════════════════════════
📖 CREDITS & ACKNOWLEDGMENTS
- Based on Smart Money Concepts (SMC)
- Inspired by institutional trading principles
- Community feedback incorporated
- Open to suggestions for improvement
═══════════════════════════════════════════════════════════
🙏 THANK YOU
Thank you for your interest in LSDE Zones PRO v2. Please use it responsibly and always prioritize proper education and risk management in your trading journey.
Remember: The best indicator is knowledge, discipline, and proper risk management.
Happy Trading! 📈
═══════════════════════════════════════════════════════════
PROFFESOR OCC V5 (proffesor)eh Smart Buy Sell Indicator specially un traders ke liye banaya gaya hai jo Crypto, Forex, Gold aur Indices me clean aur accurate entry signals chahte hain.
Indicator price action + trend logic par kaam karta hai aur chart par clear BUY (Green) aur SELL (Red) signals show karta hai.
✅ Key Features
✔️ Green BUY Signal – Strong bullish confirmation
✔️ Red SELL Signal – Strong bearish confirmation
✔️ No Repaint Logic – Signal candle close hone ke baad fix ho jata hai
✔️ Beginner Friendly – Simple aur easy to understand
✔️ Works on All Timeframes – 1m se Daily / Weekly tak
✔️ All Markets Supported – Crypto | Forex | Gold | Indices
📌 How to Use
🟢 BUY Entry:
Jab chart par Green BUY label appear ho
Best results ke liye trend ke direction me trade lein
🔴 SELL Entry:
Jab chart par Red SELL label appear ho
Overbought ya downtrend market me zyada effective
📍 Stop Loss & Target:
SL recent swing high/low ke hisaab se
Target RR 1:2 ya 1:3 recommended
⚠️ Important Note
⚠️ Yeh indicator 100% accuracy ka promise nahi karta
⚠️ Hamesha risk management follow karein
⚠️ Indicator ko confirmation tool ke roop me use karein
👨🏫 Best For
✅ Intraday Traders
✅ Scalpers
✅ Swing Traders
✅ Live Trading & Stream Use
PINE PRO [V2.1] - Ultimate Trading Suite
Overview PINE PRO is an advanced algorithmic trading suite engineered for precision and clarity. In an era of market noise and false signals, this system employs a Multi-Dimensional Confluence Engine to isolate high-probability setups. By synthesizing momentum vectors, multi-timeframe structural bias, and institutional volume flow, PINE PRO delivers a clean, actionable interpretation of market dynamics.
Designed for both scalpers and swing traders, the V2.1 architecture integrates automated risk management with real-time data visualization, making it a complete workspace for serious market participants.
Core Features & Intelligence
1. Fractal Trend Synchronization (The Core) At the heart of PINE PRO is a sophisticated Fractal Alignment Algorithm. Before a signal appears on your chart, the system scans up to six higher timeframes in the background. It only validates an entry when the short-term price action aligns seamlessly with the dominant macro trend. This drastically reduces "whipsaws" and ensures you are trading with the flow, not against it.
2. Institutional Volume & Gap Detection Price is nothing without volume. PINE PRO utilizes a Volume-Weighted filter to validate breakouts, ensuring that moves are backed by real participation. Additionally, it automatically detects and highlights:
Liquidity Voids (Gaps): Both Daily and Intraday gaps are marked, serving as magnetic targets for price action.
Momentum Spikes: High-volume candles are color-coded to identify institutional footprints.
3. Adaptive Trend Ribbon The PINE PRO Ribbon provides an instant visual context. Using a non-lagging smoothing algorithm, it filters out minor fluctuations to reveal the true market state (Bullish/Bearish). This acts as your primary "Go/No-Go" gauge—keeping you out of choppy, uncertain markets.
4. Smart Structure & Risk Management
Supply & Demand Zones: The script automatically plots critical reaction levels based on pivot structures, helping you anticipate reversals.
Automated Trade Management: Upon signal confirmation, the system projects 3 dynamic Take Profit levels (based on Reward-to-Risk ratios) and a Trailing Stop Loss, automating the mathematics of risk management.
Exhaustion Alerts: Special "Purple Candle" logic identifies potential trend exhaustion, signaling optimal exit points before a reversal occurs.
5. The Intelligence Dashboard A non-intrusive, on-screen panel provides a real-time health check of the market, displaying:
Multi-Timeframe Trend Heatmap (3m to 4H).
Current Trade Status (Entry, Stop Loss, Levels Hit).
Live Mark-to-Market (MTM) calculations.
Next-Candle Bias Prediction.
How to Use PINE PRO
Entry: Wait for a "BULLISH" or "BEARISH" signal tag.
Confirmation: Ensure the Trend Ribbon color matches the signal. Check the Dashboard to confirm that higher timeframes (e.g., 1H, 4H) are in agreement.
Execution: Use the projected TP1/TP2 levels for exits and respect the Stop Loss lines.
Settings
Risk Mode: Toggle between "Safe" (Conservative, Trend-Following) or "Scalping" (Aggressive, Fast-Response).
Dashboard: Fully customizable position and size to fit any screen resolution.
Disclaimer PINE PRO is an analytical tool for educational purposes. Trading financial markets involves significant risk. Past performance of the algorithm does not guarantee future results.
Commitments of Traders ReportCommitments of Traders (COT)
What this indicator does (very simple):
Shows weekly COT data from large traders (institutions)
Displays Long / Short / Net positions
Tells you who is in control: Bulls or Bears
🧠 How to read it (quick)
1) COT Table
Long Change → Institutions added / closed longs
Short Change → Institutions added / closed shorts
Net Position → Long − Short
Data updates once per week (Friday)
2) Buy / Sell Labels
BUY → Weekly Net position increased
SELL → Weekly Net position decreased
Signals appear only when a new COT report is released
3) Market Context (Bias Table)
Uses Daily EMA trend
Combines it with weekly COT behavior
Shows:
Bullish continuation
Bearish continuation
Caution / Sideways
Reversal risk
✅ Bias
🎯 Best use
For big-picture bias
PIP BOOSTER Mac_Apple (Desktop) FullversionThe PIP BOOSTER from underground-traders.com is a very intelligent indicator with integrated win-rate tracking (%), which can be used on all markets and timeframes. Thanks to its two fundamentally different algorithms, the PIP BOOSTER is able to find a profitable setup in over 80% of all charts. The win-rate tracking (%) is highly detailed and can be applied to up to 5,000 candles.
It updates after every single signal, ensuring that performance monitoring is always up to date. Additionally, PIP BOOSTER users can apply different time filters, which can further optimize performance.
There is both a desktop version and a mobile version, which can be used with the TradingView mobile app. All signals are displayed clearly in the mobile app, making it possible to trade directly from your smartphone.
Please note that the demo version does not include any live signals. The demo version is only for you to evaluate the performance (win-rate %) of the two algorithms.
We guarantee that there are no repaint signals, and the signals in the demo version are 100% identical to those in the full version.
For any questions, please visit:
underground-traders.com
Or contact us at:
help@underground-traders.com
Gold Futures Grid MapperGold Futures Grid Mapper is a precision mapping tool designed to project COMEX Gold Futures (GC) price levels directly onto your spot gold chart. It helps traders visualize institutional futures levels as a structured grid, enabling clearer decision-making around key psychological and technical prices.
This indicator is especially useful for XAUUSD, spot gold, and CFD traders who want to align their analysis with futures market structure.
🔍 What This Indicator Does
Pulls live Gold Futures (GC) prices from a selected futures feed
Builds a fixed-dollar price grid (e.g. every $25) based on futures levels
Optionally adjusts futures levels to spot price, compensating for spread differences
Displays clean, dashed horizontal grid lines with labeled GC price levels
Updates dynamically on the latest bar only (no chart clutter or lag)
✨ Key Features
Futures-to-Spot Mapping
Automatically aligns GC futures levels to your current chart price.
Custom Grid Interval
Define your own grid spacing (e.g. $10, $25, $50).
Symmetrical Grid Projection
Plot multiple levels above and below the current price.
Clear Visual Design
Dashed golden grid lines with readable price labels.
Live Futures Dashboard
Displays the active futures feed and real-time GC price.
Spark Capital | Option Selling Range Calculator (By Shaurya)🔹 Spark Capital Option Selling Range Calculator
This indicator is designed for systematic index option sellers who want a probability-driven, volatility-aware framework to identify safe, moderate, and high-risk option selling zones on NIFTY.
The tool combines India VIX, time-to-expiry, and trend structure to dynamically project statistically significant price ranges using sigma-based expected move calculations, updated on every candle.
Opens and Levels MapperOpens & Levels Mapper — Institutional Overview
Opens & Levels Mapper provides a precise and unobtrusive framework of institutional reference levels used across global markets.
The tool focuses exclusively on time-based levels that matter for intraday structure, volatility timing, and session-to-session behavior.
Reference Levels Included
• Previous Ranges
PDH / PDL
PWH / PWL
PMH / PML
Anchored on the exact bar where each level forms to maintain structural integrity for sweeps, retests, liquidity grabs, and range rotations.
• Mid-Range (Optional)
50% of PD / PW / PM
Equilibrium markers offering internal range context without noise.
• Session Opens (DST-Proof)
London Midnight
London Open
New York Midnight
New York Cash Open
Hong Kong Open
Tokyo Open
All timestamps use real session timezones and auto-adjust with DST, ensuring accurate reference points monitored by professional desks.
Technical Characteristics
True timezone handling (DST-adjusted)
Anchoring directly on event-defining bars
Multiple line modes (Start→Now, Start→Right, Full Extend)
Optional price labels for core levels
Minimalist and clean visual footprint
No synthetic signals or artificial zones — only actionable reference levels
Use-Case Profile
Intraday bias development
Session overlap transitions
Reaction analysis around opens and previous ranges
Liquidity behavior at institutional reference points
Cross-session continuity (Asia → London → New York)
Works seamlessly alongside order flow, liquidity concepts, VWAP, FVGs, and market structure tools.
Disclaimer
This script does not generate trading signals or provide financial advice.
It is a contextual analysis tool.
Trading involves risk, and users remain solely responsible for their decisions.
• Built with Pine Script® v6
VSA (SC,BC) by Syed ShayanVSA (SC, BC) Climax
This indicator is designed for the trading community to detect Selling Climaxes (SC) and Buying Climaxes (BC) based on Volume Spread Analysis (VSA) principles. It identifies institutional exhaustion points and draws automatic trigger lines for potential reversals.
Key Features
Real-time Climax Detection: Automatically highlights SC/BC candles based on abnormal volume and price action.
Automatic Trigger Lines: Draws support/resistance lines that remain valid until broken by high-volume price action.
Clean Chart UI: Lines disappear automatically when a setup is invalidated, keeping your chart clutter-free.
Best Timeframe Usage (Important!)
Recommended for Lower Timeframes: This indicator is highly optimized and works best on 1m, 3m, and 5m charts for precise scalping and intraday setups.
Higher Timeframe Note: On larger timeframes (like 1H or Daily), the algorithm may occasionally struggle to detect a Climax because volume spikes are less distinct. For the most accurate signals, stick to lower timeframes.
How to Use & Set Alerts
Apply to Chart: Search for "VSA (SC,BC) by Syed Shayan" in the Indicators tab and click to add.
Setup Alerts: Press Alt + A to open the Alert menu.
Condition: Select this indicator and choose either "VSA SC Alert" (Bullish) or "VSA BC Alert" (Bearish).
Frequency: Set to "Once Per Bar Close" to ensure signal confirmation.
BTC Arbitrage Detector套利检测器 — 技术原理与 Webhook 实时监控指南
许可证:Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
作者:加密社
适用市场:加密货币(如 BTC/USDT)、外汇(如 EUR/USD)
一、核心目标
本指标旨在实时监测同一交易品种在多个交易所或经纪商之间的价格极差(Price Spread),并通过统计方法识别当前价差是否处于“异常”状态。当价差显著扩大时,可能意味着存在套利机会、流动性断裂或数据源异常,用户可据此采取相应操作。
二、关键技术原理
1. 多源数据聚合
指标通过 request.security() 函数并行请求多个交易所的实时价格与成交量数据。例如,当图表品种为 BTCUSD 且类型为 crypto 时,自动从以下 19 家交易所获取数据:
BITSTAMP, COINBASE, BINANCE, KRAKEN, OKX, BYBIT, KUCOIN, MEXC, BITGET...
对于外汇品种(如 EURUSD),则切换至 OANDA, PEPPERSTONE, IBKR, SAXO 等 13 家外汇经纪商。
注意:若某交易所不支持该品种(如 GEMINI 无 ETH/BTC),系统会自动忽略无效符号(ignore_invalid_symbol = true),确保脚本稳定运行。
2. 价差计算与滑动窗口
价差定义:在每个 K 线周期,取所有有效交易所的最新价格,计算其最大值与最小值之差(即 range())。
历史窗口:默认使用最近 1000 根 K 线的价差序列(可通过输入参数调整),构成动态参考分布。用户也可启用“完整数据集”以使用全部历史数据(需注意资源限制)。
3. 百分位分级机制
对当前价差在其历史分布中的位置进行百分位排名(percentrank),并按以下阈值划分等级:
异常(Unusual):> 98% 分位(默认)
高(High):> 75% 分位
典型(Typical):> 25% 分位
低(Low):≤ 25% 分位
该分级基于非参数统计,无需假设价差服从正态分布,适应性强。
4. 自适应平滑算法(AMA)
为减少噪声干扰,指标提供两种平滑选项:
固定 EMA:对原始价差序列应用指数移动平均(默认周期 9)
自适应移动平均(AMA):将当前价差的百分位排名作为“效率比率”(Efficiency Ratio),动态调整平滑系数。当价差突变(高百分位)时响应更快,平稳期则更平滑。
5. 交互式仪表盘
仪表盘展示每家交易所的:
最新价格 / 成交量
平均价格 / 成交量(基于用户设定的平均周期,默认 20)
可选显示与主图资产的绝对差值(如 Binance 价格比主图高 $ 120)
支持按任意列升序/降序排序,快速定位最高/最低报价源
三、如何利用 Webhook 实现异常价差实时告警
TradingView 的 Alert + Webhook 功能可将指标信号推送至外部服务(如 Telegram、Discord、自建服务器),实现 7×24 小时监控。
步骤 1:修改脚本,添加 Alert 条件
原脚本为纯指标(indicator),不支持 alertcondition()。需在脚本末尾添加以下代码:
// 在脚本最后添加(calc_bars_count 行之后)
var float spreadPercentRank = na
spreadPercentRank := spreads.percentrank(spreads.size() - 1)
// 定义异常价差条件(例如 >98% 分位)
unusualCondition = spreadPercentRank > unusualPercentilInput
// 创建告警条件
alertcondition(unusualCondition, title="异常价差触发", message="【{{ticker}}】出现异常跨交易所价差!当前百分位:{{plot0}}%,价差:{{plot1}}")
注意:{{plot0}} 和 {{plot1}} 会自动替换为第一个和第二个 plot() 的当前值(即 spreadPercentRank 和 currentSpread)。
步骤 2:在 TradingView 创建告警
打开图表,加载修改后的指标
点击指标名称 → “添加告警”(Add Alert)
触发条件选择 “异常价差触发”
在“操作”中选择 Webhook URL
填入你的 Webhook 地址(例如:https://your-server.com/arbitrage-alert)
勾选 “仅当条件首次为真时触发”(避免重复通知)
保存
Arbitrage Detector — Technical Principles and Webhook Real-Time Monitoring Guide
License: Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
Author: Crypto Community
Applicable Markets: Cryptocurrencies (e.g., BTC/USDT), Forex (e.g., EUR/USD)
1. Core Objective
This indicator is designed to monitor the price spread—the difference between the highest and lowest quoted prices—of the same trading instrument across multiple exchanges or brokers in real time. Using statistical methods, it evaluates whether the current spread falls into an "anomalous" regime. A significantly widened spread may signal potential arbitrage opportunities, liquidity fragmentation, or data feed anomalies, enabling users to take timely action.
2. Key Technical Principles
2.1 Multi-Source Data Aggregation
The script uses Pine Script’s request.security() function to fetch real-time price and volume data from multiple venues simultaneously. For example:
When the chart symbol is BTCUSD and its type is crypto, the script automatically pulls data from 19 major cryptocurrency exchanges:
BITSTAMP, COINBASE, BINANCE, KRAKEN, OKX, BYBIT, KUCOIN, MEXC, BITGET, GEMINI, CRYPTOCOM, WHITEBIT, BTSE, HTX, GATE, etc.
For forex pairs like EURUSD, it switches to 13 leading brokers:
OANDA, PEPPERSTONE, IBKR, SAXO, TICKMILL, FXCM, FOREX.COM, CAPITAL.COM, etc.
Note: If a venue does not support the symbol (e.g., GEMINI lacks ETH/BTC), the script safely skips it using ignore_invalid_symbol = true, ensuring robust execution.
2.2 Spread Calculation and Sliding Window
Spread Definition: At each confirmed bar, the script collects all valid latest prices and computes their range (max – min).
Historical Reference Window: By default, it maintains a rolling window of the last 1,000 spread values to form a dynamic empirical distribution. Users can adjust this length or enable “Full Dataset” mode to use all available historical data (subject to TradingView’s runtime limits).
2.3 Percentile-Based Classification
The current spread is ranked against its historical distribution using percentrank(). It is then classified into one of four tiers based on user-defined thresholds:
Unusual: >98th percentile (default)
High: >75th percentile
Typical: >25th percentile
Low: ≤25th percentile
This non-parametric approach makes no assumptions about the underlying distribution of spreads, offering strong adaptability across volatile and stable market regimes.
2.4 Adaptive Smoothing Algorithm (AMA)
To reduce noise while preserving responsiveness, two smoothing options are provided:
Fixed EMA: Applies a standard exponential moving average (default period: 9) to the raw spread series.
Adaptive Moving Average (AMA): Uses the current spread’s percentile rank as an “efficiency ratio” to dynamically adjust the smoothing factor. During sharp divergences (high percentile), the AMA reacts quickly; during calm periods, it becomes smoother.
2.5 Interactive Dashboard
The on-chart dashboard displays, for each venue:
Latest price and volume
Average price and volume (over a user-defined lookback period, default: 20 bars)
Optional absolute delta vs. the chart’s primary symbol (e.g., “Binance price is $ 120 higher than chart”)
Sortable columns (ascending/descending) by price or volume to instantly identify outliers
3. Setting Up Webhook Alerts for Real-Time Anomaly Notifications
TradingView’s Alert + Webhook system allows you to push signals to external services (e.g., Telegram, Discord, or a custom server) for 24/7 monitoring.
Step 1: Modify the Script to Add Alert Conditions
Since the original script is declared as an indicator(), it cannot trigger alerts by default. Append the following code at the end of the script (after the calc_bars_count line):
pinescript
编辑
// Add at the very end of the script
var float spreadPercentRank = na
spreadPercentRank := spreads.percentrank(spreads.size() - 1)
// Define alert condition: spread exceeds "Unusual" threshold
bool unusualCondition = spreadPercentRank > unusualPercentilInput
// Create alert condition with dynamic message
alertcondition(unusualCondition, title="Unusual Spread Detected",
message="【{{ticker}}】Unusual cross-exchange spread detected! Percentile: {{plot0}}%, Spread: {{plot1}}")
Note: {{plot0}} and {{plot1}} will be replaced at runtime with the values of the first and second plot() calls in the script—corresponding to spreadPercentRank and currentSpread, respectively.
Step 2: Create an Alert in TradingView
Apply the modified indicator to your chart.
Click the indicator name in the legend → “Add Alert”.
Under Condition, select “Unusual Spread Detected”.
In the Actions section, choose “Webhook URL”.
Enter your webhook endpoint (e.g., your-server.com).
Check “Once Per Bar” or “Once Per Condition” to avoid repeated notifications.
Save the alert.
SMC M5 Entry PRO (MTF Trend + TP/SL)//====================== ALERTS ======================//
alertcondition(bullBOS and useBOS, "BUY BOS", "Bullish BOS detected")
alertcondition(bearBOS and useBOS, "SELL BOS", "Bearish BOS detected")
alertcondition(bullCHOCH and useCHOCH, "BUY CHOCH", "Bullish CHOCH detected")
alertcondition(bearCHOCH and useCHOCH, "SELL CHOCH", "Bearish CHOCH detected")
Professional Clean BTC ChartInstitutional Price Structure is a clean, price-focused charting tool designed to provide traders with a clear and distraction-free view of market structure, trend context, and key reference levels.
The indicator replaces default candles with neutral grayscale price bars to reduce visual noise and improve readability during high-volatility conditions. Trend direction is defined using a fast and slow exponential moving average, offering immediate context without lag-heavy complexity.
A session-based VWAP is included as a core institutional benchmark, allowing traders to quickly assess mean reversion, premium/discount zones, and intraday bias. Daily high and low levels are plotted automatically to highlight key liquidity boundaries and reaction zones commonly respected by professional participants.
This tool is intentionally minimalist—free of oscillators and signals—to support discretionary decision-making, execution precision, and price-action-based strategies across intraday and swing timeframes.
Boi stratThis is not investment advice. Trading fulltime with chart
This model is unproven and may be profitable or risky.
Trend Matrix Open Interest EnhancedOpen interest happy
he provided materials offer a technical guide on enhancing trading efficiency through specific technical indicators and visual data workflows. One source emphasises the importance of streamlined infographic designs to better illustrate complex processes with clear examples. The primary content focuses on a VWAP strategy for Bitcoin, specifically highlighting the utility of standard deviation bands as pivot points for high-frequency scalping. The presenter explains how to integrate Volume Bubble Pro to identify market absorption and reward, allowing traders to distinguish between winning and losing participants. By combining these volume-based tools, the author demonstrates how to execute aggressive entries and manage risk through precise sniper setups. Ultimately, the sources aim to provide a practical fram






















