TT - Dynamic MTF Supertrend OscillatorThis is an Oscillator version of my Ultimate Filtered Supertrend Indicator. It gives MTF view of the current trend.
You can use Standard or Alternate calculations
For Standard Calculation use ATR length 10 and Factor of 3
For Alternate Calculation use ATR length of 4 and Factor of 1.
Try various options available and find what works best for you.
Use it along with my "TT - Ultimate Filtered Supertrend Indicator"
Note: This indicator is provided for informational and educational purpose only and should not be relied on for making financial decisions. Please consult with a qualified financial advisor for making investment decisions.
This indicator may have bugs.
Dao động
Multi-Factor Volume & RSI Screener📊 Multi-Factor Volume & RSI Screener
What it Does: The Multi-Factor Volume & RSI Screener is a specialized dashboard designed for high-efficiency market analysis. It continuously scans up to 16 assets for high-probability setups, enabling traders to efficiently identify momentum and trend shifts without constant chart flipping.
Key Features & Customization:
Timeframe Flexibility: You can select any desired timeframe (e.g., 5-minute, 1-hour, 4-hour, etc.) for the scanner engine to base its calculations on, allowing it to adapt to various trading styles.
Custom Watchlist: The script allows you to configure and monitor a diversified portfolio of up to 15 assets alongside your current chart asset.
🔬 Proprietary Two-Tier Logic (Justifying Value): This closed-source indicator uses a unique, proprietary two-tier logic to generate filtered signals, providing original value by separating high-volume breakouts from pure trend flow:
✅ Tier 1: High-Confidence Signals (Volume Assets): For assets with reliable volume data (e.g., Stocks, Crypto), the script combines Relative Volume and RSI direction to identify high-momentum breakouts (labeled as BIG BUY or BIG SELL). This isolates movements that are statistically significant, providing cleaner entry points.
📈 Tier 2: Trend-Only Signals (Non-Volume Assets): For instruments lacking volume feeds (e.g., certain Forex pairs), the logic intelligently pivots to a purely RSI-based trend analysis to flag periods of strong directional movement (TREND UP or TREND DN), effectively separating trending markets from ranging chop.
Value to the Trader: This dual-logic system ensures comprehensive signal coverage regardless of the asset type. It allows the user to monitor a diversified portfolio of indices, FX, commodities, and stocks all from a single, organized table, thereby enhancing market breadth analysis.
Disclaimer: Trading involves substantial risk. All outputs are for informational and educational purposes only and are not financial advice.
0–14 DTE Volatility Screener (For Matt)ABOUT THIS SCRIPT – 0–14 DTE Volatility Screener
This indicator is designed to identify stocks and ETFs that are well-suited for short-dated options trading (0–14 days to expiration). Short-term options require the underlying ticker to exhibit sufficient realized volatility, consistent range, and clean trend structure to overcome rapid theta decay. This tool highlights instruments with the volatility characteristics needed to support high-quality intraday and short-term swing setups.
What the Indicator Measures
ATR % of Price (ATR%):
The script calculates ATR(14) and expresses it as a percentage of current price. This normalizes volatility across tickers of different price levels.
ATR% = (ATR / Close) × 100
Volatility Thresholds:
Two benchmark levels are plotted:
1.5% ATR → Minimum volatility required for 0–14 DTE setups
3.0% ATR → Preferred high-volatility zone for strong directional trades
Trend Bias (Internal Logic Only):
The script evaluates whether price is above or below the 20-EMA and 50-EMA.
Above both EMAs = long-biased context
Below both EMAs = short-biased context
(Displayed visually only if modifications are added.)
Optional IV Rank Filter:
A placeholder exists for IV Rank integration. If IV Rank data is available, the indicator can filter for environments where implied volatility is not too low or excessively inflated.
How to Interpret the Output
ATR% Line Below 1.5%:
The ticker lacks adequate range. Avoid 0–14 DTE trades unless a catalyst is imminent.
ATR% Between 1.5% and 3%:
Volatility is tradable but moderate. Suitable for structured setups and conservative premium deployment.
ATR% Above 3%:
High-quality volatility environment. The ticker is capable of large, directional moves that can support aggressive 0–14 DTE entries.
Background Highlighting (If Enabled):
The background turns on only when all volatility and IV conditions are satisfied, signaling a fully qualified short-dated options candidate.
Intended Use
This indicator is not a buy/sell signal. It is a volatility qualification tool that helps traders narrow their universe to symbols capable of producing meaningful intraday and multi-day moves. It is most effective when combined with:
Higher-time-frame trend analysis
Liquidity and spread evaluation
Catalyst awareness (earnings, news flow, macro events)
Summary
The 0–14 DTE Volatility Screener provides a normalized, objective measure of whether a ticker offers enough movement to justify short-dated options trading. It helps filter out low-range names and directs focus toward instruments with actionable volatility, cleaner structure, and meaningful opportunity.
Complete Workflow (Optimal)
Daily (1D) → Does the ticker qualify?
ATR ≥ 1.5% → tradeable
ATR ≥ 3% → high-quality
4H & 1H → HTF trend
Only allow trades in the direction of HTF structure
15m or 5m → Entry timing
Apex IndicatorThe Apex Indicator is a physics-based momentum tool designed to measure the 2nd Derivative (Acceleration) of both Price and Volume.
Unlike standard oscillators which often lag, this indicator uses Kinematics to identify the subtle shifts in momentum before price makes a major move. It answers the critical questions: Is the selling pressure fading? and Is there fresh fuel (Volume) entering to support a turn?
This script uses Hull Moving Average (HMA) smoothing for low-latency calculation, and Z-Score Normalization to force Price and Volume onto a shared, readable scale.
Visual Guide
The Histogram (Price Acceleration)
Bright Green: Strong Bullish Acceleration (High Velocity).
Dark Green: Developing Bullish Momentum (or Waning Bullishness depending on context).
Bright Red: Strong Bearish Acceleration (Panic/Dump).
Dark Red: Developing Bearish Momentum (or Waning Bearishness).
The Line (Volume Acceleration)
Yellow: Volume is accelerating (Interest is entering).
Purple: Volume is decelerating (Interest is leaving).
The Background Highlights
Green/Red Background: These mark Statistical Extremes (>1 Standard Deviation). While these show maximum power, they often mark the climax of a move rather than the start.
How to Trade: Reading the Subtleties
The power of the Apex Indicator is not in chasing the spikes, but in reading the Transitions.
1. The Turn (The Reversal Entry)
Don't wait for the explosion; look for the "braking" action.
The Setup: Price has been moving down strongly (Bright Red bars).
The Signal: The histogram shifts to Dark Red and begins moving up toward the zero line (less negative). This means the selling acceleration is dying.
The Trigger: A Dark Green bar prints, accompanied by the Volume Line turning Yellow/Rising.
Why it works: You are entering when the bearish energy is exhausted and fresh volume is stepping in to lift the price, often before the main breakout occurs.
2. The Second Wind (Trend Continuation)
The Setup: You are already in a trend (Green bars), but the bars fade to Dark Green or near Zero (a pullback or pause).
The Trigger: The next bar flips Bright Green and the Volume Line spikes Yellow.
Why it works: This confirms that the pause was just a breather, and buyers are stepping back on the gas.
3. The "Hollow Move" (Trap Avoidance)
The Scenario: Price is moving up (Green bars), but the Volume Line is Purple or dropping.
Interpretation: This is a drift, not a drive. Without volume acceleration support, these moves are prone to rapid reversal.
4. The Climax (Exits)
If the Background flashes Green (Alert Trigger), be aware that price acceleration has hit a statistical extreme (Z-Score > 1).
If you are in a position, this is often a good place to Take Profit, as maintaining that level of acceleration is mathematically difficult for the market to sustain.
Settings
Analysis Length (21): The lookback period for the HMA smoothing.
Normalization Lookback (21): The historical window used to calculate the Z-Score. A setting of 21 allows the indicator to self-adjust quickly to recent volatility conditions.
PEG RSI [Auto EPS Growth]The PEG RSI is a hybrid indicator that combines fundamental valuation with technical momentum. It applies the Relative Strength Index (RSI) directly to the Price/Earnings-to-Growth (PEG) Ratio.
Unlike traditional PEG indicators that require manual input for growth rates, this script automatically calculates the Compound Annual Growth Rate (CAGR) of Earnings Per Share (EPS) based on historical data.
Key Features
- Auto-Calculated Growth: Uses historical TTM Earnings Per Share (EPS) to calculate the CAGR over a user-defined period (Default: 4 years).
- Dynamic Valuation: Converts the static PEG ratio into an oscillator (RSI) to identify relative valuation extremes.
- Trend & Momentum: Visualizes the momentum of the PEG ratio relative to its own history.
Educational Case Study
This indicator is designed for educational purposes and research. Instead of relying on fixed overbought or oversold levels, users are encouraged to study the correlation between the PEG RSI and price action independently.
- Observe how the price reacts when the PEG RSI reaches upper or lower extremes.
- Different stocks may respect different RSI zones based on their growth stability.
- Use this tool to analyze how market valuation momentum shifts over time.
Settings:
- Years for CAGR Growth: Timeframe to calculate EPS growth (Default: 4 years).
- RSI Length: Lookback period for the RSI calculation (Default: 14).
Note: This indicator works best on stocks with a consistent history of earnings. It requires financial data to function (will not work on assets without EPS like Crypto or Forex).
RSS - Reversal Score System v3 [Rulph]OVERVIEW
(Russian version below)
The Reversal Score System v3 (RSS3) is a sophisticated multi-component indicator designed to identify potential market reversal zones by combining volatility pressure analysis, trend momentum measurement, and divergence detection. The system generates a normalized score ranging from -1 (bullish) to +1 (bearish), with visual cloud overlays highlighting high-probability reversal areas. RSS3 integrates multi-timeframe confirmation and adaptive divergence filtering to reduce false signals in strong trends.
CORE COMPONENTS
Volatility Pressure Index (VPI)
VPI measures volatility expansion and price compression by combining:
• RSI distance from neutral (50) to gauge momentum deviation
• Annualized volatility estimation (VIX-style) to detect stress
• Normalized candle range relative to historical volatility
• Bollinger Bands position for price extension analysis
Higher VPI values indicate overbought conditions with volatility pressure, while lower values suggest oversold compression with potential for reversal.
Trend Direction Force Index (TDFI)
TDFI quantifies directional momentum strength by analyzing:
• Divergence between fast (MMA) and slow (SMMA) moving averages
• Average momentum (impetus) between the two moving averages
• Normalized power-weighted trend force
Positive TDFI indicates strong uptrend momentum, negative values indicate downtrend force. Extreme values (>0.7 or <-0.7) trigger impulse signals.
Divergence Detection System
The indicator automatically detects classical and hidden divergences for both VPI and TDFI:
• Bullish divergences: price makes lower low while indicator makes higher low
• Bearish divergences: price makes higher high while indicator makes lower high
• Divergence bonus decays over time (customizable decay period)
• Amplitude-weighted strength multiplier
• Sequential divergence counter for confirmation
Multi-Timeframe Filter (MTF)
Optional higher timeframe analysis helps filter low-probability reversals:
• Off mode : No filtering applied
• Reduce mode : Lowers divergence bonus when counter-trend to HTF (30% reduction)
• Block mode : Completely hides divergence markers against strong HTF trend
MTF calculates VPI and TDFI on higher timeframe and blends scores based on MTF weight parameter.
FINAL SCORE CALCULATION
The final score combines:
Score = (VPI_weight × VPI) + (TDFI_weight × TDFI) - Bull_Div_Bonus + Bear_Div_Bonus
When MTF is enabled:
Final_Score = (1 - MTF_weight) × Base_Score + MTF_weight × MTF_Score
VISUAL FEATURES
Adaptive Score Clouds
Dynamic colored zones appear above/below price when reversal conditions strengthen:
• Green cloud below price : Bullish reversal zone (score < bullish threshold)
• Red cloud above price : Bearish reversal zone (score > bearish threshold)
• Cloud height : Proportional to signal strength (3× ATR maximum)
• Transparency : Decreases with stronger signals (90% weak → 50% strong)
• Threshold mode : Clouds appear only when thresholds exceeded
• Gradient mode : Clouds show accumulation from any score value
Divergence Markers
Triangle markers indicate detected divergences:
• Green/Lime triangles below price: Bullish divergences (lime = both VPI+TDFI)
• Red/Maroon triangles above price: Bearish divergences (maroon = both VPI+TDFI)
• Gray markers: Filtered divergences (when MTF filter is active)
• Offset by pivot lookback period for accuracy
Momentum Impulses
Optional arrow markers highlight strong momentum breakouts:
• Blue arrows down: Bearish momentum impulse
• Orange arrows up: Bullish momentum impulse
Info Table
Real-time statistics display in top-right corner:
• Current final score with color coding
• Individual VPI and TDFI values
• Active divergence bonuses (Bull/Short)
• MTF trend status (when enabled)
• Current filter mode
HOW TO USE
For Reversal Trading
1 — Wait for score to cross bullish threshold (<-0.5) for potential long entries or bearish threshold (>0.5) for shorts
2 — Confirm with divergence markers appearing simultaneously
3 — Look for cloud formation strengthening the signal
4 — Use MTF filter to avoid counter-trend trades
For Trend Continuation
• Impulse arrows indicate strong momentum continuation
• Use as confirmation when trading in direction of established trend
• MTF alignment provides additional confidence
For Multi-Timeframe Analysis
• Enable MTF filter and set higher timeframe (e.g., 4H on 1H chart, Daily on 4H chart)
• Use "Reduce" mode for conservative approach
• Use "Block" mode for strict trend alignment
PARAMETERS GUIDE
Score Group
• VPI Weight (0.5): Balance between volatility and trend components. Increase for volatility-focused signals.
• TDFI Weight (0.5): Balance between volatility and trend components. Increase for trend-focused signals.
• Divergence Bonus Max (0.3): Maximum contribution of divergences to score. Higher = stronger divergence impact.
Divergence Group
• Pivot Lookback (3): 2=aggressive/fast, 3=balanced, 5=conservative/slow
Multi TimeFrame Group
• Higher TF : Typically 4-16× current timeframe (e.g., 4H for 1H chart)
• MTF Weight (0.3): Influence of higher timeframe in final score
• Trend Filter Level (0.5): TDFI threshold defining "strong trend" on HTF
Visual Group
• Cloud Mode : Threshold (traditional) vs Gradient (continuous accumulation)
• Cloud Transparency : Base transparency for weak signals
Advanced Groups
Fine-tune indicator components for specific markets or timeframes. Default values work well for most assets. Increasing periods smooths signals but adds lag; decreasing periods increases sensitivity but may cause noise.
ALERTS
Six alert conditions available:
• Bullish Zone: Score crosses below bullish threshold
• Bearish Zone: Score crosses above bearish threshold
• Strong Bull Div: Both VPI+TDFI show bullish divergence (unfiltered)
• Strong Bear Div: Both VPI+TDFI show bearish divergence (unfiltered)
• Down Impulse: Bearish momentum breakout
• Up Impulse: Bullish momentum breakout
NOTES
• Works on all timeframes and asset classes (crypto, forex, stocks, indices)
• Best results on liquid markets with clear trend/reversal cycles
• Combine with price action, support/resistance, and risk management
• Divergences work best in ranging or weakening trend conditions
• Not a standalone trading system - use as confirmation tool
LIMITATIONS
• Like all indicators, RSS3 can generate false signals in choppy/sideways markets
• Divergence detection requires sufficient historical data (minimum 50-100 bars)
• MTF filter may reduce signal frequency significantly in "Block" mode
• Advanced parameters require understanding of underlying calculations
DISCLAIMER
This indicator is provided for informational and educational purposes only and does not constitute financial, investment, or trading advice. All trading involves risk, and past performance does not guarantee future results. Users are solely responsible for their own trading decisions and should conduct their own research or consult with a qualified financial advisor before making any investment decisions. The author assumes no liability for any losses incurred through the use of this indicator.
═════════════════════════════════════════════════════════════════════════
© Rulph - Reversal Score System v3
ОБЗОР
Reversal Score System v3 (RSS3) — это многокомпонентный индикатор для выявления зон потенциального разворота рынка, объединяющий анализ давления волатильности, измерение силы тренда и обнаружение дивергенций. Система генерирует нормализованный скор от -1 (бычий) до +1 (медвежий) с визуальными облаками, выделяющими зоны высокой вероятности разворота. RSS3 интегрирует подтверждение с высшего таймфрейма и адаптивную фильтрацию дивергенций для снижения ложных сигналов в сильных трендах.
ОСНОВНЫЕ КОМПОНЕНТЫ
Индекс давления волатильности (VPI)
VPI измеряет расширение волатильности и ценовое сжатие, комбинируя:
• Отклонение RSI от нейтрального уровня (50) для оценки моментума
• Оценку годовой волатильности (VIX) для определения стресса
• Нормализованный диапазон свечей относительно исторической волатильности
• Положение относительно полос Боллинджера для анализа растяжения цены
Высокие значения VPI указывают на перекупленность с давлением волатильности, низкие значения — на перепроданность со сжатием и потенциалом разворота.
Индекс силы направления тренда (TDFI)
TDFI количественно оценивает силу направленного моментума через анализ:
• Расхождения между быстрой (MMA) и медленной (SMMA) скользящими средними
• Среднего моментума (импульса) между двумя скользящими
• Нормализованной силы тренда с весовым коэффициентом
Положительный TDFI указывает на сильный восходящий моментум, отрицательные значения — на нисходящую силу. Экстремальные значения (>0.7 или <-0.7) вызывают импульсные сигналы.
Система обнаружения дивергенций
Индикатор автоматически обнаруживает классические и скрытые дивергенции для VPI и TDFI:
• Бычьи дивергенции: цена формирует более низкий минимум, индикатор — более высокий минимум
• Медвежьи дивергенции: цена формирует более высокий максимум, индикатор — более низкий максимум
• Бонус дивергенции затухает со временем (настраиваемый период затухания)
• Множитель силы, взвешенный по амплитуде
• Счётчик последовательных дивергенций для подтверждения
Мультитаймфреймовый фильтр (MTF)
Опциональный анализ высшего таймфрейма помогает отфильтровать развороты с низкой вероятностью:
• Режим Off : Фильтрация не применяется
• Режим Reduce : Снижает бонус дивергенции при контр-тренде к HTF (на 30%)
• Режим Block : Полностью скрывает маркеры дивергенций против сильного тренда HTF
MTF рассчитывает VPI и TDFI на высшем таймфрейме и смешивает скоры на основе параметра MTF weight.
РАСЧЁТ ФИНАЛЬНОГО СКОРА
Финальный скор объединяет:
Скор = (Вес_VPI × VPI) + (Вес_TDFI × TDFI) - Бонус_бычьей_див + Бонус_медвежьей_див
При включённом MTF:
Финальный_скор = (1 - Вес_MTF) × Базовый_скор + Вес_MTF × MTF_скор
ВИЗУАЛЬНЫЕ ФУНКЦИИ
Адаптивные облака скора
Динамические цветные зоны появляются выше/ниже цены при усилении условий разворота:
• Зелёное облако под ценой : Бычья зона разворота (скор < бычьего порога)
• Красное облако над ценой : Медвежья зона разворота (скор > медвежьего порога)
• Высота облака : Пропорциональна силе сигнала (максимум 3× ATR)
• Прозрачность : Уменьшается при усилении сигнала (90% слабый → 50% сильный)
• Режим Threshold : Облака появляются только при превышении порогов
• Режим Gradient : Облака показывают накопление от любого значения скора
Маркеры дивергенций
Треугольные маркеры указывают на обнаруженные дивергенции:
• Зелёные/лаймовые треугольники под ценой: Бычьи дивергенции (лайм = обе VPI+TDFI)
• Красные/бордовые треугольники над ценой: Медвежьи дивергенции (бордо = обе VPI+TDFI)
• Серые маркеры: Отфильтрованные дивергенции (когда активен MTF-фильтр)
• Смещение на период pivot lookback для точности
Импульсы моментума
Опциональные стрелки выделяют сильные импульсные прорывы:
• Синие стрелки вниз: Медвежий импульс моментума
• Оранжевые стрелки вверх: Бычий импульс моментума
Информационная таблица
Статистика в реальном времени в правом верхнем углу:
• Текущий финальный скор с цветовой кодировкой
• Отдельные значения VPI и TDFI
• Активные бонусы дивергенций (Bull/Short)
• Статус тренда MTF (при включении)
• Текущий режим фильтра
КАК ИСПОЛЬЗОВАТЬ
Для торговли на разворотах
1 — Дождитесь пересечения скором бычьего порога (<-0.5) для потенциальных лонгов или медвежьего порога (>0.5) для шортов
2 — Подтвердите одновременным появлением маркеров дивергенций
3 — Ищите формирование облака, усиливающего сигнал
4 — Используйте MTF-фильтр для избегания контр-трендовых сделок
Для продолжения тренда
• Импульсные стрелки указывают на сильное продолжение моментума
• Используйте как подтверждение при торговле в направлении установленного тренда
• Выравнивание MTF даёт дополнительную уверенность
Для мультитаймфреймового анализа
• Включите MTF-фильтр и установите высший таймфрейм (например, 4H на графике 1H, Daily на 4H)
• Используйте режим "Reduce" для консервативного подхода
• Используйте режим "Block" для строгого выравнивания по тренду
РУКОВОДСТВО ПО ПАРАМЕТРАМ
Группа Score
• VPI Weight (0.5): Баланс между компонентами волатильности и тренда. Увеличьте для сигналов, ориентированных на волатильность.
• TDFI Weight (0.5): Баланс между компонентами волатильности и тренда. Увеличьте для сигналов, ориентированных на тренд.
• Divergence Bonus Max (0.3): Максимальный вклад дивергенций в скор. Выше = сильнее влияние дивергенций.
Группа Divergence
• Pivot Lookback (3): 2=агрессивно/быстро, 3=сбалансированно, 5=консервативно/медленно
Группа Multi TimeFrame
• Higher TF : Обычно в 4-16 раз больше текущего таймфрейма (например, 4H для графика 1H)
• MTF Weight (0.3): Влияние высшего таймфрейма в финальном скоре
• Trend Filter Level (0.5): Порог TDFI, определяющий "сильный тренд" на HTF
Группа Visual
• Cloud Mode : Threshold (традиционный) vs Gradient (непрерывное накопление)
• Cloud Transparency : Базовая прозрачность для слабых сигналов
Группы Advanced
Тонкая настройка компонентов индикатора для конкретных рынков или таймфреймов. Значения по умолчанию хорошо работают для большинства активов. Увеличение периодов сглаживает сигналы, но добавляет задержку; уменьшение периодов увеличивает чувствительность, но может вызвать шум.
АЛЕРТЫ
Доступны шесть условий для алертов:
• Bullish Zone: Скор пересекает бычий порог снизу вверх
• Bearish Zone: Скор пересекает медвежий порог сверху вниз
• Strong Bull Div: Обе VPI+TDFI показывают бычью дивергенцию (не отфильтровано)
• Strong Bear Div: Обе VPI+TDFI показывают медвежью дивергенцию (не отфильтровано)
• Down Impulse: Медвежий импульсный прорыв
• Up Impulse: Бычий импульсный прорыв
ПРИМЕЧАНИЯ
• Работает на всех таймфреймах и классах активов (крипто, форекс, акции, индексы)
• Лучшие результаты на ликвидных рынках с чёткими циклами тренд/разворот
• Комбинируйте с price action, уровнями поддержки/сопротивления и риск-менеджментом
• Дивергенции лучше всего работают в условиях флэта или ослабления тренда
• Не является самостоятельной торговой системой - используйте как инструмент подтверждения
ОГРАНИЧЕНИЯ
• Как все индикаторы, RSS3 может генерировать ложные сигналы в изменчивых/боковых рынках
• Обнаружение дивергенций требует достаточного объёма исторических данных (минимум 50-100 баров)
• MTF-фильтр может значительно снизить частоту сигналов в режиме "Block"
• Продвинутые параметры требуют понимания базовых расчётов
ДИСКЛЕЙМЕР
Данный индикатор предоставляется исключительно в информационных и образовательных целях и не является финансовой, инвестиционной или торговой рекомендацией. Любая торговля сопряжена с риском, и прошлые результаты не гарантируют будущей доходности. Пользователи несут полную ответственность за свои торговые решения и должны провести собственное исследование или проконсультироваться с квалифицированным финансовым консультантом перед принятием инвестиционных решений. Автор не несёт ответственности за любые убытки, понесённые в результате использования данного индикатора.
═════════════════════════════════════════════════════════════════════════
© Rulph - Reversal Score System v3
Stochastic RSI Forecast [QuantAlgo]🟢 Overview
The Stochastic RSI Forecast extends the classic momentum oscillator by projecting potential future K and D line values up to 10 bars ahead. Unlike traditional indicators that only reflect historical price action, this indicator uses three proprietary forecasting models, each operating on different market data inputs (price structure, volume metrics, or linear trend), to explore potential price paths. This unique approach allows traders to form probabilistic expectations about future momentum states and incorporate these projections into both discretionary and algorithmic trading and/or analysis.
🟢 How It Works
The indicator operates through a multi-stage calculation process that extends the RSI-to-Stochastic chain forward in time. First, it generates potential future price values using one of three selectable forecasting methods, each analyzing different market dimensions (structure, volume, or trend). These projected prices are then processed through an iterative RSI calculation that maintains continuity with historical gain/loss averages, producing forecasted RSI values. Finally, the system applies the full stochastic transformation (calculating the position of each forecasted RSI within its range, smoothing with K and D periods) to project potential future oscillator values.
The forecasting models adapt to market conditions by analyzing configurable lookback periods and recalculating projections on every bar update. The implementation preserves the mathematical properties of the underlying RSI calculation while extrapolating momentum trajectories, creating visual continuity between historical and forecasted values displayed as semi-transparent dashed lines extending beyond the current bar.
🟢 Key Features
1. Market Structure Model
This algorithm applies price action analysis by tracking break of structure (BOS) and change of character (CHoCH) patterns to identify potential order flow direction. The system detects swing highs and lows using configurable pivot lengths, then analyzes sequences of higher highs or lower lows to determine bullish or bearish structure bias. When price approaches recent swing points, the forecast projects moves in alignment with the established structure, scaled by ATR (Average True Range) for volatility adjustment.
Potential Benefits for Traders:
Explores potential momentum continuation scenarios during established trends
Identifies areas where structure changes might influence momentum
Could be useful for swing traders and position traders who incorporate structure-based analysis
The Structure Influence parameter (0-1 scale) allows blending between pure trend following and structure-weighted forecasts
Helps visualize potential trend exhaustion through weakening structure patterns
2. Volume-Weighted Model
This model analyzes volume patterns by combining On-Balance Volume (OBV), Accumulation/Distribution Line, and volume-weighted price returns to assess potential capital flow. The algorithm calculates directional volume momentum and identifies volume spikes above customizable thresholds to determine accumulation or distribution phases. When volume indicators align directionally, the forecast projects stronger potential moves; when volume diverges from price trends, it suggests possible reversals or consolidation.
Potential Benefits for Traders:
Incorporates volume analysis into momentum forecasting
Attempts to filter price action by volume support or lack thereof
Could be more relevant in markets where volume data is reliable (equities, crypto, major forex pairs)
Volume Influence parameter (0-1 scale) enables adaptation to different market liquidity profiles
Highlights volume climax patterns that sometimes precede trend changes
Could be valuable for traders who incorporate volume confirmation in their analysis
3. Linear Regression Model
This mathematical approach applies least-squares regression fitting to project price trends based on recent price data. Unlike the conditional logic of the other methods, linear regression provides straightforward trend extrapolation based on the best-fit line through the lookback period.
Potential Benefits for Traders:
Delivers consistent, reproducible forecasts based on statistical principles
Works better in trending markets with clear directional bias
Useful for systematic traders building quantitative strategies requiring stable inputs
Minimal parameter sensitivity (primarily controlled by lookback period)
Computationally efficient with fast recalculation on every bar
Serves as a baseline to compare against the more complex structure and volume methods
🟢 Universal Applications Across All Models
Each forecasting method projects potential future stochastic RSI values (K and D lines), which traders can use to:
▶ Anticipate potential crossovers: Visualize possible K/D crosses several bars ahead
▶ Explore overbought/oversold scenarios: Forecast when momentum might return from extreme zones
▶ Assess divergences: Evaluate how oscillator divergences might develop
▶ Inform entry timing: Consider potential points along the forecasted momentum curve for trade entry
▶ Develop systematic strategies: Build rules based on forecasted crossovers, slope changes, or threshold levels
▶ Adapt to market conditions: Switch between methods based on current market character (trending vs range-bound, high vs low volume)
In short, the indicator's flexibility allows traders to combine forecasting projections with traditional stochastic signals, using historical K/D for immediate reference while considering forecasted values for planning and analysis. As with all technical analysis tools, the forecasts represent one possible scenario among many and should be used as part of a broader trading methodology rather than as standalone signals.
ADX Trend Dashboard [ Hemanth ]
The ADX + DI Trend Dashboard is a indicator that helps traders instantly assess market trend direction and strength. It combines the power of ADX and DMI (Directional Movement Index) to give a clear visual representation of bullish, bearish, and sideways trends. The dashboard is fully customizable, lightweight, and easy to use.
Key Features:
Displays ADX, +DI, and -DI lines with dynamic coloring.
Green ADX: Bullish trend
Red ADX: Bearish trend
Mini dashboard shows:
Trend direction (Bullish, Bearish)
Trend strength (Weak, Strong)
Threshold lines at 20 & 25 for quick trend strength reference.
Works on any timeframe and instrument.
Clean and visually appealing design to reduce chart clutter.
Inputs:
ADX Length: Number of bars used to calculate ADX.
Higher values smooth the indicator but respond slower.
Lower values make it more sensitive but may produce more noise.
Strong Trend Threshold: ADX value considered strong. Default: 25
+DI Color / -DI Color: Customize trend line colors.
How to Use:
Trend Direction:
Green ADX + +DI > -DI → Bullish
Red ADX + -DI > +DI → Bearish
Trend Strength:
ADX < 20 → Weak
ADX 20–25 → Moderate
ADX > 25 → Strong
Use the dashboard panel to quickly identify trend and strength without manually analyzing the lines.
Recommended Timeframes:
Works on all timeframes.
Ideal for day trading, swing trading, and long-term analysis.
Note:
This indicator does not generate buy or sell signals by itself. It is designed to help traders analyze trend direction and strength visually and make informed trading decisions in combination with other tools or price action.
DV Master RSIDV Master RSI
Executive Summary
The Relative Strength Index (RSI) is one of the most foundational and widely utilized momentum oscillators in technical analysis. While traditionally used to gauge overbought and oversold conditions, its true power lies in identifying subtle shifts in market momentum and divergence from price action. The DV Master RSI Indicator is a sophisticated Pine Script tool designed to leverage the full strategic potential of the RSI by integrating multiple advanced signaling methods, comprehensive visual customization, and a robust anti-repainting feature. This indicator transforms the classic RSI into a complete, multi-signal trading system.
Key Advanced Features of the DV Master RSI
This indicator is engineered to provide traders with comprehensive momentum analysis and actionable signals through several integrated modules:
Features
Momentum Signaling:
RSI Midline Cross (50-line) Confirms shifts from bearish to bullish momentum and vice-versa.
RSI Moving Average Crossover:
Provides smoothed, less noisy trend confirmation and early entry/exit signals.
Trend Confirmation:
RSI MA Midline Cross uses the trend of the RSI's Moving Average to confirm the overall market bias.
Overbought/Oversold Signals
Visually highlights extreme momentum conditions for potential reversals.
Predictive Analysis
Bullish & Bearish Divergence identifies classic market turning points when price makes new highs/lows but RSI does not.
Hidden Divergence
Signals trend continuation, indicating strong internal momentum supporting the current trend.
Performance Assurance
Anti-Repainting Switch ensures signal integrity for backtesting and live trading by locking critical values on bar closure.
Visual Customization
10 Color Palettes & Background Painting enhances clarity and trading focus with custom colors and visual alerts on the chart and indicator panel.
Strategic Application for Traders
The integration of these features allows traders to employ strategies far beyond simple overbought/oversold monitoring.
Divergence Trading (Predictive Edge):
Divergence is often considered the most powerful signal from a momentum oscillator.
Regular Divergence (Reversal):
When the price makes a Lower Low but the RSI makes a Higher Low, it suggests the downward momentum is weakening, signaling a potential Bullish Reversal. The indicator plots this signal directly, giving traders an early warning to cover shorts or initiate long positions.
Hidden Divergence (Continuation):
This feature is crucial for trend-following. When the price makes a Higher Low but the RSI makes a Lower Low (during an uptrend), it signals that the trend is strong and likely to continue. Traders can use this for confident re-entry into established trends.
Signal Integrity and Backtesting Reliability:
The dedicated Anti-Repainting Switch is paramount for serious algorithmic and discretionary traders.
Problem: Indicators that use real-time price data (like close on the current bar) can change their signal retroactively as the current bar develops. This leads to illusory performance in backtesting.
Solution: By enabling the non-repainting mode, the indicator ensures that all crucial signals (MA Crosses, Midline Crosses, etc.) are only finalized and plotted upon the full confirmation of the bar's closure. This guarantees that your backtested results accurately reflect what would have been tradable in real-time.
Customizable Smoothing:
The inclusion of nine different Moving Average types (EMA, DEMA, TEMA, HMA, SMA, SMA + Bollinger Bands, SMMA, WMA, VWMA) for the RSI line allows a trader to fine-tune the indicator's responsiveness to market noise.
A trader expecting a fast reaction to short-term events might use an EMA.
A trader looking for robust, volume-weighted confirmation might select the VWMA.
Furthermore, the dedicated switches for background color on the chart and the indicator panel provide immediate, non-intrusive visual confirmation of extreme conditions, allowing traders to quickly manage multiple charts.
The DV Master RSI is an essential upgrade for any trader who relies on momentum analysis, providing the precision, assurance, and strategic versatility required for modern market navigation.
Kuytrade - Super Scalping Pro V1.0📘 Strategy "Kuytrade - Super Scalping Pro"
What is this strategy?
This is a scalping trading that helps you catch quick profits from short-term price movements. It's perfect for traders who want to make multiple small wins throughout the day.
How does it work?
The strategy uses a 3-level filter system to find high-quality trading signals:
Level 1: CORE Indicators (Must Pass)
- EMA (Moving Averages): Checks if the trend is going up or down
- MACD: Confirms momentum is building in the right direction
Level 2: MOMENTUM Indicators
- RSI: Looks for oversold (ready to bounce up) or overbought (ready to drop) conditions
- Stochastic: Finds reversal points where price might change direction
Level 3: BOOST Indicators
- RSI Divergence: Spots hidden opportunities when price and momentum disagree
- Strong Candles: Identifies powerful price movements
- ATR Filter: Makes sure the market is active enough to trade
Trading Setup
Each Signal Opens 3 Orders:
Order 1: Closes at TP1 (quick small profit)
Order 2: Closes at TP2 (medium profit)
Order 3: Closes at TP3 (big profit target)
Default Settings:
TP1: 1,000 points
TP2: 1,500 points
TP3: 2,500 points
Stop Loss: 1,200 points
Lot Size: 0.01 per order (3 orders total)
Smart Features
- Trailing Stop Loss
- When TP1 hits, the Stop Loss for TP3 automatically moves to breakeven + 150 points, protecting your profit!
- Auto Asset Detection
The strategy automatically recognizes what you're trading:
- Forex pairs (EURUSD, GBPUSD, etc.)
- Gold, Silver, Platinum
- Crypto (Bitcoin, Ethereum)
- Stock Indices (US30, NASDAQ, S&P500)
Indicators:
You can enable/disable each indicator level
Mix and match to find what works for your style
Visuals:
Show/Hide TP/SL lines
Show/Hide entry boxes
Mobile view for smaller screens
When to Use This Strategy?
✅ Best for:
Active markets (London/NY sessions)
Lower timeframes (1m, 5m, 15m)
Volatile pairs with clear trends
❌ Avoid during:
Major news releases
Very quiet markets
Weekends/holidays
----------------------------------------
กลยุทธ์นี้คืออะไร?
Scalping ที่ออกแบบมาให้ช่วยทำกำไรเล็กๆ จากการเคลื่อนไหวของราคาระยะสั้น เหมาะสำหรับเทรดเดอร์ที่ต้องการทำกำไรเล็กน้อยบ่อยๆ ตลอดทั้งวัน
ทำงานยังไง?
กลยุทธ์ใช้ระบบกรองสัญญาณ 3 ระดับ เพื่อหาจุดเข้าที่มีคุณภาพสูง
Level 1: ตัวบ่งชี้หลัก (ต้องผ่าน)
- EMA (เส้นค่าเฉลี่ย): เช็คว่าเทรนด์กำลังขึ้นหรือลง
- MACD: ยืนยันว่าแรงซื้อ/ขายกำลังมาถูกทาง
Level 2: ตัวบ่งชี้โมเมนตัม
- RSI: หาจุด Oversold (ราคาถูกเกินไป พร้อมกลับตัว) หรือ Overbought (ราคาแพงเกิน พร้อมลง)
- Stochastic: หาจุดกลับตัวที่ราคาอาจจะเปลี่ยนทิศ
Level 3: ตัวบ่งชี้เสริม
- RSI Divergence: เจอโอกาสแอบแฝงเมื่อราคาและโมเมนตัมไม่สอดคล้องกัน
- Strong Candles: จับแท่งเทียนที่แรงมาก
- ATR Filter: ตรวจว่าตลาดมีความผันผวนพอจะเทรดไหม
การตั้งค่าการเทรด
แต่ละสัญญาณเปิด 3 ออเดอร์:
ออเดอร์ 1: ปิดที่ TP1 (กำไรเล็กเร็ว)
ออเดอร์ 2: ปิดที่ TP2 (กำไรกลางๆ)
ออเดอร์ 3: ปิดที่ TP3 (กำไรใหญ่)
ค่าเริ่มต้น:
TP1: 800 จุด
TP2: 1,500 จุด
TP3: 2,500 จุด
Stop Loss: 1,200 จุด
ขนาดล็อต: 0.01 ต่อออเดอร์ (รวม 3 ออเดอร์)
ฟีเจอร์พิเศษ
- Trailing Stop Loss (ขยับ SL ตาม)
- เมื่อ TP1 โดน SL ของ TP3 จะเลื่อนมาที่ราคาเข้า + 150 จุด ทำให้คุณไม่ขาดทุน!
- ตรวจจับสินทรัพย์อัตโนมัติ
กลยุทธ์จะจำคู่เงินที่คุณเทรดได้เอง:
คู่เงิน Forex (EURUSD, GBPUSD ฯลฯ)
- ทองคำ, เงิน, แพลตตินั่ม
- คริปโต (Bitcoin, Ethereum)
- ดัชนีหุ้น (US30, NASDAQ, S&P500)
แดชบอร์ดผลงาน (ล่างซ้าย)
- แสดง Win Rate แต่ละ TP
- ติดตามกำไร/ขาดทุนรวม
- แสดงสถิติทั้งหมด
แดชบอร์ดสถานะ Level (บนขวา)
สถานะตัวบ่งชี้แบบเรียลไทม์
เขียว = สัญญาณพร้อม
แดง = รอเงื่อนไข
ตั้งค่าที่ปรับได้
คุณภาพสัญญาณ:
เปิด "Strict Filter" = สัญญาณน้อยแต่คุณภาพสูง
ปิด "Strict Filter" = สัญญาณเยอะแต่อาจเสี่ยงขึ้น
ตัวบ่งชี้:
- เปิด/ปิดแต่ละ Level ได้
- ผสมผสานหาสูตรที่เหมาะกับคุณ
การแสดงผล:
- แสดง/ซ่อนเส้น TP/SL
- แสดง/ซ่อนกล่องข้อมูล Entry
- โหมดมือถือสำหรับจอเล็ก
เมื่อไหร่ควรใช้กลยุทธ์นี้?
✅ เหมาะกับ:
- ตลาดที่คึกคัก (เซสชั่นลอนดอน/นิวยอร์ก)
- ไทม์เฟรมเล็ก (1m, 5m, 15m)
- คู่เงินที่มีความผันผวนและเทรนด์ชัด
❌ หลีกเลี่ยง:
- ช่วงมีข่าวเศรษฐกิจสำคัญ
- ตลาดเงียบมาก
- วันหยุดสุดสัปดาห์
Alpha-Vector Unconstrained [GG_DOGE]
Alpha-Vector: Variance-Weighted Trend Capture Protocol
Authored by: GG_DOGE
Executive Summary
This algorithm represents the culmination of an exhaustive quantitative regression analysis, designed to exploit fat-tail distribution events in the SOL/USD cryptographic pair. By leveraging recursive historical data modeling on the 8-Hour timeframe, the strategy identifies high-probability momentum asymmetry—specifically isolating periods where directional volatility aligns with institutional order flow.
Unlike static heuristic models, this protocol utilizes a Dynamic Variance-Weighted Allocation Engine. This ensures that capital exposure is inversely correlated to market noise (entropy) while maximizing geometric compounding during high-conviction momentum phases. It essentially acts as a volatility filter, capitalizing on the statistical skew of the asset's return profile while enforcing rigorous drawdown mitigation via adaptive liquidity exits.
Key Algorithmic Features
Asymmetric Risk Architecture: The strategy deploys decoupled risk profiles for Long and Short vectors. Through backtest optimization, we have mathematically determined that bullish drift requires aggressive variance targeting, while bearish mean-reversion requires strictly constrained capital exposure to mitigate "short-squeeze" tail risks.
Volatility-Adjusted Position Sizing: Trade depth is not static. The algorithm calculates the instantaneous Average True Range (ATR) to normalize position size based on current market turbulence. This maintains a constant Risk-of-Ruin probability, regardless of price velocity.
Quantitatively Optimized Trend Filter: The entry signal is governed by a proprietary lookback period derived from computational brute-forcing of historical pivot points, designed to filter out Gaussian noise and only execute during significant structural market shifts.
Operational Guide (Strict Adherence Required)
This script comes pre-loaded with the statistically optimal parameters for the analyzed asset. No manual calibration is required.
Deployment Target:
Asset: CRYPTO:SOLUSD (Solana / US Dollar)
Timeframe: 8h (8-Hour Candle)
Exchange: Any major liquidity venue (Binance, Coinbase, Kraken, etc.)
Configuration:
Strategy Mode: Select "Long & Short" for the fully optimized protocol (captures upside momentum and hedges downside crashes).
Risk Parameters: The default values are mathematically tuned for maximum geometric growth (Highest PnL). Do not alter these unless you wish to artificially suppress the algorithm's volatility targeting.
Execution:
Capital Allocation: The logic is designed for compounding growth. It will automatically calculate the maximum lot size allowed based on your account equity, ensuring 100% capital efficiency without crossing into margin-call territory
Smart Divergence Engine [ChartNation]SMART DIVERGENCE ENGINE — REPAINTING-PROOF RSI DIVERGENCE WITH EXHAUSTION CONFIRMATION
═══════════════════════════════════════════
Smart Divergence Engine solves three critical problems that plague free RSI divergence indicators:
PROBLEM 1: REPAINTING DIVERGENCES
Most divergence scripts detect divergence in real-time as bars form. This causes signals to appear, disappear, and reappear unpredictably—making them unusable for alerts or systematic trading.
OUR SOLUTION: Pivot-Locked Detection
Smart Divergence Engine evaluates RSI at the exact bar where price structure confirms (rsi ), not at the current bar. Once a divergence prints, it NEVER disappears. This is implemented via:
Full swing confirmation (Pivot Left + Pivot Right bars must complete)
RSI evaluation at historical bar: rsi , not rsi
Divergence triggers AFTER structure lock, not during formation
Technical implementation: The script stores RSI values at confirmed pivot bars using var floats (lowRsiPrev, lowRsiCurr, highRsiPrev, highRsiCurr), then compares these locked values when new pivots confirm. This prevents any possibility of historical repaint.
PROBLEM 2: FALSE POSITIVE OVERLOAD
Divergence scripts trigger on ANY price-RSI mismatch, flooding charts with weak signals during choppy conditions. No filtering means traders must manually screen out noise.
OUR SOLUTION: Shark Fin Exhaustion Filter
Before any divergence can be considered actionable, Smart Divergence Engine requires RSI to demonstrate genuine momentum exhaustion through our proprietary "Shark Fin" detection:
Shark Fin Logic (Not Found in Free Scripts):
RSI must pierce the outer volatility band by a configurable buffer (default 1.5 RSI points)
RSI must re-enter the band with directional confirmation (positive slope for bullish, negative slope for bearish)
Band width must exceed minimum standard deviation threshold (volatility qualification)
Cooldown period enforced (default 25 bars) to prevent signal clustering
This multi-condition filter dramatically reduces false divergences by requiring RSI to physically demonstrate exhaustion BEFORE structure confirmation matters.
Technical implementation: The Shark Fin state machine uses boolean flags (bullFinForming, bearFinForming) to track when RSI is stretched beyond bands, then validates re-entry using ta.crossover(rsi, lower) / ta.crossunder(rsi, upper) with slope checks (ta.change(rsi) > 0 / < 0) and volatility gates (dev >= finMinDev).
PROBLEM 3: NO VOLATILITY CONTEXT
Divergence scripts use fixed RSI levels (30/70 or similar) that fail to adapt to changing market conditions. What's "overbought" in a low-volatility regime differs drastically from high-volatility conditions.
OUR SOLUTION: Adaptive Volatility Bands
Smart Divergence Engine calculates dynamic overbought/oversold zones using:
34-period SMA of RSI as basis
1.618 standard deviation multiplier (golden ratio expansion)
Real-time band expansion/contraction based on RSI volatility
The bands provide three advantages:
Shark Fin events only qualify when RSI breaches ADAPTIVE thresholds, not arbitrary fixed levels
Band width (standard deviation) serves as volatility filter—narrow bands = low conviction moves get rejected
50-line midline provides regime context (above 50 = bullish bias, below 50 = bearish bias)
Technical implementation: basis = ta.sma(rsi, 34), dev = ta.stdev(rsi, 34), upper/lower = basis ± dev * 1.618. Shark Fin logic requires rsi < (lower - finBuffer) or rsi > (upper + finBuffer) to trigger, ensuring exhaustion is measured relative to CURRENT volatility, not historical constants.
═══════════════════════════════════════════
METHODOLOGY COMPARISON VS FREE ALTERNATIVES
═══════════════════════════════════════════
STANDARD DIVERGENCE SCRIPTS:
Detection timing: Real-time (current bar)
Historical stability: Repaints continuously
Signal filtering: None or minimal
Volatility adaptation: Fixed levels (30/70)
Exhaustion confirmation: Not implemented
Confirmation layers: 1 (divergence only)
Alert reliability: Unreliable (signals disappear)
SMART DIVERGENCE ENGINE:
Detection timing: Pivot-confirmed (rsi )
Historical stability: Locked at structure bar
Signal filtering: Shark Fin + cooldown + stdev gate
Volatility adaptation: Dynamic bands (34-SMA + 1.618σ)
Exhaustion confirmation: Required via Shark Fin
Confirmation layers: 3 (structure + exhaustion + volatility)
Alert reliability: Stable (never repaints)
═══════════════════════════════════════════
TECHNICAL SPECIFICATIONS
═══════════════════════════════════════════
RSI ENGINE:
Base calculation: ta.rsi(src, 14)
Smoothing: ta.rma(rsiRaw, 2) — reduces whipsaw noise
Source: Configurable (default close)
VOLATILITY BANDS:
Basis: 34-period SMA of RSI
Multiplier: 1.618 (golden ratio)
Upper band: basis + (stdev * 1.618)
Lower band: basis - (stdev * 1.618)
Purpose: Creates adaptive overbought/oversold zones
DIVERGENCE DETECTION:
Pivot confirmation: 10 left bars + 10 right bars (default)
RSI evaluation: Locked at rsi (historical bar, never current)
Bullish divergence: price lower low + RSI higher low
Bearish divergence: price higher high + RSI lower high
Rendering: Lines drawn between last two confirmed pivots with labels
SHARK FIN EXHAUSTION FILTER:
Depth buffer: 1.5 RSI points (penetration threshold beyond band)
Min band stdev: 1.0 (volatility qualification)
Cooldown: 25 bars minimum between Shark Fin confirmations
Slope validation: Requires ta.change(rsi) > 0 (bullish) or < 0 (bearish)
State tracking: Boolean flags prevent premature confirmations
VISUAL CUSTOMIZATION:
Beauty Mode: Six-layer gradient fill anchored at 50-line
• Purple regime (above 50) with configurable opacity
• Green regime (below 50) with configurable opacity
• Gradient layers: 33%, 66%, 100% intensity
Divergence lines: Glow effect (6px) + core line (3px), both configurable
Shark Fin rendering: 20% fill between RSI and violated band (ephemeral)
Labels: Compact "Bull"/"Bear" markers with dot indicators
═══════════════════════════════════════════
ALERT SYSTEM
═══════════════════════════════════════════
Four distinct alert conditions (configure once, fires on all intervals):
"RSI Shark Fin — Bullish"
Triggers when: RSI re-enters lower band from below with slope + stdev + cooldown confirmation
Use case: Momentum exhaustion at oversold extreme
Reliability: No repaint (confirmation locked at re-entry bar)
"RSI Shark Fin — Bearish"
Triggers when: RSI re-enters upper band from above with slope + stdev + cooldown confirmation
Use case: Momentum exhaustion at overbought extreme
Reliability: No repaint (confirmation locked at re-entry bar)
"Bullish Divergence (Panel)"
Triggers when: Pivot-confirmed bullish divergence completes (price LL + RSI HL)
Timing: Fires AFTER Pivot Right bars complete (delayed but stable)
Reliability: Never repaints (divergence locked at rsi )
"Bearish Divergence (Panel)"
Triggers when: Pivot-confirmed bearish divergence completes (price HH + RSI LH)
Timing: Fires AFTER Pivot Right bars complete (delayed but stable)
Reliability: Never repaints (divergence locked at rsi )
═══════════════════════════════════════════
TRADING IMPLEMENTATION
═══════════════════════════════════════════
CONFLUENCE FRAMEWORK:
Highest-probability setups occur when three conditions align:
Bullish Setup:
Shark Fin confirms below lower band (exhaustion)
Bullish divergence prints at pivot (structure)
RSI reclaims 50 line (regime shift to bullish)
→ Entry consideration at next price structure (support, swing low)
Bearish Setup:
Shark Fin confirms above upper band (exhaustion)
Bearish divergence prints at pivot (structure)
RSI loses 50 line (regime shift to bearish)
→ Entry consideration at next price structure (resistance, swing high)
TREND CONTEXT:
Strong uptrends: Prioritize bullish divergence + lower band Shark Fins (buy dips)
Strong downtrends: Prioritize bearish divergence + upper band Shark Fins (sell rallies)
Range-bound markets: Use 50-line crossovers as additional confirmation filter
RISK MANAGEMENT:
Smart Divergence Engine provides CONTEXT, not entries:
Wait for price confirmation (engulfing candle, rejection wick, structure break)
Place stops below/above pivot structure that triggered divergence
Size positions based on distance to invalidation level
Divergence + Shark Fin = elevated probability, not certainty
═══════════════════════════════════════════
CONFIGURATION PARAMETERS
═══════════════════════════════════════════
RSI SETTINGS:
RSI Length: 14 (default, standard momentum window)
Price Source: close (configurable to any price source)
Note: 2-period RMA smoothing is hardcoded (reduces noise)
VOLATILITY BAND SETTINGS:
Band Length: 34 (SMA period for RSI basis)
Band Multiplier: 1.618 (golden ratio, adjustable)
Show Bands: Toggle visibility (true/false)
DIVERGENCE SETTINGS:
Pivot Left: 10 bars (left-side swing confirmation)
Pivot Right: 10 bars (right-side swing confirmation)
Overbought Level: 68 (reference line, does not affect logic)
Oversold Level: 32 (reference line, does not affect logic)
SHARK FIN SETTINGS:
Fin Depth Buffer: 1.5 RSI points (penetration threshold)
Min Band Stdev: 1.0 (volatility qualification gate)
Min Bars Between Fins: 25 (cooldown period)
VISUAL SETTINGS (Beauty Mode):
Enable Beauty Mode: true/false (gradient rendering)
Divergence Glow: true/false (glow effect on lines)
Glow Width: 3-10 px (glow layer thickness)
Main Line Width: 1-6 px (divergence core line)
Top Color: Purple (configurable, above-50 regime)
Bottom Color: Green (configurable, below-50 regime)
Top Opacity: 0-100% (gradient base transparency)
Bottom Opacity: 0-100% (gradient base transparency)
═══════════════════════════════════════════
PERFORMANCE & LIMITATIONS
═══════════════════════════════════════════
RESOURCE ALLOCATION:
max_lines_count: 500 (divergence + Shark Fin lines)
max_labels_count: 500 (divergence markers)
max_bars_back: 500 (historical pivot lookback)
Suitable for most timeframes; reduce limits if performance degrades on low-end devices
SIGNAL TIMING:
Divergences print AFTER Pivot Right bars complete. This is intentional:
Delayed signals are more reliable than real-time signals
Structure confirmation requires waiting for swing completion
Users demanding instant signals should use free real-time divergence indicators
Users demanding reliable signals that never disappear should use this
PANEL VS OVERLAY:
This is the panel version (overlay=false):
Renders in separate pane below price chart
RSI, bands, divergence lines, and Shark Fin fills appear in this pane
For price-chart annotations, use the companion overlay version (same logic, different rendering)
═══════════════════════════════════════════
This script implements proprietary methodology not available in regular community scripts:
REPAINTING-PROOF ARCHITECTURE
The pivot-locked detection system (rsi evaluation) is a non-trivial implementation that requires:
State management across bars using var variables
Historical RSI value storage at pivot confirmation
Divergence comparison between stored values (not current bar)
This architecture eliminates the #1 complaint with free divergence indicators: disappearing signals.
SHARK FIN EXHAUSTION LOGIC
The multi-condition state machine that validates momentum exhaustion is not found in free scripts:
Penetration threshold (buffer beyond band)
Directional slope confirmation on re-entry
Volatility gate (minimum standard deviation)
Cooldown enforcement (prevents clustering)
This filter layer was developed through extensive backtesting to reduce false divergences during choppy conditions.
ADAPTIVE VOLATILITY FRAMEWORK
The dynamic band system (34-SMA + 1.618σ) provides context-aware overbought/oversold detection:
Bands expand in volatile markets → signals adapt to conditions
Bands contract in ranging markets → tighter detection thresholds
50-line regime framework → directional bias context
This approach outperforms fixed-level systems (30/70) that ignore market context.
CONFLUENCE METHODOLOGY
The three-layer confirmation system (structure + exhaustion + volatility) was engineered to answer: "When is a divergence actually tradeable?" Free scripts detect divergence and stop there. Smart Divergence Engine asks: "Did RSI show exhaustion? Is volatility sufficient? Did structure confirm?"
This level of methodological depth—combined with repainting-proof architecture and professional-grade visual implementation—justifies closed-source protection and paid access.
═══════════════════════════════════════════
Smart Divergence Engine is engineered for traders who demand institutional-grade divergence detection without the noise, repainting, and false positives that plague free alternatives.
Access is restricted to maintain signal quality as methodology evolves.
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.
Dark Pool Pulse – LiteDark Pool Pulse Lite
This indicator provides an observational proxy for dealer gamma exposure using only price and volume data. It helps users visualize whether market makers may be leaning long gamma (potential stabilizing flows) or short gamma (potential destabilizing flows). For educational and informational purposes only.
Key Features
0–100 oscillator representing an estimated dealer-gamma proxy.
Bullish zone (above 60): dealers may be long gamma → potentially absorbing volatility.
Bearish zone (below 40): dealers may be short gamma → potentially amplifying volatility.
Background tint for quick visual context.
Optional summary table showing current value and interpretation.
Alert conditions for crosses of the 60 and 40 thresholds.
How It Works
The indicator measures volume-weighted directional pressure and normalizes it over a rolling lookback window. The value is smoothed and mapped into a 0–100 oscillator:
Above 60 → potential positive gamma conditions.
Below 40 → potential negative gamma conditions.
40–60 → neutral or balanced zone.
All calculations are performed internally using only price and volume.
Settings
Lookback Length (default 20): Number of bars used for normalization.
Smoothing Length (default 10): EMA smoothing applied to the proxy.
Show Summary Table: Toggles the optional value/interpretation panel.
How to Use
Add the indicator to any chart or timeframe.
Observe the oscillator levels:
A move above 60 may reflect a more stabilizing dealer environment.
A move below 40 may reflect a more destabilizing environment.
Use the background tint for quick contextual bias.
Enable alerts for threshold crossings if desired.
Adjust settings to match your preferred responsiveness.
Notes
For educational and informational purposes only.
Not financial, trading, or investment advice.
No signals or recommendations are provided.
Source code protected to maintain proprietary calculation methods.
Trade volume indicator @mybullandbearThe indicator consolidates Trend (MA), Momentum (RSI), Breakout (ORB), and Volume (CVD) into a single dashboard, giving you an objective "Green" or "Red" bias.
Mybullandbear View (CVD): This specific component tracks whether buying or selling volume is dominant for the day. It helps you avoid false breakouts—if price goes up but CVD is Red (Bearish), it's likely a trap.
How to Benefit: Wait for Confluence. Do not take a trade unless the Dashboard shows a clear consensus (e.g., Green Trend + Bullish CVD + Price above ORB High). This filters out low-quality trades and keeps you on the right side of the market.
Mean Reversion Framework [LTS]LHAMA Trading Suite's Mean Reversion Framework is a VWAP-centric mean reversion and exhaustion tool that combines volatility regimes, volume-weighted extension zones, and multi-oscillator divergence detection into a single framework. It is designed to help traders quickly answer three questions on any chart:
How far is price stretched away from VWAP in standard deviations?
Is the current environment favorable or hostile to mean reversion?
Are there momentum divergences supporting a reversal or trend continuation idea?
Core components
1. Adaptive VWAP with standard deviation bands
The framework builds around a dynamically anchored VWAP with statistical bands:
VWAP line plotted from a rolling anchor point.
Standard deviation bands : ±1σ, ±2σ, ±2.5σ, and ±3σ around VWAP.
Extension zones : the area between ±2.5σ and ±3σ is highlighted as an “extension zone,” where price is statistically stretched from its mean.
Anchoring is automatic and timeframe-aware. When you change your charts timeframe, this will automatically adjust what VWAP you are looking at to make sure you're always using the anchoring research has shown to be most appropriate and relevant for that timeframe.
2. Reversion candle coloring
To highlight potentially climactic moves:
The script tracks a configurable volume average and multiplier.
When price touches the ±2.5σ extension zone and a candle meets one of these conditions, candles can be recolored:
Has above average volume, but below average candle body size.
Has lower volume than the previous candle.
An optional alert can be triggered when these extension touches occur.
The ideal reversion setup is a quick extension into the marked zone, which includes a high volume, small body candle at its peak, surrounded by lower volume candles in opposite directions. This shows an energetic push in one direction, followed by exhaustion and a fade back toward the mean.
3. Volatility regime detection
The script classifies the current volatility regime using ATR:
Calculates ATR over a user-defined lookback.
Computes the percentile rank of current ATR relative to its recent history.
Labels the environment as:
HIGH volatility (ATR percentile at or above the high threshold).
LOW volatility (at or below the low threshold).
MODERATE otherwise.
The current regime and ATR percentile are displayed on the dashboard and can be used as context for whether mean-reversion setups may be more or less favorable. Alerts can fire when volatility crosses into high or low regimes so users can adjust expectations or strategies if desired.
4. RSI & Stochastic divergence framework
The indicator includes a combined divergence engine using RSI and Stochastic:
User-configurable RSI length.
User-configurable Stochastic K/D parameters.
Pivot-based detection with left/right lookbacks and a max lookback window.
Two main categories:
Regular divergences – potential reversal context.
Hidden divergences – potential trend continuation context.
For both RSI and Stochastic, the script looks for:
Bullish regular : price lower low vs. oscillator higher low.
Bearish regular : price higher high vs. oscillator lower high.
Hidden bullish : price higher low vs. oscillator lower low.
Hidden bearish : price lower high vs. oscillator higher high.
When conditions are met, the script will:
Plot labels on the price chart:
🔃 icons for regular (reversal) divergences.
⏩ icons for hidden (continuation) divergences.
Combine RSI and Stochastic confirmation into a single label when both agree, with tooltips explaining:
Price structure (HH/HL/LL/LH).
Which oscillator(s) confirmed the divergence.
Whether the pattern suggests potential reversal or continuation.
Optionally trigger alerts for each divergence type when alerts are enabled.
Divergence labels are based on confirmed pivots, so they appear with a delay relative to the pivot bar. They are not predictive and should be treated as contextual information rather than standalone trade signals.
5. Dashboard overlay
An on-chart dashboard summarizes the most important state variables in a compact table:
VWAP Anchor – shows the effective anchor logic currently in use (“Session/Week/Month”, “5-Day Rolling” or “Yearly (Jan 1)”).
Alert Status – ACTIVE, COOLDOWN, or DISABLED.
Volatility Regime – HIGH / MODERATE / LOW with the current ATR percentile.
VWAP Value – current VWAP price.
Price vs VWAP – distance of price from VWAP in standard deviations (σ).
ATR – current ATR value for the selected length.
The dashboard can be toggled on or off and moved to any corner of the chart (top/bottom, left/right).
6. Alert system & cooldown
The script defines multiple alert conditions so users can build their own rules around mean reversion and volatility changes:
Extension zone alerts :
Price enters upper extension (≥ +2.5σ).
Price enters lower extension (≤ −2.5σ).
Price enters any extension zone.
High-volume candle touching an extension zone.
Divergence alerts :
Regular bullish / bearish divergence.
Hidden bullish / bearish divergence.
Volatility regime alerts :
ATR percentile crosses into HIGH volatility.
ATR percentile crosses into LOW volatility.
To reduce alert noise around VWAP resets, there is an optional alert cooldown :
At the start of a new VWAP period (session/5-day/yearly, depending on timeframe), the script can enter a cooldown phase.
During cooldown, extension-related alerts are temporarily suppressed for a user-defined number of minutes.
Volatility regime alerts remain active, as they reflect broader structural changes rather than short-term VWAP resets.
Users can disable the cooldown by setting its duration to 0.
Sen Channel LiteSen Channel Lite
Sen Channel Lite calculates a robust, median-based regression channel using the Theil–Sen slope method. This visual tool helps traders identify trend direction and potential breakout zones in real time.
Key Features
Dynamic Trend Line: The median-based regression line adapts to price movement, providing a central reference for trend direction.
Upper and Lower Bands: Automatically updated bands highlight potential breakout or reversal areas.
Breakout Markers: Optional triangles indicate when price crosses above the upper band or below the lower band.
Midline (EMA/SMA): Toggleable trend line for additional context on price direction.
VWAP Anchor: Optional VWAP plot to visualize volume-weighted average price levels.
Customizable Inputs:
Lookback Period for slope calculation
Band Multiplier to adjust sensitivity
Option to use Standard Deviation or ATR for band width
Midline type, length, and color
VWAP visibility and color
Channel cloud transparency
How to Read Signals (Educational Use Only):
Trend Context: The midline provides a reference for general trend direction. Price above the midline suggests bullish bias; below indicates bearish bias.
Breakouts:
Triangle up → price crossed above the upper band; potential strong move upward.
Triangle down → price crossed below the lower band; potential strong move downward.
Channel Interpretation:
Price near the upper band → market may be overextended.
Price near the lower band → market may be oversold.
Price moving within the channel → trend is balanced; use additional analysis for direction.
VWAP Context: Compare price to VWAP for intraday support/resistance insights.
Usage Notes:
Fully visual tool; no trading or financial advice.
All calculations are protected to preserve intellectual property.
Results reflect real-time calculations; no repainting.
Suitable for intraday to daily timeframes.
Important: This script is published as protected/closed-source to safeguard GammaBulldog intellectual property.
KSL-Fullsystem V2.0Trend Following & Reversal Trading System. It combines **Price Action (Market Structure)** with multiple technical indicators to generate high-quality Buy and Sell signals.
---
1. How Signals are Generated (The Core Logic)
The script uses **"Internal Shifts"** (Market Structure Breaks) to find entry points.
* BUY Signal: The price breaks above a previous bearish structure (Higher High) + All enabled filters are Green.
* SELL Signal: The price breaks below a previous bullish structure (Lower Low) + All enabled filters are Red.
When a signal occurs, the script automatically calculates:
* Stop Loss (SL): Based on the recent Swing High/Low.
* Take Profit (TP): Three levels (TP1, TP2, TP3) based on risk-reward ratios (1.5x, 2.0x, 3.0x).
---
2. The Filters (Your Confirmation Checklist)
You can turn these On/Off in the settings. **Note:** If you turn *all* of them on, you might get very few signals because the conditions become too strict.
**A. Bollinger Bands (BB) Filters (Primary Feature)**
This is the main filter for this version.
* Squeeze Filter: Prevents trading when the bands are too narrow (low volatility). If the background turns **Yellow**, it means the market is "Squeezing" – **Do Not Trade.**
* Touch Entry: Looks for price bouncing off the Lower Band (Buy) or Upper Band (Sell).
* Breakout Entry: Looks for price blasting through the bands.
* Mean Reversion: Checks if price is reverting to the middle line (Basis).
**B. Moving Average Filters (Trend)**
The script includes three types of Moving Averages. You can choose which style suits you:
* EMA (Exponential): Fast-reacting. Good for scalping.
* SMA (Simple): Standard trend lines. Good for position trading.
* LWMA (Linear Weighted): Focuses heavily on recent data.
* Configuration: You can select specific setups like "Scalping" (9/21/50 EMA) or "Trend" (50/200 EMA).
**C. Momentum Filters**
* MACD: Checks momentum. You can choose settings for Scalping, Day Trading, or Swing Trading.
* AO (Awesome Oscillator) & AC: Helps confirm if the momentum is strong enough to support the trend.
---
**3. Visual Guide: What You See on the Chart**
* Green Box: A Buy Zone (Demand).
* Red Box: A Sell Zone (Supply).
* Labels (Text): Shows "BUY" or "SELL" with exact prices for TP1, TP2, TP3, and SL.
* Blue Lines: The Bollinger Bands (Upper and Lower).
* Orange Line: The Bollinger Band Basis (Middle).
* Small Triangles:
* Green Triangle (Below Bar): Price touched the Lower Bollinger Band.
* Red Triangle (Above Bar): Price touched the Upper Bollinger Band.
* Yellow Background: **WARNING.** The market has low volume/volatility (BB Squeeze). Wait for a breakout.
---
4. How to Use This Script
1. Select Your Style: Go to the Settings (Inputs).
* If you are a **Scalper**, turn on "Scalping EMA" or "Scalping MACD".
* If you are a **Swing Trader**, turn on "Swing SMA" or "Trend EMA".
2. Configure Bollinger Bands: Keep `Use Bollinger Bands Filter` checked. Decide if you want to trade "Squeezes" (usually safer to avoid them).
3. Wait for the Label: Do not enter blindly. Wait for the script to print a **BUY** or **SELL** label with the TP/SL targets.
4. Check the Background: If the background is **Yellow**, ignore the signal or wait until the color clears.
5. Manage Risk: Place your Stop Loss at the price shown on the label ("SL").
Fundamental Analysis DashboardFundamental Analysis Dashboard
Valuation | P/E, P/B, P/S, EV/EBITDA, PEG, FCF Yield
Profitability | ROE, ROA, ROIC, Net Margin, Gross Margin, Operating Margin
Growth | EPS Growth YoY, Revenue Growth YoY, EPS TTM
Financial Health | Debt/Equity, Current Ratio, Quick Ratio, Net Cash, FCF
Dividends | Dividend Yield, Payout Ratio, DPS
Technical Context | Price vs EMA50/200, RSI, 52-Week Position
The dashboard calculates a Fundamental Score (0-100) based on weighted criteria across all sections:
80-100: Excellent
65-79: Good
50-64: Fair
35-49: Weak
0-34: Poor
SBMS RSIThis is everyones favourite RSI with small modification as it has 60 as breaout level and 40 as breakdown level, 80 as Overbrought zone and 20 as oversold zone. An EMA helps to stay in the trend.
SK Zones & Signals [CLEVER]This Pine Script indicator, named "SK Zones & Signals", is a customized version of the standard by Sk . It is designed to visually highlight overbought and oversold conditions and generate explicit trading signals within a separate pane below the price chart (overlay=false) .
Key Components
SK Calculation: The core of the indicator is the SK, a momentum oscillator that measures the speed and change of price movements . By default, it uses a 14-period length (skLength).
Zones and Levels: The script defines and visually emphasizes specific threshold levels:
Overbought (OB): The standard level is set at 70.
Oversold (OS): The standard level is set at 30.
Extreme Zones: A shaded "Extreme Overbought Zone" is defined between 80 and 100 (shaded red), and an "Extreme Oversold Zone" is defined between 0 and 20 (shaded lime green).
Midline: A horizontal line is drawn at 50 to indicate the centerline.
Signals: When enabled (showSignals = true), the indicator plots "Buy" and "Sell" labels directly on the chart based on specific crosses:
Buy Signal: Generated when the SK line crosses above the 30 (oversold) level.
Sell Signal: Generated when the SK line crosses below the 70 (overbought) level.
How to Use It
The indicator provides a clear visual representation of market momentum:
Momentum Reading: The aqua line (SK line) indicates current momentum. Readings above 70 suggest the asset may be overbought and due for a reversal, while readings below 30 suggest it may be oversold .
OANDA:XAUUSD TVC:USOIL TVC:DXY OANDA:EURUSD OANDA:XAUUSD
Extreme Conditions: When the line enters the shaded 80-100 red zone or 0-20 green zone, it indicates potentially strong price movements that might exhaust soon .
Signal Interpretation: The "Buy" and "Sell" labels offer potential entry or exit points based on the SK returning from extreme conditions toward the neutral zone .
This script allows traders to easily identify standard and extreme momentum conditions and potential reversal points at a glance.
Smart Risk Meter (Adaptive v2)How it works
The Smart Risk Meter reads momentum, distance from the long-term trend, and drawdown pressure, then adapts those signals to the asset’s volatility. Low-vol assets get tighter scaling, high-vol assets get wider scaling, so the 0–1 risk score stays meaningful on anything from SPX to BTC.
How to use it
• 0.0–0.4: Accumulation zone. Market is calm or recovering — ideal for building positions.
• 0.4–0.6: Neutral. Trend can go either way — manage sizing.
• 0.6–0.8: Elevated risk. Momentum is stretched — tighten stops or reduce exposure.
• 0.8–1.0: Overheated. High risk of sharp pullbacks — avoid chasing.
Use it as a bias filter, a DCA timing tool, or a simple risk-on/risk-off read. It won’t predict tops or bottoms, but it keeps you aligned with the market’s temperature.






















