Marcus Donchian + Volume Divergence — Indicator v2//@version=5
indicator("Marcus Donchian + Volume Divergence — Indicator v2", shorttitle="Marcus DV-Ind v2", overlay=true)
// ── Inputs
trendTF = input.timeframe("60", "Trend TF for EMA (상위TF)")
emaLen = input.int(200, "Trend EMA Length", minval=1)
emaSlopeBars = input.int(3, "EMA slope bars (HTF)", minval=1)
breakLen = input.int(50, "Donchian Lookback", minval=2)
sweepLen = input.int(30, "Sweep lookback (Reversal)", minval=3)
atrLen = input.int(14, "ATR Length", minval=1)
breakBufATR = input.float(0.30, "ATR buffer for channel (+/−)", step=0.05)
useADX = input.bool(true, "Use ADX filter?")
adxLen = input.int(14, "ADX Length", minval=1)
adxTrendThr = input.int(28, "Trend ADX ≥", minval=1, maxval=100)
adxRangeMax = input.int(22, "Range ADX ≤", minval=1, maxval=100)
useVolFilter = input.bool(true, "Use volatility filter (ATR%)")
atrMinPct = input.float(0.18, "Min ATR% of price", step=0.01)
useDivFilter = input.bool(true, "Use Volume Divergence filter/confirm?")
pvLen = input.int(5, "Pivot L/R bars (divergence)", minval=2)
divConfirmBars = input.int(30, "Divergence confirm window (bars)", minval=5)
volLen = input.int(20, "Volume MA length")
volExpMult = input.float(1.5, "Volume expansion ×MA", step=0.1)
distZLimitBO = input.float(1.5, "Max |Z| for Trend breakout (ATR)", step=0.1) // 과열 돌파 금지
distZRev = input.float(2.0, "Min |Z| for Reversal (ATR)", step=0.1) // 충분한 할인/프리미엄
allowLongs = input.bool(true, "Enable Longs", inline="SIDE")
allowShorts = input.bool(true, "Enable Shorts", inline="SIDE")
enableTrend = input.bool(true, "Enable Trend (breakout)")
enableRev = input.bool(true, "Enable Reversal (sweep+reclaim)")
// ── Wilder ADX (ta.adx 미탑재 방어)
adxWilder(len) =>
up = ta.change(high)
down = -ta.change(low)
plusDM = (up > down and up > 0) ? up : 0.0
minusDM = (down > up and down > 0) ? down : 0.0
tr_ = math.max(high - low, math.max(math.abs(high - close ), math.abs(low - close )))
smTR = ta.rma(tr_, len)
smPDM = ta.rma(plusDM, len)
smMDM = ta.rma(minusDM, len)
plusDI = 100 * smPDM / smTR
minusDI = 100 * smMDM / smTR
dx = 100 * math.abs(plusDI - minusDI) / math.max(plusDI + minusDI, 1e-10)
ta.rma(dx, len)
// ── Calculations
trendEMA = request.security(syminfo.tickerid, trendTF, ta.ema(close, emaLen))
emaSlope = trendEMA - trendEMA
upper = ta.highest(high, breakLen)
lower = ta.lowest(low, breakLen)
atr = ta.atr(atrLen)
buf = atr * breakBufATR
atrPct = (atr / close) * 100.0
adxVal = adxWilder(adxLen)
Z = (close - trendEMA) / math.max(atr, 1e-10)
// ── OBV & Volume expansion
obvStep = close > close ? volume : close < close ? -volume : 0.0
obv = ta.cum(obvStep)
volMA = ta.sma(volume, volLen)
volExp = volume >= volExpMult * volMA
// ── Pivot-based divergence (모든 상태변수 단일 선언: 재발 방지)
ph = ta.pivothigh(high, pvLen, pvLen) // 확정되면 pvLen 바 전에 찍힘
pl = ta.pivotlow(low, pvLen, pvLen)
var float ph_price_last = na
var float ph_price_prev = na
var float ph_obv_last = na
var float ph_obv_prev = na
var float pl_price_last = na
var float pl_price_prev = na
var float pl_obv_last = na
var float pl_obv_prev = na
if not na(ph)
ph_price_prev := ph_price_last
ph_obv_prev := ph_obv_last
ph_price_last := ph
ph_obv_last := obv // 피벗 바의 OBV
if not na(pl)
pl_price_prev := pl_price_last
pl_obv_prev := pl_obv_last
pl_price_last := pl
pl_obv_last := obv
// 다이버전스 정의
bearDiv = not na(ph_price_prev) and not na(ph_price_last) and (ph_price_last > ph_price_prev) and (ph_obv_last < ph_obv_prev)
bullDiv = not na(pl_price_prev) and not na(pl_price_last) and (pl_price_last < pl_price_prev) and (pl_obv_last > pl_obv_prev)
// 최근 N봉 내 다이버전스 존재?
bearDivRecent = not useDivFilter ? true : (nz(ta.barssince(bearDiv), 1e9) <= divConfirmBars)
bullDivRecent = not useDivFilter ? true : (nz(ta.barssince(bullDiv), 1e9) <= divConfirmBars)
// ── Regime predicates (원자 변수화)
trendStrong = (not useADX) or (adxVal >= adxTrendThr)
rangeLike = (not useADX) or (adxVal <= adxRangeMax)
volOK = (not useVolFilter) or (atrPct >= atrMinPct)
slopeUp = emaSlope > 0
slopeDn = emaSlope < 0
// ── Donchian Breakout (Trend) + 과열(Z) + 거래량 확장 + 역다이버전스 차단
boLong_raw = enableTrend and allowLongs and trendStrong and slopeUp and (Z < distZLimitBO) and ta.crossover(close, upper + buf)
boShort_raw = enableTrend and allowShorts and trendStrong and slopeDn and (Z > -distZLimitBO) and ta.crossunder(close, lower - buf)
boLong = boLong_raw and (not useDivFilter or (volExp and not bearDivRecent))
boShort = boShort_raw and (not useDivFilter or (volExp and not bullDivRecent))
// ── Reversal: sweep & reclaim + Z 임계 + 저 ADX + 다이버전스 확증
sweptLow = low < ta.lowest(low, sweepLen)
sweptHigh = high > ta.highest(high, sweepLen)
reclaimL = close > (lower + buf)
reclaimS = close < (upper - buf)
discOK = Z <= -distZRev
premOK = Z >= distZRev
revLong = enableRev and allowLongs and rangeLike and discOK and sweptLow and reclaimL and (not useDivFilter or bullDivRecent)
revShort = enableRev and allowShorts and rangeLike and premOK and sweptHigh and reclaimS and (not useDivFilter or bearDivRecent)
// ── Final Signals + 변동성 필터
openLongTrend = volOK and boLong
openShortTrend = volOK and boShort
openLongRev = volOK and revLong
openShortRev = volOK and revShort
// ── Alert conditions (웹훅 없음)
alertcondition(openLongTrend, "Open Long (Trend)", "Open Long (Trend breakout)")
alertcondition(openShortTrend, "Open Short (Trend)", "Open Short (Trend breakout)")
alertcondition(openLongRev, "Open Long (Reversal)", "Open Long (Reversal reclaim)")
alertcondition(openShortRev, "Open Short (Reversal)","Open Short (Reversal reject)")
// ── Plots
plot(trendEMA, "Trend EMA (HTF)", color=color.new(color.orange, 0), linewidth=2)
plot(upper, "Donchian Upper", color=color.new(color.blue, 0))
plot(lower, "Donchian Lower", color=color.new(color.blue, 0))
plotshape(boLong, title="BO Long", style=shape.triangleup, location=location.belowbar, color=color.new(color.lime,0), size=size.tiny, text="BO L")
plotshape(boShort, title="BO Short", style=shape.triangledown, location=location.abovebar, color=color.new(color.red ,0), size=size.tiny, text="BO S")
plotshape(revLong, title="REV Long", style=shape.circle, location=location.belowbar, color=color.new(color.teal,0), size=size.tiny, text="REV L")
plotshape(revShort, title="REV Short",style=shape.circle, location=location.abovebar, color=color.new(color.purple,0), size=size.tiny, text="REV S")
plotshape(bullDiv, title="Bull Div", style=shape.labelup, location=location.belowbar, color=color.new(color.green,70), size=size.tiny, text="▲Div")
plotshape(bearDiv, title="Bear Div", style=shape.labeldown, location=location.abovebar, color=color.new(color.red, 70), size=size.tiny, text="▼Div")
圖表形態
MTF Target Prediction LiteMTF Target Prediction Enhanced
Description:
MTF Target Prediction Enhanced is an advanced multi-timeframe technical analysis indicator that identifies and clusters target price levels based on trendline breakouts across multiple timeframes. The indicator uses sophisticated clustering algorithms to group similar price targets and provides visual feedback through dynamic arrows, cluster boxes, and detailed statistics.
Key Features:
Multi-Timeframe Analysis: Simultaneously analyzes up to 8 different timeframes to identify convergence zones
Smart Clustering: Groups nearby target prices into clusters with quality scoring
Predictive Arrows: Dynamic arrows that track price movement toward cluster targets
Grace Period System: Prevents false cluster loss signals with configurable waiting period
Enhanced Quality Scoring: 5-component quality assessment (Density, Consistency, Reachability, Size, Momentum)
Real-time Statistics: Track performance with win rate, P&L, and success metrics
Adaptive Performance Modes: Optimize for speed or accuracy based on your needs
How It Works:
The indicator identifies pivot points and trendlines on each selected timeframe
When a trendline breakout occurs, it calculates a target price based on the measured move
Multiple targets from different timeframes are grouped into clusters when they converge
Each cluster receives a quality score based on multiple factors
High-quality clusters generate prediction arrows showing potential price targets
The system tracks whether targets are reached or clusters are lost
Settings Guide:
⚡ Performance
Performance Mode: Choose between Fast (200 bars), Balanced (500 bars), Full (1000 bars), or Unlimited processing
🎯 Clustering
Max Cluster Distance (%): Maximum price difference to group targets (default: 1.5%)
Min Cluster Size: Minimum number of targets to form a cluster (default: 2)
One Direction per TF: Allow only one direction signal per timeframe
Cluster Grace Period: Bars to wait before considering cluster lost (default: 10)
➡️ Prediction Arrows
Min Quality for Arrow: Minimum cluster quality to create arrow (0.1-1.0)
Quality Weights: Adjust importance of each quality component
Close Previous Arrows: Auto-close arrows when new ones appear
Use Trend Filter: Create arrows only in trend direction
Trend Filter Intensity: Sensitivity of trend detection (High/Medium/Low)
📅 Timeframes
Pivot Length: Bars for pivot calculation (default: 3)
Timeframes 1-8: Select up to 8 timeframes for analysis
Visualize
Show Cluster Analysis: Display cluster boxes and labels
Show Cluster Boxes: Rectangle visualization around clusters
Show TP Lines: Display individual target price lines
Show Trend Filter: Visualize trend cloud
Show Prediction Arrows: Display directional arrows to targets
Show Statistics Table: Performance metrics display
Visual Elements:
Green/Red Boxes: Cluster zones with transparency based on quality
Arrows: Diagonal lines pointing to cluster targets
Green/Red: Active and tracking
Orange: In grace period
Gray: Cluster lost
Labels: Detailed cluster information including:
Timeframes involved
Center price (C)
Quality score (Q)
Component scores (D,C,R,S,M)
Distance from current price
Result Markers:
✓ Green: Target reached successfully
✗ Red/Gray: Cluster lost
Quality Components Explained:
D (Density): How tightly packed the TPs are relative to ATR
C (Consistency): How close the timeframes are to each other
R (Reachability): Likelihood of reaching target based on distance and trend
S (Size): Number of TPs in cluster (with diminishing returns)
M (Momentum): Alignment with current price momentum
Best Practices:
Start with Balanced performance mode and default settings
Use higher timeframes (D, W) for more reliable clusters
Look for clusters with quality scores above 0.7
Enable trend filter to reduce false signals
Adjust grace period based on your timeframe (higher TF = longer grace)
Monitor the statistics table to track indicator performance
Alerts Available:
High-quality cluster formation (UP/DOWN)
Target reached notifications
Cluster lost warnings
RUSSIAN VERSION
MTF Target Prediction Enhanced
Описание:
MTF Target Prediction Enhanced - это продвинутый мультитаймфреймовый индикатор технического анализа, который идентифицирует и кластеризует целевые уровни цен на основе пробоев трендовых линий на нескольких таймфреймах. Индикатор использует сложные алгоритмы кластеризации для группировки схожих ценовых целей и предоставляет визуальную обратную связь через динамические стрелки, кластерные боксы и детальную статистику.
Ключевые особенности:
Мультитаймфреймовый анализ: Одновременный анализ до 8 различных таймфреймов для определения зон схождения
Умная кластеризация: Группировка близких целевых цен в кластеры с оценкой качества
Прогнозные стрелки: Динамические стрелки, отслеживающие движение цены к целям кластера
Система Grace Period: Предотвращение ложных сигналов потери кластера с настраиваемым периодом ожидания
Улучшенная оценка качества: 5-компонентная оценка (Плотность, Согласованность, Достижимость, Размер, Импульс)
Статистика в реальном времени: Отслеживание эффективности с винрейтом, P&L и метриками успеха
Адаптивные режимы производительности: Оптимизация скорости или точности по вашим потребностям
Как это работает:
Индикатор определяет опорные точки и трендовые линии на каждом выбранном таймфрейме
При пробое трендовой линии рассчитывается целевая цена на основе измеренного движения
Множественные цели с разных таймфреймов группируются в кластеры при схождении
Каждый кластер получает оценку качества на основе нескольких факторов
Высококачественные кластеры генерируют стрелки прогноза, показывающие потенциальные цели
Система отслеживает достижение целей или потерю кластеров
Руководство по настройкам:
⚡ Производительность
Performance Mode: Выбор между Fast (200 баров), Balanced (500), Full (1000) или Unlimited
🎯 Кластеризация
Max Cluster Distance (%): Максимальная разница цен для группировки (по умолчанию: 1.5%)
Min Cluster Size: Минимальное количество целей для формирования кластера (по умолчанию: 2)
One Direction per TF: Разрешить только один сигнал направления на таймфрейм
Cluster Grace Period: Бары ожидания перед потерей кластера (по умолчанию: 10)
➡️ Стрелки прогноза
Min Quality for Arrow: Минимальное качество кластера для создания стрелки (0.1-1.0)
Quality Weights: Настройка важности каждого компонента качества
Close Previous Arrows: Автозакрытие стрелок при появлении новых
Use Trend Filter: Создавать стрелки только в направлении тренда
Trend Filter Intensity: Чувствительность определения тренда (Высокая/Средняя/Низкая)
📅 Таймфреймы
Pivot Length: Бары для расчета пивота (по умолчанию: 3)
Timeframes 1-8: Выбор до 8 таймфреймов для анализа
Визуализация
Show Cluster Analysis: Отображение боксов и меток кластеров
Show Cluster Boxes: Визуализация прямоугольников вокруг кластеров
Show TP Lines: Отображение линий целевых цен
Show Trend Filter: Визуализация облака тренда
Show Prediction Arrows: Отображение направленных стрелок к целям
Show Statistics Table: Отображение метрик эффективности
Визуальные элементы:
Зеленые/Красные боксы: Зоны кластеров с прозрачностью на основе качества
Стрелки: Диагональные линии, указывающие на цели кластера
Зеленые/Красные: Активные и отслеживающие
Оранжевые: В периоде ожидания
Серые: Кластер потерян
Метки: Детальная информация о кластере:
Задействованные таймфреймы
Центральная цена (C)
Оценка качества (Q)
Оценки компонентов (D,C,R,S,M)
Расстояние от текущей цены
Маркеры результата:
✓ Зеленый: Цель успешно достигнута
✗ Красный/Серый: Кластер потерян
Объяснение компонентов качества:
D (Density/Плотность): Насколько плотно расположены TP относительно ATR
C (Consistency/Согласованность): Насколько близки таймфреймы друг к другу
R (Reachability/Достижимость): Вероятность достижения цели с учетом расстояния и тренда
S (Size/Размер): Количество TP в кластере (с убывающей отдачей)
M (Momentum/Импульс): Соответствие текущему импульсу цены
Лучшие практики:
Начните с режима Balanced и настроек по умолчанию
Используйте старшие таймфреймы (D, W) для более надежных кластеров
Ищите кластеры с оценкой качества выше 0.7
Включите фильтр тренда для уменьшения ложных сигналов
Настройте grace period в зависимости от вашего таймфрейма (старший TF = дольше grace)
Следите за таблицей статистики для отслеживания эффективности индикатора
Доступные алерты:
Формирование высококачественного кластера (ВВЕРХ/ВНИЗ)
Уведомления о достижении цели
Предупреждения о потере кластера
Disclaimer / Отказ от ответственности:
This indicator is for educational and informational purposes only. Past performance does not guarantee future results. Always conduct your own analysis and risk management.
Данный индикатор предназначен только для образовательных и информационных целей. Прошлые результаты не гарантируют будущих результатов. Всегда проводите собственный анализ и управление рисками.
MTF Target Prediction LiteMTF Target Prediction Enhanced Lite
Description:
MTF Target Prediction Enhanced is an advanced multi-timeframe technical analysis indicator that identifies and clusters target price levels based on trendline breakouts across multiple timeframes. The indicator uses sophisticated clustering algorithms to group similar price targets and provides visual feedback through dynamic arrows, cluster boxes, and detailed statistics.
Key Features:
Multi-Timeframe Analysis: Simultaneously analyzes up to 8 different timeframes to identify convergence zones
Smart Clustering: Groups nearby target prices into clusters with quality scoring
Predictive Arrows: Dynamic arrows that track price movement toward cluster targets
Grace Period System: Prevents false cluster loss signals with configurable waiting period
Enhanced Quality Scoring: 5-component quality assessment (Density, Consistency, Reachability, Size, Momentum)
Real-time Statistics: Track performance with win rate, P&L, and success metrics
Adaptive Performance Modes: Optimize for speed or accuracy based on your needs
How It Works:
The indicator identifies pivot points and trendlines on each selected timeframe
When a trendline breakout occurs, it calculates a target price based on the measured move
Multiple targets from different timeframes are grouped into clusters when they converge
Each cluster receives a quality score based on multiple factors
High-quality clusters generate prediction arrows showing potential price targets
The system tracks whether targets are reached or clusters are lost
Settings Guide:
⚡ Performance
Performance Mode: Choose between Fast (200 bars), Balanced (500 bars), Full (1000 bars), or Unlimited processing
🎯 Clustering
Max Cluster Distance (%): Maximum price difference to group targets (default: 1.5%)
Min Cluster Size: Minimum number of targets to form a cluster (default: 2)
One Direction per TF: Allow only one direction signal per timeframe
Cluster Grace Period: Bars to wait before considering cluster lost (default: 10)
➡️ Prediction Arrows
Min Quality for Arrow: Minimum cluster quality to create arrow (0.1-1.0)
Quality Weights: Adjust importance of each quality component
Close Previous Arrows: Auto-close arrows when new ones appear
Use Trend Filter: Create arrows only in trend direction
Trend Filter Intensity: Sensitivity of trend detection (High/Medium/Low)
📅 Timeframes
Pivot Length: Bars for pivot calculation (default: 3)
Timeframes 1-8: Select up to 8 timeframes for analysis
Visualize
Show Cluster Analysis: Display cluster boxes and labels
Show Cluster Boxes: Rectangle visualization around clusters
Show TP Lines: Display individual target price lines
Show Trend Filter: Visualize trend cloud
Show Prediction Arrows: Display directional arrows to targets
Show Statistics Table: Performance metrics display
Visual Elements:
Green/Red Boxes: Cluster zones with transparency based on quality
Arrows: Diagonal lines pointing to cluster targets
Green/Red: Active and tracking
Orange: In grace period
Gray: Cluster lost
Labels: Detailed cluster information including:
Timeframes involved
Center price (C)
Quality score (Q)
Component scores (D,C,R,S,M)
Distance from current price
Result Markers:
✓ Green: Target reached successfully
✗ Red/Gray: Cluster lost
Quality Components Explained:
D (Density): How tightly packed the TPs are relative to ATR
C (Consistency): How close the timeframes are to each other
R (Reachability): Likelihood of reaching target based on distance and trend
S (Size): Number of TPs in cluster (with diminishing returns)
M (Momentum): Alignment with current price momentum
Best Practices:
Start with Balanced performance mode and default settings
Use higher timeframes (D, W) for more reliable clusters
Look for clusters with quality scores above 0.7
Enable trend filter to reduce false signals
Adjust grace period based on your timeframe (higher TF = longer grace)
Monitor the statistics table to track indicator performance
Alerts Available:
High-quality cluster formation (UP/DOWN)
Target reached notifications
Cluster lost warnings
------------------------------------------------------------------------------------------------------------------
MTF Target Prediction Enhanced Lite
Описание:
MTF Target Prediction Enhanced - это продвинутый мультитаймфреймовый индикатор технического анализа, который идентифицирует и кластеризует целевые уровни цен на основе пробоев трендовых линий на нескольких таймфреймах. Индикатор использует сложные алгоритмы кластеризации для группировки схожих ценовых целей и предоставляет визуальную обратную связь через динамические стрелки, кластерные боксы и детальную статистику.
Ключевые особенности:
Мультитаймфреймовый анализ: Одновременный анализ до 8 различных таймфреймов для определения зон схождения
Умная кластеризация: Группировка близких целевых цен в кластеры с оценкой качества
Прогнозные стрелки: Динамические стрелки, отслеживающие движение цены к целям кластера
Система Grace Period: Предотвращение ложных сигналов потери кластера с настраиваемым периодом ожидания
Улучшенная оценка качества: 5-компонентная оценка (Плотность, Согласованность, Достижимость, Размер, Импульс)
Статистика в реальном времени: Отслеживание эффективности с винрейтом, P&L и метриками успеха
Адаптивные режимы производительности: Оптимизация скорости или точности по вашим потребностям
Как это работает:
Индикатор определяет опорные точки и трендовые линии на каждом выбранном таймфрейме
При пробое трендовой линии рассчитывается целевая цена на основе измеренного движения
Множественные цели с разных таймфреймов группируются в кластеры при схождении
Каждый кластер получает оценку качества на основе нескольких факторов
Высококачественные кластеры генерируют стрелки прогноза, показывающие потенциальные цели
Система отслеживает достижение целей или потерю кластеров
Руководство по настройкам:
⚡ Производительность
Performance Mode: Выбор между Fast (200 баров), Balanced (500), Full (1000) или Unlimited
🎯 Кластеризация
Max Cluster Distance (%): Максимальная разница цен для группировки (по умолчанию: 1.5%)
Min Cluster Size: Минимальное количество целей для формирования кластера (по умолчанию: 2)
One Direction per TF: Разрешить только один сигнал направления на таймфрейм
Cluster Grace Period: Бары ожидания перед потерей кластера (по умолчанию: 10)
➡️ Стрелки прогноза
Min Quality for Arrow: Минимальное качество кластера для создания стрелки (0.1-1.0)
Quality Weights: Настройка важности каждого компонента качества
Close Previous Arrows: Автозакрытие стрелок при появлении новых
Use Trend Filter: Создавать стрелки только в направлении тренда
Trend Filter Intensity: Чувствительность определения тренда (Высокая/Средняя/Низкая)
📅 Таймфреймы
Pivot Length: Бары для расчета пивота (по умолчанию: 3)
Timeframes 1-8: Выбор до 8 таймфреймов для анализа
Визуализация
Show Cluster Analysis: Отображение боксов и меток кластеров
Show Cluster Boxes: Визуализация прямоугольников вокруг кластеров
Show TP Lines: Отображение линий целевых цен
Show Trend Filter: Визуализация облака тренда
Show Prediction Arrows: Отображение направленных стрелок к целям
Show Statistics Table: Отображение метрик эффективности
Визуальные элементы:
Зеленые/Красные боксы: Зоны кластеров с прозрачностью на основе качества
Стрелки: Диагональные линии, указывающие на цели кластера
Зеленые/Красные: Активные и отслеживающие
Оранжевые: В периоде ожидания
Серые: Кластер потерян
Метки: Детальная информация о кластере:
Задействованные таймфреймы
Центральная цена (C)
Оценка качества (Q)
Оценки компонентов (D,C,R,S,M)
Расстояние от текущей цены
Маркеры результата:
✓ Зеленый: Цель успешно достигнута
✗ Красный/Серый: Кластер потерян
Объяснение компонентов качества:
D (Density/Плотность): Насколько плотно расположены TP относительно ATR
C (Consistency/Согласованность): Насколько близки таймфреймы друг к другу
R (Reachability/Достижимость): Вероятность достижения цели с учетом расстояния и тренда
S (Size/Размер): Количество TP в кластере (с убывающей отдачей)
M (Momentum/Импульс): Соответствие текущему импульсу цены
Лучшие практики:
Начните с режима Balanced и настроек по умолчанию
Используйте старшие таймфреймы (D, W) для более надежных кластеров
Ищите кластеры с оценкой качества выше 0.7
Включите фильтр тренда для уменьшения ложных сигналов
Настройте grace period в зависимости от вашего таймфрейма (старший TF = дольше grace)
Следите за таблицей статистики для отслеживания эффективности индикатора
Доступные алерты:
Формирование высококачественного кластера (ВВЕРХ/ВНИЗ)
Уведомления о достижении цели
Предупреждения о потере кластера
Disclaimer / Отказ от ответственности:
This indicator is for educational and informational purposes only. Past performance does not guarantee future results. Always conduct your own analysis and risk management.
Данный индикатор предназначен только для образовательных и информационных целей. Прошлые результаты не гарантируют будущих результатов. Всегда проводите собственный анализ и управление рисками.
PRO - UPTRADE🔥 Anyone can start trading easily! For traders who want to take it more seriously, the PRO Package gives you full access to stocks, crypto, and forex, complete with BUY/SELL signals, multi-timeframe analysis, and automatic discussion threads based on each asset (stocks, crypto, or forex). 🚀 With PRO, you can maximize profit opportunities across markets
Support Resistance By VIPIN(30D • MTF • Safe v4)This script automatically detects and plots strong Support & Resistance levels based on pivot highs/lows within a custom lookback period.
Key features:
• Lookback window (days): Select how many past days to scan for pivots.
• Pivot strength: Adjustable left/right bars to filter minor vs. strong swings.
• Clustering: Nearby levels are merged using either ATR-based proximity or percentage proximity.
• Touches count: Each level records how many times it has been tested/retested.
• Ranking: Top N strongest support and resistance levels are highlighted.
• Multi-Timeframe (MTF): Option to detect levels from a higher timeframe while viewing a lower chart.
• Labels: Show price, touch count, and timeframe (optional), with ability to shift labels to the right of current price action.
• Custom styling: Colors, line width, and label placement are fully configurable.
This tool is designed for traders who want to quickly identify key zones of market reaction.
It is not a buy/sell signal generator, but an analytical aid to help you make better decisions alongside your own strategy.
⸻
🔹 How to use
1. Apply on your desired symbol and timeframe.
2. Adjust pivot length and lookback to control sensitivity.
3. Use ATR or % proximity for clustering based on market volatility.
4. Combine levels with your own price action, volume, or strategy confirmation.
This script is created for educational purposes to help traders understand how Support and Resistance zones are formed in the market.
It shows how price reacts to certain levels by:
• Identifying pivots (swing highs and lows).
• Merging nearby levels into zones using ATR or percentage-based proximity.
• Counting how many times a level has been tested or touched.
• Highlighting the most relevant zones with labels.
By studying these zones, traders can learn:
• How markets often respect previously tested levels.
• Why certain levels act as barriers (support or resistance).
• How different timeframes can show different key levels.
⚠️ Note:
This indicator is intended as a learning & analysis tool only. It does not provide buy/sell signals or guarantee results. Always combine it with your own knowledge, analysis, and risk management.
Consecutive Candle Body Expansion with VolumeConsecutive Candle Body Expansion with Volume
This tool is designed to help traders identify moments of strong directional momentum in the market. It highlights potential buy and sell opportunities by combining candlestick behavior with volume confirmation.
✨ Key Features
Detects when the market shows consistent momentum in one direction.
Filters signals with volume confirmation, avoiding low-activity noise.
Highlights possible continuation signals for both bullish and bearish moves.
Works on any asset and any timeframe — from scalping to swing trading.
🛠 How to Use
Green labels suggest potential buying opportunities.
Red labels suggest potential selling opportunities.
Best used in combination with your own risk management rules and other indicators (like support/resistance or moving averages).
⚠️ Note: This is not financial advice. Always backtest before applying in live trading.
Near New High ScreenerA simple indicator intended to be used in a pinescript scanner to find stocks that are re reaching highs after a pullback or base formation. To use add it as a favourite indicator so it can be selected in a pinescript scanner.
In the settings you can select whether to use the highest high or highest close for the previous high (defaults to close) and whether to use the all time high or the high from the last X days (defaults to 252 days).
Once opened in a pine scanner apply to a watchlist and scan. Stocks with a positive % have broken out from a previous high today, those with a negative % are that % away from the previous high.
You can sort by the “Pct from Prev High%” column or use the scanner filter to filter for stocks between two values, for example between 0 and -5% to find stocks near a new high, or >0 to find stocks that have broken out today.
Gold Buy Sell Signals V2* This custom **30-minute breakout indicator** is designed especially for **Gold (XAUUSD) traders**.
It highlights three key candles of the day (IST 5:30 AM, 1:30 PM, and 6:30 PM), marking their **high and low levels** as support and resistance zones.
👉 By following this structured breakout strategy, traders can consistently capture **40–50 pips** in Gold with high accuracy, while keeping trading decisions simple and rule-based.
---
ابوفيصلالقنلء السعرية
The Traders Trend Dashboard (ابوفصل) is a comprehensive trend analysis tool designed to assist traders in making informed trading decisions across various markets and timeframes. Unlike conventional trend-following scripts,ابو فيصل goes beyond simple trend detection by incorporating
Unicorn Model[Pro++]by TriummWhat is the Unicorn Model?
The Unicorn Model is an intraday trading setup taught by ICT that combines:
Liquidity raids (stop hunts)
Market structure shift (BOS/CHOCH)
Fair Value Gap (FVG) entry
Key time & session context
It’s called the “Unicorn” because it’s a rare but high-probability model that delivers very clean moves when it sets up correctly.
🔹 Core Components of the Unicorn Model
Liquidity Grab (Sweep)
Market first raids a key level (previous day’s high/low, session high/low, Asian range).
This removes liquidity and traps traders.
Market Structure Shift (MSS / CHoCH)
After the sweep, price breaks structure in the opposite direction.
This signals a shift in order flow.
Fair Value Gap (FVG) or Order Block Entry
Wait for price to retrace into the imbalance (FVG) or OB formed by the move.
Entry is taken here in line with the new direction.
Time & Session Context
Usually forms around London or New York Killzones (ICT emphasizes time of day).
Often tied to daily bias (using daily open, previous day high/low, etc.).
Target
Opposite liquidity pool (e.g., if raid was above → target below).
Often uses ADR levels, previous session lows, or equal lows/highs.
🔹 Example Flow (Bearish Unicorn)
Price trades above Asia High (liquidity sweep).
Then forms a market structure shift (BOS to downside).
A bearish FVG is left behind.
Price retraces into that FVG.
Entry short → target Asia Low or previous day low.
🔹 Why It’s Powerful
Filters fake breakouts → wait for liquidity + structure shift.
Adds precision → entry only on FVG retracement.
Works best when aligned with daily bias (discount/premium model).
🔹 Key Confluences for Unicorn
Session killzones (London Open, NY AM/PM).
Daily bias (above/below daily open).
Liquidity sweep (old highs/lows).
Fair Value Gap retracement.
Targets = liquidity pools.
✅ In short:
The ICT Unicorn Model = A “liquidity sweep + market structure shift + FVG retracement” setup, best taken in London/NY sessions, targeting opposite liquidity. It’s one of ICT’s cleanest intraday models for precision entries.
ict key level Pro++What Are ICT Key Levels?
ICT Key Levels are specific price reference points that institutions, market makers, and smart money use to set liquidity pools and trading ranges.
They aren’t random – they’re based on time, liquidity, and symmetry of price delivery.
Think of them like "road signs" in the market where big decisions happen (stop hunts, reversals, or continuations).
🔹 Major ICT Key Levels
Here are the most common ones:
1. Daily / Weekly / Monthly Highs & Lows
Previous day’s high/low
Previous week’s high/low
Previous month’s high/low
📌 Why important?
→ These act as liquidity pools. Stops gather here. Price often sweeps them before reversing.
2. Midpoint Levels (50% Equilibrium)
50% of the daily/weekly/monthly range.
ICT calls this equilibrium.
📌 Why important?
→ Above 50% = premium (expensive for buys, good for sells).
→ Below 50% = discount (cheap for buys, bad for sells).
3. Opening Price Levels
Daily Open → sets intraday bias.
Weekly Open → sets weekly bias.
Midnight Open (00:00 NY Time) → ICT uses this as a daily anchor.
📌 Why important?
→ If price stays above the daily/weekly open → bullish bias.
→ If below → bearish bias.
4. Session Highs & Lows
Asia Range High/Low
London Session High/Low
New York Session High/Low
📌 Why important?
→ Asia range often acts as liquidity for London to raid.
→ London high/low often becomes setup for NY session moves.
5. Yearly & Quarterly Highs/Lows
The yearly high/low is a massive liquidity pool.
Quarterly levels (Q1, Q2, Q3, Q4) also attract institutional activity.
📌 Why important?
→ Acts as long-term magnets for swing trading.
6. Figures & Round Numbers (Big Figures)
00.00, 50.00, 25.00, 75.00 levels.
Example: EURUSD → 1.1000, 1.1050, 1.1100.
📌 Why important?
→ Institutions like clean, even levels for orders.
🔹 How ICT Uses Key Levels
Liquidity Concept
Price raids old highs/lows to grab stops.
After liquidity grab → reversal or continuation.
Bias Filter
Above daily open? → bullish bias.
Below daily open? → bearish bias.
Confluence with Setups
Order blocks + Fair Value Gaps (FVGs) + Key Levels = high probability.
🔹 Example Trading Scenarios
London Judas Swing → Price raids Asian high (key level) then reverses for London trend.
Daily Bias → If price trades above daily open & rejects previous day’s low = bullish bias.
Weekly Expansion
Ict kill zone Pro++What is Season High / Low?
A Seasonal High/Low refers to price levels (highs or lows) that tend to form during specific times of the year (or season).
It’s based on the idea that markets have repeating cycles influenced by:
Economic reports (quarterly earnings, GDP releases, crop harvest cycles, etc.)
Institutional flows (quarterly rebalancing, end-of-year tax moves)
Natural/commodity cycles (oil demand in winter, crop harvest in fall, etc.)
🔹 Types of Seasonal Highs & Lows
Annual Season High/Low
Highest and lowest price of the year.
Example: EURUSD 2023 high/low.
Useful for long-term key levels.
Quarterly Season High/Low
Highs & lows of each 3-month quarter.
Institutions rebalance portfolios each quarter → causing strong moves.
Monthly Season High/Low
Highs & lows formed within each calendar month.
Often used for swing trading.
🔹 Why Season High/Low Matters
Liquidity Pools → Old highs/lows attract stop hunts (smart money loves to raid seasonal levels).
Bias Reference → If price is above yearly low but below yearly high → you know the market is “inside the yearly range.”
Institutional Targets → Many funds benchmark against yearly/quarterly levels.
Confluence → Combining OBs, FVGs, ADR, and seasonal highs/lows = stronger zones.
🔹 Example (ICT style use)
If price trades near the yearly low, expect either:
✅ A liquidity sweep (false break) before rally, or
✅ A breakdown continuation if institutions want discount pricing.
If price trades near the quarterly high, it’s often used as a “draw on liquidity” target.
🔹 How Traders Use Them
Mark Yearly High & Low (from January – December).
Mark Quarterly Highs/Lows (Q1, Q2, Q3, Q4).
Watch how price reacts when approaching these zones:
Liquidity sweeps
Reversals
Breakouts
✅ In short:
Season Highs & Lows = Key reference points from specific time periods (yearly, quarterly, monthly).
They act as institutional liquidity magnets and are critical for identifying long-term bias, liquidity raids, and market cycle transitions.
session High/Low (Triumm)// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © Triummm
//@version=6
indicator("Trading session High/Low (Triumm)", overlay=true)
//──────── Fixed timezone (NY clock = UTC‑4) ────────
sessTz = "Etc/GMT+4"
//──────── Toggle for swept-dot feature ─────────────
useSweepDots = input.bool(true, "Dot swept lines", tooltip="If ON, a level turns dotted once price sweeps it AFTER the session closes")
//──────── Session inputs ────────────────────────────────────────────────────
// Asia
showAsia = input.bool(true, "Show Asia", group="Asia Session")
asiaRange = input.session("1800-0300", "Asia Time (UTC‑4) 24h", group="Asia Session")
asiaCol = input.color(color.rgb(243, 33, 33), "Color", group="Asia Session")
asiaW = input.int(1, "Width", minval=1, maxval=5, group="Asia Session")
asiaStyleStr = input.string("Solid", "Line Style", options= , group="Asia Session")
asiaTransp = input.int(0, "Transparency (%)", minval=0, maxval=100, group="Asia Session")
// London
showLon = input.bool(true, "Show London", group="London Session")
lonRange = input.session("0300-0930", "London Time (UTC‑4) 24h", group="London Session")
lonCol = input.color(color.rgb(76, 153, 255), "Color", group="London Session")
lonW = input.int(1, "Width", minval=1, maxval=5, group="London Session")
lonStyleStr = input.string("Solid", "Line Style", options= , group="London Session")
lonTransp = input.int(0, "Transparency (%)", minval=0, maxval=100, group="London Session")
// New York
showNY = input.bool(true, "Show NY", group="NY Session")
nyRange = input.session("0930-1600", "NY Time (UTC‑4) 24h", group="NY Session")
nyCol = input.color(color.rgb(11, 173, 125), "Color", group="NY Session")
nyW = input.int(1, "Width", minval=1, maxval=5, group="NY Session")
nyStyleStr = input.string("Solid", "Line Style", options= , group="NY Session")
nyTransp = input.int(0, "Transparency (%)", minval=0, maxval=100, group="NY Session")
//──────── Helpers ───────────────────────────────────────────────────────────
styleFromStr(s) =>
s == "Dashed" ? line.style_dashed : s == "Dotted" ? line.style_dotted :line.style_solid
resetStyleIfNeeded(l, baseStyle) =>
if not na(l)
line.set_style(l, baseStyle)
// map styles
asiaStyle = styleFromStr(asiaStyleStr)
lonStyle = styleFromStr(lonStyleStr)
nyStyle = styleFromStr(nyStyleStr)
//──────── Asia state ────────────────────────────────────────────────────────
var float asia_hi = na
var float asia_lo = na
var int asia_hi_bi = na
var int asia_lo_bi = na
var line asia_hL = na
var line asia_lL = na
var bool asia_hi_sw = false
var bool asia_lo_sw = false
inAsia = not na(time(timeframe.period, asiaRange, sessTz))
newAsia = inAsia and not inAsia
if newAsia
line.delete(asia_hL), line.delete(asia_lL)
asia_hi := high, asia_lo := low
asia_hi_bi := na, asia_lo_bi := na
asia_hi_sw := false, asia_lo_sw := false
if showAsia and inAsia
if (na(asia_hi_bi) and bar_index > bar_index ) or high > asia_hi
asia_hi := high, asia_hi_bi := bar_index, asia_hi_sw := false
if na(asia_hL)
asia_hL := line.new(asia_hi_bi, asia_hi, asia_hi_bi + 1, asia_hi, xloc.bar_index, extend.right,color.new(asiaCol, asiaTransp), asiaStyle, asiaW)
else
line.set_xy1(asia_hL, asia_hi_bi, asia_hi)
line.set_xy2(asia_hL, asia_hi_bi + 1, asia_hi)
line.set_style(asia_hL, asiaStyle)
if (na(asia_lo_bi) and bar_index > bar_index ) or low < asia_lo
asia_lo := low, asia_lo_bi := bar_index, asia_lo_sw := false
if na(asia_lL)
asia_lL := line.new(asia_lo_bi, asia_lo, asia_lo_bi + 1, asia_lo, xloc.bar_index, extend.right,color.new(asiaCol, asiaTransp), asiaStyle, asiaW)
else
line.set_xy1(asia_lL, asia_lo_bi, asia_lo)
line.set_xy2(asia_lL, asia_lo_bi + 1, asia_lo)
line.set_style(asia_lL, asiaStyle)
// sweep detection AFTER session
canSweepAsia = useSweepDots and not inAsia
if showAsia
if canSweepAsia
if not asia_hi_sw and not na(asia_hi_bi) and high > asia_hi // strict break
line.set_style(asia_hL, line.style_dotted), asia_hi_sw := true
if not asia_lo_sw and not na(asia_lo_bi) and low < asia_lo // strict break
line.set_style(asia_lL, line.style_dotted), asia_lo_sw := true
else
resetStyleIfNeeded(asia_hL, asiaStyle)
resetStyleIfNeeded(asia_lL, asiaStyle)
if not showAsia
line.delete(asia_hL), line.delete(asia_lL)
asia_hL := na, asia_lL := na
//──────── London state ─────────────────────────────────────────────────────
var float lon_hi = na
var float lon_lo = na
var int lon_hi_bi = na
var int lon_lo_bi = na
var line lon_hL = na
var line lon_lL = na
var bool lon_hi_sw = false
var bool lon_lo_sw = false
inLon = not na(time(timeframe.period, lonRange, sessTz))
newLon = inLon and not inLon
if newLon
line.delete(lon_hL), line.delete(lon_lL)
lon_hi := high, lon_lo := low
lon_hi_bi := na, lon_lo_bi := na
lon_hi_sw := false, lon_lo_sw := false
if showLon and inLon
if (na(lon_hi_bi) and bar_index > bar_index ) or high > lon_hi
lon_hi := high, lon_hi_bi := bar_index, lon_hi_sw := false
if na(lon_hL)
lon_hL := line.new(lon_hi_bi, lon_hi, lon_hi_bi + 1, lon_hi,
xloc.bar_index, extend.right,
color.new(lonCol, lonTransp), lonStyle, lonW)
else
line.set_xy1(lon_hL, lon_hi_bi, lon_hi)
line.set_xy2(lon_hL, lon_hi_bi + 1, lon_hi)
line.set_style(lon_hL, lonStyle)
if (na(lon_lo_bi) and bar_index > bar_index ) or low < lon_lo
lon_lo := low, lon_lo_bi := bar_index, lon_lo_sw := false
if na(lon_lL)
lon_lL := line.new(lon_lo_bi, lon_lo, lon_lo_bi + 1, lon_lo,
xloc.bar_index, extend.right,
color.new(lonCol, lonTransp), lonStyle, lonW)
else
line.set_xy1(lon_lL, lon_lo_bi, lon_lo)
line.set_xy2(lon_lL, lon_lo_bi + 1, lon_lo)
line.set_style(lon_lL, lonStyle)
// sweep detection AFTER session
canSweepLon = useSweepDots and not inLon
if showLon
if canSweepLon
if not lon_hi_sw and not na(lon_hi_bi) and high > lon_hi
line.set_style(lon_hL, line.style_dotted), lon_hi_sw := true
if not lon_lo_sw and not na(lon_lo_bi) and low < lon_lo
line.set_style(lon_lL, line.style_dotted), lon_lo_sw := true
else
resetStyleIfNeeded(lon_hL, lonStyle)
resetStyleIfNeeded(lon_lL, lonStyle)
if not showLon
line.delete(lon_hL), line.delete(lon_lL)
lon_hL := na, lon_lL := na
//──────── New York state ───────────────────────────────────────────────────
var float ny_hi = na
var float ny_lo = na
var int ny_hi_bi = na
var int ny_lo_bi = na
var line ny_hL = na
var line ny_lL = na
var bool ny_hi_sw = false
var bool ny_lo_sw = false
inNY = not na(time(timeframe.period, nyRange, sessTz))
newNY = inNY and not inNY
if newNY
line.delete(ny_hL), line.delete(ny_lL)
ny_hi := high, ny_lo := low
ny_hi_bi := na, ny_lo_bi := na
ny_hi_sw := false, ny_lo_sw := false
if showNY and inNY
if (na(ny_hi_bi) and bar_index > bar_index ) or high > ny_hi
ny_hi := high, ny_hi_bi := bar_index, ny_hi_sw := false
if na(ny_hL)
ny_hL := line.new(ny_hi_bi, ny_hi, ny_hi_bi + 1, ny_hi,
xloc.bar_index, extend.right,
color.new(nyCol, nyTransp), nyStyle, nyW)
else
line.set_xy1(ny_hL, ny_hi_bi, ny_hi)
line.set_xy2(ny_hL, ny_hi_bi + 1, ny_hi)
line.set_style(ny_hL, nyStyle)
if (na(ny_lo_bi) and bar_index > bar_index ) or low < ny_lo
ny_lo := low, ny_lo_bi := bar_index, ny_lo_sw := false
if na(ny_lL)
ny_lL := line.new(ny_lo_bi, ny_lo, ny_lo_bi + 1, ny_lo,
xloc.bar_index, extend.right,
color.new(nyCol, nyTransp), nyStyle, nyW)
else
line.set_xy1(ny_lL, ny_lo_bi, ny_lo)
line.set_xy2(ny_lL, ny_lo_bi + 1, ny_lo)
line.set_style(ny_lL, nyStyle)
// sweep detection AFTER session
canSweepNY = useSweepDots and not inNY
if showNY
if canSweepNY
if not ny_hi_sw and not na(ny_hi_bi) and high > ny_hi
line.set_style(ny_hL, line.style_dotted), ny_hi_sw := true
if not ny_lo_sw and not na(ny_lo_bi) and low < ny_lo
line.set_style(ny_lL, line.style_dotted), ny_lo_sw := true
else
resetStyleIfNeeded(ny_hL, nyStyle)
resetStyleIfNeeded(ny_lL, nyStyle)
if not showNY
line.delete(ny_hL), line.delete(ny_lL)
ny_hL := na, ny_lL := na
OB old version by triummWhat is an Order Block?
In Smart Money Concepts (SMC), an order block (OB) is the last bullish or bearish candle before a strong impulsive move that breaks structure.
A Bullish OB → the last down candle before price moves strongly up.
A Bearish OB → the last up candle before price moves strongly down.
Order blocks represent areas where institutions or “smart money” placed large buy/sell orders.
🔹 What is a Volume Order Block?
A Volume Order Block adds a volume filter to standard order blocks.
Instead of just marking any OB, it highlights only those that are confirmed by abnormally high trading volume.
📌 Logic:
When banks/institutions create OBs, they usually inject big volume into the market.
Regular OBs may appear everywhere, but volume-based OBs filter out weak ones.
🔹 How to Identify a Volume Order Block
Find the OB normally (last opposite candle before strong move).
Check volume of that OB candle:
If volume is above average → strong OB (institutions active).
If volume is low/normal → weak OB (likely to fail).
🔹 Why Volume OB is Better
Filters fake OBs → many OBs form, but not all are institutional.
Higher probability zones → when price revisits that OB, it’s more likely to respect it.
Confluence with liquidity → strong OB + high volume often means liquidity grab + institutional entry.
🔹 Example (Bullish Volume OB)
Price is in a downtrend.
A bearish candle with unusually high volume forms.
Immediately after, price pushes up strongly, breaking structure.
That bearish candle is now a bullish volume order block.
When price returns to that level → strong buy reaction expected.
🔹 How Traders Use Volume OBs
Entries → wait for price to revisit the OB + volume support.
Stop Loss → usually below (bullish OB) or above (bearish OB).
Target → next liquidity pool, FVG, or imbalance.
Filtering → ignore OBs with low volume → less clutter on chart.
✅ In short:
A Volume Order Block = A normal OB + confirmed by unusually high volume.
It gives you higher quality supply & demand zones backed by institutional activity.
Gold Buy-Sell 30 MinHere’s a short, clear **description** you can use for your indicator 👇
**📌 Indicator Brief**
This custom **30-minute breakout indicator** is designed especially for **Gold (XAUUSD) Traders**.
It highlights three key candles of the day (IST 5:30 AM, 1:30 PM, and 6:30 PM), marking their **high and low levels** as support and resistance zones.
👉 By following this structured breakout strategy, traders can consistently capture **40–50 pips** in Gold with high accuracy, while keeping trading decisions simple and rule-based.
---
ATR Multiple from MAThe purpose of this indicator is to spot an over stretched price.
A stock that has price ratio of over 4x when measured from closing price to 50 SMA is considered as over stretched. An entry at this level post a higher risk of a pullback.
MA Dist/ATR of over 4x will be marked as Red color.
RSI Divergence Filtered by ZigZag RatiosRSI Divergence Filtered by ZigZag Ratios
This indicator is designed to help traders identify potential trend reversals by finding RSI divergence and then confirming it with a unique filter based on price movements. It draws two ZigZag lines on your chart to visually represent these patterns.
Core Functionality
The indicator works by doing three main things:
Price ZigZag (Blue Line): ZigZag line directly on the price chart. This line connects the significant high and low points of the price action, based on the ZigZag Deviation % you set. It's a way to simplify the trend and clearly see the "legs" or swings of the market.
RSI ZigZag (Orange Line): It also draws a separate ZigZag line, colored orange, that follows the movement of the RSI indicator. This helps you visually track the highs and lows of the RSI at the same time as the price.
Divergence Detection: The indicator continuously looks for divergence between the price ZigZag and the RSI.
The Key Filter: ZigZag Ratio
This is what makes the indicator unique. When a potential divergence is found, it doesn't just display a signal immediately. It performs an extra check:
It compares the size of the most recent price swing (the "last leg") to the size of the previous swing in the same direction. It then calculates a ratio. If the most recent swing is significantly smaller than the previous one, it confirms the signal and displays a label.
This filtering mechanism aims to weed out weak signals and highlight divergences that occur after a period of slowing momentum.
Bullish/Bearish Div Labels: When a valid, filtered divergence is found, the indicator will place a green Bullish Div label at the bottom of a low swing or a red Bearish Div label at the top of a high swing.
User Inputs
ZigZag Deviation %: This is the minimum percentage change required to form a new ZigZag pivot. The default value is set to 0.3618, which is a popular number in technical analysis. A lower value will capture more minor swings, while a higher value will focus only on larger, more significant ones.
RSI Length: The number of bars used to calculate the RSI. The default is 6, but you can adjust this to your preference.
권재용AI 업데이트 버전한 줄 압축: ‘추세,수급,변동성의 교집합에서만 거래하게 강제하는 보조지표 만듦
-슈퍼트렌드에 다중TF·수급·레짐 합의점수 얹어 재도색 없이 ‘자리 좋은’ 신호만 뽑는 엔진 만듦
-Flip·Pullback을 켈트너·RSI·OBV/MFI·ADX로 교차검증해 노이즈 싹 걷어내는 NRP 신호 설계함
-추세판단→엔트리→S/R·VWAP 컨텍스트→TP/SL·알림까지 지표 하나로 풀스택 자동화함
-상위TF 확정봉+ATR 레짐+EMA 정렬로 허접 및 가짜 신호 전부 필터링하고 남은 것만 화살표로 뽑게 만듦
-트렌드·수급·변동성 3요소를 점수화해 신호 질·빈도 동시에 컨트롤하는 합의형 엔진 제작함
-NRP ST에 S/R 존과 앵커 VWAP 붙여 ‘보이는 자리만’ 눌러 담게 만드는 실전형 지표임
-알고리즘이 허락하고 사람은 자리만 고르게 만드는 엔트리 시스템으로 구조 갈아엎음
-Flip+Pullback을 ‘의미 있는 눌림/돌파’만 통과시키는 확률적 알고리즘임
-신호 뜨면 TP/SL/시간청산까지 경로가 자동 깔리는 엔드투엔드 트레이딩 레일 만들었음
-케이스 바이 케이스를 규칙으로 압축해 클릭 전에 이미 선별 끝내는 지표임
-빈도는 살리고(Flip+PB) 질은 점수로 묶은, 레버리지 장에서도 버티는 엔진임
0) 보조지표 구분
초록 굵은 선 = 상승 추세(롱 바이어스)
빨강 굵은 선 = 하락 추세(숏 바이어스)
청록 채움 = 지지 존(S1~S3)
적갈 채움 = 저항 존(R1~R3)
주황 실선 + 연한 띠 = 앵커 VWAP + 밴드
파랑/보라 얇은 선 = 전일/전주 고저
초록/빨강 라벨 = 권재용 B/S 신호
회색 선 = TP1/TP2, 검정 선 = SL 가이드
옅은 노랑 배경 = 신호 직후 경계 구간
1) 사용법(초보→중급→고급)
A) 초보자(그대로 따라 하기)
보는 법:
ST 색 먼저 봄(초록=롱, 빨강=숏). 상위TF(4H) 같은 방향인지 확인함.
화살표 뜨면 후보. 바로 위/아래 S/R 존·앵커 VWAP 있는지 확인.
저항 겹치면 롱 지연/축소, 지지 겹치면 숏 지연/축소.
진입:
Flip 신호면 추세 시작 자리.
Pullback 신호면 눌림/반등 자리(켈트너+RSI 재진입 충족).
청산:
TP1에서 절반, TP2에서 나머지(취향).
SL은 가이드 라인 참조하되 실제 손절은 주문으로 확정함.
알림: BUY/SELL만 봉 마감으로 켜두면 충분함.
B) 중급자(필터/점수로 빈도·질 조절)
빈도 늘리고 싶음: preset=공격적 또는 scoreExtra=-0.5, cooldownBars=0~1, minDistATR=0~0.2, adxMin=18~20, atrZmin=0.0/atrZmax=1.0
질 올리고 싶음: preset=보수적, scoreExtra=+0.5~+1.0, cooldownBars≥3, minDistATR=0.3~0.5, adxMin=22~25, chopMax=50
주의: OBV/MFI 끄면 최대점수 1점임. 중립(3)/보수(4)로 두면 신호 안 뜸 → 프리셋 낮추거나 OBV/MFI 켬.
C) 고급자(레짐·TF·자금관리)
레짐 매핑:
추세장: adxMin↑, chopMax↓, minDistATR↑(추격 줄임)
박스장: useCHOP=OFF 고려, kelMult↑로 밴드 넓혀 과매수/과매도만 노림
TF 분리 운용:
엔트리 5/15m + confTF=60m(1H)로 더 타이트하게 확정
스윙이면 res="", confTF="D" / confirmBars=1~2
앵커 VWAP: Flip마다 리셋됨. 추세 추종이면 VWAP 위 롱/아래 숏 기본. 역추세는 밴드 터치→재관통만 부분 진입.
3) 목적별 프리셋(붙여 쓰기)
스캘핑(신호 많게, 1~5m)
entryMode=Flip+Pullback
preset=공격적 또는 중립 + scoreExtra=-0.5
adxMin=18~20, cooldownBars=0~1, minDistATR=0~0.2
atrZmin=0.0 / atrZmax=1.0, chopMax=58~60
청산: tp1ATR=0.6~0.8, tp2ATR=1.2~1.6, timeExit=20~30
데이(균형, 5~15m)
초기 기본값 세트 그대로
손절 좁히려면 slATR=0.8~1.0, 리스크 허용 크면 tp2ATR=2.2~2.5
스윙(정확도 우선, 1H~4H/Day)
entryMode=Flip only
preset=보수적, scoreExtra=+0.5~+1.0
adxMin=22~25, cooldownBars=3~5, minDistATR=0.3~0.5
confTF="D"(혹은 W), confirmBars=1~2
청산: tp1ATR=1.5, tp2ATR=3.0, timeExit=0~20(장세 따라)
돌파 전문(Flip만, 저항 상단 체결 줄임)
entryMode=Flip only
minDistATR=0.4~0.6, cooldownBars=2~3, chopMax=48~52
눌림 전문(Pullback만, VWAP/지지부근)
entryMode=Pullback only
kelMult=1.6~1.8, rsiBand=6~8(더 확실한 재진입만)
tp1ATR 살짝 낮춤(0.8~1.2) → 빈도 대비 체결·수익 확보
2) 차트 읽는 법(초간단)
색: 초록=롱 바이어스, 빨강=숏 바이어스
화살표: “권재용 B/S” 뜨면 후보. 상위TF도 같은 방향이어야 유효
존: 청록=S(지지), 적갈=R(저항). 존 위는 저항라인, 아래는 지지라인
주황선: 앵커 VWAP(마지막 Flip 기준 평균가).
3) 진입법(딱 두 개만 기억)
Flip 진입: 색이 바뀌는 순간 화살표 → 바로 위/아래 R/S 겹침 있나 보고 들어감
Pullback 진입: 추세 진행 중, 켈트너 밴드 꼬리 터치 + 중선 재관통 + RSI 재진입 → 들어감
4) 청산/손절(기본값 그대로)
TP1/TP2: 회색 라인 목표. 반절/전량 취향대로
SL: 검정 라인(가이드). ST 라인과 ATR 기준 중 더 보수적으로 잡힘
시간청산: 오래 끌리면 자동 신호(TIME_EXIT). 트렌딩장엔 꺼도 됨
5) 목적별 빠른 프리셋
스캘핑(신호 많이)
entryMode = Flip+Pullback
preset = 공격적 또는 중립 + scoreExtra = -0.5
cooldownBars = 0~1, minDistATR = 0~0.2, adxMin = 18~20
필요하면 useCHOP = OFF, atrZmin=0.0/atrZmax=1.0
데이(균형형)
위 “3분 설정” 그대로 쓰면 됨
스윙(정확도 우선)
entryMode = Flip only
preset = 보수적, scoreExtra = +0.5~+1.0
cooldownBars ≥ 3, minDistATR = 0.3~0.5, adxMin = 22~25
필터 전부 ON 유지
6) 자리 고르는 요령
롱이면 VWAP 위, 아래서 위로 재관통 시 더 좋음
바로 위 R1/R2/R3 겹치면 대기 or 사이즈 축소
Pullback은 S1~S3 근처 눌림 + 재관통 조합이 질 높음
7) 신호 안 뜰 때 체크리스트
OBV/MFI 끄고 preset=중립/보수적 → 점수 모자람
상위TF 불일치 or confirmBars 너무 큼
cooldownBars 때문에 막힘
minDistATR 너무 큼(가격이 ST와 너무 가까워야 함)
atrZ 범위 과도(레짐 필터 너무 빡셈)
EMA 정렬(20/50) 안 맞음
res로 다른 TF 계산 중인데 까먹음
8) 초간단 용어
ST(슈퍼트렌드): 추세선. 색이 바이어스
Flip: ST 색 전환
Pullback: 추세 중 되돌림 진입(켈트너+RSI 재진입)
S/R 존: 지지/저항 영역(청록/적갈 채움)
앵커 VWAP: 마지막 Flip부터 계산한 평균가
9) 안전수칙
알림은 봉 마감만 신뢰
지표는 허락장치, 자리는 S/R·VWAP로 판단
레버리지/사이즈는 따로 규칙 만들고 지킬 것
What it is (in plain English)
This is a non-repainting Supertrend system. It gives you two kinds of entries (trend flip and pullback), checks a bunch of sanity filters so you don’t click junk, confirms with a higher timeframe, draws nearby support/resistance zones, anchors a VWAP at the last regime change, and shows simple TP/SL guides. It also pushes JSON alerts you can feed to a bot.
How I’d read it on a chart
Trend first
The thick Supertrend line is the boss: green = long bias, red = short bias.
Signals only count when the higher TF agrees for a few confirmed candles.
Entries
Flip: the Supertrend flips color. That’s your fresh trend start.
Pullback: in an existing trend, price wicks to the Keltner band, then closes back through the midline, and RSI snaps back through its mid level. That’s your “buy the dip / sell the pop”.
Where you are
Teal filled zones = supports (S1–S3). Maroon filled zones = resistances (R1–R3).
Blue/purple lines are yesterday/last week high/low.
Orange line is the anchored VWAP from the last flip (with a soft band). If price hugs it, you’re near “fair”.
Getting out
After a signal, it paints TP1/TP2 by ATR and a guide SL (it respects Supertrend so it doesn’t sit unrealistically tight). There’s also an optional “time exit” if a trade drags on.
What keeps signals honest (filters)
EMA alignment: longs want EMA20 > EMA50 and price above the fast EMA (mirror for shorts).
ADX: wants trend strength above a floor and rising.
Choppiness: avoids heavy range conditions.
Distance to Supertrend: blocks entries that fire right on top of the line.
ATR regime: ignores dead volatility and panic volatility.
OBV/MFI: quick check that flow isn’t fighting you.
Cooldown: don’t fire twice in a row.
There’s also a tiny score: EMA(1pt) + OBV(1) + MFI(1). Your preset sets how many points you demand (Aggressive=2, Neutral=3, Conservative=4). If you turn OBV/MFI off but keep a high demand, you’ll get no signals—easy to forget.
Two ways I’d run it
More trades (scalpy):
Mode: Flip+Pullback
Preset: Aggressive (or Neutral with scoreExtra = -0.5)
Cooldown: 0–1 bars
Min distance to ST: 0–0.2 ATR
ADX min: ~18–20
ATR regime: loosen it if you feel filtered out
Optional: turn off Choppiness if you’re okay with rangy action
Pickier (day/swing):
Mode: Flip only (or Pullback only if you like mean-revert entries)
Preset: Conservative (+ scoreExtra +0.5 to +1.0 if needed)
Cooldown: ≥3 bars
Min distance to ST: 0.3–0.5 ATR
Keep CHOP/ADX/RSI/Keltner/OBV/MFI on
ADX min: ~22–25
Small habits that help
Set alerts on bar close to match the non-repainting logic.
Treat S/R zones and anchored VWAP as context, not hard rules. If a Flip long triggers into stacked resistances and above VWAP, size lighter or wait for a pullback signal.
Don’t forget the score vs. enabled filters. If OBV/MFI are off, max score is 1.
Quick checklist before you click
Higher TF lined up and confirmed?
Entry is Flip or valid Pullback (wick → midline re-cross + RSI re-entry)?
EMA/ADX/CHOP pass? Not sitting on the ST line?
Score meets the preset? ATR regime okay?
Any nasty R1/R2/R3 right in front of you? Where’s anchored VWAP?
TP/SL sensible for the timeframe you’re trading?
All Time High & All Time Low + 52-Week (ATH & ATL) | by Octopu$🚀 All Time High & All Time Low (ATH & ATL) + 52-Week with % and $ Info| by Octopu$
What is a 52-week, ATH or ATL?
52-Week High
The highest price a stock has traded at in the past 52 weeks (Approx. 1 year).
Acts like a “short-term ATH.” Many traders and investors use it as a momentum signal — breaking above it shows strength. Often used by screeners (“Stocks near 52-week high”).
IF a Ticker highest price in the last year is $500, and it’s currently trading at $555, it just made a new 52-week high (but not necessarily an all-time high).
52-Week Low
The lowest price a stock has traded at in the past 52 weeks (Approx. 1 year).
Acts like a “short-term ATL.” Traders watch it for breakdowns, and long-term investors watch it for potential bargains/buy the dip. Also important for risk management and Stop Losses.
IF a Ticker lowest price in the last year was $100, and it falls to $88, it just made a new 52-week low (but not necessarily an all-time low).
ATH (All-Time High)
The highest price a stock (or index, crypto, etc...) has EVER reached in its entire trading history.
Shows maximum bullish strength. When price breaks to a new ATH, there is no overhead resistance → often leads to strong momentum rallies. Also used as a psychological level in case of resistance/breakout.
ATL (All-Time Low)
The lowest price a stock (or asset) has EVER traded at since it began trading.
Reflects maximum bearish weakness. Breaking below the ATL is dangerous (no historical support below). Often associated with companies in crisis or risk of delisting. Or simply crashers or faders, whatever slang you may call it. Generally heavily shorted.
EXAMPLE:
AMEX:SPY
www.tradingview.com
This indicator however should not be used as a standalone tool.
(The combination of factors relies on your own knowledge about Confluence Factors along with your Due Diligence)
This indicator is not an advice to buy or sell securities in any form.
ANY Ticker. ANY Timeframe.
Features:
• 52-Week High
• 52-Week Low
• ALL Time High
• ALL Time Low
• $ Value Difference (of Current Price)
• % Percentage Difference (of Current Price)
Options:
• Customization
• Toggles
Notes:
v1.0
Indicator release.
Changes and updates can come in the future for additional functionalities or per requests. Follow and Stay Tuned!
Did you like it? Please Support and Shoot me a message! I'd appreciate if you dropped by to say thanks! Thank you.
- Octopu$
🐙
CHart_This FVGThis script will work on any time frame, and auto plots the classic ICT "fair value gaps", or imbalances, that result from a three candle formation wherein the middle candle body extends beyond the highs and lows of the end candles, leaving no overlap of the first and last candle wicks. Bullish imbalances are green, and bearish are red. Plotted zones will automatically close once a candle closure fully violates the imbalance zone with a close beyond its borders.
BBHAFIZ Signal + TP/SL Levels + Alerts🚀 No more waiting—signals ready instantly!
This indicator shows BUY/SELL with TP & SL directly on the chart.
Labels are neatly lined on the side, clear and easy to read.
Alerts are included, so no need to watch the chart 24/7.
Fast, simple, and time-saving for every trader!
Abu Muhammad 112 for the directionA small and simple indicator that provides you with a forecast of the market direction for the current and upcoming periods based on the timeframe you choose. It displays buying in green and selling in red. It is not a recommendation to buy or sell.
Varma Fractal TEMA IndicatorThe Indicator uses Fractals and Three EMAs. A fractal is a repeating price pattern, typically consisting of five candlesticks, used to identify potential trend reversals or continuations. A bullish fractal suggests a possible upward price movement, while a bearish fractal indicates a potential downward trend. These patterns, popularized by Bill Williams, can be found across different timeframes and are considered a key part of his technical analysis system. Every Fractal line acts as an immediate support or resistance. The use of three EMAs in trading is well known. One can make own strategies with them.