BTC - Satoshis Altcoin Graveyard OVERVIEW
The Satoshi's Altcoin Graveyard (SAG) is a macro-statistical engine designed to solve the problem of Survivorship Bias . It is a well-known phenomenon in the crypto markets that the "Top 10" list is in a constant state of flux. If you look at historical data from CoinMarketCap (CMC) year by year, you will see a revolving door of projects that once seemed "too big to fail" disappearing into obscurity. Meanwhile, Bitcoin has remained the undisputed #1 since inception.
While most traders have a "gut feeling" that Altcoins eventually depreciate against Bitcoin, I believe in measuring it and drawing it on a chart for better visibility. By locking in specific "Cohorts" of market leaders from the past, we can track their inevitable decay through the Satoshi Sieve .
THE 13-COIN STATISTICAL BUCKET
To ensure an objective, non-biased audit, each cohort (we look at 2018, 2020 and 2022) is constructed using a fixed market-cap methodology from the snapshot date (excluding stablecoins):
• The Core: The Top 10 non-stablecoin assets at that time by Marketcap.
• The Risk Alpha: Representative samples from the Top #25, #50, and #100 ranks. (By including lower-ranked "riskier" alts, we capture the full statistical decay of the market, not just the "Blue Chips.")
TECHNICAL ARCHITECTURE
This script is engineered to push the boundaries of the Pine Script engine. TradingView enforces a hard limit of 40 unique data requests . By tracking 3 cohorts of 13 assets plus the Bitcoin base, this indicator utilizes exactly 40/40 requests , providing the maximum possible data density in a single chart window.
THE SPS CONCEPT (Survival Probability Score)
The SPS measures the Breadth of Survival . It answers: "How many coins from this year (the year of the snapshot) are actually outperforming BTC?"
We use a binary logic system to determine if a coin is "Winning" or "Losing" against the only benchmark that matters: Bitcoin.
• The Status Formula: Status = Current_Alt_BTC_Ratio >= Entry_Alt_BTC_Ratio ? 1 : 0 . This means: Every single day, at the Daily Close , the script compares the current Alt/BTC ratio to the fixed ratio from the snapshot date. If the coin is worth more in Bitcoin today than it was back then, it is assigned a "1" (a Win). If it has lost value against Bitcoin, it gets a "0" (a Loss).
• The SPS Line: SPS Line = (Sum of 'Wins' / 13) * 100 This means: We add up all the "Winners" for that specific day and turn it into a percentage. For example, if the Aqua line is at 7.69% on your chart, it confirms that on that day , exactly 1 out of the 13 coins was successfully beating Bitcoin, while the other 12 were underperforming.
THE PERFORMANCE MATRIX
In the top-right corner, we provide a Weighted Portfolio Simulation . This answers the financial question: "If I swapped 1 BTC into an equal-weight basket of these 13 coins on the snapshot day, what is my BTC value today?".
• Value < 1.0 BTC: You lost purchasing power compared to holding Bitcoin.
• Value > 1.0 BTC: You successfully achieved "Alpha" over the benchmark.
HOW TO READ THE CHART
• The Waterfall: Lines generally trend downward as the "Satoshi Sieve" filters out assets that cannot maintain their BTC-relative value.
• Dynamic Winners: We dynamically print the names of the current survivors at the tip of each line. If a cohort shows "None," the graveyard is full.
HOW TO READ THE MATRIX
• The BTC Target: Any portfolio value in the matrix below 1.0 BTC represents a failed altcoin rotation.
• Class of 2018: A portfolio value near 0.15 BTC at the current date, means a 85% loss rate.
• Class of 2020: A portfolio value near 0.77 BTC at the current date, means an approx 20 % loss rate.
• Class of 2022: A portfolio value near 0.31 BTC at the current date, means an approx 70% loss rate.
DIFFERENCE FROM AN ALTCOIN INDEX
Standard Altcoin Indexes (like my ALSI Index ) "rebalance" by removing losers and adding new winners. This is deceptive. The Altcoin Graveyard never rebalances . It forces you to watch the "losers" decay, providing a realistic look at the long-term opportunity cost of "Buy and Hold" for anything other than Bitcoin.
CONCLUSION
The data revealed by the Satoshi Sieve leads to a singular, sobering "Lesson Learned": Picking the right coin to outperform Bitcoin is not just difficult—it is statistically improbable over a long-term horizon.
While the "Risk-Reward" of altcoins is often marketed as having higher upside, the Altcoin Graveyard proves that for the vast majority of assets, the reward does not justify the risk of total portfolio erosion in BTC terms.
• The Mathematical Odds: If you picked a Top 10 coin in 2018, your chance of outperforming BTC today is effectively 0%.
• The Rotation Trap: Most investors "HODL" these assets into the graveyard, hoping for a return to previous ATHs that never comes because the liquidity has already moved on to the next "Class" of winners.
The final conclusion is clear: Diversification into altcoins is often just a slow-motion transfer of wealth back to Bitcoin. If you cannot identify the 1-out-of-13 that survives the Sieve, your best risk-adjusted move has historically been to simply hold the benchmark.
DISCLAIMER
This script is for educational purposes only. It does not constitute financial advice. It is a mathematical study of historical opportunity cost and survivorship bias.
Tags
bitcoin, btc, satoshis graveyard, altseason, dominance, total3, rotation, cycle, index, alsi, Rob Maths, robmaths
Cripto
RSI Open-Source IndicatorA simple open-source RSI indicator
using default settings.
No signals.
No predictions.
WEEKEND BOX (FRIDAY 17:00 - SUNDAY 18:00 NY)As the name “Weekend Box” suggests, this indicator highlights the price range of cryptocurrencies between Friday 17:00 and Sunday 18:00 (New York time). It draws a box around this period to visualize how Bitcoin and other crypto assets behave while the forex market is closed. The goal is to provide a simple, educational tool for anyone interested in studying weekend volatility and market behavior in crypto. Thank you.
IcebergCryptoX - Week Data Gap📊 BTC WEEKEND DATA COLLECTION
This indicator analyzes Bitcoin movements during weekends when traditional US markets are closed.
🎯 DATA COLLECTED:
- Gap from Friday close → Monday open (%)
- Maximum upward/downward movements during the weekend
- Total weekend range
- Mean reversion rate (return to Friday closing price)
- Movement direction (positive/negative/neutral)
- Historical records (biggest gaps and ranges)
📈 FEATURES:
✓ Colored zones to visually identify weekends
✓ Detailed labels on each weekend with key metrics
✓ Real-time statistics table
✓ Tracking of extremes and averages
✓ 100% data collection (no trading signals)
⚙️ PARAMETERS:
- Display weekend zones (on/off)
- Display labels (on/off)
- Statistics table (on/off)
- Significant movement threshold (customizable)
📉 USAGE:
Ideal for analyzing BTC volatility patterns outside US trading hours and identifying recurring opportunities.
Recommended timeframe: 15min to 1H
Ranked Exchange Volume (REV)📊 Ranked Exchange Volume (REV) - Multi-Venue Volume Distribution Visualizer
## Stop Guessing Where the Real Volume Is. See It.
Most traders look at aggregate volume and miss the critical story: **where** that volume actually traded. Ranked Exchange Volume (REV) solves this by revealing the complete liquidity landscape across multiple trading venues in a single, elegant visualization.
This isn't just another volume indicator—it's a **dynamic stratified histogram** that automatically reorganizes exchange layers by magnitude on every bar, showing you **instant market dominance** at a glance.
---
## 🎯 The Core Innovation: Self-Organizing Volume Layers
REV displays volume from up to 10 different exchanges as **stacked, color-coded bars** where the largest volume source literally rises to the top. Watch as exchanges compete for dominance in real-time:
- **Largest volume = Top of the bar** (most visible position)
- **Smallest volume = Bottom of the bar** (foundation layer)
- **Everything in between = Automatically sorted on every candle**
This visual hierarchy makes it instantly obvious which venues are leading the market—no mental math required.
---
## ✨ Key Features
### 🔄 **Dynamic Layer Sorting**
Unlike static stacked charts, REV uses real-time stratification. If Binance had 60% of volume last bar but Coinbase takes 70% this bar, you'll see Coinbase jump to the top. The hierarchy reflects current reality, not a fixed order.
### 🎨 **10 Fully Customizable Exchange Slots**
Each exchange slot offers complete control:
- **Enable/Disable toggle** - Turn exchanges on/off without losing your configuration
- **Custom prefix** - Track ANY exchange on TradingView (BINANCE, KRAKEN, OANDA, FXCM, etc.)
- **Custom suffix** - Specify quote currency (USDT, USD, EUR, or leave blank for stocks/forex)
- **Display name** - Control how exchanges appear in the rankings table
- **Color selection** - Match your chart theme or use brand colors for instant recognition
### 📊 **Live Rankings Table**
A real-time leaderboard shows:
- **Rank** - Current position (1 = highest volume)
- **Exchange name** - With color-coded background
- **Volume** - Intelligently formatted with K/M/B units
- **Percentage** - Exact market share
**Table positioning:** Choose from 9 screen positions (top/middle/bottom × left/center/right) to keep your chart clean.
### 🧮 **Intelligent Volume Formatting**
REV automatically detects volume magnitude and applies the appropriate scale:
- **Billions** - Displays as "1.5B" for readability
- **Millions** - Displays as "342.8M"
- **Thousands** - Displays as "45.2K"
- **Full numbers option** - Toggle to see complete values (23,456,789)
The scale adjusts per-bar, so you always see the clearest representation.
### 🚨 **Three Built-In Alert Conditions**
1. **Exchange Dominance Alert (>50%)**
- Triggers when a single venue controls majority of volume
- Signals potential liquidity concentration risk or exchange-specific events
2. **Volume Spike Alert (>2x average)**
- Detects unusual aggregate activity across all venues
- Catches breakouts, news events, or institutional flow
3. **Liquidity Migration Alert**
- Fires when market leadership shifts between exchanges
- Reveals arbitrage opportunities or changing market structure
### 📈 **Optional Total Volume Line**
Display aggregate volume from all exchanges as a reference overlay with customizable color.
---
## 🌍 Market Compatibility: Beyond Crypto
While optimized for cryptocurrency (its primary design), REV works across multiple asset classes:
### ✅ **Cryptocurrency (Perfect Fit)**
**Why it excels:** Crypto trades 24/7 across dozens of global exchanges simultaneously. REV reveals true price discovery.
**Example configurations:**
- **BTC/USDT:** Compare Binance, Coinbase, OKX, Bybit, Kraken, Bitget
- **ETH/USD:** Track institutional venues (Coinbase, Kraken, Gemini) vs retail (Binance, Gate.io)
- **Altcoins:** Identify which exchanges have the deepest liquidity before placing large orders
**Trading applications:**
- **Arbitrage detection** - Spot when volume migrates between venues (price differential opportunities)
- **Exchange risk** - Don't trade on exchanges with suspiciously low volume
- **Whale tracking** - Sudden Coinbase dominance often signals institutional activity
- **Market maker identification** - Consistent Binance leadership suggests MM concentration
### ✅ **Forex (Excellent Fit)**
**Why it works:** Forex doesn't have centralized exchanges—it trades OTC across multiple broker feeds. REV shows which data providers are seeing the action.
**Example configurations:**
- **EUR/USD:** Compare OANDA, FXCM, FOREX.COM, FX_IDC, CAPITALCOM
- **GBP/JPY:** Track volatility across broker feeds
- **Exotics:** Verify liquidity before trading thin pairs
**Setup notes:**
- Leave **suffix field blank** for forex
- Use broker prefixes: OANDA, FXCM, FOREXCOM, FX_IDC, SAXO
- Symbol constructs as "OANDA:EURUSD"
**Trading applications:**
- **Spread verification** - Higher volume feeds typically offer tighter spreads
- **News event tracking** - See which brokers capture the most flow during announcements
- **Session analysis** - Watch London/NY volume shifts across different providers
### ⚠️ **Stocks (Limited But Useful)**
**Where it works:**
- **Dual-listed stocks** - Canadian companies on TSX and NYSE
- **International ADRs** - Same company, different exchanges
- **ETF arbitrage** - Compare volume across regional listings
**Example configurations:**
- **Shopify (SHOP):** Compare TSX vs NYSE volume
- **Alibaba (BABA):** NYSE vs HKEX volume
- **European stocks:** Compare primary exchange vs secondary listings
**Setup notes:**
- Leave **suffix field blank**
- Use exchange prefixes: NYSE, NASDAQ, TSX, LSE, XETRA
- Note: TradingView doesn't show per-venue volume for U.S. equities (NYSE vs BATS vs ARCA all aggregate)
**Limitations:** Most stocks trade primarily on one exchange, so REV is less valuable than in crypto/forex.
### ❌ **Futures (Not Recommended)**
Futures contracts differ by exchange (CME's ES ≠ EUREX's FESX), so volume isn't comparable.
---
## 📚 Practical Use Cases
### 1. **Pre-Trade Liquidity Analysis**
Before entering a large position, check which exchanges have sufficient volume to fill your order without slippage.
**Example:** You want to sell 50 BTC. REV shows Binance has 2,340 BTC volume this hour while a smaller exchange has only 87 BTC. Route your order to Binance for better execution.
### 2. **Exchange Risk Management**
Identify "fake volume" or wash trading by comparing venues.
**Red flag pattern:** An exchange consistently shows 10x the volume of competitors but with minimal price impact—likely artificial.
### 3. **Arbitrage Opportunity Detection**
When volume suddenly concentrates on one exchange, price premiums/discounts often appear.
**Alert pattern:** Liquidity Migration alert fires → Check price differences → Execute arb if spread exceeds fees.
### 4. **Institutional Flow Tracking**
In crypto, institutions typically use regulated exchanges (Coinbase, Kraken, Gemini).
**Pattern to watch:** Coinbase volume spikes to 60%+ dominance → Often precedes directional moves as institutions position.
### 5. **Market Structure Analysis**
Watch long-term trends in exchange dominance to understand market evolution.
**Example insight:** "Binance's market share has dropped from 70% to 45% over 6 months as traders diversify to OKX and Bybit."
### 6. **Event Response Comparison**
During major news events, see which exchanges react first.
**Analysis:** If one exchange shows volume spike 5 minutes before others, that feed may have faster news incorporation.
---
## ⚙️ Technical Specifications
- **Maximum exchanges:** 10 simultaneous venues
- **Sorting algorithm:** Bubble sort (O(n²) but optimal for n=10, prioritizes stability)
- **Update frequency:** Real-time, every bar
- **Data handling:** Gracefully ignores invalid symbols, treats NA as zero
- **Chart type:** Non-overlay (separate pane below price)
- **Performance:** Lightweight, no lag on any timeframe
---
## 🚀 Getting Started
### Quick Setup (5 Minutes)
**For Crypto Traders (Default Configuration):**
1. Add indicator to any crypto chart (BTC, ETH, SOL, etc.)
2. Works immediately—top 10 exchanges pre-configured
3. Customize colors if desired
4. Position table to your preference
**For Forex Traders:**
1. Open any forex pair (EUR/USD, GBP/JPY, etc.)
2. Go to Exchange 1 settings
3. Change prefix to "OANDA" (or your preferred broker)
4. **Clear the suffix field** (leave it blank)
5. Repeat for other exchanges (FXCM, FOREXCOM, FX_IDC, etc.)
6. Disable any unused exchange slots
**For Stock Traders (Dual-Listed):**
1. Open a dual-listed stock (e.g., SHOP on TSX)
2. Exchange 1: Prefix = "TSX", Suffix = blank, Name = "Toronto"
3. Exchange 2: Prefix = "NYSE", Suffix = blank, Name = "New York"
4. Disable exchanges 3-10
5. Compare volume distribution
### Advanced Customization
**Tracking Regional Markets:**
Want to compare Korean vs Japanese crypto exchanges?
- Exchange 1: UPBIT (Korean)
- Exchange 2: BITHUMB (Korean)
- Exchange 3: BITFLYER (Japanese)
- Exchange 4: COINCHECK (Japanese)
**Isolating Institutional Volume:**
Focus only on regulated U.S. exchanges:
- Enable: Coinbase, Kraken, Gemini
- Disable: All others
- Watch for >50% dominance alerts
---
## 👥 Who Is This For?
### ✅ **Perfect for:**
- **Crypto day traders** - Need to know where liquidity actually is
- **Arbitrage traders** - Spot cross-exchange inefficiencies
- **Institutional traders** - Validate execution venues before large orders
- **Forex scalpers** - Compare broker feeds for best execution
- **Market structure analysts** - Track long-term exchange dominance trends
### ❌ **Less useful for:**
- **Long-term investors** who don't care about short-term liquidity
- **Single-exchange traders** who never compare venues
- **Futures traders** (contracts differ by exchange)
---
## 🎓 Understanding the Visualization
**What each colored segment means:**
Each horizontal stripe represents one exchange's volume contribution. The **height** of each stripe shows that exchange's volume relative to others.
**Reading the pattern:**
- **Dominant top layer** (50%+ of bar) = Clear market leader
- **Evenly distributed layers** (10-15% each) = Fragmented liquidity
- **Sudden layer reorganization** = Liquidity migration event
- **Shrinking bottom layers** = Exchanges losing market share
**Color coding strategy:**
The indicator defaults to exchange brand colors for instant recognition:
- Yellow = Binance (their signature gold)
- Blue = Coinbase (their brand blue)
- Purple = Kraken (their brand purple)
- etc.
You can customize all colors to match your chart theme.
---
## 🔧 Configuration Tips
### **Best Practices:**
1. **Start with defaults** - Test on BTC/USDT to understand behavior
2. **Disable unused exchanges** - Cleaner visualization, faster computation
3. **Match your trading venues** - Only track exchanges you actually use
4. **Use brand colors initially** - Helps build visual pattern recognition
5. **Enable alerts strategically** - Don't spam yourself; focus on actionable signals
### **Common Mistakes to Avoid:**
❌ Tracking too many irrelevant exchanges (creates visual noise)
❌ Forgetting to clear suffix for forex/stocks (symbol won't construct properly)
❌ Using the same color for multiple exchanges (defeats instant recognition)
❌ Hiding the table permanently (you lose the percentage data)
---
## 📊 Performance Notes
- **Lightweight computation** - No impact on chart performance
- **Works on all timeframes** - 1-minute to monthly
- **Historical analysis** - Full bar history available (max_bars_back=5000)
- **Multi-monitor friendly** - Table positioning adapts to any screen layout
---
## 🆕 Future Enhancements (Planned)
While the current version is feature-complete, potential additions include:
- Volume-weighted average price (VWAP) overlay per exchange
- Historical dominance charts (which exchange led most this week/month)
- Correlation matrix (do exchanges move together or independently?)
**User feedback shapes development** - Comment with your requests!
---
## 💡 Pro Tips
### **Tip 1: The "Whale Exchange" Filter**
In crypto, institutions use Coinbase/Kraken. Enable ONLY these two exchanges to isolate professional flow and ignore retail noise.
### **Tip 2: The "Arbitrage Scanner"**
Set Liquidity Migration alert on 1-minute timeframe. When it fires, check price across exchanges—often there's a temporary premium/discount.
### **Tip 3: The "Liquidity Gauge"**
Before placing a large market order, switch to 5-minute timeframe and check last 10 bars. If your target exchange consistently has <20% of volume, you'll face slippage.
### **Tip 4: The "Market Structure Tracker"**
Take screenshots of the table weekly. Over time, you'll see exchange market share trends that reveal fundamental shifts in trader preferences.
### **Tip 5: The "News Event Validator"**
During major announcements (Fed decisions, earnings, etc.), watch which exchange shows volume first. That's where informed traders are positioned.
---
## 🎯 Summary
**Ranked Exchange Volume (REV) transforms volume analysis from a single number into a complete market microstructure view.**
Instead of seeing "1.2M volume," you see:
- Binance: 640K (53%)
- Coinbase: 280K (23%)
- OKX: 180K (15%)
- Bybit: 100K (9%)
**That's actionable intelligence.**
Whether you're executing a large crypto trade, arbitraging forex across brokers, or validating liquidity before buying a dual-listed stock, REV shows you **where the market actually is**—not where you assume it is.
---
## 📖 Quick Reference Card
| Feature | What It Does | Why It Matters |
|---------|-------------|----------------|
| **Dynamic Sorting** | Largest volume rises to top | Instant dominance identification |
| **10 Custom Slots** | Track any exchanges | Works for YOUR trading venues |
| **Live Rankings** | Real-time leaderboard | Precise market share data |
| **Smart Formatting** | Auto K/M/B scaling | Always readable, never cluttered |
| **Dominance Alert** | Warns at >50% concentration | Risk management for large orders |
| **Migration Alert** | Fires on leadership change | Arbitrage opportunity signal |
| **Spike Alert** | Detects 2x volume surges | Breakout/news confirmation |
| **Total Line** | Shows aggregate volume | Reference for overall activity |
| **Table Positioning** | 9 screen locations | Adapts to your layout |
| **Full/Short Toggle** | Complete vs abbreviated numbers | Flexibility for different assets |
---
## ✅ Installation & Support
**Install:** Add to your TradingView favorites, apply to any chart
**Updates:** Automatic through TradingView
**Support:** Comment with questions—active developer community
**Like this indicator?** Leave a ⭐ rating and share with fellow traders who need better volume intelligence.
---
**🚀 Start seeing the complete volume picture. Add Ranked Exchange Volume to your charts today.**
[Algoros] Altcoin Profit ScoutAltcoin Profit Scout — How to use
Purpose: A daily guide for managing altcoin pumps and taking profits. APS combines (1) Bitcoin Profit Scout (BPS) style BTC signals projected onto your altcoin chart for market context, and (2) altcoin-specific Sell Areas + Sell signals (yellow/orange/red) to help manage altcoin tops.
1) Required setup (important)
Symbol : Use this on the altcoin chart you want to manage (spot or perp). Best results on liquid pairs.
Timeframe : 1D (Daily) .
Chart type : Standard candles or line (avoid non-standard chart types).
If you use a non-daily timeframe or a non-standard chart type, APS shows an on-chart error message and signals may be missing.
2) What the lines mean (Sell Areas)
Yellow Sell Area : Early take-profit / first “overextended” zone.
Orange Sell Area : Stronger overextension; typically more aggressive profit-taking zone.
Red Sell Area : Extreme overextension / euphoria zone.
Important: The areas are zones , not instant “sell now” commands. Price entering an area is context; the sell triangle is the confirmation.
3) Signals (shapes) and how to act
Altcoin sell signals (above candles)
Yellow Sell (yellow triangle): First take-profit style signal (milder extension).
Orange Sell (orange triangle): Stronger take-profit signal (higher extension).
Red Sell (red triangle): Strongest take-profit signal (highest extension).
Optional: Bitcoin context signals
Larger, more “BTC-linked” altcoins (e.g., ETH, SOL, XRP) often follow Bitcoin’s broader swings. For that reason APS can display the Bitcoin Profit Scout BTC signal set (Small Buy / Buy / Strong Buy / Golden Buy / Blow-Off Buy and Sell / Sell (Blow-Off) / BM Sell) on your altcoin chart .
These are the same BTC signals from the BPS algorithm — they are not computed from the altcoin . Think of them as a “BTC backdrop” so you can time dip-buys and risk-off phases while watching an altcoin chart.
Why APS exists: Altcoins can sometimes keep accelerating even when BTC starts fading or turning down. APS therefore adds altcoin-specific sell signals on top of the BTC backdrop to help you manage those late-stage altcoin tops.
Practical usage idea (simple and robust)
Context first : Watch whether the altcoin price is entering the yellow/orange/red areas.
Wait for confirmation : Use the sell triangles as confirmation (not just touching an area line).
Scale out : Consider partial exits on yellow/orange and bigger reductions on red instead of all-in/all-out.
Use BTC context (optional): If the projected BTC context is flashing risk-off sells, be more selective with holding altcoin tops (altcoins can still run, but risk usually rises).
4) “Show Signals…” (reducing repaint surprises)
when they appear : Signals can appear intraday and may vanish before the daily candle closes.
on the day of action : Signals are shown after the daily candle closes (confirmed; plotted 1 day later).
Tip: If you want the cleanest, least-surprising signals, use on the day of action .
5) Inputs you’ll likely adjust
Show Sell Trigger Lines : Show/hide the yellow/orange/red Sell Area lines.
Show Altcoin Sell Signals : Show/hide the yellow/orange/red sell triangles.
Show Bitcoin Signals : Show/hide the BTC context signal set.
MA Short Term Trend and MA Height : Shape how quickly the sell areas track price.
Sell area length : Affects the ATR-based expansion for the higher sell areas.
BTC dominance period and BTC dominance divergence : Controls how strict the BTC.D divergence filter is for altcoin sell signals (more strict = fewer signals).
6) Alerts (TradingView)
Yellow Sell
Orange Sell
Red Sell
Price > Yellow Sell Area
Price > Orange Sell Area
Price > Red Sell Area
Free video walkthrough + deeper explanations
If you want a step-by-step video walkthrough and additional explanations/examples for Altcoin Profit Scout, you can access them on our website (free): algoros.ai
Notes / expectations
APS is designed for daily altcoin charts . Other timeframes will degrade results.
Altcoin sell signals use BTC-based context/filters (e.g., BTC trend and BTC dominance divergence). This can intentionally suppress signals during certain market regimes.
This is not financial advice; use risk management and position sizing.
Volume-Edge Trend [wjdtks255]🚀 Volume-Edge Trend
1. Overview This indicator is designed to capture high-probability trend reversals by combining Market Structure Breakouts with Volume Confirmation. Instead of chasing every price movement, it analyzes the highest highs and lowest lows over a set period to identify true structural shifts. By filtering these moves with a 20-period volume average, it effectively eliminates weak "fakeouts" and focuses on high-conviction momentum.
2. How to Trade
📈 LONG Entry: * Enter when a green BUY label appears below the candle.
This signal confirms that price has broken above the previous structural high with significant buying volume.
💀 SHORT Entry: * Enter when a red SELL label appears above the candle.
This signal confirms that price has breached the previous structural low, backed by strong selling pressure.
🎯 Exit (TP/SL):
Use the thick, dynamic Trend Line as your trailing stop-loss.
For Longs, exit if the price closes below the green support line.
For Shorts, exit if the price breaks above the red resistance line.
3. Key Features
Structural Breakout Engine: Tracks price action across a customizable "Length" to detect when a market moves out of a consolidation zone.
Volume Surge Filter: Includes a built-in toggle to ensure signals only fire when trading volume exceeds its 20-period average, confirming institutional participation.
Real-time Trend Navigation: Features a dynamic background fill and a reinforced trend line that provides instant visual feedback on the current market bias.
4. Recommended Settings
Length (Analysis Period): 14 (Optimized for standard trend following).
Volume Filter: Keep "On" to maximize signal accuracy.
Timeframe: Highly effective on 15m, 1H, and 4H charts for volatile assets like BTC, ETH, and NASDAQ.
HMA Trend Scalper [wjdtks255]🚀 HMA Trend Scalper V1: Ultimate Precision Strategy
1. Overview
This indicator captures immediate market trend reversals based on the high-responsiveness of the HMA (Hull Moving Average). It doesn't just show direction; it simultaneously calculates ATR-based volatility to generate optimal Take Profit (TP) and Stop Loss (SL) lines in real-time.
2. How to Trade
🚀 LONG Entry:
The HMA line must be Green, and the price must be positioned above the line.
Enter when the price breaks above the high of the last 5 bars and the 🚀 LONG label appears.
💀 SHORT Entry:
The HMA line must be Red, and the price must be positioned below the line.
Enter when the price breaks below the low of the last 5 bars and the 💀 SHORT label appears.
🎯 Exit (TP/SL):
Close the position immediately when the price touches the Aqua line (TP) or the Yellow line (SL).
3. Key Features
Smart Cleaning: By enabling the 'Hide Past Records' option, the indicator automatically removes previous labels and lines when a new signal occurs, keeping your chart clean and focused.
Real-time Tracking: TP and SL lines extend candle-by-candle as the price moves, providing superior readability for active trades.
High Visibility: Status panels like 🎯 TP Hit or ⚠️ SL Hit are generated upon trade completion, allowing you to intuitively track your trading results.
4. Recommended Settings
Sensitivity: 15 (Optimized for Scalping).
TP/SL Multipliers: Fully customizable to fit your personal risk-to-reward strategy.
Arbitrage Matrix [LuxAlgo]The Arbitrage Matrix is a follow-up to our Arbitrage Detector that compares the spreads in price and volume between all the major crypto exchanges and forex brokers for any given asset.
It provides traders with a comprehensive view of the entire marketplace, revealing hidden relationships among different exchanges for the same asset and offering easy, visual comparisons.
🔶 USAGE
Arbitrage is the practice of taking advantage of price differences for the same asset across different markets. Arbitrage traders look for these discrepancies to profit from buying where it’s cheaper and selling where it’s more expensive to capture the spread.
For begginers this tool is a clear snapshot of how different markets value the same asset, making global price dynamics easy to grasp.
For advanced traders it is a powerful scanner for arbitrage setups, helping you identify where the biggest opportunities lie in real time.
Arbitrage opportunities are often short‑lived, but they can be highly profitable. By showing you where spreads exist, this tool helps traders:
Understand market inefficiencies
Avoid trading at unfavorable prices
Identify potential profit opportunities across exchanges
By default, the tool searches all the enabled sources for the asset in the chart. It uses crypto exchanges as sources for crypto assets and forex brokers for all other assets.
The data is displayed on a dashboard, which is the tool's only visual element.
Traders can enable or disable any exchange or broker from the settings panel. All are enabled by default.
🔹 Displayable Data
Traders can choose from four types of data to display: last price, last volume, average price, and average volume.
Note that price and volume data may not be available for all assets at all sources, and sources without data will not be displayed.
As the image shows, each chart displays a different type of data for the same asset. In this case, the asset is ETHUSDT.
🔹 Reading the Matrix
Traders must read the data in a row-by-column format, as shown in the following example.
Assume that we are charting BTCUSDT Daily. In the row, we have Exchange A; in the column, we have Exchange B. The data is the average price, and the value is 100. The default length for the average is 20.
It reads like this: The average BTCUSDT price over the last 20 days is $100 higher on Exchange A than on Exchange B.
If the value were -100, it would mean that the average price is $100 lower in Exchange A than in Exchange B.
🔹 Matrix Style
Traders can change the colors and disable the background gradient, which is enabled by default.
They can also fine-tune the location and dashboard size from the settings panel.
🔶 SETTINGS
Sources: Choose between crypto exchanges, forex brokers, or automatic selection based on the asset in the chart.
Average Length: Select the length for the price and volume averages.
Crypto Exchanges: Enable or disable any available exchange.
Forex Brokers: Enable or disable any available broker.
🔹 Dashboard
Data: Select the data to display.
Position: Select the dashboard location.
Size: Select the dashboard size.
🔹 Style
Bullish: Select bullish color.
Bearish: Select bearish color.
Background Gradient: Enable background gradient color.
Stablecoin Depeg & Risk Monitor [SANKTOV]Stablecoin Depeg & Risk Detector
This indicator is a comprehensive monitoring tool designed for professional traders and liquidity providers to track the stability of major stablecoins ( USDT, USDC, and FDUSD ) against the US Dollar. Unlike simple price alerts, this script utilizes multi-layer detection logic to separate market noise from genuine systemic risk.
Key Features
Multi-Asset Monitoring: Simultaneously tracks USDT, USDC, and FDUSD depeg events using high-precision data retrieval from institutional-grade feeds.
Volatility-Adjusted Thresholds: Automatically widens or tightens depeg sensitivity based on ATR (Average True Range) to reduce false positives.
Multi-Timeframe (MTF) Confirmation: Prevents "wick-induced" alerts by requiring confirmation from higher timeframes before flagging a severe event.
Systemic Risk Detection (Sync Depeg): Specialized logic that triggers when multiple stablecoins depeg simultaneously, signaling a broad market crisis.
Spread & Rotation Analysis: Visualizes the spread between USDT and USDC to detect "flight to safety" rotations or capital outflows.
Visualizations & Dashboard
Risk Histogram: Color-coded bars showing the severity of depegs (Moderate, Severe, Extreme) for each asset.
Heat Ribbon & Spread Visualization: A dynamic ribbon at the bottom showing rotation intensity and direction.
Real-time Status Table: A clean HUD providing instant prices, basis point deviations, and systemic status.
Historical Markers: Automatic labels and shapes on the chart to review past depeg events for correlation analysis.
Professional Alert System
Individual Asset Alerts: Specific triggers for both downside depegs and upside premiums.
Synchronous Alerts: Critical alerts for systemic events where multiple pegs are failing at once.
Composite Alerts: Streamlined notification management for "Any Severe" or "Any Extreme" market events.
How to use
This indicator is best used on lower timeframes (1m to 15m) for real-time monitoring while keeping the MTF confirmation set to 1H. It is an essential tool for anyone holding large stablecoin positions or managing DeFi liquidity pools.
HMA Trend Scalper V1[wjdtks255]
Overview
This indicator is a high-performance trend-following system optimized for crypto futures trading. It provides clear entry signals and dynamic, real-time risk management tools to help traders stay on the right side of the market.
Key Features
Dynamic Trend Tracking: Uses a specialized HMA (Hull Moving Average) to filter market noise and identify the core trend.
Real-time TP/SL Extension: Unlike static indicators, the Take Profit (TP) and Stop Loss (SL) lines extend candle-by-candle along with the price action.
Clean Chart UI: Lines only exist from the entry point to the current candle, preventing chart clutter.
Automatic Completion: Once the price hits a target, the line stops extending and marks the result (Target Hit or Stop Out).
Trading Strategy (How to Trade)
1. Long Entry (🚀 LONG)
Condition: The price must be above the trend line, and a breakout of the recent 5-candle high must occur with significant volume.
Action: Enter a Long position when the "🚀 LONG" label appears.
Exit: Hold until the price reaches the Cyan (Aqua) TP line or hits the Yellow SL line.
2. Short Entry (💀 SHORT)
Condition: The price must be below the trend line, and a breakdown of the recent 5-candle low must occur with significant volume.
Action: Enter a Short position when the "💀 SHORT" label appears.
Exit: Hold until the price reaches the Cyan (Aqua) TP line or hits the Yellow SL line.
3. Risk Management
Stop Loss: The indicator automatically calculates the optimal SL based on recent volatility (ATR) and swing points.
Take Profit: The TP is set at a calculated ratio to ensure a positive risk-to-reward setup.
Settings
Trend Sensitivity: Adjust the HMA length to match your preferred timeframe (Scalping vs. Swing).
Volume Multiplier: Filter out weak moves by increasing the volume breakout requirement.
Custom Styles: Fully customize line colors, widths, and styles (Solid, Dashed, Dotted) in the settings menu.
End Of MooveINDICATOR: END OF MOOVE (EOM)
1. Overview
The EndOfMoove (EOM) is a specialized volatility analysis tool designed to detect market exhaustion and potential price reversals. By utilizing a modified Williams Vix Fix (WVF) logic, it identifies when fear or selling pressure has reached a statistical extreme relative to recent history.
---
2. Core Logic & Calculation
The script functions by measuring the "synthetic" volatility created during sharp price drops and momentum shifts.
* Williams Vix Fix (WVF) Logic: It calculates the distance between the current low and the highest close over a specific lookback period ( 20 bars by default ). This creates a volatility spike during market bottoms or rapid corrections.
* Dynamic Normalization: The indicator continuously tracks the Historical Maximum of this volatility over a long window ( 250 bars ).
* Statistical Thresholding: It sets a "Danger Zone" at a specific percentage ( 75% ) of that historical maximum to filter out noise and isolate significant exhaustion events.
---
3. Adaptive Intelligence (Detection & Smoothing)
The EOM adapts to different market conditions through its detection engine:
1. Spike Confirmation: To avoid premature entries, the script uses a confirmation window ( 3 bars ). A signal is only "confirmed" if the current volatility spike is the highest within this local window.
2. Variable Smoothing: Traders can apply an internal SMA smoothing to the raw volatility data to filter out erratic price action on lower timeframes.
---
4. Visual Anatomy
The interface uses a high-contrast design to highlight institutional exhaustion:
* The Histogram:
* Faded Gray: Represents standard market volatility. The transparency is dynamic ; it darkens as volatility rises, signaling a buildup in pressure.
* Bright White: Activates when the volatility crosses the Dynamic Threshold , marking a high-probability exhaustion zone.
* The Threshold Line: A continuous horizontal boundary that represents the 75% of historical max , acting as the "Trigger Line."
* Signal Triangles: A small white triangle appears at the top of the indicator when a Volatility Spike is statistically confirmed.
---
5. How to Trade with EndOfMoove
* Spotting Bottoms: Large white columns often coincide with "capitulation" phases. When the histogram reaches these levels, the current downward move is likely overextended.
* Divergence Watch: If price makes a new low but the EOM histogram shows a lower spike than the previous one, it indicates that selling pressure is drying up.
* Volatility Breakouts: A sudden transition from faded gray to bright white suggests an impulse move that is reaching its peak velocity.
---
6. Technical Parameters
* WVF Period: Controls the sensitivity of the raw volatility calculation.
* Historical Max Period: Determines the depth of the statistical database (50 to 500 bars).
* Threshold %: Allows the trader to tighten or loosen the "Extreme" zone (set to 75% for balanced results).
Market Divergence Index (MDI)MDI - Specialized indicator for BTC, ETH and dominance analysis.
⚠️ FREE BETA - Временный открытый доступ для тестирования
Recommended pairs:
• BTC/USDT or ETH/USDT → Benchmark: USDT.D
• USDT.D → Benchmark: BTC
Adjust Quality Threshold (1-10) for signal filtering.
📱 Telegram: @belfort94
Global Macro Scanner & Relative PerformanceDescription: This indicator is an all-in-one Macro Dashboard that allows traders to track money flow across major global asset classes in real-time. It combines a floating data table with a normalized percentage-performance chart.
Features:
Macro Dashboard (Table): Displays the current value, daily % change, and status (Inflow/Outflow) for 9 key economic sectors:
US M2 Supply: Tracks monetary inflation/tightening.
DXY (US Dollar): Currency strength.
Bonds (AGG): US Aggregate Bond market.
Stocks (VT): Total World Stock Index.
Real Estate (VNQ): Vanguard Real Estate ETF.
Commodities: Oil (WTI), Gold, and Silver.
Crypto: Total Crypto Market Cap.
Relative Performance Chart (Lines): Instead of plotting raw prices (which have vastly different scales), this script plots the Percentage Return relative to a baseline.
Lookback Period: You can set a lookback (default 100 bars). The script sets the price 100 bars ago as "0%" and plots how much each asset has gained or lost since then.
Comparison: This allows you to visually see which assets are outperforming or underperforming relative to each other over the same time period.
Visual Aids:
Dynamic Labels: Each line is tagged with a label at the current candle so you can identify assets without needing a legend.
Colors: Each asset has a distinct, fixed color for consistency between the table and the chart.
How to use:
Add the script to your chart.
Adjust the "Lookback" setting in the inputs to change the starting point of the comparison (e.g., set it to the start of the year to see Year-to-Date performance).
Use the dashboard to spot daily money flow rotation (e.g., Money moving out of Stocks and into Gold).
Smart Impulse PRO v1.0Smart Impulse PRO (Invite‑Only) — Comprehensive Guide for TradingView
***
## English Version
Smart Impulse PRO (Invite‑Only) — Comprehensive Guide for TradingView
Strategy Concept & Uniqueness
Smart Impulse PRO is a trend‑following impulse continuation strategy built specifically for volatile crypto pairs . It uses a custom price×volume impulse signal normalized with Z‑score , then filters these impulses through multi‑timeframe trend conditions and a layered guard system that blocks structurally weak trades (flat, overextension, exhaustion).
Backtest Summary (Crypto Pairs)
Smart Impulse PRO was backtested on several volatile crypto perpetual pairs (including ETHUSDT, BTCUSDT and other majors/alts) on 1h charts in the period 01 Jan 2023 – 26 Dec 2025. On this sample, typical results were:
- Total trades per pair : ≈100–130
- Win rate range : ≈ 90–94%
- Profit factor range : ≈ 3.0–3.9
These values are historical backtest metrics on specific symbols and settings and do not guarantee similar performance in the future .
Why It’s Special
✅ Custom price×volume impulse model (Z‑score‑based) : Measures how unusual each bar’s move is in its recent context, not just simple MA/RSI crossovers
✅ 15+ Exhaustion & Structure Guards : Automatically block bad contexts (flat, low vol, overextended candles, climax volume)
✅ Dynamic TP Grid : Take‑profit levels adapt to current impulse strength |Z|
✅ Visual Transparency : Bubbles show exactly why signals were blocked
✅ Invite‑Only Logic : The concrete impulse model and guard interactions are proprietary and therefore published as invite‑only with protected source, as allowed by TradingView’s script rules.
***
### 1. What the Script Does (User View)
Smart Impulse PRO acts as an automated decision engine for volatile crypto pairs (e.g., ETHUSDT, BTCUSDT) on intraday and swing timeframes (15m–4h). It:
- Generates Long/Short entries only when both trend and impulse conditions align.
- Manages exits with a multi‑level TP grid, breakeven logic, optional trailing stop and time‑based exit.
- Visually shows both taken trades and blocked signals , including a short text reason for rejection.
This lets users trade crypto trends with a clear explanation of when and why the strategy chooses to act or stay out.
***
Entry Rules
Long (Buy):
Price is above EMA200 (long‑term trend is up)
Z‑score impulse > Z_threshold (e.g., 1.5)
Volume above recent average
ADX > Min ADX (e.g., 25)
ATR regime OK (ATR > ATR_floor and not in volatility squeeze)
All active guards pass (no overextended candle, no extreme wick against direction, no climax volume lock, no distance violation vs EMA200/VWAP, no Z‑streak lock)
Short (Sell):
Price is below EMA200 (long‑term trend is down)
Z‑score impulse > Z_threshold
Volume above recent average
ADX > Min ADX
ATR regime OK
All active guards pass (same checks, mirrored for shorts)
Logic:
The script first checks that the market is trending (EMA200 side + ADX + volatility filters), then validates that the current bar is a statistically strong price×volume impulse, and finally makes sure the bar is not an exhaustion spike or overextended move according to the guard system. Only if all three layers agree, a trade is opened.
Exit Rules
Stop‑Loss:
Initial stop‑loss is placed at a user‑defined distance (percent or ATR‑based), and position size is calculated so that a full stop equals Max Risk per Trade (%).
Take‑Profit grid:
Up to 10 TP levels.
Step type: Percent, ATR% or Hybrid.
Optional “Breathing grid”: TP distances are increased in proportion to |Z‑score| at entry (capped), so stronger impulses receive wider, more ambitious targets.
TP Profile (Equal / Aggressive / Balanced / Defensive) decides how much size is closed at each level.
Breakeven and Trailing:
Optional breakeven: after TP1 is hit, stop can be moved to entry price plus a small offset.
Optional ATR‑based trailing stop activates only after TP3 to avoid being shaken out too early by noise.
Time‑based Exit:
If enabled, any open trade that does not hit TP or SL within the chosen time limit (bars or minutes) is closed at market, to avoid very long, stagnant positions.
### 2. How the Script Works (Internals)
2.1 Impulse Engine (Custom Z‑Score Model)
At the core is a price×volume impulse series with Z‑score normalisation:
- Raw impulse:
`delta_impulse = (close - close ) * volume`
- Normalisation over N bars (default N = 20):
`zscore = (delta_impulse - avg(delta_impulse, N)) / stdev(delta_impulse, N)`
A bar becomes an impulse candidate only when:
- `abs(zscore) > Z_threshold` (default 1.5), and
- volume is above its recent average.
This is a custom implementation of a price×volume impulse model based on Z‑score; the exact combination of inputs, window, thresholds and how this signal feeds guards and exits is part of the proprietary logic.
2.2 Trend & Volatility Context — Why the Mashup Exists
The strategy combines several classic tools, but each covers a specific failure mode. The mashup is intentional:
| Component | What it checks | Why it is needed |
|----------|----------------|------------------|
| EMA200 | Long‑term bias (price above/below) | Prevents counter‑trend trading |
| EMA200 slope | Steepness of EMA over K bars | Filters flat/ranging phases even above/below EMA |
| VWAP | Distance of price from volume‑weighted fair value | Avoids entering when price is far from value (overextension) |
| ADX | Trend strength | Disables signals in low‑trend, choppy markets |
| ATR vs AvgATR50 | Current volatility vs recent average | Detects volatility squeezes and abnormally calm regimes |
| ATR% floor (Anti‑Flat Gate) | ATR as % of price | Hard “no‑trade” mode in ultra‑tight ranges |
An impulse alone is not sufficient in crypto; only impulses inside a suitable trend and volatility context are allowed to become trades.
2.3 Guard System (Exhaustion & Overextension)
Above trend filters, Smart Impulse PRO adds a guard layer designed from typical crypto problems (late entries, news spikes, “buying the top”):
- Max body / ATR : Rejects abnormally large real bodies (e.g., body > 3× ATR), often at the end of a move.
- Max range / ATR : Blocks extremely long high‑low bars.
- Upper/lower wick filters :
- Longs blocked when upper wick dominates (rejection from above).
- Shorts blocked when lower wick dominates (rejection from below).
- Z‑streak guard : After several consecutive impulse bars in the same direction, new entries in that direction are disabled to avoid chasing.
- Climax volume + cool‑off : When volume spikes above a multiple of its recent average, new trades are paused for N bars.
- Distance guards : Excessive distance (in ATR multiples) from EMA200 and VWAP can block trades.
These checks interact with the impulse model so that the final decision reflects a coherent risk framework rather than a loose collection of filters.
2.4 Dynamic TP Grid (Exit Logic)
- Up to 10 TP levels; step type: Percent, ATR% or Hybrid.
- With Breathing grid , TP spacing is increased by a factor of `k * abs(zscore)` (capped) at entry.
- Stronger impulses (higher |z|) → wider distances between TP levels; weaker impulses → tighter TP spacing.
- TP profiles (Equal / Aggressive / Balanced / Defensive) control how much position size is allocated to early vs late targets.
- Optional breakeven: move SL to entry (plus offset) after TP1.
- Optional trailing: ATR‑based trailing stop activates after TP3.
This links entry strength and exit geometry using the same impulse signal.
***
### 3. How to Use the Script (Practical Guide)
3.1 Quick Start
1. Add Smart Impulse PRO to a volatile crypto pair (e.g., ETHUSDT, BTCUSDT) on 15m–4h.
2. Keep the default preset and observe executed trades and blocked bubbles.
3. Use the dashboard to see which filters are active and which ones are blocking most trades (e.g., ADX, Flat, Exhaust).
4. If there are too few trades, gradually lower Z_threshold or Min ADX , or slightly relax guard limits — change one parameter at a time .
5. Set Max Risk per Trade (%) , stop distance, TP count/profile and optional trailing in line with your risk tolerance.
3.2 Example Profiles
- Aggressive intraday (15m)
- Z‑threshold 1.2
- Min ADX 20
- ATR% floor 0.2%
- Some exhaustion guards disabled (e.g., less strict wick limits).
- Conservative swing (1h–4h)
- Z‑threshold 1.5
- Min ADX 25–30
- ATR% floor 0.3–0.4%
- All guards enabled, higher‑timeframe filters ON.
3.3 Risk Management & Position Sizing
- Max Risk per Trade (%) — percentage of equity at risk if the full stop‑loss is hit.
- Position size is computed automatically from Max Risk %, stop distance and instrument price.
- Breakeven and trailing can be enabled to reduce open risk after partial profit is taken.
- Time‑based exit closes trades that stay open beyond a user‑defined duration without reaching TP or SL.
3.4 Alerts
Alerts use `strategy.order.alert_message` to send JSON containing side (long/short), entry, stop and TP levels. This allows users to connect the strategy with external bots or dashboards without exposing internal code.
***
### 4. Why This Script Is Invite‑Only (Originality Justification)
TradingView asks invite‑only scripts to explain why their logic is original and why source protection is justified. Smart Impulse PRO does that by:
- Implementing a custom price×volume impulse model based on Z‑score normalisation and integrating it with exits through the breathing TP grid.
- Using a coordinated guard framework that explicitly targets typical crypto issues (late chase entries, overextension vs VWAP/EMA200, volatility squeezes, volume spikes).
- Providing a structured indicator mashup where EMA200, VWAP, ADX, ATR and Anti‑Flat Gate each address different dimensions (trend, volatility, structure) and are designed to work together as a context gate for the impulse signal.
On ETHUSDT, BTCUSDT and a group of other volatile crypto pairs, Smart Impulse PRO showed approximately 90–94% win rate and profit factor above 3.0 in 2023–2025 backtests under default risk and filter settings. These numbers are illustrative only and do not promise or guarantee similar live results.
Risk Disclaimer
Trading cryptocurrencies involves substantial risk. Backtests are hypothetical and assume perfect execution without additional slippage, liquidity constraints or exchange issues. Always test the strategy on your own symbols and timeframes and keep risk per trade at a level you are comfortable with.
FAQ
Q: Does the strategy guarantee profit?
A: No. It is a rule‑based decision engine; all results depend on market conditions, parameters and execution, and backtests do not guarantee future performance.
Q: Can I use it on any crypto pair?
A: The logic is designed for volatile crypto pairs. It has been backtested on ETHUSDT, BTCUSDT and several other majors/alts, but each symbol should be tested and, if needed, re‑tuned by the user.
Q: Which timeframe is best?
A: The engine is intended for intraday and swing charts between 15m and 4h. Lower timeframes will generally produce more signals and more noise; higher ones will produce fewer, slower signals.
Q: Can I disable some filters or guards?
A: Yes. Trend filters, the Anti‑Flat Gate and most exhaustion guards can be turned on or off. It is recommended to change one setting at a time and monitor how it affects blocked signals and the equity curve.
Q: How are alerts meant to be used?
A: Alerts send a JSON payload with side, entry, stop and TP levels via strategy.order.alert_message, so users can connect the strategy to external bots or dashboards if they wish.
***
## Русская версия
Smart Impulse PRO (по приглашению) — Полное руководство для TradingView
Концепция и уникальность
Smart Impulse PRO — стратегия продолжения импульсов, разработанная под волатильные криптовалютные пары . В ней используется пользовательская модель импульса “цена×объём”, нормализованная через Z‑score , после чего такие импульсы проходят фильтрацию по тренду на разных таймфреймах и через каскад гардов, блокирующих слабые и рискованные сетапы (флэт, перетянутость, истощение).
Сводка тестов (крипто‑пары)
Стратегия тестировалась на нескольких волатильных крипто‑парах (перпетуальные контракты, включая ETHUSDT, BTCUSDT и ряд других мейджоров/альтов) на часовом таймфрейме за период 01.01.2023 – 26.12.2025. Типичные значения по этим тестам:
- Количество сделок на пару : ≈100–130
- Диапазон винрейта : ≈ 90–94%
- Диапазон фактора прибыли : ≈ 3.0–3.9
Это результаты тестов на истории по конкретным инструментам и настройкам и не гарантируют такой же доходности в будущем .
Почему она оригинальная
✅ Пользовательская модель импульса цена×объём (Z‑score) : измеряет “редкость” бара в его статистическом окружении, а не просто пересечение стандартных индикаторов
✅ 15+ гардов : системно защищают от догоняния, пампов, торговли в “пиле” и на перетянутых уровнях
✅ “Дышащая” TP‑сетка : цели автоматически подстраиваются под силу текущего импульса |Z|
✅ Прозрачность : пузырьки показывают причины каждого отказа от сделки
✅ Формат по приглашению : логика импульса и взаимодействие гардов публикуются как закрытый скрипт с Invite‑Only доступом, что соответствует правилам TradingView.
***
### 1. Что делает скрипт (для пользователя)
Smart Impulse PRO выступает как движок принятия решений для торговли волатильными крипто‑парами (ETHUSDT, BTCUSDT и др.) на таймфреймах от 15 минут до 4 часов:
- Открывает лонги/шорты только при одновременном совпадении трендовых и импульсных условий.
- Управляет выходом через многоуровневую сетку TP, безубыток, по желанию — трейлинг‑стоп и тайм‑стоп.
- Отображает как реальные сделки , так и отклонённые сигналы с короткой подписью причины блокировки.
Задача — структурировать трендовую торговлю криптой и сделать логику решений максимально понятной.
***
### 2. Как работает скрипт (внутренняя логика)
2.1 Импульсное ядро (кастомная модель на Z‑score)
В основе лежит ряд дельта×объём :
- Сырой импульс:
`delta_impulse = (close - close ) * volume`
- Нормализация по окну N баров (по умолчанию 20):
`zscore = (delta_impulse - среднее(delta_impulse, N)) / стд(delta_impulse, N)`
Бар считается кандидатом на импульс , только если:
- `abs(zscore) > Z_threshold` (по умолчанию 1.5);
- объём выше своей недавней средней.
Это собственная реализация импульсного сигнала цена×объём , нормализованного по Z‑score; выбор входных данных, окна, порогов и связка с гардами и выходами формируют проприетарную часть стратегии.
2.2 Зачем нужен “мэшап” индикаторов (тренд и волатильность)
Комбинация EMA200, VWAP, ADX, ATR и Anti‑Flat Gate собрана так, чтобы каждый компонент покрывал отдельный вид риска:
| Компонент | Что проверяет | Зачем нужен |
|----------|---------------|------------|
| EMA200 | Долгосрочный уклон (цена выше/ниже) | Защита от контртрендовых входов |
| Наклон EMA200 | Наклон за K баров | Отсекает участки со слабым трендом (флэт) |
| VWAP | Удалённость цены от “центра объёма” | Не даёт входить в явной перетянутости от справедливой цены |
| ADX | Силу тренда | Запрещает торговлю в пиле и боковике |
| ATR vs AvgATR50 | Текущую волатильность к средней | Находит режимы сжатия и аномально низкой волатильности |
| ATR% пол (Anti‑Flat Gate) | ATR в % от цены | Жёсткий запрет торговли в очень узком диапазоне |
Импульс может быть сильным, но без нормального тренда и адекватной волатильности сделка не допускается.
2.3 Система гардов (истощение, перетянутость)
- Макс тело/ATR : слишком большая свеча относительно ATR трактуется как возможное окончание движения.
- Макс диапазон/ATR : блокирует экстремальные по размеру бары.
- Фильтры по хвостам :
- Лонги блокируются при доминирующем верхнем хвосте (отторжение сверху).
- Шорты — при доминирующем нижнем хвосте.
- Z‑streak : после серии импульсных баров в одну сторону новые входы по этому направлению отключаются.
- Climax‑объём + пауза : при объёме выше кратности к средней входы на несколько баров ставятся на паузу.
- Дистанционные гарды : чрезмерное удаление цены от EMA200 и VWAP в ATR‑мультипликаторах может блокировать вход.
Эти условия работают совместно с импульсным ядром и трендовыми фильтрами, формируя связанную модель риска.
2.4 Динамическая TP‑сетка
- До 10 тейк‑профитов; шаг — в %, ATR% или гибридный.
- При включённой опции “Breathing grid” шаг между TP увеличивается пропорционально `|zscore|` (в пределах лимита).
- Сильные импульсы → более широкая сетка и шанс забрать длинное движение, слабые → более плотная сетка.
- Профили TP (равный / агрессивный / сбалансированный / защитный) задают распределение объёма между ближними и дальними целями.
- Можно включить перевод стопа в безубыток после TP1 и трейлинг‑стоп по ATR после TP3.
***
### 3. Как использовать стратегию (практика)
3.1 Быстрый старт
1. Откройте график волатильной крипто‑пары (ETHUSDT, BTCUSDT и т.п.) на ТФ 15m–4h и добавьте стратегию.
2. Оставьте настройки по умолчанию и наблюдайте маркеры сделок и пузырьки отклонённых сигналов.
3. Через дашборд смотрите, какие фильтры чаще всего блокируют сделки (ADX, Flat, Exhaust и др.).
4. Если сделок мало, по шагу снижайте порог Z‑score или ADX либо ослабляйте некоторые гарды — всегда меняйте только один параметр за раз.
5. Настройте Max Risk per Trade , размер стопа, количество и профиль TP, а также при необходимости безубыток и трейлинг‑стоп.
3.2 Типовые профили
- Агрессивный скальпинг (15m)
- Z‑порог 1.2
- ADX min 20
- ATR% пол 0.2%
- Несколько гардов истощения отключены.
- Консервативный свинг (1h–4h)
- Z‑порог 1.5
- ADX min 25–30
- ATR% пол 0.3–0.4%
- Все гарды включены, HTF‑фильтры активны.
3.3 Риск и размер позиции
- Max Risk per Trade (%) задаёт долю капитала, которую допускается потерять при полном срабатывании стоп‑лосса.
- Стратегия рассчитывает размер позиции из риска, стопа и цены инструмента.
- Можно включить перевод стопа в безубыток после TP1 и трейлинг‑стоп после TP3.
- Тайм‑стоп закрывает сделки, которые слишком долго остаются открытыми без достижения TP/SL.
3.4 Алерты
Алерты формируют JSON‑строку с направлением, ценой входа, стопом и всеми TP‑уровнями через `strategy.order.alert_message`. Это позволяет подключать внешние боты и панели без раскрытия кода.
***
### 4. Почему скрипт по приглашению (обоснование оригинальности)
Стратегия не сводится к “набору индикаторов на графике”. Формат Invite‑Only обоснован тем, что в коде реализованы:
- Пользовательская модель импульса цена×объём на базе Z‑score и использование этого же сигнала для адаптивной TP‑геометрии.
- Связанный набор гардов , построенный вокруг реальных проблем крипто‑торговли (поздние входы после пампов, перетянутость от VWAP/EMA200, режимы сжатия, всплески объёма).
- Логика мэшапа : EMA200, VWAP, ADX, ATR и Anti‑Flat Gate работают согласованно как фильтр контекста для импульса, а не как независимые визуальные индикаторы.
На ETHUSDT, BTCUSDT и ряде других крипто‑пар Smart Impulse PRO показывала ≈90–94% винрейт и фактор прибыли выше 3.0 в тестах 2023–2025 годов при стандартных настройках фильтров и риска. Эти значения служат иллюстрацией поведения стратегии в прошлом и не являются обещанием аналогичных результатов в реальной торговле.
Предупреждение о рисках
Торговля криптовалютами связана с повышенным риском. Результаты бэктестов гипотетичны и предполагают идеальное исполнение без дополнительного проскальзывания и проблем с ликвидностью. Перед использованием стратегии на реальном счёте протестируйте её на своих инструментах и выбирайте риск на сделку в соответствии с личной толерантностью к убыткам.
FAQ
В: Гарантирует ли стратегия прибыль?
О: Нет. Это набор правил для принятия решений; результат зависит от рынка, настроек и исполнения. Любые бэктесты не гарантируют такую же доходность в будущем.
В: Можно ли использовать её на любой крипто‑паре?
О: Логика рассчитана на волатильные криптовалютные пары. Стратегия тестировалась на ETHUSDT, BTCUSDT и нескольких других мейджорах/альтах, но для каждого инструмента параметры желательно проверить и при необходимости подстроить.
В: Какой таймфрейм предпочтителен?
О: Стратегия рассчитана на внутридневную и свинговую торговлю в диапазоне 15m–4h. На младших ТФ сигналов больше и шума выше; на старших — сигналов меньше, но они формируются медленнее.
В: Можно ли отключать отдельные фильтры и гарды?
О: Можно. Трендовые фильтры, Anti‑Flat Gate и большинство гардов истощения включаются и выключаются отдельно. Рекомендуется менять настройки по одной и смотреть, как это влияет на заблокированные сигналы и кривую капитала.
В: Для чего нужны алерты?
О: Алерты отправляют JSON‑сообщение с направлением, ценой входа, стопом и уровнями TP через strategy.order.alert_message, что позволяет при желании подключать внешних ботов и панели управления риском.
Rachev Regime AnalyzerRachev Regime Analyzer ~ GForge
What It Does
Measures the ratio of extreme gains to extreme losses to identify whether markets favor bulls or bears. When your best moves are bigger than your worst moves, conditions are bullish. When the opposite is true, conditions are bearish.
Simple Interpretation:
Ratio > 1.2 → Bullish regime (tail gains exceed tail losses)
Ratio < 0.8 → Bearish regime (tail losses exceed tail gains)
Between → Neutral/transitional
Key Features
Two Modes:
Single Asset: Analyze current chart
Multi-Asset: Aggregate regime across 5 assets with custom weights (great for gauging overall crypto/market conditions)
Customizable:
Lookback period (20-200 bars)
Tail percentile (what counts as "extreme")
Bullish/bearish thresholds
6 color schemes
Optional MA smoothing
Visual Signals:
Buy/sell markers at threshold crosses
Background regime coloring
Info table with current values and confidence score
Configurable alerts
How to Use
Choose lookback period based on your timeframe (40-60 bars is a good start)
Watch for threshold crosses - these mark regime changes
Check confidence score - higher = more reliable
Use multi-asset mode to see if entire market is shifting (not just one coin)
Best combined with: Trend indicators, support/resistance, volume analysis
Parameters
Lookback: More bars = smoother, less responsive
Alpha (0.10): Defines extreme events - lower = more extreme
Thresholds: Adjust based on asset volatility
Return Type: Log returns recommended for most assets
What Makes It Useful
Unlike simple volatility measures, this shows asymmetry - whether extreme moves favor upside or downside. A ratio of 1.5 means your extreme gains are 50% larger than extreme losses - that's actionable information about risk-reward dynamics.
Multi-asset aggregation is particularly powerful for crypto traders wanting to gauge if BTC, ETH, SOL, etc. are all showing similar regime characteristics.
Disclaimer
Educational tool only. Not financial advice. Use proper risk management. No indicator works in isolation - always consider broader market context.
Developed by GForge
Comments and feedback welcome! 👍
BB Squeeze - HighQToolsBBW Squeeze — HighQTools
As always, if anyone has any tips or additional features they'd like to see, feel free to reach out!
Overview
The BBW Percentile Squeeze highlights periods of exceptionally compressed volatility by measuring Bollinger Band Width (BBW) and ranking it within a rolling historical percentile. When BBW falls into the lowest portion of its own distribution, price is statistically “tight” relative to recent history—a condition that often precedes volatility expansion.
Instead of plotting an oscillator in a separate pane, this tool expresses information directly on the price chart by changing bar colors during squeeze conditions, keeping charts clean and execution-focused.
How It Works
Standard Bollinger Bands are calculated using a configurable length and standard deviation.
Band width is normalized and evaluated against a rolling lookback window.
The current width is converted into a percentile rank (0–100):
Lower percentile = tighter volatility
Higher percentile = expanded volatility
When the percentile drops below the user-defined threshold, the market is considered to be in a squeeze.
An optional RTH-only mode allows the percentile calculation to consider Regular Trading Hours bars only, which is especially useful for futures traders who want to ignore overnight volatility distortions.
Visual Signals
Squeeze Bars
Bars are recolored when BBW percentile falls below the selected threshold, indicating extreme compression.
Release Bar (optional)
The first bar exiting the squeeze can be highlighted separately, marking the resolution of compression.
No oscillator, no bands, no shapes—only context applied directly to price.
How to Use It
The squeeze itself is not a trade signal.
Squeeze conditions indicate stored energy—expect range expansion, not direction.
Focus on:
Market structure
Higher-timeframe context
Volume, delta, or acceptance/rejection
The release from squeeze often provides the best opportunity, especially when aligned with directional bias or structural breaks.
For best results, use this tool as a context filter alongside execution setups rather than as a standalone entry signal.
Recommended Settings
BB Length: 10
Std Dev: 2.0
Percentile Lookback: 200–300 bars
Squeeze Threshold: 5-10 percentile
RTH-only: Enabled for index futures
Disclaimer
This indicator is designed to provide context, not predictions. Always combine volatility information with sound risk management and a complete trading plan.
ETH Dynamic Risk Strategy# ETH Dynamic Risk Strategy - Publication Description
## Overview
The ETH Dynamic Risk Strategy is a systematic approach to accumulating Ethereum during bear markets and distributing during bull markets. It combines multiple risk indicators into a single composite metric (0-1 scale) that identifies optimal buying and selling zones based on market conditions.
## Key Features
• **Multi-Component Risk Metric**: Combines 4 weighted indicators to assess market conditions
• **Tiered Buy/Sell System**: 3 levels of buy signals (L1, L2, L3) and 3 levels of sell signals based on risk thresholds
• **Configurable Filters**: Optional buy filters to reduce signal frequency by 30-50%
• **Visual Risk Zones**: Color-coded risk metric plot with clear threshold lines
• **Comprehensive Dashboard**: Real-time statistics including position size, P/L, and component scores
## How It Works
### Risk Components (Configurable Weights)
1. **Log Return from ATH** (Default: 35%)
- Tracks drawdown from all-time high over lookback period
- Deep drawdowns (-70% to -90%) = low risk / buying opportunity
- Near ATH (0% to -20%) = high risk / selling opportunity
2. **ETH/BTC Ratio** (Default: 25%)
- Measures ETH strength relative to Bitcoin
- Below historical average = ETH undervalued = low risk
- Above historical average = ETH overvalued = high risk
3. **Volatility Regime** (Default: 20%)
- Compares current volatility to long-term average
- Compressed volatility at lows = opportunity
- Expanded volatility at highs = danger
4. **Trend Strength** (Default: 20%)
- Uses multiple EMA alignment and slope analysis
- Strong downtrends = low risk scores
- Strong uptrends = high risk scores
### Trading Logic
**Buy Signals:**
- L1: Risk ≤ 0.30 → Buy $100 (default)
- L2: Risk ≤ 0.20 → Buy $250 total
- L3: Risk ≤ 0.10 → Buy $450 total
**Sell Signals (Sequential):**
- L1: Risk ≥ 0.75 → Sell 25% of position
- L2: Risk ≥ 0.85 → Sell 35% of remaining
- L3: Risk ≥ 0.95 → Sell 40% of remaining
**Buy Filters (Optional):**
- Minimum days between buys (prevents clustering)
- Minimum risk drop required (ensures falling risk)
- Toggle on/off to compare performance
## Settings Guide
### Risk Components
Toggle individual components on/off and adjust their weights. Total weight is automatically normalized. Experiment with different combinations to match your market view.
### Advanced Settings
- ATH Lookback: How far back to look for all-time highs (500-2000 recommended)
- Volatility Period: Window for volatility calculations (40-100 recommended)
- ETH/BTC MA Period: Moving average for ratio comparison (100-300 recommended)
- Trend Period: Base period for trend calculations (50-150 recommended)
### Trading Thresholds
Customize buy/sell trigger points and position sizes. Lower buy thresholds = more aggressive accumulation. Higher sell thresholds = holding longer into bull markets.
### Buy Filters
- Enable/disable filtering system
- Min Days Between Buys: Spacing between purchases (1-3 recommended)
- Min Risk Drop: How much risk must fall (-0.001 to -0.01 range)
## Best Practices
• **Timeframe**: Works best on daily (1D) and 3-day (3D) charts
• **Initial Capital**: Set based on your DCA budget (default $10,000)
• **Backtest First**: Test different parameter combinations on historical data
• **Position Sizing**: Adjust buy amounts to match your risk tolerance
• **Monitor Filters**: Check "Filtered Buys" stat to ensure filter isn't too strict
## Use Cases
- Long-term ETH accumulation strategy
- Systematic DCA with market-adaptive buying
- Risk-based portfolio rebalancing
- Educational tool for understanding crypto market cycles
## Disclaimer
This strategy is for educational purposes only. Past performance does not guarantee future results. Cryptocurrency trading involves substantial risk. The strategy uses historical price action and technical indicators which may not predict future movements. Always do your own research and never invest more than you can afford to lose.
## Credits
Strategy concept and development by nakphanan with assistance from Claude AI (Anthropic). Built using Pine Script v5....Mostly from Claude AI!!!
## Version History
v7.0 - Initial release with 4-component risk metric, tiered trading system, and optional buy filters
Multiple Time Frame Stoch-RSIThis indicator is designed to show users the values for default stochastic RSI and default RSI settings across multiple time frames.
I have made many bad trades focusing too closely on one particular time frame and indicators that suggest the price will move one way, to be superseded by a higher timeframe pushing price in another direction.
The timeframes are customisable so you can select your own timeframes, but the default timeframes chosen here are part of the BareNaked Crypto or Naked Nation strategy, looking at timeframes in multiples of 3 for lower timeframes.
The idea in its simplest form is that when timeframes like the 3/6/9m are all over sold or over bought (coloured red or green) then it could be a suitable time to place an order. Or at least be more favourable for your trade.
This indicator as with all indicators is designed as a tool to add to whatever arsenal of strategy or tools you are already using and does not constitute financial advice, just be cause 3/6/9m is in red or green does not guarantee that the trade will go your way.
The orange on the timeframes are generally designed to show users where price can reverse so for example if the stochastic 3m is at 10 and in green, but the 9m is at 65 in orange, it could be that a push up is not finished and the 9m drop from oversold to 65 could be reversed due to a low 3m stochastic number and then 9m goes from 65 back up to 100, and vice versa.
The arrows for direction also allow you to quickly deduce the direction of the stochastic RSI, ^ up, V down, and stable -. this should allow you to see if the stochastic has been rising and is beginning to turn around or not.
[ARTIO] TTG Levels Pro: The Grail (S.C.T.) TTG Levels Pro Professional Multi-Timeframe & Intraday Analysis Tool
This indicator is a comprehensive solution for analyzing Key Levels across multiple timeframes and tracking intraday structure. It automates the calculation of significant Support/Resistance zones and provides real-time Volume Weighted data.
How it works (Technical Methodology):
Multi-Timeframe Levels (HTF): The script uses request.security() to fetch High and Low pivot data from higher timeframes (1M, 1W, 1D, 4H, 1H). It identifies the most relevant "unbroken" range levels and projects them onto the current chart.
Intraday Structure (VWAP & Bisector):
VWAP (Volume Weighted Average Price): Calculated cumulatively from the start of the trading day. This represents the fair value based on volume distribution.
Daily Bisector (Midpoint): Calculates the 50% retracement level of the current daily range (High + Low) / 2. This updates dynamically with every tick as the daily range expands.
Visualization Engine:
History Mode: Users can toggle "Path" mode to see how the VWAP and Bisector levels evolved throughout the session (stepline visualization).
Clean Mode: Users can switch to a straight-line projection to keep the chart clean, focusing only on current values.
Features:
Monitor 6 Timeframes simultaneously.
Dynamic Alert System (Price Proximity & Trend Direction).
Synergy Detection: Alerts when multiple timeframe levels cluster together within a defined % range.
Customizable Dashboard Table.
Settings are fully customizable via the inputs menu.
RunRox - Pairs Screener📊 Pairs Screener is part of our premium suite for pair trading.
This indicator is designed to scan and rank the most profitable and optimal pairs for the Pairs Strategy. The screener can backtest multiple metrics on deep historical data and display results for many pairs against one base asset at the same time.
This allows you to quickly detect market inefficiencies and select the most promising pairs for live trading.
HOW DOES THIS STRATEGY WORK⁉️
The core idea of the strategy is described in detail in our main indicator Pairs Strategy from the same product line.
There you can find a full explanation of the concept, the math behind pair trading, and the internal logic of the engine.
The Pairs Screener is built on top of the same core technology as the main indicator and uses the same internal logic and calculations.
It is designed as a key companion tool to the main strategy: it helps you find tradeable pairs, evaluate current deviations, sort and filter lists of candidates, and much more. All of these features will be described in this post.
✅ KEY FEATURES
More than 400+ assets available for scanning
Forex assets
Crypto assets
Lower Timeframe Backtester Strategy support
Invert signals mode
Hedge Coefficient (position size balancing between both legs)
6 hedge modes
Stop Loss support
Take Profit support
Whitelist with your own custom asset list
Blacklist to exclude unwanted assets
Custom filters
12 tracking metrics for pair evaluation
Customizable alerts
And many other tools for fine-tuning your search
The screener runs backtests simultaneously across a large number of assets and calculates metrics automatically.
This helps you very quickly find pairs with strong structural relationships or current inefficiencies that can be used as the basis for your pair trading strategies.
⚙️ MAIN SETTINGS
The first section controls the core parameters of the screener: Score, correlation, asset groups for scanning, and other base settings. All major crypto and forex symbols are embedded directly into the screener.
Since there are more than 400 assets, it is technically impossible to analyze everything at once, so we grouped them into batches of 40 assets per group.
The workflow is simple:
Open the chart of the asset you want to use as the base ticker.
In the screener settings choose the market (Crypto or Forex).
Select a Group (for example, Group 1) and the indicator will scan all assets inside that group against your base ticker.
Then you switch to Group 2, Group 3, etc., and repeat the scan.
Embedded universe:
400+ assets total
350+ Crypto – split into 10 groups
70+ Forex – split into 3 groups
Below is a description of each setting.
🔸 Exclude Dates
Allows you to specify a period that should be excluded from analysis.
Useful for removing abnormal spikes, news events, or any non-typical segments that distort the statistics for your pairs.
🔸 Market
Defines which universe will be used to build pairs with the current main asset:
Crypto – 350+ crypto symbols
Forex – 70+ FX symbols
Whitelist – your own custom list of assets
🔸 Group
Selects the asset group to scan.
As mentioned above, assets are split into groups of about 40 instruments:
350+ Crypto → 10 groups
70+ Forex → 3 groups
The screener will calculate all metrics only for the group you select.
🔸 Lower Timeframe
This option enables deep history analysis.
Each TradingView plan has a limit on the number of visible bars (for example, 5,000 bars on the basic plan). In standard mode you would only get statistics for the last 5,000 bars of your current timeframe.
If you want a deeper backtest on a lower timeframe, you can do the following:
Suppose your target timeframe for analysis is 5 minutes.
Switch your chart to a 30-minute timeframe.
Enable Lower Timeframe in the indicator.
Select 5 minutes as the lower timeframe inside the screener.
In this mode the screener can reconstruct and analyze up to 99,000 bars of data for your assets. This allows you to evaluate pairs on a much deeper history and see whether the results are stable over a larger sample.
🔸 Method
Here you choose the deviation model:
preferred Z-Score or S-Score for your analysis,
plus you can enable Invert to search for negatively correlated pairs and calculate their profit correctly.
🔸 Period
This is the lookback period for Z/S Score.
It defines how many bars are used to calculate the deviation metric for each pair.
🔸 Correlation Period
This is the number of bars used to calculate correlation between the base asset and each candidate in the group.
The resulting correlation value is also displayed in the results table.
🔀 HEDGE COEFFICIENT
The next block of settings is related to the hedge coefficient.
This defines how much margin is allocated to each leg of the pair.
The classic approach in pair trading is to split the position equally between both assets.
For example, if you allocate 100 USD to a trade , the standard model would open 50 USD long on one asset and 50 USD short on the other.
This works well for pairs with similar volatility , such as BTCUSDT / ETHUSDT
However, if you use a pair like BTCUSDT / DOGEUSDT , the volatility of these assets is very different.
They can still be correlated, but their amplitude is not the same. While Bitcoin might move 2% , Dogecoin can move 10% over the same period.
Because of that, for pairs with strongly different volatility, we can use a hedge coefficient and, for example, enter with 30 USD on one leg and 70 USD on the other, taking the volatility difference into account.
This is the main idea behind the Hedge Coefficient section and its primary use.
The indicator includes 6 methods of calculating the coefficient:
Cumulative RMA
Beta OLS
Beta TLS
Beta EMA
RMA Range
RMA Delta
Each method uses a different formula to compute the hedge coefficient and to size the position based on different metrics of the assets.
We leave it to the trader to decide which algorithm works best for their specific pair and style.
Below are the settings inside this section:
🔹 Method
When Auto Hedge is enabled, you can select which method to use from the list above.
The chosen method will automatically calculate the hedge coefficient between the two legs.
🔹 Hedge Coefficient
This is the manual hedge ratio per trade when Auto Hedge is disabled.
By default it is set to 1, which means the position is opened 50/50 between the two assets.
🔹 Min Allowed Hedge Coef.
This is the minimum allowed hedge coefficient.
By default it is 0.2, which means the model will not go below a 20% / 80% split between the legs.
🔹 MA Length
For methods that use moving averages (for example Beta EMA), this parameter sets the period used to calculate the hedge coefficient.
💰 STRATEGY SETTINGS
This section defines the base backtesting settings for all assets in the screener.
Here you configure entries, exits, Stop Loss, and other parameters used to find the most optimal pairs for your strategy. 🔸 Commission %
In this field you set your broker’s fee percentage per trade.
The indicator automatically calculates the correct commission for each leg of every trade. You only need to input the real commission rate that your broker charges for volume. No additional manual calculations are required.
🔸 Qty $
The margin amount used for backtesting across all assets in the screener.
This margin is split between both legs of the pair either equally or according to the selected hedge coefficient.
🔸 Entry
The Z/S Score deviation level at which the backtest opens a trade for each pair.
🔸 Exit
The Z/S Score level at which the backtest closes trades for the tested assets.
🔸 Stop Loss
PnL threshold at which a trade is force-closed during the historical test.
🔸 Cooldown
Number of bars the strategy will wait after a Stop Loss before opening the next trade.
This block gives you flexible control over how your strategy is tested on 400+ assets, helping you standardize the rules and compare pairs under the exact same conditions.
🗒️ WHITELIST
In this section you can define your own custom list of assets for monitoring and backtesting.
This is useful if you want to work with symbols that are not included in the built-in lists, such as exotic crypto from smaller exchanges, specific stocks, or any custom universe 🔹 Exchange Prefix
Enter the exchange prefix used for your tickers.
Example: BINANCE, OANDA, etc.
🔹 Ticker Postfix
Enable this option if the tickers require a postfix.
Example 1: .P for Binance Futures perpetual contracts.
Example 2: USDT if you only provide the base asset in the ticker list.
🔹 Ticker List
Enter a comma-separated list of tickers to analyze.
Example 1: BTCUSDT, ETHUSDT, BNBUSDT (when the exchange prefix is set).
Example 2: BTC, ETH, BNB (when using postfix USDT).
Example 3: BINANCE:BTCUSDT.P, OANDA:EURUSD (when different exchanges are used and the prefix option is disabled).
This gives you full flexibility to build a screener universe that matches exactly the assets you trade.
⛔ BLACKLIST
In this section you can enable a blacklist of unwanted assets that should be skipped during analysis. Enter a comma-separated list of tickers to exclude from the screener:
Example 1: BTCUSDT, ETHUSDT
Example 2: BTC, ETH (all tickers that contain these symbols will be excluded)
This helps you quickly remove illiquid, noisy, or unwanted instruments from the results without changing your main groups or whitelist.
📈 DASHBOARD
This section controls the results dashboard: table position, style, and sorting logic.
Here is what you can configure:
Result Table – position of the results table on the chart.
Background / Text – colors and opacity for the table background and text.
Table Size – overall size of the results table (from 0 to 30).
Show Results – how many rows (pairs) to display in the table.
Sort by (stat) – which metric to use for sorting the results.
Available options: Profit Factor, Profit, Winrate, Correlation, Score.
This lets you quickly focus on the most interesting pairs according to the exact metric that matters most for your strategy.
📎 FILTER SETTINGS
This section lets you filter the results table by metric values.
For example, you can show only pairs with a minimum correlation of 0.8 to focus on more stable relationships. 🔸 Min Correlation
Minimum allowed correlation between the two assets over the selected lookback period.
🔸 Min Score
Minimum absolute Score (Z-Score or S-Score) required to include a pair in the results.
For example, 2.0 means only pairs with Score >= 2.0 or <= -2.0 will be displayed.
🔸 Min Winrate
Minimum win rate percentage for a pair to be included in the table.
🔸 Min Profit Factor
Minimum profit factor required for a pair to stay in the results. These filters help you quickly narrow the list down to pairs that meet your quality criteria and match your risk profile.
📌 COLUMN SELECTION
This section lets you fully customize which metrics are displayed in the results table.
You can enable or hide any column to focus only on the data you need to identify the best pairs for trading. The screener allows you to show up to 12 metrics at the same time, which gives a detailed view of pair quality. Available columns:
🔹 Exchange Prefix
Show the exchange prefix in the ticker.
🔹 Correlation
Correlation between the two assets’ prices over the lookback period.
🔹 Score
Current Score value (Z-Score or S-Score).
On lower timeframe research, Score is not displayed.
🔹 Spread
Shows spread as % change since entry.
Positive value = profit on the main position.
🔹 Unrealized PnL
Shows unrealized PnL as a $ value based on current prices.
🔹 Profit
Total profit from all trades: Gross Profit − Gross Loss.
🔹 Winrate
Percentage of profitable trades out of all executed trades.
🔹 Profit Factor
Gross Profit / Gross Loss.
🔹 Trades
Total number of trades.
🔹 Max Drawdown
Maximum observed loss from peak to trough before a new peak is made.
🔹 Max Loss
Largest loss recorded on a single trade.
🔹 Long/Short Profit
Separate profit/loss for long trades and short trades.
🔹 Avg. Trade Time
Average duration of trades.
All these metrics are designed to help you quickly identify the strongest pairs for your strategy.
You can change colors, opacity, and hide any columns that are not relevant to your workflow.
🔔 ALERT
The alert system in this screener works in a specific way.
Alerts are tied directly to the filters you set in the Filter Settings section:
Minimum Correlation
Minimum Score
Minimum Winrate
Minimum Profit Factor
You can configure alerts to trigger when a new pair appears that matches all your filter conditions. 💡 Example
You set:
Minimum Score = 3
Then you create an alert based on the screener.
When any pair reaches a Score greater than +3 or less than −3, you will receive a notification.
This is how alerts work in this screener.
The idea is to deliver the most relevant information about the current market situation without forcing you to watch the screener all the time.
Supported placeholders for alert messages: {{ticker_1}} – main ticker (the one on the chart).
{{ticker_2}} – the paired ticker listed in the table.
{{corr}} – correlation value.
{{score}} – Score value (Z-Score or S-Score).
{{time}} – bar open time (UTC).
{{timenow}} – alert trigger time (UTC). You can use these placeholders to build alert text or JSON payloads in any format required by your tools.
The screener is designed to significantly enhance your pair trading workflow: it helps you quickly identify working pairs and current market inefficiencies, and with the alert system you can react to opportunities without constantly sitting in front of the screen.
Always remember that past performance does not guarantee future results.
Use the screener data within a risk-controlled trading system and adjust position sizing according to your own risk management rules.
RunRox - Pairs Strategy🧬 Pairs Strategy is a new indicator by RunRox included in our premium subscription.
It is a specialized tool for trading pairs, built around working with two correlated instruments at the same time.
The indicator is designed specifically for pair trading logic: it helps track the relationship between two assets, identify statistical deviations, and generate signals for opening and managing long/short combinations on both legs of the pair.
Below in this description I will go through the core functions of the indicator and the main concepts behind the strategy so you can clearly understand how to apply it in your trading.
📌 CONCEPT
The core idea of pair trading is to find and trade correlated instruments that usually move in a similar way.
When these two assets temporarily diverge from each other, a trading opportunity appears.
In such moments, the relatively overvalued asset is sold (short leg), and the relatively undervalued asset is bought (long leg).
When the spread between them narrows and both instruments revert back toward their typical relationship (mean), the position is closed and the trader captures the profit from this convergence.
In practice, one leg of the pair can end up in a loss while the other generates a larger profit.
Due to the difference in performance between the two assets, the combined result of the pair trade can still be positive.
✅ KEY FEATURES:
2 deviation types (Z-Score and S-Score)
Invert signals mode
Hedge Coefficient (position size balancing between both legs)
6 hedge modes
Entries based on Score or RSI
Extra entries based on Score or Spread
Stop Loss
Take Profit
RSI Filter
RSI Pivot Mode
Built-in Backtester Strategy
Lower Timeframe Backtester Strategy
Live trade panel for current position
Equity curve chart
21 performance metrics in the backtester
2 alert types
*And many more fine-tuning options for pair trading
🔗 SCORE
Score is the core deviation metric between the two assets in the pair.
For example, if you are trading ETHUSDT/BTCUSDT, the indicator analyzes the relationship ETH/BTC, and when one leg temporarily diverges from the other, this difference is reflected in the Score value.
In other words, Score shows how much the current spread between the two instruments deviates from its typical state and is used as the main signal source for pair entries and exits.
In the screenshot above you can see how Score looks in our indicator.
Depending on how large the difference is between the two assets, the Score value can move in a range from −N to +N
When Score is in the −N zone, this is a 🟢 long zone for the first asset and a short zone for the second.
Using the ETH/BTC example: when Score is deeply negative, you open a long on ETH and a short on BTC at the same time, then close both legs when Score returns back to the 0 zone (balance between the two assets).
When Score is in the +N zone, this is a 🔴 short zone for the first asset and a long zone for the second.
In the same ETH/BTC example: when Score is strongly positive, you short ETH and long BTC, and again close both positions when Score comes back to the neutral 0 zone.
☯️ Z/S SCORE
Inside the indicator we added two different formulas for calculating the spread between the two legs of the pair: Z-Score and S-Score.
These approaches measure deviation in different ways and can produce slightly different signals depending on the chosen pair and its behavior.
This allows you to switch between Z-Score and S-Score and choose the method that gives more stable and cleaner signals for your specific instruments.
As you can see in the screenshot above, we used the same pair but applied different Score types to measure the spread and deviation from the norm.
🟣 Z-Score – generated 9 entry signals .
It reacts to price fluctuations more smoothly and usually stays within a range of approximately −8 to +8 .
🟠 S-Score – generated 5 entry signals .
It reacts to price changes more aggressively and produces wider deviations, often reaching −15 to +15 .
This gives traders the choice between a more sensitive but smoother model (Z-Score) and a more selective, stronger-deviation model (S-Score)
⁉️ HOW DOES THE STRATEGY WORK
Here is a basic example of how you can trade this pair trading strategy using our indicator and its signals.
In the classic approach the trade consists of one initial entry and several scale-ins (averaging) if the spread continues to move against the position.
The first entry is opened when Score reaches a standard deviation of −2 or +2.
If price does not revert to the mean and moves further against the position so that Score expands to −3 or +3, the strategy performs the first scale-in.
If Score extends to −4 or +4, a second scale-in is added.
If the spread grows even more and Score reaches −5 or +5, a third scale-in is executed.
In our indicator the number of averaging steps can be up to 4 scale-ins .
After that the position waits until Score returns back to the 0 level , where the whole pair position is closed.
This is the standard model of classical pair trading.
However there are many variations:
using Stop Loss and Take Profit,
exiting earlier or later than the 0 zone,
scaling in not by Score but by Spread, since Score is not linear while Spread is linear,
entering when RSI on both tickers shows opposite extremes, for example RSI 20 on one asset and RSI 80 on the other, and so on.
The number of possible trading styles for this strategy is very large.
We designed the indicator to cover as many of these variations as possible and added flexible tools so you can build your own pair trading logic on top of it.
Below is an example of a classic pair trade with two entries: one main entry and one extra entry (scale-in) .
The pair SUIUSDT / PENGUUSDT shows a high correlation, and on one of the trades the sequence looked like this:
A −2 Score deviation occurred into the long zone and triggered the Main Entry .
🔹 Main Entry
Long SUIUSDT – Margin: 5,000 USD, Entry price: 1.5708
Short PENGUUSDT – Margin: 5,000 USD, Entry price: 0.011793
Price then moved further against the position, Score went deeper into deviation, and the strategy added one extra entry.
🔸 Extra Entry
Long SUIUSDT – Margin: 5,000 USD, Entry price: 1.5938
Short PENGUUSDT – Margin: 5,000 USD, Entry price: 0.012173
The trade was closed when Score reverted back toward the 0 zone (mean reversion of the spread):
❎ Exit
SUIUSDT P&L: −403.34 USD, Exit price: 1.5184
PENGUUSDT P&L: +743.73 USD, Exit price: 0.011089
✅ Total P&L: +340.39 USD
With a total margin of 10,000 USD used per side (20,000 USD combined), this trade yielded around +1.7% on the deployed margin.
On different assets the size and speed of the spread movement will vary, but the principle remains the same.
This is just one example to illustrate how the strategy works in practice using simplified theoretical balances.
⚙️ MAIN SETTINGS
After explaining how the strategy works, we can move to the indicator settings and their logic.
The first block is Main Settings, which controls how the pair is built, how the spread is calculated, and how the backtest is performed.
The core idea of the indicator is to backtest historical data, generate entry signals, show open-position parameters, and provide all necessary metrics for both discretionary and algorithmic trading.
This is a complete framework for analyzing a pair of assets and building a trading system around them. Below I will go through the main parameters one by one.
🔹 Exclude Dates
Allows you to exclude abnormal periods in the pair’s history to remove outlier trades from the backtest.
This is useful when the market experienced extreme news events, listing spikes, or other non-typical situations that distort statistics.
🔹 Pair
Here you select the second asset for your pair.
For example, if your main chart is BTCUSDT, in this field you choose a correlated asset such as ETHUSDT, and the working pair becomes BTCUSDT / ETHUSDT.
The indicator then calculates spread, Score, and all related metrics based on this asset combination.
🔹 Lower Timeframe
This is a special mode for backtesting on a lower timeframe while using a higher timeframe chart to extend the history limit.
For example, if your TradingView plan provides only 5,000 bars of history on the current timeframe, you can switch your chart to a higher timeframe and select a lower timeframe in this setting.
The indicator will then reconstruct the pair logic using up to 99,000 bars of lower timeframe data for backtesting.
This allows you to test the pair on a much longer historical period and find more stable combinations of assets.
🔹 Method
Here you choose which deviation model you want to use: Z-Score or S-Score.
Both methods calculate spread deviation but use different formulas, which can give different signal behavior depending on the pair.
Examples of these two methods are shown earlier in this description.
🔹 Period
This parameter defines how many bars are used to calculate the average deviation for the pair.
If you set Period = 300, the indicator looks back 300 bars and calculates the typical spread deviation over that window.
For example, if the average deviation over 300 bars is around 1%, then a move to 2% or more will push Z/S Score closer to its boundary levels, since such a deviation is considered abnormal for that lookback period.
A larger Period means that only bigger deviations will be treated as anomalies.
A smaller Period makes the model more sensitive and treats smaller deviations as anomalies.
This allows you to tune how aggressive or conservative your pair trading signals should be.
🔹 Invert
This setting is used for negatively correlated pairs.
Some instruments have a positive correlation in the range from +0.8 to +1.0 (strong positive correlation), while others show a negative correlation from −0.8 to −1.0, meaning they usually move in opposite directions.
A classic example is the pair EURUSD and DXY.
As shown in the screenshot above, these instruments often have strong negative correlation due to macro factors and typically move in opposite directions: when EURUSD is rising, DXY is falling, and vice versa.
Such pairs can also be traded with our indicator.
To do this, we use the Invert option, which effectively flips one of the assets (as shown in the screenshot below). After inversion, both instruments are brought to a “same-direction” behavior from the model’s point of view.
From there, you trade the pair in the same way as a positively correlated one:
you open both legs in the same direction (both long or both short) depending on the spread and Score, and then wait for the spread between the inverted pair to converge back toward its mean.
🔀 HEDGE COEFFICIENT
The next block of settings is related to the hedge coefficient.
This defines how much margin is allocated to each leg of the pair.
The classic approach in pair trading is to split the position equally between both assets.
For example, if you allocate 100 USD to a trade , the standard model would open 50 USD long on one asset and 50 USD short on the other.
This works well for pairs with similar volatility , such as BTCUSDT / ETHUSDT
However, if you use a pair like BTCUSDT / DOGEUSDT , the volatility of these assets is very different.
They can still be correlated, but their amplitude is not the same. While Bitcoin might move 2% , Dogecoin can move 10% over the same period.
Because of that, for pairs with strongly different volatility, we can use a hedge coefficient and, for example, enter with 30 USD on one leg and 70 USD on the other, taking the volatility difference into account.
This is the main idea behind the Hedge Coefficient section and its primary use.
The indicator includes 6 methods of calculating the coefficient:
Cumulative RMA
Beta OLS
Beta TLS
Beta EMA
RMA Range
RMA Delta
Each method uses a different formula to compute the hedge coefficient and to size the position based on different metrics of the assets.
We leave it to the trader to decide which algorithm works best for their specific pair and style.
Below are the settings inside this section:
🔹 Method
When Auto Hedge is enabled, you can select which method to use from the list above.
The chosen method will automatically calculate the hedge coefficient between the two legs.
🔹 Hedge Coefficient
This is the manual hedge ratio per trade when Auto Hedge is disabled.
By default it is set to 1, which means the position is opened 50/50 between the two assets.
🔹 Min Allowed Hedge Coef.
This is the minimum allowed hedge coefficient.
By default it is 0.2, which means the model will not go below a 20% / 80% split between the legs.
🔹 MA Length
For methods that use moving averages (for example Beta EMA), this parameter sets the period used to calculate the hedge coefficient.
🛠️ STRATEGY SETTINGS
The next important block is Strategy Settings .
Here you define the core parameters used for backtesting: trading commission, position size, entry / exit logic, Stop Loss, Take Profit, and other rules that describe how you want the strategy to operate.
Below are all parameters with a detailed explanation.
🔸 Commission %
In this field you set your broker’s fee percentage per trade .
The indicator automatically calculates the correct commission for each leg of every trade. You only need to input the real commission rate that your broker charges for volume. No additional manual calculations are required.
🔸 Main Entry Mode
There are two options for the main entry:
Score - This is the primary entry method based on Z/S Score.
When Score reaches the deviation level defined in the settings below, the strategy opens the first position.
For example, if you set “Entry at 2 deviations”, the trade will be opened when Score hits ±2.
RSI Only - Alternative entry method based on RSI divergence between the two assets.
The exact RSI levels are defined in the RSI settings section below.
For example, if you set the entry threshold at 30, then when one asset has RSI below 30 and the second one has RSI above 70, the first entry will be triggered.
🔸 Extra Entries Mode
This defines how scale-ins (averaging) are executed. There are two modes:
Score - Works the same way as the main entry, but for additional entries.
For example, the main entry can be at 2 deviations, the first scale-in at 3, the second at 4, etc.
Spread - This mode uses the Spread (difference between the two assets) starting from the main entry moment.
As the spread continues to widen, the strategy can add extra entries based on spread growth rather than Score.
Since Score is a non-linear metric and Spread is linear, in some configurations averaging by Spread can produce better results than averaging by Score. This is pair- and strategy-dependent. 🔸 Entry parameters
Deviation / Spread threshold
Entry size
Main Entry – first field (deviation / spread), second field (position size)
Entry 2 – first field (deviation / spread), second field (position size)
Entry 3 – first field (deviation / spread), second field (position size)
Entry 4 – first field (deviation / spread), second field (position size)
This allows you to define up to four scaling steps with different triggers and different sizing.
🔸 Exit Level
This parameter defines at what Score level you want to exit the trade.
By default it is 0, which means the backtester closes the position when Score returns to the neutral (0) zone.
You can also use positive or negative values. Example:
Assume your main entry is configured at a 3 deviation.
You can exit at the 0 level, or you can set Exit Level = 2.
If your initial entry was at −3, the position will be closed when Score reaches +2.
If your initial entry was at +3, the position will be closed when Score reaches −2.
This approach can increase the profit per trade due to a larger captured spread, but it may also increase the holding time of the position.
🔸 Stop Loss
Here you define the maximum loss per trade in PnL units.
If a trade reaches the negative PnL value specified in this field and the Stop Loss option is enabled, the indicator will close the trade at a loss.
The Cooldown parameter sets a pause after a losing trade:
the strategy will wait a specified number of bars before opening the next trade.
🔸 Take Profit
Works similar to Stop Loss but for profit targets.
You set the desired PnL value you want to reach.
The trade will be closed when either the Take Profit target is hit or when Score reaches the exit level defined in the settings, whichever occurs first (depending on your configuration).
🔸 Show Qty in currency
When enabled, trade size is displayed in currency (USD) instead of token quantity.
This is useful for quickly understanding position size in monetary terms.
You will see this in the Current Trade panel, which is described later.
🔸 Size Rounding
Controls how many decimal places are used when rounding position size (from 0 to 10 digits after the decimal).
This is also used for the Current Trade panel so you can adjust how detailed or compact the size display should be.
📊 RSI FILTERS
This section is used for additional trade filtering.
RSI can be used in two ways:
as a primary entry signal,
or as an extra filter for entries based on Z/S Score.
If in the Strategy Settings the Main Entry Mode is set to RSI, then RSI becomes the main trigger for opening a position.
In this case a trade is opened when the RSI of the two assets reaches opposite zones.
Example:
If the threshold is set to 30, then:
when one asset has RSI below 30, and
the second asset has RSI above 70 (100 − 30),
the strategy opens the first entry.
All extra entries after that will be executed either by Spread or by Z/S Score, depending on your Extra Entries Mode.
Below are the parameters in this block:
RSI Length – standard RSI period setting.
RSI Pivot Mode – when enabled, RSI is used as an additional filter together with Z/S Score. The indicator looks for a reversal pattern on RSI (pivot behavior). If RSI forms a reversal structure, the trade is allowed to open. If not, the signal is skipped until a proper RSI pivot is formed.
Entry RSI Filter – here you define the RSI thresholds used for RSI-based entries. These are the same boundary levels described in the example above.
Overall, this section helps filter out lower-quality trades using additional RSI conditions or lets you build RSI-only entry logic based on extreme levels.
🎨 MAIN CHART STYLING
This section controls the visual appearance of trades on the main chart.
You can customize how the second asset line is drawn, as well as the icons for entries, scale-ins, and exits, including their size and style.
▫️ Price Line
This is the line that shows the price of the second asset and the relative difference between the two instruments.
You can adjust the line thickness and color to make it more readable on your chart.
▫️ Adjust Price Line by Hedge Coefficient
When this option is enabled, the second asset’s line is normalized by the hedge coefficient.
If you turn it off, the hedge coefficient will not be applied to the second asset’s line, and it will be displayed in raw form.
▫️ Entry Label
Here you can customize how the entry markers look:
choose the color, icon style, and size of the label that marks each trade entry and scale-in on the chart.
▫️ Exit Label
Similarly, you can define the color, icon style, and size of the label used for exits.
This helps visually separate entries and exits and makes it easier to read the trade history directly from the chart.
🎯 INDICATOR PANEL
This section controls the settings of the indicator panel, which works like an oscillator and allows you to visualize multiple metrics in one place.
You can flexibly enable, style, and scale each parameter.
🔹 Score
Displays the main deviation metric between the two assets.
You can customize the color and line thickness of the Score plot.
🔹 Spread
Shows the spread between the two assets.
It starts calculating from the moment the trade is opened.
You can adjust its color and thickness for better visibility.
🔹 Total Profit
Displays the cumulative profit for this pair and strategy as a line that grows (or falls) over time.
Color, opacity, and line thickness can be customized.
🔹 Unrealized PNL
Once a trade is opened, this line shows the current PnL of the active position.
It also lets you see historical drawdowns on the pair.
Color and thickness can be adjusted.
🔹 Released PNL
Shows the realized PnL of each closed trade as bars.
Useful for quickly evaluating the result of every individual trade in the backtest.
🔹 Correlation
Plots the correlation coefficient between the two assets as a graph, so you can visually track how stable or unstable the relationship between them is over time.
🔹 Hedge Coefficient
Shows the hedge coefficient as a line, which helps understand how the model is rebalancing exposure between the two legs depending on their behavior.
For each metric there is also a 📎 Stretch option.
Stretch allows you to compress or expand the scale of a specific line to visually align metrics with different ranges on the same panel and make the chart easier to read.
📈 PROFIT CHART
Since TradingView does not natively support proper backtesting for pair trading, this indicator includes its own profit curve for the pair.
You can visually see how the strategy performed over historical data: whether there were deep drawdowns, abnormal profit spikes, or stable equity growth over time. This makes it much easier to evaluate the quality of the pair and the strategy on history.
In the settings of this section you can flexibly customize how the profit chart is displayed:
labels, position of the panel, padding, and other visual details.
Everything depends on your personal preferences, so we give full control over styling:
you can adjust the look of the profit chart to match your layout or completely hide it from the chart if you do not need it.
📌 CURRENT TRADE
This section controls the current trade table.
When there is an active trade on the chart, the panel displays all key information for the open position:
direction for each ticker (long or short),
required position size for each leg,
entry price for both assets,
and real-time PnL for each leg separately,
so you always have a clear view of the current situation.
The main thing you can do with this table is customize its appearance:
you can change the size, position on the chart, background and text colors, as well as separate coloring for positive / negative PnL and different colors for long and short positions.
📅 BACKTEST RESULTS
The next key block is Backtest Results.
This results table with detailed metrics gives you an extended view of how the pair and strategy perform: win rate, profit factor, long/short breakdown, and more than 20 additional stats that help you evaluate the potential of your setup.
⚠️ First of all, it is important to note ⚠️
past performance does not guarantee future results.
Every trader must keep this in mind and factor these risks into their strategy.
The table shows metrics in three cuts:
All Entries
Main Entries
Extra Entries (scale-ins)
Core metrics:
Profit – total profit for each entry type.
Winrate – win rate for this pair.
Profit Factor – ratio of gross profit to gross loss for the strategy.
Trades – number of trades in the backtest.
Wins – number of winning trades.
Losses – number of losing trades.
Long Profit – profit generated by long positions.
Short Profit – profit generated by short positions.
Longs – total number of long trades.
Shorts – total number of short trades.
Avg. Time – average time spent in a trade.
Additional metrics for a deeper evaluation of the pair:
Correlation – current correlation between the two assets in the pair.
Bars Processed – number of bars used in the analysis.
Max Drawdown – maximum historical drawdown of the strategy.
Biggest Loss – the largest single losing trade in the backtest.
Recommended Hedge – recommended hedge coefficient based on historical behavior.
Max Spread – maximum positive spread observed in history.
Min Spread – maximum negative spread observed in history.
Avg. Max Spread – average of positive extreme spread values (above 0).
Avg. Min Spread – average of negative extreme spread values (below 0).
Avg Positive Spread – average positive spread across all trades (only values above 0).
Avg Negative Spread – average negative spread across all trades (only values below 0).
Current Spread – current spread between the assets when a trade is open.
These metrics together allow you to quickly assess how stable the pair is, how the risk/return profile looks, and whether the strategy parameters are suitable for live trading. You can fully customize this results table to fit your workflow:
hide metrics you don’t need, change colors, opacity, and other visual styles, and reorder the focus of the stats according to your trading style.
This way the backtest block can show only the metrics that matter to you most and remain clean and readable during analysis.
📣 ALERTS
The next section is dedicated to alerts.
Here you can configure all signals you need, both for manual trading and for full automation of this pair trading strategy. This block is designed to cover most practical use cases. The indicator supports two alert modes:
Single Alert – one universal custom alert for all events.
Two Alerts – separate alerts for each ticker so you can receive different messages per asset.
Available alert events:
Main Entry – when the main entry is triggered.
Entry 2 – when the first scale-in is executed.
Entry 3 – when the second scale-in is executed.
Entry 4 – when the third scale-in is executed.
Exit Alert – when the position is closed.
StopLoss Alert – when Stop Loss is hit.
TakeProfit Alert – when Take Profit is hit.
All alerts are fully customizable and support a set of placeholders for building structured messages or JSON payloads.
🔹1 Alert Type
List of supported placeholders: {{event}} – trigger name ('Entry 1', 'Exit').
{{dir_1}} – 'Long' or 'Short' for the main ticker.
{{dir_2}} – 'Long' or 'Short' for the other ticker.
{{action_1}} – 'Buy', 'Sell' or 'Close' for the main ticker.
{{action_2}} – 'Buy', 'Sell' or 'Close' for the other ticker.
{{price_1}} – price for the main ticker.
{{price_2}} – price for the other ticker.
{{qty_1}} – order size for the main ticker.
{{qty_2}} – order size for the other ticker.
{{ticker_1}} – main ticker (e.g. 'BTCUSD').
{{ticker_2}} – other ticker (e.g. 'ETHUSD').
{{time}} – candle open time in UTC.
{{timenow}} – signal time in UTC.
🔹2 Alert Type
List of supported placeholders: {{event}} – trigger name ('Entry 1', 'Exit', 'SL', 'TP').
{{action}} – 'Buy', 'Sell' or 'Close'.
{{price}} – order price.
{{qty}} – order size.
{{ticker}} – ticker (e.g. 'BTCUSD').
{{time}} – candle open time in UTC.
{{timenow}} – signal time in UTC. You can use these placeholders to build any JSON structure or custom alert text required by your trading bot, exchange API, or automation service.
In this post I’ve explained how the indicator works, the core concept behind this pair trading strategy, and shown practical examples of trades together with a detailed breakdown of each unique feature inside the tool.
We have invested a lot of work into building this indicator and we truly hope it will help you trade pair strategies more efficiently and more profitably by giving you structured, strategy-specific information that is difficult to obtain in any other way.
⚠️ Please also remember that past performance does not guarantee future results.
Always evaluate the risks, the robustness of your setup, and your own risk tolerance before entering any position, and make independent, well-considered decisions when using this or any other strategy.






















