Trend Signal with Alert📌The Trend Signal Indicator is based on Smooth Hiken Asia, a trend-following direction indicator that removes noise through continuity of candle body and tail structure and momentum, reveals inverse correlations in upward and downward directions, and more intuitively identifies different trends that strengthen, persist and weaken.
■ Display Settings
Simple View: Enables a minimal visual mode using a global transparency value.
Simple View Transparency: Controls opacity when Simple View is active.
■ Theme Settings
Theme: Selects one of six predefined color themes (BASIC, CYBER_PINK, FUTURE_MINT, MODERN_MINIMAL, OCEAN_WAVE, GOLD_LUXURY).
Each theme automatically sets up-trend main/glow colors and down-trend main/glow colors.
■ Custom Color Settings
Use Custom Colors: Overrides theme colors with user-defined colors.
Down Main / Down Glow: Colors applied when open > close.
Up Main / Up Glow: Colors applied when close ≥ open.
■ Line Settings
Line Width: Thickness of the main trend lines.
Glow Width: Thickness of glow lines.
Main Line Transparency: Opacity for main lines.
Glow Transparency: Opacity for glow layers.
Fill Transparency: Opacity for the area-fill between open and close plots.
■ Heiken Ashi Calculation
The script uses TAExt.heiken_ashi to generate smoothed Heiken Ashi values with:
Pre-HA smoothing (length + selectable MA type),
Post-HA smoothing (length + selectable MA type),
resulting in cleaner, noise-reduced trend representation.
■ Trend Color Logic
The indicator determines trend direction as:
Down Trend: open > close → applies MAIN_UP / GLOW_UP colors.
Up Trend: close ≥ open → applies MAIN_DOWN / GLOW_DOWN colors.
Colors adapt automatically to theme, Simple View, or custom settings, with dynamic transparency adjustments.
■ Plotting Structure
The script plots four main components:
1. Main Trend Lines
Two primary lines (open and close HA values) using main_color and user-selected line width.
2. Area Fill
A fill between the open and close plots using fill_color, providing visual body thickness.
3. Glow Layer
Multiple glow lines around the HA structure (o and c) using glow_color and reduced opacity for a layered halo effect.
4. Simplified Mode Support
When Simple View is enabled, all colors dynamically shift to a unified transparency for a softer minimal look.
■ Core Behavior
The indicator does not generate signals or predictions; it purely visualizes trend conditions using smoothed Heiken Ashi values enriched by color styling, glow layers, and theme customization.
■ Purpose
Provide a visually enhanced smoothed trend indicator.
Improve trend recognition through glow effects and area fills.
Offer flexible visual themes and full customization.
Support clean minimal mode for distraction-free charting.
תבניות גרפים
BEGGALKey Features and Concepts
1. Order Block (OB) Identification (Pivots)
The core of the indicator relies on Pivot Point detection (ta.pivothigh/ta.pivotlow) over a specified Pivot Length (e.g., 5 bars).
Bullish OB (Demand Zone): Identified at a valid low pivot point, with the zone boundary defined between the pivot low (low ) and the open/close average (hl2 ) of the pivot bar.
Bearish OB (Supply Zone): Identified at a valid high pivot point, with the zone boundary defined between the pivot high (high ) and the open/close average (hl2 ) of the pivot bar.
2. Advanced Strength Filters (Momentum & Volume)
The indicator applies strict filters to ensure only powerful, high-quality zones are drawn:
Momentum (ATR) Filter: Checks if the candle that created the OB has a range (high - low) greater than the Average True Range (ATR) multiplied by the Momentum Threshold. This filters for impulsive, strong candles.
Volume Imbalance Filter (SMC Confirmation): If enabled, it requires the volume of the OB-creating candle to be higher than the volume of candles surrounding it (checked over the Volume Imbalance Lookback period). This confirms institutional activity in the zone creation.
Structure Break Filter (BOS/CHoCH): If enabled, the OB is only considered valid if it is created after a Break of Structure (BOS) or Change of Character (CHoCH). This validates the zone according to market structure rules (e.g., a Bearish OB must be preceded by a break of a significant swing low).
3. Dynamic Zone Management
Zone Narrowing (enable_narrowing): This feature dynamically adjusts the boundaries of an Order Block after it has been touched. If a candle wick tests the zone without fully mitigating it, the zone boundary is moved inward to the point where the test occurred, narrowing the zone and making it a more precise entry point (Dynamic OB concept).
Mitigation/Removal: Once price action (either the candle's wick or close, based on the Mitigation Method setting) breaches the outermost boundary of the zone, the Order Block is considered mitigated (broken) and is removed from the chart to clear clutter.
4. Risk Categorization
The indicator tracks and draws up to a user-defined number of OBs (Bullish/Bearish OB Count). These are categorized by their index:
Index 0 (Closest): Categorized as High Risk Zone.
Index 1: Categorized as Medium Risk Zone.
Index 2 and beyond: Categorized as Low Risk Zone. The user can toggle the visibility for each of these risk categories.
5. Integrated Risk/Reward (RR) Setup
For the High Risk Zone (Index 0), once the zone is touched, the indicator displays a complete trade setup:
Entry: Assumed at the Average Price of the Order Block.
Stop Loss (SL): Placed at the protective boundary of the OB (the top for a Sell Zone, the bottom for a Buy Zone). The risk area is colored with the RR Risk Zone Background.
Take Profit (TP): Calculated based on the user-defined Risk/Reward Ratio (e.g., 2.0 for 1:2 RR). The reward area is colored with the RR Reward Zone Background.
The RR boxes and price labels (TP/SL) are drawn with a configurable RR Box Width (Bars).
6. Alerts
The indicator includes built-in Pine Script alerts that trigger when the price enters an unmitigated zone, notifying the user of the Risk Level (High, Medium, or Low), the zone's boundaries, and the price.
Order Blocks + RSI Signals (v6)📘 Order Blocks + RSI Signals (v6) — Tavsif
Order Blocks + RSI Signals (v6) — bu bozor strukturasini va momentum signallarini birlashtiruvchi kuchli texnik analiz indikatori. U ikkita asosiy komponent asosida ishlaydi:
🔷 1. Order Block (OB) avtomatik aniqlash
Indikator bozor harakatidan kelib chiqib:
Bullish Order Blocklar
Bearish Order Blocklar
ni aniqlaydi va chizadi.
U quyidagi xususiyatlarga ega:
✅ Swing High/Low bo‘yicha OB zonalarini topadi
✅ Breaker shakllanganda rang o‘zgaradi
✅ Oxirgi N ta bullish/bearish OBlarni ko‘rsatadi
✅ Candle body ishlatish opsiyasi mavjud
✅ Tarixiy OB breakoutlarni to‘liq belgilaydi
Order Blocklar to‘liq box + line ko‘rinishida chiziladi va narx o‘tishi bilan avtomatik update bo‘lib boradi.
🔶 2. RSI Signals (Buy/Sell)
Indikator klassik RSI signallarini faqat signal sifatida beradi:
RSI < 30 → BUY
RSI > 70 → SELL
U RSI liniyasini chizmaydi — faqat grafikda:
📍 BUY → pastga yashil label
📍 SELL → tepaga qizil label
Bu esa Order Block ichida yoki yaqinida yuzaga kelgan momentum signallarini aniq ko‘rishni osonlashtiradi.
🚨 3. Alertlar
Indikatorda tayyor alertlar mavjud:
RSI BUY — Oversold
RSI SELL — Overbought
Narx OB zonalariga yaqinlashganida RSI signalini olish — kuchli tasdiqlovchi strategiyadir.
📊 Kimlar uchun?
Bu indikator quyidagi treyderlar uchun ideal:
ICT / SMC / Order Block metodikasida ishlaydiganlar
OB + Momentum kombinatsiyasini izlaydiganlar
Scalping, intraday, swing treyderlar
OB va RSI signallarini bir joyda ko‘rmoqchi bo‘lganlar
⚙️ Asosiy afzalliklar
OBlarni to‘liq avtomatik aniqlaydi
Breaker zonalarini ajratib ko‘rsatadi
RSI signallari bilan tasdiq beradi
Grafikni toza ushlab turuvchi dizayn
Barcha timeframe’lar bilan mos
📘 Order Blocks + RSI Signals (v6) — Description
Order Blocks + RSI Signals (v6) is a powerful technical analysis tool that combines institutional Order Block detection with momentum-based RSI signals. The indicator helps traders identify key market structure zones and high-probability buy/sell opportunities.
🔷 1. Automatic Order Block Detection
The indicator automatically detects:
Bullish Order Blocks
Bearish Order Blocks
based on swing structure and liquidity shifts.
Key features:
✅ Detects OB zones using swing highs/lows
✅ Shows breaker blocks when price invalidates the OB
✅ Option to display the last N bullish/bearish OBs
✅ Option to use candle bodies instead of wicks
✅ Draws clean OB boxes & boundary lines that auto-update
Both active and broken Order Blocks are displayed clearly with separate colors.
🔶 2. RSI Buy/Sell Signals
A simple, clean RSI confirmation system:
RSI < 30 → BUY signal
RSI > 70 → SELL signal
The indicator does NOT plot the RSI line — it only shows:
📍 Green “BUY” label under bars
📍 Red “SELL” label above bars
This keeps the chart clean and helps combine OB zones with momentum signals.
🚨 3. Built-in Alerts
The indicator includes ready-to-use alerts:
RSI BUY — Oversold (RSI < 30)
RSI SELL — Overbought (RSI > 70)
Perfect for catching reactions inside or near Order Blocks.
📊 Who Is This For?
Ideal for:
ICT / SMC / Order Block traders
Scalpers, intraday & swing traders
Traders who use OB + momentum confirmation
Anyone wanting clean, automated OB detection
⚙️ Main Advantages
Fully automated OB detection
Breaker block visualization
Clean RSI signals with no clutter
Compatible with all symbols & timeframes
Clear, minimalistic visual design
Cloud Matrix [CongTrader]🚀 Cloud Matrix — Advanced Multi-Layer Ichimoku System
Cloud Matrix is an enhanced trend-analysis system built on the public-domain Ichimoku Kinko Hyo methodology.
This indicator delivers a multi-dimensional view of trend, momentum, and market structure, allowing traders to evaluate market conditions at a glance.
Cloud Matrix is not a simple Ichimoku clone. It introduces advanced confirmation logic, multi-timeframe trend filtering, and a modern visual framework designed for today’s dynamic markets.
🔥 Key Features & Highlights
1️⃣ Smart Preset Engine (4 Modes)
Choose from optimized presets for different markets and volatility levels:
Traditional 9/26/52
Crypto Fast 10/30/60
Crypto Medium 20/60/120
Custom Mode
→ Fast, adaptable, and beginner-friendly.
2️⃣ Advanced Trend Confirmation Engine
Cloud Matrix uses a 5-factor scoring system to filter high-quality signals:
Tenkan vs Kijun
Price vs Cloud
Cloud Twist
Chikou Position
Close vs Kijun
A bullish/bearish signal only triggers when multiple Ichimoku conditions align, reducing noise dramatically.
3️⃣ Higher-Timeframe EMA200 Filter
One of the signature strengths of Cloud Matrix:
EMA200 from a higher timeframe
Helps you follow the dominant macro trend
Avoids counter-trend traps
Ideal for swing and position traders
4️⃣ Intelligent Auto Signals
The indicator includes refined and clean signals for:
Bullish / Bearish TK Cross
Bullish / Bearish Kumo Breakout
All signals support:
Labels
Alerts
“Alert on Close” mode to avoid repaint-related confusion
5️⃣ Enhanced Kumo Cloud Visualization
Adjustable opacity (strong / soft)
Clear bullish/bearish cloud shading
Improved readability on fast markets
6️⃣ Real-Time Market State Dashboard
A compact dashboard shows all key Ichimoku conditions:
Price vs Cloud
Cloud Twist (Bullish/Bearish)
Tenkan–Kijun Relationship
Chikou Status
HTF EMA Trend
Active Preset
→ Designed for instant market diagnostics.
🎯 How Traders Use Cloud Matrix
Perfect for:
Trend following
Swing trading
Crypto, Stocks, Forex
Early breakout detection
Filtering low-quality setups
📌 Suggested Usage
Bullish Bias When:
Price is above the Cloud
Cloud Twist is bullish
Tenkan crosses above Kijun
Chikou is above price
HTF EMA200 is bullish
Bearish Bias When:
Opposite conditions apply.
⚠️ Important Note
This indicator is for analysis and educational purposes only.
It does not provide financial advice or guaranteed trading results.
Ichimoku concepts belong to the public domain; this is a modernized expansion built for study and research.
✍️ Author
CongTrader – 2025
Designed to help traders see the market through a multi-layered, structured lens..
Swing elite Trend directionSwing elite Trend direction
A comprehensive market structure indicator that identifies swing highs/lows, labels them with HH/HL/LH/LL structure, draws dynamic trendlines, and provides multi-timeframe trend analysis.
🔹 FEATURES
Market Structure Analysis
Automatically detects swing highs and swing lows
Labels each pivot with its structure type: HH (Higher High), HL (Higher Low), LH (Lower High), LL (Lower Low)
Color-coded zigzag lines based on confirmed trend direction
Structure Trendlines
Downtrend Line: Connects HH to LH (resistance in bearish structure)
Uptrend Line: Connects LL to HL (support in bullish structure)
Extended projection for potential future price interaction
Swing Trendlines
Connects the last 2 swing highs (resistance trendline)
Connects the last 2 swing lows (support trendline)
Optional extension to project future levels
Break Levels
Horizontal lines at key structure points (HH, HL, LL, LH)
Visual reference for potential breakout/breakdown levels
Customizable colors for bullish and bearish breaks
Fibonacci Retracement
Auto-drawn between the last two pivots
Customizable levels: 0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0
Individual toggle and color settings for each level
Multi-Timeframe Dashboard
Displays trend status across 3 customizable timeframes
Shows trend direction: Bullish / Bearish / Neutral
Shows confirmation status: Confirmed / Unconfirmed
Color-coded for quick visual analysis
Trend Confirmation Logic (ICT/SMC Concepts)
Bullish Confirmed: HL followed by HH (Higher Low → Higher High pattern)
Bearish Confirmed: LH followed by LL (Lower High → Lower Low pattern)
Unconfirmed: Counter-structure appears (potential reversal signal)
🔹 SETTINGS
Swing Settings
Depth: Lookback period for pivot detection
Display
Toggle zigzag lines, labels, price on labels
Adjust label size and number of visible swings
Zigzag Settings
Line style: Solid, Dashed, Dotted
Thickness and colors for bullish/bearish trends
Swing Trendlines
Toggle high/low trendlines independently
Customizable colors, style, thickness
Option to extend trendlines
Structure Trendlines
Toggle HH→LH and LL→HL lines independently
Customizable colors, style, thickness
Option to extend trendlines
Break Levels
Toggle HH, HL, LL, LH break levels independently
Customizable colors for each level
Fibonacci
Toggle individual fib levels
Customizable colors and line style
Dashboard
Position: Top Left, Top Right, Bottom Left, Bottom Right
Size: Tiny, Small, Normal, Large
3 customizable timeframes
🔹 ALERTS
HH Broken: Price breaks above recent Higher High
HL Broken: Price breaks below recent Higher Low
LL Broken: Price breaks below recent Lower Low
LH Broken: Price breaks above recent Lower High
🔹 USE CASES
✅ Identify market structure and trend direction
✅ Spot potential trend reversals (unconfirmed status)
✅ Find key support/resistance levels
✅ Multi-timeframe trend alignment for trade confirmation
✅ Breakout/breakdown trading with break levels
✅ Fibonacci retracement entries
AMN Model WHOPThe AMN Model Indicator streamlines your trading by displaying all active opportunities directly on the chart. It helps you analyse structure and establish bias, highlighting 50% of the optimal zone for precision entries. Additionally, it marks setups that haven’t been mitigated and provides real-time alerts whenever a new setup presents itself. Ideal for traders aiming for clarity, consistency, and efficiency in identifying high-probability zones for entries and exits.
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.
X-ray📌 X-ray is a microstructure tool that analyzes price structure based on volume distribution.
This indicator does not predict future price movements or provide buy/sell signals.
Instead, its purpose is to visually show price ranges where trading is concentrated or sparse during a specific period.
The script calculates the following structural elements:
POC (Point of Control)
VAH/VAL (Value Area High/Low)
HVN (High Volume Node)
LVN (Low Volume Node)
Value Area Box and Summary Table
All calculations are performed within the last N bars selected by the user and do not use future data.
■ Description of Unique Logic and Components
Volume-Based Price Structure Analysis
It collects closing prices and volume from recent data for a specified number of bars and derives the following elements:
POC (Point of Control)
The price range with the highest trading volume within the selected period. Because this area is where market participation is most active,
the price tends to retest or remain within this area.
This is not intended as a future prediction or signal,
but rather to illustrate the characteristic phenomenon that high-volume points can structurally act as "balance zones" in the market.
(Some traders describe the POC as "tending to act like a magnet" due to this market structural tendency.)
Value Area (VAH / VAL)
This is the price range encompassing a set percentage of total trading volume (default 70%).
This indicates a equilibrium zone where market participation was relatively high.
HVN (High Volume Node)
This is an area of high volume concentration,
a structurally dense point likely to have experienced a long market stay.
LVN (Low Volume Node)
This is a thin structural point with sparse trading volume,
a point likely to have experienced rapid price movements.
All of these elements are analytical tools for exploring and comparing market structural characteristics, not trading signals.
■ Visual Components
The indicator visually displays the following elements on the chart:
POC Line and Label
VAH/VAL Level
Value Area Box
HVN/LVN Highlight
Summary Table (POC, VAH, VAL Display)
■ User Input Description
Bars to Analyze
Value Area %
POC Line Color
VAH/VAL Line Color
Value Area Transparency
Enable HVN/LVN Detection
Number of Nodes to Show
Show Summary Table
Table Position
Each option controls the indicator's visual presentation and analysis scope and is not related to signal generation.
■ Repaint
Does not use future data
Calculations are only performed within the specified historical interval
Past bar values remain unchanged
Therefore, no repaint is performed.
However, during real-time bar progress, values are updated normally as the analysis interval moves.
■ Indicator Purpose
This tool is used to explore market structure based on volume distribution.
It helps observe whether volume is concentrated or sparse in a specific price range,
and what the structure might mean in the current market context.
■ Indicator Limitations
The tool does not perform the following:
It does not predict future price movements.
It does not provide buy or sell timing.
It does not guarantee any trading results.
The indicator simply provides structural reference information.
■ Limitations and Cautions
The indicator does not guarantee specific trading results.
Past volume structures may be interpreted differently depending on the situation.
It is best used as a supplementary structural analysis tool, not as a sole decision-making tool.
It is recommended to use it in conjunction with other analytical techniques.
■ Technical supplementary explanation of the 'magnet effect' of POC
POC is the most heavily traded area in the market,
which indicates that the price range has been a point of equilibrium among market participants.
As a result,
■ Price movements that retest or converge to this area may be observed.
This is a structural trend that occurs because it's the price range where supply and demand intersect most actively.
■ However, this is a statistical trend or a characteristic of market structure and does not guarantee future direction.
Therefore, the expression Therefore, the expression "tends to move like a magnet" is a term used by some traders to describe the structural flow of the market, and should not be taken with absolute certainty.
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.






















