BTC EMA-VWAP Gap Signals (Cooldown Version)This script is an indicator designed to generate bullish and bearish signals based on the relationship between two technical tools. It evaluates the market only after each candle closes, and then plots visual markers on the chart whenever the required conditions are satisfied.
The indicator also implements a cooldown system, ensuring that once a bullish or bearish signal is generated, the same type of signal cannot appear again for a user-defined duration.
⭐ User Inputs
1. EMA Length
Controls the period used for calculating the Exponential Moving Average.
Default value: 8
You can increase or decrease this to capture slower or faster short-term trends.
2. Bear Gap (Points)
A threshold value affecting when a bearish signal should appear.
Default: 500
You can increase or reduce this depending on how strict or aggressive you want bearish signals to be.
3. Bull Gap (Points)
A threshold for triggering a bullish signal.
Default: 800
A higher number means signals will appear less often, only in stronger situations.
4. Cooldown Duration (Hours)
Determines how long the script must wait before generating another signal of the same type.
Default: 4 hours
Works independently for bullish and bearish signals:
A bearish signal blocks only bearish signals for the cooldown period.
A bullish signal blocks only bullish signals for the cooldown period.
차트 패턴
HVTC 2HVTC – SMC Market Structure & Trend Indicator
HVTC is a Smart Money Concepts–based tool that helps traders visualize market structure and trend direction with clarity.
Features:
CHoCH & BOS Detection
Automatically identifies structural shifts using true SMC logic and labels them directly on the chart.
Trend Filter
Confirms bullish or bearish conditions using an internal trend system to keep trades aligned with the major direction.
EMA 25 Guide
EMA 25 acts as dynamic support/resistance, helping define momentum and bias.
Alerts (Optional)
Notify traders when CHoCH/BOS or key retests occur—ideal for those who don’t monitor charts continuously.
Use Cases:
Works for Crypto, Forex, Gold, Indices, and Stocks across all timeframes. Helps improve entries, exits, and overall market understanding based on institutional structure.
Not financial advice. Use with proper risk management.
猛の掟・本物っぽいTradingViewスクリーナー 完全版//@version=5
indicator("猛の掟・本物っぽいTradingViewスクリーナー 完全版", overlay=false, max_labels_count=500, max_lines_count=500)
// =============================
// 入力パラメータ
// =============================
emaLenShort = input.int(5, "短期EMA", minval=1)
emaLenMid = input.int(13, "中期EMA", minval=1)
emaLenLong = input.int(26, "長期EMA", minval=1)
macdFastLen = input.int(12, "MACD Fast", minval=1)
macdSlowLen = input.int(26, "MACD Slow", minval=1)
macdSignalLen = input.int(9, "MACD Signal", minval=1)
macdZeroTh = input.float(0.2, "MACDゼロライン近辺とみなす許容値", step=0.05)
volMaLen = input.int(5, "出来高平均日数", minval=1)
volMinRatio = input.float(1.3, "出来高倍率(初動判定しきい値)", step=0.1)
volStrongRatio = input.float(1.5, "出来高倍率(本物/三点シグナル用)", step=0.1)
highLookback = input.int(60, "直近高値の参照本数", minval=10)
pullbackMin = input.float(5.0, "押し目最小 ", step=0.5)
pullbackMax = input.float(15.0, "押し目最大 ", step=0.5)
breakLookback = input.int(15, "レジブレ後とみなす本数", minval=1)
wickBodyMult = input.float(2.0, "ピンバー:下ヒゲが実体の何倍以上か", step=0.5)
// 表示設定
showPanel = input.bool(true, "下パネルにスコアを表示する")
showTable = input.bool(true, "右上に8条件チェック表を表示する")
// =============================
// 基本指標計算
// =============================
emaShort = ta.ema(close, emaLenShort)
emaMid = ta.ema(close, emaLenMid)
emaLong = ta.ema(close, emaLenLong)
= ta.macd(close, macdFastLen, macdSlowLen, macdSignalLen)
volMa = ta.sma(volume, volMaLen)
volRatio = volMa > 0 ? volume / volMa : 0.0
recentHigh = ta.highest(high, highLookback)
prevHigh = ta.highest(high , highLookback)
pullbackPct = recentHigh > 0 ? (recentHigh - close) / recentHigh * 100.0 : 0.0
// ローソク足要素
body = math.abs(close - open)
upperWick = high - math.max(open, close)
lowerWick = math.min(open, close) - low
// =============================
// A:トレンド条件
// =============================
emaUp = emaShort > emaShort and emaMid > emaMid and emaLong > emaLong
goldenOrder = emaShort > emaMid and emaMid > emaLong
aboveEma2 = close > emaLong and close > emaLong
trendOK = emaUp and goldenOrder and aboveEma2
// =============================
// B:MACD条件
// =============================
macdGC = ta.crossover(macdLine, macdSignal)
macdNearZero = math.abs(macdLine) <= macdZeroTh
macdUp = macdLine > macdLine
macdOK = macdGC and macdNearZero and macdUp
// =============================
// C:出来高条件
// =============================
volInitOK = volRatio >= volMinRatio // 8条件用
volStrongOK = volRatio >= volStrongRatio // 三点シグナル用
volumeOK = volInitOK
// =============================
// D:ローソク足パターン
// =============================
isBullPinbar = lowerWick > wickBodyMult * body and lowerWick > upperWick and close >= open
isBullEngulf = close > open and open < close and close > open
isBigBullCross = close > emaShort and close > emaMid and open < emaShort and open < emaMid and close > open
candleOK = isBullPinbar or isBullEngulf or isBigBullCross
// =============================
// E:価格帯(押し目&レジブレ)
// =============================
pullbackOK = pullbackPct >= pullbackMin and pullbackPct <= pullbackMax
isBreakout = close > prevHigh and close <= prevHigh
barsSinceBreak = ta.barssince(isBreakout)
afterBreakZone = barsSinceBreak >= 0 and barsSinceBreak <= breakLookback
afterBreakPullbackOK = afterBreakZone and pullbackOK and close > emaShort
priceOK = pullbackOK and afterBreakPullbackOK
// =============================
// 8条件の統合
// =============================
allRulesOK = trendOK and macdOK and volumeOK and candleOK and priceOK
// =============================
// 最終三点シグナル
// =============================
longLowerWick = lowerWick > wickBodyMult * body and lowerWick > upperWick
macdGCAboveZero = ta.crossover(macdLine, macdSignal) and macdLine > 0
volumeSpike = volStrongOK
finalThreeSignal = longLowerWick and macdGCAboveZero and volumeSpike
buyConfirmed = allRulesOK and finalThreeSignal
// =====================================================
// スクリーナー用スコア(0=なし, 1=猛, 2=確)
// =====================================================
score = buyConfirmed ? 2 : (allRulesOK ? 1 : 0)
// 色分け(1行で安全な書き方)
col = score == 2 ? color.new(color.yellow, 0) : score == 1 ? color.new(color.lime, 0) : color.new(color.gray, 80)
// -----------------------------------------------------
// ① 視覚用:下パネルのカラム表示
// -----------------------------------------------------
plot(showPanel ? score : na,
title = "猛スコア(0=なし,1=猛,2=確)",
style = plot.style_columns,
color = col,
linewidth = 2)
hline(0, "なし", color=color.new(color.gray, 80))
hline(1, "猛", color=color.new(color.lime, 60))
hline(2, "確", color=color.new(color.yellow, 60))
// -----------------------------------------------------
// ② Data Window 用出力(スクリーナー風)
// -----------------------------------------------------
plot(score, title="Score_0なし1猛2確", color=color.new(color.white, 100), display=display.data_window)
plot(allRulesOK ? 1 : 0, title="A_Trend_OK", color=color.new(color.white, 100), display=display.data_window)
plot(macdOK ? 1 : 0, title="B_MACD_OK", color=color.new(color.white, 100), display=display.data_window)
plot(volumeOK ? 1 : 0, title="C_Volume_OK", color=color.new(color.white, 100), display=display.data_window)
plot(candleOK ? 1 : 0, title="D_Candle_OK", color=color.new(color.white, 100), display=display.data_window)
plot(priceOK ? 1 : 0, title="E_Price_OK", color=color.new(color.white, 100), display=display.data_window)
plot(longLowerWick ? 1 : 0, title="F_Pin下ヒゲ_OK", color=color.new(color.white, 100), display=display.data_window)
plot(macdGCAboveZero ? 1 : 0, title="G_MACDゼロ上", color=color.new(color.white, 100), display=display.data_window)
plot(volumeSpike ? 1 : 0, title="H_出来高1.5倍", color=color.new(color.white, 100), display=display.data_window)
// -----------------------------------------------------
// ③ 右上に「8条件チェック表」を表示(最終バーのみ)
// -----------------------------------------------------
var table info = table.new(position.top_right, 2, 9,
border_width = 1,
border_color = color.new(color.white, 60))
// 1行分の表示用ヘルパー
fRow(string label, bool cond, int row) =>
color bg = cond ? color.new(color.lime, 70) : color.new(color.red, 80)
string txt = cond ? "達成" : "未達"
// 左列:条件名
table.cell(info, 0, row, label, text_color = color.white, bgcolor = color.new(color.black, 0))
// 右列:結果(達成 / 未達)
table.cell(info, 1, row, txt, text_color = color.white, bgcolor = bg)
if barstate.islast and showTable
// ヘッダー(2列とも黒背景)
table.cell(info, 0, 0, "猛の掟 8条件チェック", text_color = color.white, bgcolor = color.new(color.black, 0))
table.cell(info, 1, 0, "", text_color = color.white, bgcolor = color.new(color.black, 0))
fRow("A: トレンド", trendOK, 1)
fRow("B: MACD", macdOK, 2)
fRow("C: 出来高", volumeOK, 3)
fRow("D: ローソク", candleOK, 4)
fRow("E: 押し目/レジブレ", priceOK, 5)
fRow("三点: ヒゲ", longLowerWick, 6)
fRow("三点: MACDゼロ上", macdGCAboveZero,7)
fRow("三点: 出来高1.5倍", volumeSpike, 8)
Price BoundariesThe Price Boundaries indicator plots two dynamic levels above and below the current market price. These levels help traders visualize a custom price band around the instrument, assisting with intraday bias, breakout zones, stop-loss planning, or scalp targets.
You can set the distance between the current price and each boundary using a user-defined input. For example, if the price is 6250 and the distance is set to 25, the indicator will automatically draw lines at 6275 (upper boundary) and 6225 (lower boundary). These levels update every candle based on the closing price.
This tool is useful for:
Marking expected movement ranges
Planning mean-reversion or breakout setups
Creating consistent distance-based zones
Visual reference for volatility compression or expansion
The indicator also optionally shades the area between the boundaries to make the zone easier to spot on the chart.
PD Array Matrix [NINE Θ]PD Array Matrix
A comprehensive ICT-based indicator that combines multiple Premium/Discount Array concepts into a single, unified tool for Smart Money analysis.
Overview
PD Array Matrix provides traders with institutional-grade market structure analysis by integrating key ICT (Inner Circle Trader) concepts. This indicator automatically identifies and displays critical price levels, imbalances, and divergences that smart money uses to execute trades.
Key Features
Change in State of Delivery (CISD)
Automatically detects shifts in market delivery, signaling potential reversals or continuation setups.
Bullish and Bearish detection with directional filtering
Confirmation arrows for visual clarity
Wick-based invalidation for precise risk management
Customizable line styles, colors, and label formats
Order Blocks
Identifies institutional order flow zones where significant buying or selling occurred.
Box or Line display styles
Filter by direction: Both, Bullish, Bearish, or CISD Direction
CISD Direction mode only shows Order Blocks that align with the current market bias
Automatic invalidation when price mitigates the zone
Market Structure Levels
Tracks key liquidity levels that institutional traders target.
Minor Levels: Intermediate swing highs/lows (Buyside/Sellside)
Major Levels: Significant swing points with higher timeframe relevance
Automatic fill detection with optional historical display
Customizable display modes: Label Only, Price Only, Both, or Minimalistic
Fair Value Gaps (FVGs)
Detects price imbalances created by aggressive market moves.
Three display styles: Normal, Minimalist, and Classic
Optional Volume Imbalance detection (body-to-body gaps)
50% Consequent Encroachment line
Proximity-based display showing FVGs closest to current price
Inversion Fair Value Gaps (IFVGs)
Identifies when price inverts through an existing FVG, flipping its directional bias.
Automatic conversion from FVG to IFVG on body close
Configurable lookback period to filter old inversions
Independent display controls from regular FVGs
Invalidation tracking when price closes through the zone
Higher Timeframe FVGs
Displays Fair Value Gaps from higher timeframes on your current chart.
Auto Timeframe selection based on your chart
Manual timeframe override option
Seamless integration with lower timeframe analysis
SMT Divergences
Detects Smart Money Tool divergences between correlated instruments.
Auto SMT Mode: Automatically selects correlated pairs for:
Index Futures (NQ, ES, YM, RTY)
Metals (GC, SI, PL)
Energy (CL, RB, NG)
Forex Majors
Crypto (BTC, ETH)
Manual symbol selection for custom pairs
Dual symbol comparison for confluence
Automatic invalidation tracking
Session Filters
Limit all setups to specific trading sessions.
Two configurable session windows
Multiple timezone support
Applies to: FVGs, IFVGs, CISDs, Order Blocks, and SMTs
Active on timeframes ≤ 1 hour
Customization
Every component offers extensive customization:
Individual toggle controls for each feature
Color settings for bullish/bearish elements
Multiple line styles (Solid, Dashed, Dotted)
Label size and position options
Transparency controls
Historical display limits
This indicator is for educational and informational purposes only. It does not constitute financial advice. Past performance is not indicative of future results. Always conduct your own analysis and manage risk appropriately.
River 4.0River 4.0 is a visual system designed to help traders read market direction, trend-shift momentum, and high-quality entry zones through a combination of the River Cloud, three key structural lines, and a dedicated scalp zone system.
Key Features
1. River Cloud (Dynamic Daily Flow)
A dynamic zone formed between two daily-derived levels that represents market balance and directional flow.
The cloud color changes based on market conditions (Bullish, Bearish, or Neutral), including smooth gradient transitions whenever a trend shift occurs.
2. High Line, Mid Line, Low Line
Three structural reference levels that help users identify buy zones, sell zones, and neutral zones without needing any technical calculations.
– Price above the High Line = Buy Zone
– Price below the Low Line = Sell Zone
– Price between the lines = Neutral Zone
3. Trend State Display
A compact panel on the bottom-right showing the current trend state, the values of all three structural lines, and the volume condition (Rising / Falling).
4. Buy & Sell Triggers
Visual markers that appear when price breaks specific structural levels, providing confirmation for entries aligned with the prevailing trend.
5. Scalp Zone Box
A special zone that forms whenever a trend shifts, giving traders a premium early-entry window during the initial momentum of a new trend.
Ideal for aggressive entries or re-entry confirmation after a retest.
6. Clean Visuals & Lightweight Logic
The system avoids heavy calculations or complex indicators.
All components are designed for a clean, fast, and easy-to-interpret chart experience.
Purpose of River 4.0
To give traders a clear visual understanding of market flow, transition phases, and real-price-action-based entry opportunities — suitable for scalpers, intraday traders, swing traders, and beginners alike.
sinyal Bot AlertsThis script is privately licensed and accessible by invitation only.
To access:
• Submit your TradingView username.
• Verification is provided via Telegram. • The license is individual; sharing and copying are prohibited.
Access will be granted to verified accounts within a maximum of 24 hours.
AUTOSTDVThis indicator plots Standard Deviation projections to help traders with top ticking and bottom ticking market reversals. It automatically identifies market structure to draw both Manipulation and Distribution legs.
The script uses a custom algorithm to detect Major Highs and Major Lows based on pivot relationships. Once a major reversal is confirmed (via a break of a prior small pivot structure), the indicator calculates the standard deviation of the "Manipulation Leg" (the move leading into the pivot) and the "Distribution Leg" (the initial move away from the pivot) to project exhaustion targets.
**Features:**
* **Dual Leg Analysis:** Visualizes both the setup phase (Manipulation) and the expansion phase (Distribution).
* **Dynamic Settings:** automatically adjusts calculation lengths based on the timeframe to filter noise.
* **Timeframe Specific:** This indicator is optimized and restricted to work on the following timeframes: **5m, 15m, 30m, 1h, 2h, and 4h**.
* **Clean Visuals:** Hides raw pivot data to focus purely on the projection levels.
**Disclaimer:** I am not liable for any losses or financial damages resulting from the use of this indicator. Trading involves significant risk, and this tool is for educational purposes only. Past performance is not indicative of future results.
Divergence+This powerful, highly customizable divergence detector helps traders spot high-probability reversal and continuation signals with exceptional clarity and precision.
Built on robust zigzag pivot analysis, the indicator identifies classic and hidden divergences between price action and your chosen oscillator (RSI, CCI, Stochastic, MFI, and more — or any external oscillator). It draws clean connecting lines and marks pivots with simple "D" (regular divergence) or "H" (hidden divergence) text labels, making potential trend changes or continuations instantly visible.
Key Features That Make It a Trader's Essential Tool:
Dual-Pane Visualization: Always displays divergences clearly in the oscillator pane, with optional overlay on the main price chart (candles) for context without clutter.
Fully Independent Controls: Toggle lines and labels separately on the price chart — show text-only markers for a minimalist setup, or full lines + labels when needed.
Complete Visual Customization: Adjust colors for every element (oscillator line, divergence lines, and label text) directly from settings. Resize labels independently for the oscillator pane and price chart (tiny for subtlety or large for emphasis).
Smart Alerts: Configurable alerts for bullish/bearish regular and hidden divergences — never miss a setup.
Repainting Option: Choose real-time repainting for faster signals or confirmed pivots for delayed but rock-solid entries.
Flexible Trend Detection: Use zigzag-based, moving average, or external trend signals to accurately classify regular vs. hidden divergences.
Clean & Minimal Design: Text-only labels (no bulky shapes) keep your chart uncluttered while highlighting key pivots.
Whether you're hunting reversals in ranging markets, confirming trend continuations, or fine-tuning entries on higher timeframes, this screener delivers professional-grade divergence analysis with unmatched flexibility. Perfect for day traders, swing traders, and anyone who wants precise, actionable signals without overwhelming visuals.
A must-have tool for elevating your technical analysis game.
NoProcess Prior Month/Week/Day High/Low/EQ Prior Period Levels
Plots key support/resistance levels from previous timeframes: Day, Week, and Month.
Levels Displayed:
PDH/PDL/PDE — Prior Day High, Low, and Equilibrium (midpoint)
PWH/PWL/PWE — Prior Week High, Low, and Equilibrium
PMH/PML/PME — Prior Month High, Low, and Equilibrium
Features:
Toggle each timeframe independently
Single color control for clean chart aesthetics
Configurable right extension (1-50 bars)
Dotted line style with labels positioned at line endpoints
Use Case:
Reference levels for institutional order flow concepts. Prior period highs/lows act as liquidity pools; equilibriums mark fair value zones where price often rebalances. Works on any instrument and timeframe.
CE Crypto Dow Theory – BTC & ETH # Professional User Guide: Crypto Dow Theory Indicator
## Crypto Exponentials Technical Analysis Suite
---
## 📋 Introduction
Welcome to the Crypto Dow Theory indicator—a professional-grade technical analysis tool designed for sophisticated cryptocurrency market participants. This comprehensive guide will enable you to leverage the full capabilities of the indicator for informed trading decisions.
**Prerequisites**: Basic understanding of technical analysis and Dow Theory principles recommended but not required.
---
## 🚀 Initial Setup Protocol
### Step 1: Adding the Indicator
1. Navigate to **Indicators** menu at the top of your TradingView chart
2. Search for **"Crypto Dow Theory – BTC & ETH"** in your invited/private scripts
3. Click to apply the indicator to your active chart
4. The indicator will overlay directly on the price chart
### Step 2: Optimal Configuration
Access settings via the **gear icon (⚙️)** next to the indicator name:
#### Essential Parameters
**Dow Theory Settings**
- **Min % Move (Pullback Threshold)**: 5.0% (default)
*Recommendation*: 5-7% for standard volatility, 8-10% for high volatility periods
- **Min Days for Secondary Reaction**: 8 days (default)
*Note*: This parameter is currently informational; future versions may incorporate duration filtering
- **Timeframe**: D (Daily) - *Primary recommendation for reliable signals*
**Symbol Configuration**
- **Bitcoin Symbol**: BTCUSD (default)
*Alternatives*: COINBASE:BTCUSD, BINANCE:BTCUSDT, BITSTAMP:BTCUSD
- **Ethereum Symbol**: ETHUSD (default)
*Alternatives*: COINBASE:ETHUSD, BINANCE:ETHUSDT, BITSTAMP:ETHUSD
#### Visual Options (Customizable Display)
**Recommended Professional Setup**:
- ✅ **Show Divergence Alerts**: ON (critical signals)
- ☐ **Show Support/Resistance Lines**: OFF (toggle on for level analysis)
- ☐ **Show Trend Change Arrows**: OFF (toggle on for entry/exit timing)
- ☐ **Show BTC/ETH Price Lines**: OFF (redundant with price chart)
- ✅ **Show Pullback Triangles**: ON (continuous market state monitoring)
- ✅ **Show Info Label**: ON (real-time pullback metrics)
- ☐ **Show Help Panel**: OFF (reference available in this documentation)
#### Alert Configuration
**Alert Threshold Settings**
- **Alert on Pullback Greater Than**: 10.0% (default for significant moves)
*Adjust based on your risk tolerance and trading style*
---
## 📊 Signal Interpretation Framework
### Primary Status Indicator (Top Label)
Located at the top-right of your chart, this label provides instant market condition assessment:
- **✓ BULLISH** → Both assets in confirmed uptrend
*Interpretation*: Favorable conditions for long positioning; primary trend intact
- **⚠️ BTC** → Bitcoin in pullback phase
*Interpretation*: Monitor Ethereum for confirmation; potential isolated correction
- **⚠️ ETH** → Ethereum in pullback phase
*Interpretation*: Monitor Bitcoin for confirmation; assess correlation strength
- **⚠️ BOTH PULLBACK** → Dual-asset correction in progress
*Interpretation*: Market-wide retracement; defensive positioning recommended
### Information Label (Bottom Display)
Positioned at the bottom-right, this label provides quantitative pullback metrics:
**Format Examples**:
- `BTC: 5.2% down | ETH: 3.1% down` → Both assets in measured pullback
- `BTC: Uptrend | ETH: Uptrend` → No corrections detected; trend strength
- `BTC: 8.7% down | ETH: Uptrend` → Single-asset pullback (divergence potential)
- **Additional Flag**: `DIVERGENCE!` → Correlation breakdown detected
### Visual Marker System
#### Continuous Indicators
**Pullback Triangles** (Small, persistent markers)
- 🟠 **Orange Triangles** → Bitcoin in secondary reaction (below candles)
- 🔵 **Blue Triangles** → Ethereum in secondary reaction (below candles)
- **Multiple Consecutive Triangles** → Extended pullback duration
*Professional Use*: Track pullback persistence; extended pullbacks (10+ triangles) often precede strong reversals
#### Event-Based Signals
**Trend Change Arrows** (Optional, toggle in settings)
- 🔴 **Red Arrow Down** → Pullback initiation detected
- 🟢 **Green Arrow Up** → Recovery confirmed; new high established
*Professional Use*: Entry/exit timing markers; green arrows indicate trend resumption
#### Critical Alert Signals
**Divergence Warning**
- ❌ **Red X (Cross)** → Bearish divergence identified
*Scenario*: One asset makes new high while other remains in pullback
*Action*: Exercise caution; consider profit-taking or tightening stops
**Bullish Confirmation**
- 💎 **Green Diamond** → Coordinated recovery signal
*Scenario*: Both assets exit pullbacks simultaneously
*Action*: High-probability long entry zone; strong market agreement
#### Background Visualization
**Red Background Tint**
- Light red overlay when **both assets in pullback**
- Provides at-a-glance market condition awareness
- Signals elevated risk environment
---
## 📈 Professional Trading Strategies
### Strategy 1: Conservative Trend Following
**Risk Profile**: Low | **Recommended For**: Risk-averse participants, capital preservation focus
**Execution Protocol**:
1. **Entry Criteria**: Status displays **"✓ BULLISH"**; both assets trending
2. **Position Management**: Maintain exposure during bullish status
3. **Exit Trigger**: Status changes to **"⚠️ BOTH PULLBACK"**; initiate defensive positioning
4. **Re-Entry Signal**: Green diamond (bullish confirmation) after correction
5. **Risk Management**: Stop-loss below recent swing low
**Expected Characteristics**: Lower frequency trades, higher win rate, reduced drawdowns
---
### Strategy 2: Pullback Accumulation
**Risk Profile**: Medium | **Recommended For**: Swing traders, value-oriented entries
**Execution Protocol**:
1. **Setup Identification**: Single-asset pullback (**"⚠️ BTC"** or **"⚠️ ETH"**)
2. **Entry Zone**: Pullback reaches 5-7% (monitor info label)
3. **Confirmation**: Other asset remains in uptrend (divergence absent)
4. **Stop-Loss Placement**: Below pullback low with 1-2% buffer
5. **Exit Strategy**: Green arrow (recovery) or status returns to bullish
**Expected Characteristics**: Higher frequency, requires active monitoring, medium holding period
---
### Strategy 3: Divergence-Based Risk Management
**Risk Profile**: Medium-High | **Recommended For**: Advanced practitioners, short-term traders
**Execution Protocol**:
1. **Alert Trigger**: Red X (bearish divergence) appears
2. **Assessment**: Verify one asset making new highs while other in pullback
3. **Initial Action**: Reduce position size by 30-50% or tighten trailing stops
4. **Monitoring**: Watch for dual-asset pullback confirmation
5. **Re-Entry**: Green diamond signal after both assets correct and recover
**Expected Characteristics**: Defensive positioning, capital preservation during uncertainty
---
### Strategy 4: Institutional Accumulation
**Risk Profile**: Low (Long-Term) | **Recommended For**: Portfolio managers, HODLers, DCA strategies
**Execution Protocol**:
1. **Trigger**: **"⚠️ BOTH PULLBACK"** status + red background
2. **Accumulation Method**: Scale into position as pullback deepens
- 25% position at 5% pullback
- 25% position at 7% pullback
- 50% position at 10%+ pullback
3. **Confirmation Wait**: Green diamond (coordinated recovery)
4. **Hold Strategy**: Maintain through subsequent minor pullbacks
**Expected Characteristics**: Low frequency, high conviction entries, long holding periods
---
## 🔔 Alert Configuration Best Practices
### Recommended Alert Setup
**Critical Alerts** (Enable immediately):
1. ✅ **"Both in Pullback"** → Market-wide correction notification
2. ✅ **"Bearish Divergence"** → Correlation breakdown warning
3. ✅ **"Bullish Confirmation"** → High-confidence entry signal
4. ✅ **"Deep Pullback Alert"** → Threshold: 10% for significant moves
**Optional Alerts** (Based on trading style):
5. ☐ **"BTC Recovery"** → May generate frequent notifications
6. ☐ **"ETH Recovery"** → May generate frequent notifications
### Alert Configuration Parameters
**TradingView Alert Settings**:
- **Trigger Frequency**: "Once Per Bar Close" (recommended to avoid intrabar noise)
- **Expiration**: "Open-ended" (continuous monitoring)
- **Notification Methods**:
- Mobile push notifications (time-sensitive signals)
- Email (detailed records)
- SMS (critical alerts only due to volume)
---
## ⚙️ Parameter Optimization by Trading Style
### Swing Traders (Recommended Primary Use Case)
**Profile**: Multi-day to multi-week holding periods
**Optimal Settings**:
- **Timeframe**: Daily (1D)
- **Min % Move**: 5-7%
- **Alert Threshold**: 8-10%
- **Check Frequency**: Once daily post-market close
- **Visual Options**: Divergence alerts + Info label (minimal clutter)
---
### Position Traders / Long-Term Investors
**Profile**: Weeks to months holding periods
**Optimal Settings**:
- **Timeframe**: Daily (1D) or Weekly (1W)
- **Min % Move**: 7-10%
- **Alert Threshold**: 12-15%
- **Check Frequency**: 2-3 times weekly
- **Visual Options**: Status label only (macro view)
---
### High-Volatility Environments
**Market Condition**: Elevated realized volatility, choppy price action
**Optimal Settings**:
- **Min % Move**: Increase to 8-10%
- **Alert Threshold**: 12-15%
- **Rationale**: Reduces noise and false signals during turbulent periods
---
### Low-Volatility Environments
**Market Condition**: Consolidation, narrow ranges, low realized volatility
**Optimal Settings**:
- **Min % Move**: Decrease to 3-5%
- **Alert Threshold**: 7-8%
- **Rationale**: Captures smaller structural movements during quiet periods
---
## 🔧 Advanced Configuration
### Custom Symbol Implementation
**Major Exchange Pairs**:
```
Bitcoin Options:
- COINBASE:BTCUSD (US-based, high liquidity)
- BINANCE:BTCUSDT (global volume leader)
- BITSTAMP:BTCUSD (established exchange)
Ethereum Options:
- COINBASE:ETHUSD (US-based, high liquidity)
- BINANCE:ETHUSDT (global volume leader)
- BITSTAMP:ETHUSD (established exchange)
```
**Alternative Cryptocurrency Pairs**:
While designed for BTC/ETH, experimental configurations possible:
- **Large Cap Altcoins**: SOLUSD + ADAUSD (sector analysis)
- **DeFi Leaders**: AVAXUSD + MATICUSD (ecosystem tracking)
⚠️ **Important**: Dow Theory principles work optimally with dominant market leaders (BTC/ETH). Alternative pairs may produce less reliable signals.
---
## 🛠️ Troubleshooting Guide
### Issue: Excessive Signal Generation
**Symptoms**: Constant triangle markers, frequent alerts
**Root Cause**: Threshold too sensitive for current volatility
**Solution**: Increase "Min % Move" to 7-10%
**Verification**: Observe reduction in signal frequency while maintaining major moves
---
### Issue: Missed Significant Moves
**Symptoms**: No triangles during visible corrections
**Root Cause**: Threshold too conservative
**Solution**: Decrease "Min % Move" to 3-5%
**Verification**: Triangles appear during moderate retracements
---
### Issue: Labels Obscured or Invisible
**Symptoms**: Cannot see status or info labels
**Diagnostic Checklist**:
- Zoom level: Zoom out to reveal off-screen labels
- Settings: Verify "Show Info Label" is enabled
- Overlap: Check for other indicators obscuring labels
- Position: Labels placed 3 bars left of current price to prevent cutoff
**Solution**: Adjust chart zoom or disable overlapping indicators
---
### Issue: Persistent Red Background
**Symptoms**: Continuous red tinting despite apparent uptrend
**Root Cause**: One or both assets technically in pullback per threshold
**Solution**: Verify pullback percentages in info label; increase threshold if false positive
**Note**: Red background requires BOTH assets in pullback simultaneously
---
### Issue: No Triangles Displayed
**Diagnostic Checklist**:
- Verify "Show Pullback Triangles" enabled in Visual Options
- Confirm market not in extended uptrend (no pullbacks detected)
- Check threshold isn't too high (increase sensitivity)
---
### Issue: Divergence Signals Absent
**Solution**: Enable "Show Divergence Alerts" in Visual Options
**Note**: Divergence signals relatively rare; indicate significant correlation breakdowns
---
## 💡 Professional Trading Insights
### 1. Volume Confluence Analysis
**Integration Strategy**:
- Overlay volume indicator below price chart
- **Pullback + Low Volume** → Healthy correction within uptrend (bullish)
- **Pullback + High Volume** → Potential distribution or reversal (bearish)
- **Recovery + High Volume** → Strong accumulation confirmation (bullish)
**Application**: Validate indicator signals with volume context for higher-confidence trades
---
### 2. Multi-Timeframe Validation
**Hierarchical Analysis**:
- **Weekly (1W)**: Primary trend direction (strategic bias)
- **Daily (1D)**: Indicator signals (tactical execution)
- **4-Hour (4H)**: Precise entry timing within daily signals
**Protocol**: Ensure daily signals align with weekly trend; use 4H for entry refinement
---
### 3. Risk Management Framework
**Position Sizing Guidelines**:
- **Maximum Risk**: 2% account equity per position
- **Stop-Loss Placement**: Below pullback low + 1-2% buffer
- **Position Scaling**:
- Initial entry: 50% intended size
- Add 25% on confirmation (green arrow)
- Final 25% on bullish confirmation (green diamond)
**Capital Preservation**:
- Reduce exposure 50% on "BOTH PULLBACK" status
- Tighten stops to breakeven on bearish divergence (red X)
- Scale out 30% of position at predetermined profit targets
---
### 4. Macro Context Integration
**External Factors to Monitor**:
- **Total Crypto Market Capitalization**: Validate broad market alignment
- **Bitcoin Dominance**: Rising = BTC outperformance; Falling = altcoin season
- **Macro Events**: FOMC meetings, regulatory announcements, geopolitical developments
- **On-Chain Metrics**: Network activity, exchange flows (advanced)
**Application**: Indicator signals most reliable when macro context supports directional bias
---
### 5. Correlation Dynamics
**Healthy Market Characteristics**:
- ✅ Strong positive correlation (BTC and ETH move together)
- ✅ Coordinated recoveries (green diamond frequent)
- ✅ Simultaneous pullbacks of similar magnitude
**Warning Signs**:
- ⚠️ Frequent divergences (red X signals)
- ⚠️ Opposite directional moves
- ⚠️ One asset perpetually lagging
**Interpretation**: Strong correlation = stable bull market; Weak correlation = uncertainty, choppy conditions
---
## ✅ Best Practices Checklist
### DO:
- ✅ Primarily use daily timeframe for reliable signal generation
- ✅ Wait for confirmation signals (green diamond) before aggressive positioning
- ✅ Adjust threshold parameters based on prevailing volatility regime
- ✅ Configure alerts for critical signals (both pullback, divergence, confirmation)
- ✅ Combine indicator signals with volume analysis and macro context
- ✅ Maintain detailed trading journal to track signal accuracy and performance
- ✅ Backtest historical signals to understand indicator behavior in your market
- ✅ Scale position sizes proportionally to signal strength
### DO NOT:
- ❌ Apply to very short timeframes (<4H) where noise dominates signal
- ❌ Ignore "BOTH PULLBACK" warnings (market-wide risk elevation)
- ❌ Trade counter to primary trend without exceptional confirmation
- ❌ Rely exclusively on this indicator; use as part of comprehensive methodology
- ❌ Overtrade based on every minor signal; exercise discretion
- ❌ Neglect threshold adjustments during volatility regime changes
- ❌ Enter positions during bearish divergence without additional confirmation
- ❌ Exceed predetermined risk parameters based on signal enthusiasm
---
## 📚 Dow Theory Educational Context
### Core Principles Implemented
**1. Trend Persistence Doctrine**
*"The trend is assumed to continue until a definitive reversal signal occurs"*
**Implementation**: Indicator tracks absolute highest high for each asset, maintaining trend assumption until threshold breach (5%+ pullback)
---
**2. Significant Movement Threshold**
*"Minor fluctuations are noise; significant moves indicate structural change"*
**Implementation**: Configurable percentage threshold (default 5%) filters noise, identifying meaningful secondary reactions
---
**3. Confirmation Principle**
*"Market indices must confirm each other for signal validity"*
**Implementation**: Dual-asset tracking; highest confidence signals require BTC and ETH agreement (both bullish or both in pullback)
---
**4. Secondary Reactions Within Primary Trend**
*"Corrections within trends are natural and present opportunity"*
**Implementation**: Pullback detection maintains context of primary trend; triangles mark secondary reactions, not reversals
---
### Dow Theory Concepts Not Directly Implemented
**Volume Confirmation** (Dow's Three Phases)
- *Rationale*: Volume analysis requires separate indicator for comprehensive assessment
- *Recommendation*: Overlay volume indicator alongside this tool
**Three-Phase Market Cycle** (Accumulation-Distribution Framework)
- *Rationale*: Phase identification requires subjective analysis beyond pure price action
- *Recommendation*: Manual identification using indicator signals as supporting evidence
**Line Analysis** (Support/Resistance)
- *Rationale*: Optional in settings; trader discretion preferred for level identification
- *Recommendation*: Enable S/R lines when conducting detailed structural analysis
---
## 📞 Support Resources
### Technical Assistance
**For indicator-specific questions**:
- Platform: TradingView direct messaging
- Response Time: 24-48 hours
- Required Information:
- Chart screenshot
- Settings configuration
- Specific issue description
### Institutional Inquiries
**For enterprise deployment or custom development**:
- Website: (cryptoexponentials.com)
- Services: Custom indicator development, integration support, training
### Community Resources
**For general discussion and shared insights**:
- Test indicator on historical data before live trading
- Document edge cases and unusual behavior
- Share settings optimizations for specific market conditions
---
## 📝 Version Information
### Current Release: v1.0
**Feature Set**:
- Dual-asset (BTC/ETH) tracking with real-time synchronization
- Divergence detection and alert system
- Customizable pullback thresholds (volatility adaptation)
- Six distinct alert conditions
- Comprehensive visual framework with toggleable elements
- Professional interface optimized for minimal chart clutter
**Planned Enhancements** (Future Versions):
- Additional cryptocurrency pair support
- Volume-based signal confirmation
- Advanced divergence pattern library
- Custom alert message templates
- Historical signal performance metrics
- Multi-timeframe coordinated analysis
---
## 🎯 Closing Remarks
### Philosophy
The Crypto Dow Theory indicator is engineered as a **decision support tool**, not an autonomous trading system. Optimal results require:
1. **Comprehensive Market Understanding**: Technical signals within fundamental context
2. **Disciplined Risk Management**: Predetermined rules consistently applied
3. **Patient Signal Selection**: Quality over quantity; await high-probability setups
4. **Continuous Learning**: Document trades, analyze outcomes, refine approach
### Success Factors
**Highest-Probability Trades Exhibit**:
- ✅ Dual-asset confirmation (both agree on direction)
- ✅ Volume supporting the move (separate analysis)
- ✅ Alignment with weekly trend (higher timeframe confluence)
- ✅ Favorable risk/reward ratio (>2:1 minimum)
- ✅ Supportive macro environment (regulatory/economic context)
### Risk Acknowledgment
- This tool provides technical analysis, **not financial advice**
- All trading involves substantial risk of capital loss
- Past signal performance does not guarantee future accuracy
- Users are solely responsible for trading decisions and outcomes
- Always conduct independent research and consult qualified professionals
---
## 📧 Contact & Feedback
Your feedback drives continuous improvement. Please share:
- Feature requests and enhancement ideas
- Bug reports with detailed reproduction steps
- Settings optimizations for specific market conditions
- Success stories and lessons learned
**Thank you for choosing Crypto Exponentials technical analysis tools.**
**Trade with discipline. Manage risk religiously. Compound knowledge consistently.**
---
*© Crypto Exponentials | Professional Technical Analysis Solutions*
*Website: (cryptoexponentials.com)*
---
**Disclaimer**: This indicator is provided for educational and analytical purposes. The creator assumes no liability for financial losses. Cryptocurrency trading involves substantial risk. Never invest more than you can afford to lose. Always perform independent due diligence before making investment decisions.
Señales DMI/ADX 7 + SMA 21 (Pullback Mejorado)It identifies buy and sell signals in 30 minutes with excellent accuracy, using the ADX as a strength indicator, the moving average as a trend indicator, and +DI and -DI crossovers as buy and sell signals.
VWAP + EMA9 With SignalsThis script is for scalping on the 5 minute timeframe. It contains signals that indicate intersection of VWAP by the EMA9. It contains Buy signals when a candle closes above both lines indicating a quick continuation of a long position (quick scalp) as well as Sell signals when a candle closes below both lines indicating a quick continuation of a short position (quick scalp). Please note that i do not recommend entries at Buy and Sell signals during Accumulation/Consolidation. Positions should be taken with volume.
Smart Divergence Engine Overlay [ChartNation]SMART DIVERGENCE ENGINE OVERLAY — CANDLE-ANCHORED RSI DIVERGENCE VISUALIZATION
═══════════════════════════════════════════
TECHNICAL OVERVIEW
═══════════════════════════════════════════
Smart Divergence Engine Overlay renders pivot-confirmed RSI divergences directly on the price chart with candle-anchored lines and labels. This companion overlay shares the identical detection logic as the panel version but visualizes signals at their exact price levels rather than in oscillator space.
The overlay implements repainting-proof divergence detection through pivot-locked RSI evaluation at historical bars (rsi ), ensuring all lines and labels remain stable as new bars form. Visual elements anchor to xloc.bar_index coordinates, maintaining precise positioning across zoom levels and timeframe changes.
═══════════════════════════════════════════
CORE ARCHITECTURE
═══════════════════════════════════════════
PIVOT-LOCKED DETECTION SYSTEM
The overlay evaluates RSI at confirmed pivot bars, not at the current bar:
Technical implementation:
Price pivots detected via ta.pivotlow() / ta.pivothigh() with configurable Left/Right parameters
RSI value captured at the pivot bar: rsi (historical bar offset)
Divergence comparison performed between stored pivot values (lowRsiPrev vs lowRsiCurr)
State management via var floats prevents recalculation across bars
Result: Once a divergence line prints, it never moves or disappears. Historical stability is guaranteed because RSI evaluation occurs at a locked bar index (bar_index - pivotR), not at the moving present.
Bullish divergence logic:
if not na(lowPricePrev) and lowPriceCurr < lowPricePrev and lowRsiCurr > lowRsiPrev
→ Price made lower low, RSI made higher low
→ Divergence confirmed at lowIdxCurr (pivot bar index)
Bearish divergence logic:
if not na(highPricePrev) and highPriceCurr > highPricePrev and highRsiCurr < highRsiPrev
→ Price made higher high, RSI made lower high
→ Divergence confirmed at highIdxCurr (pivot bar index)
RSI ENGINE
The overlay uses the same RSI calculation as the panel version to ensure signal synchronization:
Base calculation: ta.rsi(src, 14) — standard RSI momentum window
Smoothing layer: ta.rma(rsiRaw, 2) — reduces high-frequency noise
Volatility bands: 34-period SMA basis with 1.618 standard deviation multiplier
Purpose: Bands define adaptive overbought/oversold context (not plotted on overlay)
The volatility framework exists in the calculation layer to maintain logic parity with the panel version, ensuring divergences trigger at identical bars across both implementations.
CANDLE-ANCHORED RENDERING
All visual elements use xloc.bar_index positioning:
Line rendering:
line.new(x1=lowIdxPrev, y1=lowPricePrev, x2=lowIdxCurr, y2=lowPriceCurr,
xloc=xloc.bar_index, color=bullCol, width=lineW)
This anchors lines to specific bar indices and price levels, not to time coordinates. Result: Lines maintain exact positioning when zooming, panning, or switching timeframes.
Label rendering:
label.new(x=lowIdxCurr, y=lowPriceCurr, text="BUY",
xloc=xloc.bar_index, style=label.style_label_up)
Labels attach to the second pivot's bar index and price level, scaling naturally with chart transformations.
═══════════════════════════════════════════
VISUAL IMPLEMENTATION
═══════════════════════════════════════════
DIVERGENCE LINES
Bullish divergence: Connects two price swing lows with upward-sloping line
Color: Configurable (default lime green)
Width: 1-6 pixels (configurable)
Endpoint 1: Previous swing low (lowPricePrev at lowIdxPrev)
Endpoint 2: Current swing low (lowPriceCurr at lowIdxCurr)
Requirement: Current price lower than previous, current RSI higher than previous
Bearish divergence: Connects two price swing highs with downward-sloping line
Color: Configurable (default red)
Width: 1-6 pixels (configurable)
Endpoint 1: Previous swing high (highPricePrev at highIdxPrev)
Endpoint 2: Current swing high (highPriceCurr at highIdxCurr)
Requirement: Current price higher than previous, current RSI lower than previous
Lines extend between pivot bars only (extend.none), never projecting into future.
DIVERGENCE LABELS
Optional BUY/SELL markers render at the second pivot:
BUY label (bullish divergence):
Position: Below current swing low (label.style_label_up)
Text: "BUY"
Color: Matches bullish line color
Size: Normal (size.normal)
SELL label (bearish divergence):
Position: Above current swing high (label.style_label_down)
Text: "SELL"
Color: Matches bearish line color
Size: Normal (size.normal)
Labels can be toggled independently of lines via showLabels input.
═══════════════════════════════════════════
CONFIGURATION PARAMETERS
═══════════════════════════════════════════
RSI CALCULATION SETTINGS:
Price Source: close (configurable to any price field)
RSI Length: 14 (standard momentum window)
Volatility Band Length: 34 (SMA period for RSI basis)
Band Multiplier: 1.618 (standard deviation expansion)
Note: Bands calculate internally but don't plot (logic parity with panel)
DIVERGENCE DETECTION SETTINGS:
Pivot Left: 10 bars (left-side swing confirmation)
Pivot Right: 10 bars (right-side swing confirmation)
Overbought Level: 68 (reference, does not affect logic)
Oversold Level: 32 (reference, does not affect logic)
Pivot parameters control strictness:
Higher values = fewer, more significant divergences (requires wider swings)
Lower values = more frequent divergences (detects smaller swings)
VISUAL SETTINGS:
Show Divergence Lines: true/false toggle
Show BUY/SELL Labels: true/false toggle (independent of lines)
Line Width: 1-6 pixels
Bull Color: Configurable (default lime green)
Bear Color: Configurable (default red)
═══════════════════════════════════════════
ALERT SYSTEM
═══════════════════════════════════════════
Two alert conditions trigger at identical timing as visual signals:
"Bullish Divergence (Overlay)"
Triggers when: Bullish divergence confirms at second pivot
Timing: Fires AFTER Pivot Right bars complete (delayed but stable)
Message: "TDI: Bullish divergence"
Reliability: Never repaints (confirmation locked at rsi )
"Bearish Divergence (Overlay)"
Triggers when: Bearish divergence confirms at second pivot
Timing: Fires AFTER Pivot Right bars complete (delayed but stable)
Message: "TDI: Bearish divergence"
Reliability: Never repaints (confirmation locked at rsi )
Alert configuration:
Set once on any chart/timeframe
Fires only when divergence condition evaluates true
Synchronized with visual rendering (alert = line + label appear)
═══════════════════════════════════════════
TRADING IMPLEMENTATION
═══════════════════════════════════════════
VISUAL ANALYSIS WORKFLOW
The overlay provides direct price-level context for divergence signals:
Bullish divergence interpretation:
Identify two connected swing lows with upward-sloping line
Lower price low indicates selling pressure weakening
Higher RSI low indicates momentum refusing to confirm price weakness
BUY label marks the second swing low (divergence confirmation point)
Bearish divergence interpretation:
Identify two connected swing highs with downward-sloping line
Higher price high indicates buying pressure weakening
Lower RSI high indicates momentum refusing to confirm price strength
SELL label marks the second swing high (divergence confirmation point)
CONFLUENCE WITH PRICE STRUCTURE
Overlay enables direct correlation with chart elements:
Support/Resistance alignment:
Bullish divergence at major support level = higher probability reversal
Bearish divergence at major resistance level = higher probability reversal
Divergence in middle of range = lower conviction signal
Volume confirmation:
Divergence with decreasing volume = confirms momentum exhaustion
Divergence with increasing volume = mixed signal, proceed with caution
Multi-timeframe context:
Higher timeframe trend alignment increases signal reliability
Counter-trend divergences (against HTF trend) require additional confirmation
ENTRY/EXIT FRAMEWORK
The overlay marks divergence confirmation points, not entry triggers:
Entry consideration process:
Divergence line appears → structure-confirmed momentum divergence detected
Wait for price confirmation (engulfing candle, break of structure, rejection wick)
Validate with additional confluence (volume, support/resistance, HTF trend)
Enter with predefined stop below/above divergence pivot
Size position according to distance to invalidation level
Exit planning:
Initial target: Previous swing high (bullish) / swing low (bearish)
Trail stop: Move to breakeven after initial profit target
Invalidation: Close below divergence low (bullish) / above divergence high (bearish)
═══════════════════════════════════════════
PANEL VS OVERLAY USAGE
═══════════════════════════════════════════
IDENTICAL DETECTION LOGIC
Both versions implement the same pivot-locked RSI evaluation:
Same RSI calculation (14-length with 2-period RMA smoothing)
Same volatility band framework (34-SMA + 1.618σ)
Same pivot confirmation (10 Left + 10 Right)
Same divergence comparison (rsi at locked bar indices)
Result: Divergences trigger at identical bars across both implementations.
RENDERING DIFFERENCES
Panel version (overlay=false):
Renders in separate pane below price chart
Displays RSI line, volatility bands, 50-line midline
Divergence lines drawn in oscillator space (RSI value coordinates)
Optional Shark Fin exhaustion visualization
Labels positioned relative to RSI levels
Overlay version (overlay=true):
Renders directly on price chart
No RSI line or bands visible (calculate internally for logic only)
Divergence lines drawn in price space (actual price coordinates)
No Shark Fin visualization (price chart remains clean)
Labels positioned at actual swing high/low prices
COMPLEMENTARY WORKFLOW
Recommended usage pattern:
Panel version: Monitor RSI regime (above/below 50), band interactions, Shark Fin exhaustion
Overlay version: Identify exact divergence price levels, correlate with support/resistance
Combined analysis: Use panel for momentum context, overlay for entry/exit precision
Alternative workflow (overlay only):
If RSI analysis not required, overlay version provides clean divergence detection
Pair with external RSI indicator if separate momentum visualization needed
Focuses chart space on price action and divergence markers only
═══════════════════════════════════════════
TECHNICAL SPECIFICATIONS
═══════════════════════════════════════════
RESOURCE ALLOCATION:
max_lines_count: 500 (divergence connector lines)
max_labels_count: 500 (BUY/SELL markers)
Suitable for most chart configurations and timeframes
RENDERING STABILITY:
xloc.bar_index positioning ensures visual stability across zoom/pan operations
Historical divergences never move once printed
Lines and labels scale proportionally with chart transformations
TIMEFRAME COMPATIBILITY:
Functions on any timeframe (1m to 1M)
Pivot detection adapts to bar spacing automatically
Lower timeframes generate more frequent signals (smaller swings)
Higher timeframes generate fewer signals (larger swings)
SYMBOL COMPATIBILITY:
Works on all asset classes (stocks, forex, crypto, futures, indices)
No symbol-specific logic or calculations
Universal RSI-based divergence detection
PERFORMANCE CHARACTERISTICS:
Lightweight calculation overhead (RSI + pivot detection + state management)
Visual rendering occurs only on divergence confirmation (not every bar)
No continuous repainting or historical recalculation
═══════════════════════════════════════════
USE CASE SCENARIOS
═══════════════════════════════════════════
SCENARIO 1: Support/Resistance Divergence
Setup: Price tests major support level twice, second test makes lower low
Signal: Bullish divergence line appears, RSI makes higher low at support
Interpretation: Momentum refusing to confirm price weakness at critical level
Action: Consider long entry on next bullish candle above divergence low
SCENARIO 2: Trend Exhaustion
Setup: Strong uptrend, price makes new high but momentum slowing
Signal: Bearish divergence line appears, RSI makes lower high
Interpretation: Buying pressure weakening despite higher price high
Action: Consider profit-taking on longs, watch for reversal confirmation
SCENARIO 3: Range-Bound Reversal
Setup: Price oscillating in horizontal range, tests lower boundary
Signal: Bullish divergence at range support
Interpretation: Oversold bounce opportunity within defined range
Action: Long entry targeting range midpoint or upper boundary
SCENARIO 4: Failed Breakout
Setup: Price breaks resistance but momentum doesn't confirm
Signal: Bearish divergence forms immediately after breakout
Interpretation: Breakout lacks momentum conviction, likely false breakout
Action: Consider fade setup (short) with stop above divergence high
═══════════════════════════════════════════
LIMITATIONS & CONSIDERATIONS
═══════════════════════════════════════════
SIGNAL TIMING:
Divergences print AFTER Pivot Right bars complete. This delay is intentional:
Ensures structure confirmation (full swing formation)
Prevents real-time repaint issues
Trades confirmation reliability for signal speed
Users requiring instant signals should use real-time divergence detectors (with repaint risk).
Users requiring reliable, stable signals should accept the confirmation delay.
LINE CLUTTER:
On lower timeframes with sensitive pivot settings:
High signal frequency may create visual clutter
Solution: Increase Pivot Left/Right values to filter smaller swings
Alternative: Use panel version for primary analysis, overlay for key divergences only
FALSE SIGNALS:
Divergences indicate momentum divergence, not guaranteed reversals:
Strong trends can maintain divergent conditions for extended periods
Divergence in isolation is a warning sign, not a trade trigger
Requires confluence with price action, volume, structure for high-probability setups
VOLATILITY BAND CONTEXT:
Bands calculate internally but don't visualize on overlay:
Users lose visual context of RSI overbought/oversold zones
Solution: Use panel version alongside overlay for complete RSI regime awareness
Alternative: Add separate RSI indicator to chart for band visualization
═══════════════════════════════════════════
Smart Divergence Engine Overlay provides candle-anchored, repainting-proof RSI divergence visualization directly on price charts. Lines and labels render at exact pivot price levels using xloc.bar_index positioning, maintaining stability across all chart transformations. Divergence detection uses pivot-locked RSI evaluation (rsi ) to ensure historical signals never move or disappear.
The overlay shares identical detection logic with the panel version but renders in price space rather than oscillator space, enabling direct correlation with support/resistance levels and price structure. All visual elements trigger only after full pivot confirmation (Pivot Left + Pivot Right bars), trading signal speed for absolute reliability.
Composite Market Momentum Index (CMM)***The Composite Market Momentum Index (CMMI), developed by Alcides Davila, a Miami-based Business Consultant, functions as a specialized momentum oscillator within sophisticated technical frameworks such as the Composite Predictive Index (CPI-IGv5)***. Davila's background in volatile sectors informs CMMI's design, emphasizing resilient, multi-layered analysis to navigate market uncertainties. At its essence, CMMI synthesizes momentum from RSI and momentum indicators, serving as a key input to CPI-(IGv5's)*** probability engine for directional forecasts.
The primary purpose of CMMI is to assess market strength and potential shifts, helping traders identify high-probability opportunities while mitigating risks from isolated metrics. Integrated into CPI-IGv5, it bolsters the "probUp" metric—a probabilistic estimate of upward price action—by fusing complementary factors, yielding a claimed 68-80% trend-prediction accuracy in backtests. Productivity is moderate to high under trending conditions, where multi-indicator redundancy reduces false positives. Still, it may underperform in ranging or highly volatile markets, necessitating user-led backtesting to assess real-world efficacy.
Mathematically, CMMI originates from a 9-period momentum applied to a 14-period RSI, enhanced by a 3-period smoothed short RSI to create the base composite. It undergoes Z-score standardization over a 50-bar window for normalization, followed by a linear weighted sum with other elements (e.g., 0.10 allocation to momentum). Logical enhancements include using the hyperbolic tangent (tanh) for value bounding and cumulative distribution function (CDF) or logistic mappings to derive probabilities, ensuring outputs are statistically rigorous. Threshold logic governs signals: overbought alerts trigger on crossovers above 75 (normalized scale), oversold below 25, with strict pro filters at 0.55 (buy) and 0.45 (sell) on a 0-1 basis, often requiring confirmations from EMA slopes, POC crossovers, or volume deltas. This gated approach adds precision by filtering signals through base, strong, and ultra categories based on probUp thresholds, such as>0.68 for medium-term entries.
Versatility is evident in CMMI's multitimeframe adaptability, supporting modes from scalping (1-minute resolution, short multipliers) to long-term (daily, extended lookbacks up to 500 bars), dynamically adjusting via secure data requests to incorporate live and historical momentum. It accommodates diverse assets, including commodities—Davila's focus—equities, and forex, with customizable weights and manual inputs ( scale) for external variables like news impact (elevated to 0.20 for emphasis) or industry segments (0.05), allowing fine-tuning for macroeconomic or sector-specific contexts. Efficiency is achieved through real-time rolling sums, Z-windows, and resource optimizations (e.g., max 500 bars/lines/labels), minimizing computational overhead while enabling cooldowns to mitigate alert fatigue in high-frequency setups.
For enhanced application, pair with confirmatory indicators such as MACD ratios or VWAP, and use strategy modes to backtest signal viability across horizons. Target investors include day traders and scalpers seeking quick, data-driven entries, institutions focused on commodity analysis, and technically adept retail users, all of whom benefit from its probabilistic framework over rigid rules. While versatile, CMMI's closed-source aspects in Pine Script limit full transparency, underscoring the need for empirical testing.
Price In Motion – Inside Candle Breakout SystemPrice In Motion – Inside Candle Breakout System
Created for traders who want clean, structured inside-bar breakouts without clutter or unnecessary signals.
📌 What This Indicator Does
This tool identifies inside candles and plots simple breakout zones around them.
A breakout arrow only appears when price closes outside the zone, giving a clear, rules-based trigger.
You can choose between two inside-bar detection modes:
🔄 Two Inside-Candle Modes (Toggle)
1️⃣ Standard Mode (default)
Inside candle = current body is contained within the prior candle’s high–low range.
Wicks can be outside — only the body matters.
A clean way to spot compression and continuation setups.
2️⃣ Candle-to-Candle Mode (optional)
Inside candle = current body is fully within the prior candle’s body.
Produces tighter signals and more refined breakout zones.
🧱 Merged Inside Candle Zones
Back-to-back inside candles are automatically merged into one zone:
Zone High = highest high of the cluster
Zone Low = lowest low of the cluster
This keeps the chart clean and maintains a single breakout level until price closes outside of it.
📉📈 Breakout Signals
A breakout arrow prints only when price closes outside the zone:
Green arrow = close above the zone
Red arrow = close below the zone
Arrows can be toggled on/off at any time.
🎯 Why This Helps
Unlike typical inside-bar indicators that only mark the candle, this tool:
Shows clean compression zones
Merges clusters of inside candles
Confirms breakout only on candle close
Removes duplicate or noisy signals
Never repaints
It’s built for traders who value structure, clarity, and repeatable setups.
🛠 Best Used For
Breakout continuation
Pullback structure
Compression analysis
Scalping or intraday execution
Futures, stocks, crypto — any timeframe
Volume vs Body Alert.Vsa
"This VSA-based indicator identifies potential anomalies in price action by detecting candles that show a larger body size than the previous candle while simultaneously having lower volume. This 'more result with less effort' pattern can signal weakness, manipulation, or potential trend exhaustion. Visual signals and customizable alerts notify traders when these conditions occur."
Reversal ConfirmationReversal Confirmation (RC)
This indicator identifies potential price reversals using a simple but effective two-candle pattern. It detects when a trend exhausts and confirms the reversal when the next candle eclipses the close of the reversal candle.
How It Works
The indicator uses a two-step process to confirm reversals:
Reversal Candle (R) - The first candle that closes in the opposite direction after a sustained trend. This signals potential exhaustion of the current move.
Confirmation Candle (C) - The candle that eclipses (closes beyond) the close of the reversal candle. This confirms the reversal is underway.
For a bullish reversal, the confirmation candle must close above the close of the reversal candle. For a bearish reversal, the confirmation candle must close below the close of the reversal candle.
Key Features
Requires a significant prior trend before looking for reversals, filtering out choppy sideways markets
Uses ATR to measure move significance, adapting to current volatility
Clean two-candle pattern that's easy to understand and trade
Visual dashed line showing the reversal candle close level that must be eclipsed
Built-in alerts for all signal types
Settings
Trend Lookback - Number of candles to analyze for prior trend detection (default: 7)
Trend Strength - Percentage of lookback candles required in trend direction (default: 0.7 = 70%)
Minimum Move (ATR multiple) - How large the prior move must be before signaling (default: 2.0)
Show Bullish/Bearish - Toggle each signal type on or off
Mark Reversal Candles - Toggle visibility of the reversal candle markers
Visual Signals
"R" with small circle - Marks the reversal candle where the pattern begins
"C" with triangle - Marks the confirmation candle (your entry signal)
Dashed line - Shows the close level of the reversal candle that must be eclipsed
Alerts
Three alert options are available:
Bullish Confirmation
Bearish Confirmation
Any Confirmation
How To Set Up Alerts
Add the indicator to your chart
Right-click on the chart and select "Add Alert" (or press Alt+A)
In the Condition dropdown, select "Reversal Confirmation"
Choose your preferred alert type
Set notification preferences (popup, email, sound, webhook)
Click "Create"
Tips For Best Results
Signals appearing at key support/resistance levels tend to be more reliable
Combine with VWAP, moving averages, or prior day high/low for confluence
Use higher timeframe trend direction as a filter
Increase Minimum Move ATR in volatile conditions to reduce false signals
Adjust Trend Lookback based on your timeframe (higher values for longer timeframes)
The Logic Behind It
After a sustained move in one direction, the first candle to close in the opposite direction signals potential exhaustion. However, one candle alone isn't enough. When the next candle eclipses the close of that reversal candle, it confirms that buyers (or sellers) have truly taken control and the reversal is underway.
Note: This indicator is for informational purposes only and should not be used as the sole basis for trading decisions. Always use proper risk management and consider combining with other forms of analysis.
Vib ORB Range (Free)Vib ORB Range (Free) plots the Opening Range High and Low for the session based on a user-defined start time and duration.
This tool is designed for traders who want a clean, no-noise display of the ORB zone without extra indicators or automation.
Features:
Customizable Opening Range start time
Customizable Opening Range duration
Automatically resets daily
Plots ORB High, ORB Low, and optional ORB Midline
Shaded range zone for improved clarity
Works on all timeframes and markets
How to Use:
Set the ORB start time (default 9:30 New York)
Set the ORB duration (default 15 minutes)
The indicator will draw the ORB zone once the range completes
Use the outlines or shaded zone to visually identify potential breakout areas
This free tool is intended as a simple, reliable ORB visualizer without alerts, filters, or strategy logic.
Multi-Candle Reversal ConfirmationMulti-Candle Reversal Confirmation (MCRC)
This indicator identifies potential price reversals using a 3-candle confirmation pattern. It filters out noise by requiring a significant prior trend before signaling, helping you catch turning points rather than getting trapped in choppy price action.
How It Works
The indicator uses a three-step process to confirm reversals:
Candle 1 (Rejection) - Detects a rejection candle after a sustained move. This includes hammer/shooting star patterns with long wicks, doji candles showing indecision, or stall candles with unusually small bodies.
Candle 2 (Reversal) - Confirms the candle closes in the opposite direction of the prior trend.
Candle 3 (Confirmation) - Validates the reversal by either continuing in the new direction or breaking the high/low of the previous candle.
Key Features
Requires a significant prior trend before looking for reversals (no signals in choppy, sideways markets)
Uses ATR to measure move significance, adapting to current volatility
Marks rejection candles with small circles for early awareness
Confirmed signals shown as triangles with Bull/Bear labels
Built-in alerts for all signal types
Settings
Wick to Body Ratio - How pronounced the rejection wick must be compared to the candle body (default: 2.0)
Doji Threshold - Maximum body size relative to total range to qualify as a doji (default: 0.1)
Trend Lookback - Number of candles to analyze for prior trend detection (default: 5)
Trend Strength - Percentage of lookback candles required in trend direction (default: 0.6 = 60%)
Minimum Move (ATR multiple) - How large the prior move must be before signaling (default: 1.5)
Show Bullish/Bearish - Toggle each signal type on or off
Visual Signals
Small Circle - Marks potential rejection candles (first candle in the pattern)
Green Triangle (Bull) - Confirmed bullish reversal signal
Red Triangle (Bear) - Confirmed bearish reversal signal
Alerts
Three alert options are available:
Bullish Reversal Confirmed
Bearish Reversal Confirmed
Any Reversal Confirmed
How To Set Up Alerts
Add the indicator to your chart
Right-click on the chart and select "Add Alert" (or press Alt+A)
In the Condition dropdown, select "Multi-Candle Reversal Confirmation"
Choose your preferred alert type
Set notification preferences (popup, email, sound, webhook)
Click "Create"
Tips For Best Results
Combine with key support/resistance levels for higher probability trades
Use higher timeframe trend direction as a filter
Adjust Trend Lookback based on your timeframe (higher for longer timeframes)
Increase Minimum Move ATR in volatile conditions to reduce false signals
Signals appearing near VWAP, moving averages, or prior day levels tend to be more reliable
Note: This indicator is for informational purposes only and should not be used as the sole basis for trading decisions. Always use proper risk management and consider combining with other forms of analysis.
STOC - Dynamic CPR (Auto TF + Trend Table)This indicator dynamically plots the Central Pivot Range (CPR) along with key pivot levels (R1, R2, S1, S2), and automatically adjusts the CPR timeframe based on the chart timeframe for accurate context: Daily CPR for intraday charts below 1 hour, Weekly CPR for 1-hour to daily charts, and Monthly CPR for daily, weekly, and monthly charts. A trend panel is displayed on the top-right showing whether the market is Bullish, Neutral, or Bearish depending on price position relative to the CPR band, helping traders quickly assess directional bias and support-resistance structure for intraday, swing, and positional trading.
PRICE ACTION TRAKKERThis indicator isolates the core price-phase engine from the full Price Action Tracker (PAT) system.
It identifies and visualises structural phases of price, including:
Upper phase boundary (dynamic resistance)
Lower phase boundary (dynamic support)
Phase average (mean-reversion anchor)
Pivot markers (LPH, LPL, oLPH, oLPL)
The phase engine dynamically adapts to evolving market structure using pivot behaviour and structural breaks. This creates a real-time visual map of how price is organising itself — independent of time-based indicators and without the lag associated with classical moving averages.
This version focuses exclusively on price action structure, making it clean, fast, and ideal as a core tool on its own.
However, it is also designed as a foundation for more advanced analysis and will expand over time as additional modules are released.
This phase engine works exceptionally well in combination with my other indicators, such as moving-average structure tools, volume-weighted frameworks, and trend-strength models. Together, they provide a layered view of market behaviour:
phase structure → trend bias → volume confirmation → entry logic.
This makes the indicator valuable for:
Intra-day and swing traders
Wyckoff and liquidity-based traders
Mean-reversion and range-trading strategies
Understanding where accumulation/distribution behaviour is forming
Identifying when a phase is likely ending or breaking
Future updates will add modular expansion paths (trend scoring, VWAP phase weighting, multi-phase confluence, and signal logic), while maintaining the simplicity and reliability of this core engine.
Works Best With:
This indicator is part of a broader toolkit designed to analyse structure, trend, and behaviour.
When used alongside my other published tools — such as trend-strength MAs, VWMA frameworks, and higher-timeframe bias indicators — it provides a complete, multi-layered view of market conditions.






















