Parabolic SAR📌 This indicator enhances the traditional Parabolic SAR trend-reversal system by incorporating adjustable strictness filtering based on candle structure, volume confirmation, volatility-based body size, and moving-average bias, enabling cleaner and more selective signals.
■ User Inputs
SAR Start / Increment / Max: Standard Parabolic SAR parameters controlling acceleration and sensitivity.
Strictness Level (1–10): Defines the filtering intensity applied to SAR crossover signals, where higher levels require stronger candle confirmation, higher volume thresholds, and trend-aligned price action relative to moving averages.
■ Base SAR Logic
The script calculates the Parabolic SAR using TradingView’s built-in ta.sar.
Two raw signals form the foundation:
Rising Base: Close crosses above sar.
Bearing Base: Close crosses below sar.
These are not used directly—filters refine them according to the chosen strictness level.
■ Filter Components
The script evaluates multiple market conditions:
Candle Direction:
candle_up = close > open, candle_down = close < open.
Volume Filter:
Volume greater than 10-period SMA.
Body Size Filter:
Normal body: |close-open| > ATR(14) × 0.2
Strong body: |close-open| > ATR(14) × 0.5
Trend Bias:
Price above/below SMA (20 or 50) depending on strictness level.
These elements combine to confirm signal strength and reduce noise.
■ Sensitivity Level Logic (1–10)
Each level progressively increases strictness:
Level 1: Pure SAR crossover only.
Level 2: SAR crossover + candle direction alignment.
Level 3: Adds volume confirmation.
Level 4: Adds minimum body-size requirement.
Level 5: Requires strong candle body + volume.
Level 6: Requires stronger volume (SMA20).
Level 7: Strong body + SMA20 volume confirmation.
Level 8: Strong body + high volume (SMA50).
Level 9: Adds trend bias:
Long = above SMA20
Short = below SMA20
Level 10 (Most Strict):
Very high volume (SMA100)
Strong body
Strong trend alignment (SMA50)
The higher the level, the less likely a breakout signal is to be seen.
■ Visualization
SAR Chart:
A green cross is displayed for an uptrend, and a red cross is displayed for a downtrend, or a custom setting is supported.
Signal Indicators:
Long-term: Green ▲ below the bar
Summary: Red ▼ above the bar
Markers are displayed by default, reflecting the filtered signal output,
or a custom setting is supported.
■ Purpose
This indicator is intended to:
Reduce SAR’s natural noise through strict filtering.
Provide tailored signal reliability based on trader preference.
Enhance candle-confirmation, volume-driven accuracy, and trend alignment.
It does not predict future price nor guarantee profitable trades—filters simply refine.
Analyse de la tendance
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
3SPC Setup indicator3SPC Setup Indicator — Trend & Structure Confirmation Tool
The 3SPC Setup Indicator helps traders detect potential trend shifts and continuation phases using a clean 3-step confirmation process. It analyzes market structure to identify transitions between bullish and bearish conditions and visually highlights these phases directly on the chart.
How It Works
Structure Break (SB): Detects a break of a key structural point, signaling possible trend change.
Pullback Confirmation: Confirms intention by identifying whether price respects the new structural direction.
Continuation Phase: Marks potential continuation of the identified bullish or bearish trend.
Features
• Automatic detection of structure shifts
• Clear bullish/bearish continuation labels
• Color-coded trend phases
• Works on all markets and timeframes
• Simple, clean interface for fast decision-making
How to Use
• Apply to any symbol or timeframe
• Green labels indicate potential bullish continuation
• Red labels indicate potential bearish continuation
• Use as part of a broader confirmation strategy
• Always combine signals with proper risk management
Persian Description (Optional)
اندیکاتور 3SPC Setup با بررسی ساختار بازار، سه مرحله شکست ساختار، پولبک و ادامه روند را تشخیص میدهد و فازهای صعودی و نزولی را با رنگبندی نمایش میدهد. این ابزار در تمام تایمفریمها و بازارها قابل استفاده است و برای خوانایی بهتر، سیگنالها را ساده و قابل فهم نشان میدهد.
Notes
This tool provides no financial advice. Use at your own discretion and always manage your risk
Multi-Timeframe Price Zones📌Multi-Timeframe Price Zones
This indicator plots dynamic multi-timeframe price zones—including previous highs/lows, pivot levels, and magnetic support/resistance regions—using auto-updating boxes on the chart, allowing traders to identify high-influence price areas across higher timeframes with clarity and precision.
■ Magnetic Zones 1 – Inputs
Timeframe: Selects the higher timeframe used for generating zones (e.g., D, W, M).
Show Last: Defines how many of the most recent timeframe zones to display.
PDHL: Toggles previous-day-high/low zones.
P: Toggles the pivot level (previous period midpoint).
SR1 / SR2: Enables two sets of magnetic support/resistance zones based on volatility expansion multipliers.
Sub Color: Sets the primary color used for box borders, backgrounds, and text.
■ General Zone Settings
Box Transparency: Adjusts opacity of filled price zones.
Border Style: Selects border style (solid, dashed, dotted).
Text Size: Controls label sizing for zone annotations.
Text Alignment: Positions labels inside boxes (left, center, right).
■ Data Retrieval Logic
The script pulls higher-timeframe timestamps and close times (time, time_close) using request.security, ensuring boxes start exactly at the beginning of the selected timeframe and extend to its closing bar.
A helper function retrieves any higher-timeframe price series (high, low, midpoint, and magnetic zone values).
■ Magnetic Zone Calculation
The script computes magnetic support/resistance levels using previous-bar volatility:
prev_hl_diff = previous high − previous low
Resistance = hl2 + (multiplier × prev_hl_diff)
Support = hl2 − (multiplier × prev_hl_diff)
Two multipliers are used:
0.236 → SR1
0.786 → SR2
These create responsive zones that expand/shrink with volatility.
■ Buffer Zone Expansion
Each level generates a “buffer zone”—a small band above/below the main value—to create visually meaningful zones rather than a single flat line:
top = level + range/8
bottom = level − range/8
Buffers are applied symmetrically around each SR level.
■ Zone Types Displayed
1. PDHL Zones (Previous High / Previous Low)
Retrieved directly from the selected higher timeframe’s last completed bar.
2. Pivot Zone (P)
Based on midpoint (hl2) of the previous period.
3. Magnetic Zones SR1 / SR2
Volatility-based resistance/support zones with buffer expansion.
■ Box Rendering System
The script uses a generalized draw_box() function that draws labeled rectangles using:
timeframe start/end timestamps
top/bottom price boundaries
custom background transparency
border style and width
optional price annotations
All box references are stored in arrays for proper management and future cleanup.
■ Auto-Updating Logic
Whenever the higher timeframe changes (timeframe.change()):
New boxes are created for SR1, SR2, pivot, and PDHL levels.
Boxes extend from the higher timeframe’s opening timestamp to its closing timestamp.
Price labels include the exact value and the timeframe abbreviation.
This ensures zones remain aligned with the boundaries of each higher-timeframe candle.
■ Purpose
This indicator is designed to:
Highlight multi-timeframe price zones such as PDHL, pivots, and magnetic SR ranges.
Provide contextual support/resistance from a higher timeframe while trading lower timeframes.
Visualize volatility-driven price zones that often act as reaction levels.
Draw clean, well-structured, auto-refreshing boxes with customizable styling.
It does not attempt to predict price or generate trade signals—its function is structural visualization.
■ Notes
Zones update only when the higher timeframe completes.
Buffer zones visually emphasize areas of interest rather than single price lines.
Transparency and styling allow integration into any chart layout.
TRADE ORBIT:-TOP BOTTOM INDICATOR🔵 BUY TRADE (Bottom Reversal Entry)
Enter when the green triangle appears.
Stop Loss (SL)
Below the low of the signal candle
Or below the swing low (safer)
Target (TP)
Choose ANY:
3%–5% move
Next resistance level (red line)
Risk:Reward = 1:2 or 1:3
Position Size
Risk 2% of your capital per trade (written in rules box).
🔴 SELL TRADE (Top Reversal Entry)
Enter on the red triangle.
Stop Loss (SL)
Above the high of the signal candle
Or above swing high (safer)
Target (TP)
Choose any:
3%–5% downward move
Next support level (green line)
RR = 1:2 or 1:3
📊 BEST WAY TO USE
1. Use on 15m / 30m / 1h for intraday
2. Use on Daily for swing trading
3. Always trade WITH weekly trend (if enabled)
4. Combine with trendlines or EMA200 for extra accuracy
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.
Professional Market Dashboard [Master Edition].CRYPTOThe Problem: Trading in a Vacuum Most crypto traders fail not because they can't read a chart, but because they ignore the "Weather Report." They buy an Altcoin breakout while Bitcoin Dominance is skyrocketing, or they long a dip while Tether Dominance is spiking.
This dashboard solves that problem. It is designed to act as a Decision Support System, condensing the entire state of the crypto market into a single, institutional-grade panel. It replaces the need to have 5 different tabs open (BTC.D, USDT.D, TOTAL3, etc.) and allows you to trade with full context.
How It Works (The Logic Behind the Data)
This dashboard is divided into specific zones, designed to be scanned in a "Z" pattern:
1. The Engine (Header & Sentiment)
rVol (Relative Volume) : Compares current volume to the 20-period moving average. If rVol is < 100%, the header turns Grey, signaling a "Quiet Day" (low probability for breakouts).
Net Flow ($) : Unlike standard volume indicators that suffer from "unit bias" (where 1M cheap coins looks equal to 1M expensive coins), this calculates Dollar Turnover. It multiplies volume by price to show the actual capital flowing in or out of the asset in USD.
Sentiment: A smart label that combines Net Flow direction with VWAP (Volume Weighted Average Price) context. It only signals "BULLISH" if price is above VWAP and Net Flow is positive.
2. Market Context (The Macro Layer)
USDT.D (Tether Dominance): The "Fear Gauge" of crypto. When this is rising, traders are fleeing to stablecoins (Risk Off). When falling, capital is deploying into assets (Risk On).
BTC.D (Bitcoin Dominance): The "Cycle Gauge."
Rising: Bitcoin is sucking liquidity from the market (Risk of Alts bleeding).
Falling: Capital is rotating into Alts (Potential Altseason).
R S(BTC): Relative Strength against Bitcoin. This calculates the performance spread between the current asset and BTC. If this is RED, the asset is underperforming Bitcoin, suggesting it may be better to just hold BTC.
3. Sector Flow (Capital Rotation)
TOTAL3: The Market Cap of the top 125 coins excluding BTC and ETH. This is the purest chart for "Altcoin Health."
SOL & ETH: Leaders for the L1 and Smart Contract sectors. Monitoring these helps identify if a move is isolated or sector-wide.
4. Trend & Technicals
ADX (Trend Strength): Measures the intensity of the trend, not the direction. If ADX > 25, the background turns red/green, signaling a trending environment. If < 25 (Grey), the market is chopping.
Smart Levels: Automatically calculates the daily Fibonacci Pivot points based on yesterday's High/Low to project the next major Support or Resistance level.
MAs: A quick-glance view of the 9/21 EMAs and 100/200 SMAs to determine trend alignment across timeframes.
Visual Design The panel uses a "Stealth" color palette (Matte Green/Red and Slate Grey) to reduce eye strain during long sessions and prevent "false signals" from overly bright colors during low-volatility periods.
Disclaimer This tool is for informational and educational purposes only. It does not provide financial advice or guarantee profits. Always perform your own due diligence.
Trend Signal with Alert📌The Trend Signal Indicator is based on Smooth Hiken Asia, a trend-following direction indicator that removes noise through continuity of candle body and tail structure and momentum, reveals inverse correlations in upward and downward directions, and more intuitively identifies different trends that strengthen, persist and weaken.
■ Display Settings
Simple View: Enables a minimal visual mode using a global transparency value.
Simple View Transparency: Controls opacity when Simple View is active.
■ Theme Settings
Theme: Selects one of six predefined color themes (BASIC, CYBER_PINK, FUTURE_MINT, MODERN_MINIMAL, OCEAN_WAVE, GOLD_LUXURY).
Each theme automatically sets up-trend main/glow colors and down-trend main/glow colors.
■ Custom Color Settings
Use Custom Colors: Overrides theme colors with user-defined colors.
Down Main / Down Glow: Colors applied when open > close.
Up Main / Up Glow: Colors applied when close ≥ open.
■ Line Settings
Line Width: Thickness of the main trend lines.
Glow Width: Thickness of glow lines.
Main Line Transparency: Opacity for main lines.
Glow Transparency: Opacity for glow layers.
Fill Transparency: Opacity for the area-fill between open and close plots.
■ Heiken Ashi Calculation
The script uses TAExt.heiken_ashi to generate smoothed Heiken Ashi values with:
Pre-HA smoothing (length + selectable MA type),
Post-HA smoothing (length + selectable MA type),
resulting in cleaner, noise-reduced trend representation.
■ Trend Color Logic
The indicator determines trend direction as:
Down Trend: open > close → applies MAIN_UP / GLOW_UP colors.
Up Trend: close ≥ open → applies MAIN_DOWN / GLOW_DOWN colors.
Colors adapt automatically to theme, Simple View, or custom settings, with dynamic transparency adjustments.
■ Plotting Structure
The script plots four main components:
1. Main Trend Lines
Two primary lines (open and close HA values) using main_color and user-selected line width.
2. Area Fill
A fill between the open and close plots using fill_color, providing visual body thickness.
3. Glow Layer
Multiple glow lines around the HA structure (o and c) using glow_color and reduced opacity for a layered halo effect.
4. Simplified Mode Support
When Simple View is enabled, all colors dynamically shift to a unified transparency for a softer minimal look.
■ Core Behavior
The indicator does not generate signals or predictions; it purely visualizes trend conditions using smoothed Heiken Ashi values enriched by color styling, glow layers, and theme customization.
■ Purpose
Provide a visually enhanced smoothed trend indicator.
Improve trend recognition through glow effects and area fills.
Offer flexible visual themes and full customization.
Support clean minimal mode for distraction-free charting.
BTC m1 STRATEGY V1–V4Only BTC m1, simple trend analysis from a low timeframe, performs quite well in consolidations, has a low drawdown rate, and has a relatively high win rate. 4 versions:
V1 - basic version
V2 - basic version + holds profitable positions longer
V3 - aggressive version
V4 - aggressive version + holds profitable positions longer
KOSPI RS Rating (Korea)This indicator measures the relative strength of a stock compared to the KOSPI index.
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.
Altcoin HFT System [Beta]Core Logic: This indicator combines SMC order blocks with trend algorithms to capture high-frequency reversal points.
Features:
Auto Trend Identification (Triangle Signals)
High-Frequency Top/Bottom Detection
No repainting in confirmed mode
Usage:
Green ▲ / LONG: Potential Buy Zone
Red ▼ / SHORT: Potential Sell Zone
Note: This is a public beta version. For detailed tutorials or updates, please check the YouTube link in my profile signature.
Bob's Strategy Pro (Dynamic SL & TP)This code is for a technical analysis indicator called "SSL Strategy Pro (Dynamic SL & TP)". Its primary benefit is to provide traders with a comprehensive, all-in-one visual framework for market analysis and trade management directly on their charts.
Here are its key benefits:
For Market Analysis and Trend Identification:
It offers a clear, visual representation of market structure and the prevailing trend direction using intuitive colored bands.
A major long-term trend line helps you align your trades with the broader market direction, reducing the likelihood of trading against a strong trend.
For Trade Entry and Exit (Risk Management):
It provides specific visual entry signals, helping to identify potential trade initiation points with greater objectivity.
Its most significant advantage is a complete, built-in risk management system.
Dynamic Stop-Loss: It automatically calculates and visually plots a protective stop-loss that adapts to current market volatility. This helps protect profits during favorable moves and defines your initial risk per trade.
Multi-Tier Profit-Taking Framework: It visually plots up to four distinct profit target levels on the chart. These are calculated based on a customizable risk-to-reward ratio relative to your initial stop-loss, allowing you to plan partial profit-taking and manage trades in stages.
Progressive Target Display: To keep the chart uncluttered, the higher profit targets only appear on the chart once certain conditions are met, focusing your attention on the most relevant immediate levels.
Overall Practical Use:
Visual Clarity: By plotting all critical information (trend, signals, stop-loss, multiple targets) directly on the price chart, it consolidates analysis and planning into one view, reducing the need to switch between different tools.
Enhanced Discipline: It encourages systematic trading by pre-defining exit points for both loss protection and profit-taking before entering a trade.
Customizability: Users can adjust key parameters, such as the sensitivity of the trend channels and the aggressiveness of the stop-loss, to match different trading styles and market conditions.
In summary, this tool is designed to assist traders by visually clarifying trends, generating entry alerts, and—most importantly—integrating a dynamic and structured approach to stop-loss and take-profit management to help control risk and systematically capture profits.
Advanced Trend Break TargetsIntroduction
The Advanced Trend Break Targets (ATBT) is a semi-automated technical analysis system designed to validate trendline trading strategies with algorithmic precision. While standard trendlines are subjective drawings, the ATBT converts user-defined price structures into a mathematical model. It projects a trajectory based on two specific "Anchor Points" and monitors price action for valid breakouts, applying a strict "Confluence Filter" before generating signals or projecting targets.
Originality & Utility
Most trendline indicators rely on automatic detection, which often draws lines across irrelevant swing points. The ATBT respects the trader's discretion by allowing manual placement of the trendline (via timestamps) while automating the tedious tasks of monitoring for breaks, checking momentum conditions, and calculating Fibonacci risk-to-reward levels. This "Hybrid" approach combines human pattern recognition with machine discipline, ensuring trades are only signaled when specific quantitative conditions are met.
Detailed Methodology
1. The Advanced Projection Logic
The core of the script calculates a linear trajectory between two points in time (Start Date and End Date). Unlike standard drawings, this script calculates the exact slope (m) using the bar index difference
The script automatically detects the "Price Source" at your chosen timestamps. If a Pivot High exists at the start date, it defaults to a Resistance Line (Highs). If a Pivot Low exists, it defaults to a Support Line (Lows). This slope is then projected forward indefinitely:
2. The Confluence Filter (Multi-Condition Validation)
A raw price crossover is often a "fake-out." To combat this, the script includes a Mandatory Conditions engine. A breakout is only confirmed if the user-selected conditions are TRUE at the moment of the cross:
Volume Confirmation: Verifies if the breakout bar's volume is greater than its 20-period SMA.
CHOCH (Change of Character): Checks if the price has broken the most recent Swing High (for bullish setups) or Swing Low (for bearish setups) prior to the trendline break.
Swing Break: A strict check requiring the close to be beyond the last swing point.
Momentum (MACD & RSI): Ensures the MACD line is crossing the Signal line or that RSI is on the correct side of the 50 threshold.
Trend Filter (SMA): Verifies that price is above the 20 SMA (bullish) or below it (bearish).
3. Dynamic Target & Risk Calculation
Upon a validated breakout, the script scans the chart history for the most recent Pivot High or Low (within the lookback period) to define the "Structure Width" or Risk distance (D).
Stop Loss (SL): Placed at the recent Pivot Price.
Target 1: Projected at $1.0 \times D from the breakout point.
Target 2: Projected at $1.618 \times D (Golden Ratio).
Target 3: Projected at $2.618 \times D.
How to Use
1. Identify the Structure: visually identify a trendline on your chart (e.g., the upper resistance of a Wedge or Flag).
2. Set Anchors: Go to the script settings (Inputs tab) and enter the exact timestamp for Point 1 (Start of trendline) and Point 2 (End of trendline).
Tip: Ensure these dates align with the specific high/low candle you want to anchor to.
3. Configure Filters: Toggle the checkboxes in the "Mandatory Conditions" group.
Example: If you want to trade pure price action, enable "Require CHOCH" but leave "Require MACD" unchecked.
4. Interpret Signals:
Blue Labels (1 & 2): Indicate where the script has Advanced the trendline.
"Breakout" / "Breakdown" Label: Appears when price crosses the projected line AND all selected conditions are met.
Green/Red Dotted Lines: represent your Take Profit targets based on the structure width.
Inputs & Settings
TBT Group:
Start/End Date: The timestamps defining the line.
Pivot Left/Right: Controls the sensitivity of the pivot detection used for Stop Loss placement.
Extend Target Line: How far into the future the target lines are drawn.
Mandatory Conditions Group:
Require Volume / CHOCH / MACD / SMA / RSI: Individual toggles to build your specific trade strategy.
Thresholds: Adjust the lengths for SMA and RSI to match your preferred timeframe.
Example:
XAUUSD 4-hour timeframe
We had an uptrend. We added the indicator and set the point at the penultimate low (HL) and then the second point at the last low (HL), as shown in the following image.
You can choose the conditions you prefer to be met to trigger the breakout from the user settings.
Based on the conditions you set, if they are met, the indicator displays all the data, as seen in the following image. A stop-loss point was set, the breakout candle was identified, and the first target was set (you can choose to display the second and third targets from the user settings, noting that they are less likely to be achieved).
As we can see in the last image, the price reached the first target, then continued its path and achieved the second target as well. Afterward, it shifted to a short sideways trend and then reversed.
TBT vs. ATBT: Key Technical & Functional Enhancements
The ATBT (Advanced Trend Break Target) script introduces significant upgrades over the Free TBT, transforming it from a pure geometric breakout tool into a comprehensive strategy scanner with multi-factor confluence capabilities. Below are the primary differences:
1. Integration of Confluence Filters ("Mandatory Conditions")
The most substantial change is the addition of a robust filtering engine. While TBT relied solely on price crossing the trendline to trigger a signal, ATBT introduces a "Mandatory Conditions" input group. Traders can now require specific criteria to be met before a breakout is validated:
Volume Confirmation: Requires volume to exceed its SMA.
Market Structure (CHOCH): Can require a Change of Character to have occurred prior to the entry.
Momentum & Trend Filters: Options to enforce confirmation from MACD (crossovers), RSI (thresholds), and SMA (price location relative to the moving average).
2. Automated Risk Management (Stop-Loss)
ATBT adds a built-in Stop-Loss mechanism, addressing a missing feature in TBT.
TBT: Only projected Profit Targets (T1, T2, T3).
ATBT: Automatically calculates and plots a Stop-Loss (SL) level based on the pivot price used for the setup. This provides an immediate Risk/Reward visualization upon signal generation.
3. Smart Source Detection
ATBT improves user experience with an automation feature regarding the "Price Source" (High vs. Low).
TBT: The user must manually select whether they are anchoring to "High" or "Low" via the settings.
ATBT: The script attempts to automatically detect the correct source at the "Start Date" by checking if a pivot high or low exists at that timestamp, reducing manual configuration errors.
4. Enhanced Visuals & Swing Point Tracking
Visual clarity has been upgraded in the new version.
Swing Points: ATBT includes a `showSwingPoints` toggle that plots visual markers (circles) on Swing Highs and Swing Lows, helping traders visualize the market structure used for CHOCH and pivot calculations , Helping the trader identify the locations of the first and second points .
Signal State Tracking: ATBT uses "latched" logic (e.g., `chochMet`, `swingBrkMet`) to track if conditions were met anytime between Point 2 and the breakout, whereas TBT treated CHOCH largely as a separate visual component unrelated to the main trigger.
5. Refined Signal Logic
TBT: Triggers immediately upon a close across the trendline.
ATBT: Triggers only if the trendline cross occurs AND all enabled "Mandatory Conditions" return true. This significantly reduces noise by filtering out low-quality breakouts that lack structural or momentum support
Disclaimer
This script is a tool for visualizing market structure and calculating potential geometries. It does not guarantee future performance. Breakouts can fail, and "Mandatory Conditions" are lagging indicators that confirm past data. Always manage risk responsibly.
BEGGALKey Features and Concepts
1. Order Block (OB) Identification (Pivots)
The core of the indicator relies on Pivot Point detection (ta.pivothigh/ta.pivotlow) over a specified Pivot Length (e.g., 5 bars).
Bullish OB (Demand Zone): Identified at a valid low pivot point, with the zone boundary defined between the pivot low (low ) and the open/close average (hl2 ) of the pivot bar.
Bearish OB (Supply Zone): Identified at a valid high pivot point, with the zone boundary defined between the pivot high (high ) and the open/close average (hl2 ) of the pivot bar.
2. Advanced Strength Filters (Momentum & Volume)
The indicator applies strict filters to ensure only powerful, high-quality zones are drawn:
Momentum (ATR) Filter: Checks if the candle that created the OB has a range (high - low) greater than the Average True Range (ATR) multiplied by the Momentum Threshold. This filters for impulsive, strong candles.
Volume Imbalance Filter (SMC Confirmation): If enabled, it requires the volume of the OB-creating candle to be higher than the volume of candles surrounding it (checked over the Volume Imbalance Lookback period). This confirms institutional activity in the zone creation.
Structure Break Filter (BOS/CHoCH): If enabled, the OB is only considered valid if it is created after a Break of Structure (BOS) or Change of Character (CHoCH). This validates the zone according to market structure rules (e.g., a Bearish OB must be preceded by a break of a significant swing low).
3. Dynamic Zone Management
Zone Narrowing (enable_narrowing): This feature dynamically adjusts the boundaries of an Order Block after it has been touched. If a candle wick tests the zone without fully mitigating it, the zone boundary is moved inward to the point where the test occurred, narrowing the zone and making it a more precise entry point (Dynamic OB concept).
Mitigation/Removal: Once price action (either the candle's wick or close, based on the Mitigation Method setting) breaches the outermost boundary of the zone, the Order Block is considered mitigated (broken) and is removed from the chart to clear clutter.
4. Risk Categorization
The indicator tracks and draws up to a user-defined number of OBs (Bullish/Bearish OB Count). These are categorized by their index:
Index 0 (Closest): Categorized as High Risk Zone.
Index 1: Categorized as Medium Risk Zone.
Index 2 and beyond: Categorized as Low Risk Zone. The user can toggle the visibility for each of these risk categories.
5. Integrated Risk/Reward (RR) Setup
For the High Risk Zone (Index 0), once the zone is touched, the indicator displays a complete trade setup:
Entry: Assumed at the Average Price of the Order Block.
Stop Loss (SL): Placed at the protective boundary of the OB (the top for a Sell Zone, the bottom for a Buy Zone). The risk area is colored with the RR Risk Zone Background.
Take Profit (TP): Calculated based on the user-defined Risk/Reward Ratio (e.g., 2.0 for 1:2 RR). The reward area is colored with the RR Reward Zone Background.
The RR boxes and price labels (TP/SL) are drawn with a configurable RR Box Width (Bars).
6. Alerts
The indicator includes built-in Pine Script alerts that trigger when the price enters an unmitigated zone, notifying the user of the Risk Level (High, Medium, or Low), the zone's boundaries, and the price.
Volume Profile Right📌 The Volume Profile Lite visualizes buy and sell volume by price range within a selected period, displayed as horizontal bars on the right side of the chart. This allows traders to understand the distribution of trading volume and the intensity of participation.
■ Calculation Logic
1. Price Binning System
The indicator divides the highest-to-lowest price range into user-defined boxes, detects candle volume entering each range, and allocates it based on buy/sell conditions.
2. Distinct Buy/Sell Volume Separation
Buy Volume = close ≥ open, Sell Volume = close < open, allowing each price range to independently accumulate buy and sell volume.
3. Dual-Side Volume Profile Construction
Each range compares its volume to the global max, then calculates:
buyBoxWidth = (buyVol / maxVol) * profileWidth,
sellBoxWidth = (sellVol / maxVol) * profileWidth,
creating a balanced left-side buy profile and right-side sell profile.
4. Text-Enhanced Visual Boxes
Each range displays background color, border, average price, K-scaled volume text, adjustable transparency, and alignment for more intuitive volume distribution analysis.
■ User Inputs (Accurate, Non-Exaggerated Descriptions)
Analysis Period (lookback): Controls how many historical bars are analyzed.
Number of Price Ranges (boxes): Defines how finely the price span is segmented.
Profile Width: Sets maximum horizontal width of the profile.
Box Height: Adjusts the vertical thickness of each volume box.
Font Size: Controls text size for displayed volumes.
Transparency: Adjusts box background opacity.
Buy/Sell Color Groups: Sets background and border colors for buy and sell boxes.
Background Color Settings: Adjusts global chart background and profile readability.
■ Repaint Behavior
The indicator analyzes only completed bars within the lookback period, uses no future data, and does not modify historical values; therefore, it does not repaint.
Real-time updates occur only because calculations execute on the latest bar via barstate.islast, which is normal behavior.
■ Purpose
Designed to reveal relative buy/sell volume distribution by price, highlight zones of concentrated participation, detect volume imbalances, and provide structural context for potential support/resistance—not to predict price or generate signals.
■ Notes
Box width reflects relative—not absolute—volume; buy/sell classification uses open/close comparison and may not perfectly represent order-flow nature; best used alongside other tools for complete analysis.
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.
Market Profile with TPO - chorseThis Pine Script indicator draws a Market Profile (also known as a Time Price Opportunity, or TPO, chart) directly onto your candlestick chart. It is an advanced analytical tool used primarily by futures and commodities traders to understand market structure and who is in control (buyers or sellers) at various price levels.
The Market Profile is built over a specific trading session (which you can customize) and visually organizes price data to show where the market spent the most time at a particular price.
TPO (Time Price Opportunity)
The basic building block. Each letter (A, B, C, etc.) represents a specific, equal block of time (e.g., 30 minutes) during the session. The profile is formed by stacking these letters horizontally across the price axis, showing all the price levels traded during that time block. The script plots TPO letters (TPO_Names array) at the bar index corresponding to when that price was traded. This creates the typical profile shape.
Point of Control (POC)
The single price level that has the most TPOs (the longest horizontal row of letters). It represents the level where the market spent the most time and is considered the fairest price or gravitational center for the session.
Calculated by finding the price level (TPO_POC) with the maximum number of TPOs (max_TPOs). The script includes logic to break ties by choosing the POC closest to the session's midpoint (TPO_mid). This level is highlighted with a box and a line.
Value Area (VA)
The price range that contains a configurable percentage of the total TPOs (typically 68.26% or 70%). This zone is considered the "fair value" range where the majority of the session's activity occurred. Calculated as the range between the Value Area High (VAH) and Value Area Low (VAL). The script uses an iterative function (fn_build_VA) to expand out from the POC until the defined percentage (value_area_pct) of TPOs is included. These boundaries are highlighted with lines.
Price Levels ConstructorHello friends,
This is a multi-period OHLC level mapping tool that lets you build your own higher-timeframe levels directly on the chart - across up to 20 customizable period slots.
You choose which periods matter (Year, Half-Year, Quarter, Month, Week, Day, weekdays, etc.), how recent they should be, and which levels to show (Open/High/Mid/Low/Close).
The script then renders those levels with automatic stacking and clear label formatting, giving you a compact higher-timeframe map for intraday and swing trading.
🛠️ How It Works
Each selected period slot creates a period model with its own OHLC+Mid data.
For each active level type, the script draws the price level, tracks the correct H/L/C timestamps when needed, and generates a label consisting of:
The selected recency (Current, Previous, 2nd Previous, …)
The period name (e.g., Month, Q1, Monday)
The level type (O/H/Mid/L/C)
All levels are fed into a registry that merges levels at identical prices, stacks their labels vertically or horizontally, and displays only one rendered line per price with combined label text.
This produces clean clusters when multiple periods share the same level.
Global settings control left/right extensions, label compactness, label content (name, price, % distance), and stacking direction.
🔥 Key Features
20 period slots
Ability to specify period (31 options, from Year to various weekdays)
Ability to specify recency for each selected period (13 options)
5 levels (Open, High, Mid, Low, Close) for each selected period
Stacking of labels of matching levels
% from All-Time High (ATH)
% from All-Time Low (ATL)
Alerts
📸 Visual Examples
The percentages in the level labels make it easy to see the current performance relative to that level
Labels with full level names
Compact labels with vertical stacking
Compact labels with horizontal stacking
👋 Good luck and happy trading!
Script payant
Trading Sessions High/Low Zones The BestHiển thị toàn bộ session zone, có tùy chọn các ngày cần hiển thị gần nhất.
Hỗ trợ tốt hơn :)
S/R Cloud 3X - [IndaroX]
S/R Cloud 3X — Dynamic Support/Resistance & Trend Structure Indicator
S/R Cloud 3X is a multi-timeframe support/resistance and trend-structure indicator designed to help traders identify high-probability zones, trend strength, and market transitions with clarity and accuracy.
🟦 Overview
S/R Cloud 3X detects dynamic support/resistance zones and trend direction, using a 3-layer cloud system that filters noise and provides reliable market structure across multiple timeframes.
Dynamic S/R zones represent institutional liquidity areas and moving supply/demand regions where price often reacts — making them ideal for entries, exits, SL/TP placement, and trend continuation setups.
🟦 Key Features
1. Dynamic Support/Resistance Zones
Zones automatically adjust with market movement
Provide reliable pullback areas
Useful for precision SL/TP placement
Work efficiently during both strong trends and corrections
2. Trend Identification
The Cloud colors and geometry help determine:
Bullish vs. bearish structure
Trend strength or weakness
Whether the market is trending or ranging
Trending Market:
Uptrend → Higher Highs (HH) / Higher Lows (HL)
Downtrend → Lower Highs (LH) / Lower Lows (LL)
Sideways Market:
No clear HH/HL or LH/LL
Price oscillates between dynamic S/R bands
3. Multi-Timeframe (MTF) Structure Filtering
S/R Cloud 3X calculates structure from higher timeframes (e.g., M5, H1) and displays smoothed results on the active chart.
Benefits:
Removes most of the noise found in lower timeframes
Improves trend clarity
Increases reliability of S/R zones
Mirrors professional multi-timeframe analysis
4. Cloud Geometry Analysis
The shape and thickness of the S/R Clouds provide insight into market conditions:
Thick Cloud → strong trend / strong S/R zone
Thin Cloud → weakening trend or weakening zone
Cloud curvature → early warning of pullback or reversal
This helps forecast transitions sooner than traditional indicators.
5. Presets & Flexibility
S/R Cloud 3X includes optimized presets and adjustable parameters suitable for multiple markets:
Gold (XAUUSD)
Bitcoin (BTCUSD)
Major Forex pairs
Indices such as SP500
Customizable settings allow adaptation to various trading styles (scalping, intraday, swing).
🟦 How Traders Use S/R Cloud 3X
Identify trend direction and trend strength
Wait for price to retrace into the S/R Cloud for entry
Use Cloud boundaries for SL/TP
Confirm structure alignment between small and large timeframes
Filter out low-quality market conditions
Note:
For enhanced accuracy, S/R Cloud 3X can be combined with momentum or reversal indicators for additional confluence.
VLUE vs MTUM Rotation IndicatorBlue histograms = money flowing into value stocks
Green histograms = money flowing into momentum stocks
Labels = when histograms flip from money flowing into one or the other.






















