White Crow**White Crow — cluster reversal signals + market structure**
> Indicator that helps you read market structure (pivots, trend, last extremes) and spot potential reversals through CCI/RSI signal clusters. This is *not* a standalone trading system and does not guarantee any result — it is a tool for filtering and confirming your own market ideas.
---
## 1. Concept
White Crow combines three core blocks:
1. **Pivots & market structure**
Automatically detects **local tops/bottoms** and derives a *Bullish / Bearish / Sideways* bias from them.
In the top-right corner you see a compact panel with current trend and **Last Bottom / Last Top** prices.
2. **Momentum & overbought/oversold zones**
Inside, the indicator uses:
* **CCI** with fixed levels `+100 / -100`;
* an optional **RSI filter** with overbought/oversold levels (`80 / 20`).
These generate basic *Buy / Close* signals.
3. **Cluster signals Buy X / CloseV**
The script tracks **clusters of signals inside a 4-bar window** and highlights rarer, “amplified” events:
* **Buy X** — cluster buy signal (multiple buy conditions in a row);
* **CloseV** — cluster signal for exit/reversal.
**Buy X and CloseV are the strongest and most reliable signals in this indicator** because they are based on repeated conditions rather than a single bar. They work **best on higher timeframes (1H–4H)**, where they reflect meaningful shifts in order flow instead of noise.
> ⚠️ Important: Buy X and CloseV are *only signals*. They must be used as **one of several confirmation factors** for your own view of market structure (support/resistance, trend, price action, volume, etc.), not as standalone reasons to enter or exit trades.
---
## 2. How it works
### 2.1. Pivots and trend detection
* The indicator builds a **zigzag-like structure**:
after a local high, once price retraces down by a given percentage (`pivotSigma`), a **Top** is marked;
after a local low, once price retraces up by the same percentage, a **Bottom** is marked.
* Using the sequence of recent tops and bottoms, the script determines the trend:
* *Bullish* — the last low is higher than the previous one (HL);
* *Bearish* — the last high is lower than the previous one (LH);
* otherwise — *Sideways*.
* The info table shows:
* **Market Trend** — Bullish / Bearish / Sideways;
* **Last Bottom / Last Top** with adaptive decimal precision (works for crypto, FX, stocks, etc.).
### 2.2. Base Buy / Close signals
* **Long condition (Buy):**
* `CCI < -100` (oversold),
* if RSI filter is enabled — `RSI < 20`.
* **Short/Exit condition (Close):**
* `CCI > +100` (overbought),
* if RSI filter is enabled — `RSI > 80`.
These conditions generate the regular **Buy** and **Close** labels on the chart.
### 2.3. Clusters: Buy X and CloseV
To reduce noise, the indicator evaluates not only the current bar, but also the **last 4 bars**:
* `buy_count` — how many times the long condition was true within the last 4 bars;
* `sell_count` — how many times the short condition was true within the last 4 bars.
Then:
* **Buy X** appears when:
* `buy_count ≥ 2` (conditions for Buy were met on at least 2 of the last 4 bars),
* the time filter between two Buy X signals is satisfied (`Min Bars Between Signals`).
* **CloseV** appears when:
* `sell_count ≥ 2`,
* the required number of bars has passed since the previous CloseV.
> ✅ This is why **Buy X / CloseV are stronger and more trustworthy than single Buy/Close signals**, especially on **1H–4H** timeframes: the market confirms the same overbought/oversold condition several times in a row.
### 2.4. Order Blocks
* When `Show Order Blocks` is enabled, the indicator highlights **impulsive candles** whose body exceeds a threshold based on ATR.
* Colored rectangles mark **potential order blocks** (areas where strong buying or selling previously occurred).
## 3. Inputs and customization
Inputs are grouped in TradingView-friendly categories.
### 3.1. Pivot Settings
* `Show Pivots` — enable/disable **Top / Bottom** markers.
* `Sigma (% retracement)` — pivot sensitivity (minimum retracement in % required to confirm a pivot).
* Colors for Top/Bottom — for visual tuning.
**Tip:**
On H1–H4 you can keep near-default values.
On lower timeframes, reduce `Sigma` if you want more detailed local structure.
### 3.2. CCI / RSI Settings
* `CCI Period` — CCI length (short by default for faster reaction).
* `Enable RSI Filter` / `RSI Period` — toggle and length for RSI filter.
* RSI levels are fixed at **20 / 80** to mark strong oversold/overbought zones.
**Usage:**
* For more conservative entries — keep the RSI filter enabled.
* For more frequent signals (e.g. scalping) — you can disable the RSI filter.
### 3.3. Order Blocks
* `Show Order Blocks` — display order block zones.
* `Block Threshold (ATR multiplier)` — how large a candle must be (vs ATR) to be considered significant.
### 3.4. Signals & Filters
* `Show Buy / Show Buy X / Show Close / Show CloseV` — choose which labels you want to see.
* `Enable Time Filter` — enable minimum spacing between amplified signals.
* `Min Bars Between Signals` — how many bars must pass between two Buy X or two CloseV signals.
**Tip:**
If you see too many amplified signals, increase `Min Bars Between Signals`.
If you want more activity, decrease it.
### 3.5. Alerts
* `Buy Alerts / Buy X Alerts / Close Alerts / CloseV Alerts` — choose which signal types should trigger alerts.
* `One Alert Per Bar` — when enabled, alerts are triggered only once per bar (recommended for H1–H4).
Alerts are generated via `alert()`, with messages that include signal type, ticker, timeframe and current price.
---
## 4. How to trade with White Crow
### 4.1. Recommended timeframes
* 📌 **Main focus: 1H–4H.**
On these timeframes:
* pivots and trend are more stable;
* CCI/RSI reflect meaningful swings;
* **Buy X / CloseV clusters** filter out a lot of intrabar noise.
You can still experiment on M1–M15, but expect more signals and more sensitivity to noise.
### 4.2. Reading the signals step by step
1. **Start with context**
* Look at **Market Trend / Last Bottom / Last Top** in the info panel.
* See where price is relative to these points: near resistance, near support, inside a range, etc.
2. **Identify zones of interest**
* Use pivots and order blocks as potential support/resistance areas.
* Wait for price to approach these zones.
3. **Watch the signals**
* **Buy** — early sign of local oversold conditions.
* **Buy X** — amplified cluster signal; more weight than a single Buy.
* **Close** — early warning of potential exhaustion in the current move.
* **CloseV** — amplified cluster exit/reversal signal.
4. **Practical approach**
* In a *Bullish* trend:
* focus on **Buy / Buy X** near bottoms and demand blocks;
* use **Close / CloseV** for partial profit-taking or tightening stops.
* In a *Bearish* trend:
* focus on **Close / CloseV** near tops and supply blocks;
* use **Buy / Buy X** mainly for countertrend scalps with strict risk control.
---
## 5. Important notes and disclaimer
1. **Buy X / CloseV are stronger — but not “magic” signals.**
They are statistically more meaningful than single Buy/Close signals because:
* they require multiple confirmations within a cluster;
* they are time-filtered.
However, **false signals are still possible**, especially in news spikes and low-liquidity conditions.
2. **Best performance on higher timeframes (1H–4H).**
Here, Buy X and CloseV usually reflect genuine shifts in supply/demand rather than micro noise.
3. **This is a confirmation tool, not a complete system.**
Pro Trading White Crow:
* does not manage risk;
* does not define position size or stop-loss;
* does not replace your own analysis.
Always use its signals as **one of several confluence factors** together with structure, trend, price action, volume, and your trading plan.
4. **Educational purpose only.**
This script and description are for educational and analytical purposes only.
They **do not constitute investment advice or a guarantee of profit**.
You are fully responsible for all trading decisions and risk management.
---
---
## White Crow — кластерные сигналы разворота + структура рынка
> Индикатор помогает читать рыночную структуру (пивоты, тренд, последние экстремумы) и находить потенциальные развороты через кластеры сигналов CCI/RSI. Это *не* готовая торговая система и *не* гарантия результата — а инструмент для фильтрации и подтверждения ваших собственных идей по рынку.
---
## 1. Концепция
White Crow объединяет три ключевых блока:
1. **Пивоты и структура рынка**
Автоматически находит **локальные вершины и впадины** и на их основе формирует трендовое смещение: *Bullish / Bearish / Sideways*.
В правом верхнем углу — компактная панель с текущим трендом и ценами **Last Bottom / Last Top**.
2. **Моментум и зоны перегрева**
Внутри используются:
* **CCI** с фиксированными уровнями `+100 / -100`;
* опциональный **фильтр RSI** с уровнями перепроданности/перекупленности (`20 / 80`).
По ним строятся базовые сигналы *Buy / Close*.
3. **Кластерные сигналы Buy X / CloseV**
Скрипт отслеживает **кластеры сигналов внутри окна в 4 бара** и выделяет более редкие, «усиленные» события:
* **Buy X** — кластерный сигнал покупки (несколько buy-условий подряд);
* **CloseV** — кластерный сигнал выхода/разворота.
Именно **Buy X и CloseV являются наиболее сильными и достоверными сигналами индикатора**, так как возникают при повторяющемся выполнении условий, а не на одном баре. Лучше всего они работают **на старших таймфреймах (1–4 часа)**, где отражают реальное смещение баланса спроса/предложения, а не рыночный шум.
> ⚠️ Важно: Buy X и CloseV — *это всего лишь сигналы*. Они должны использоваться **как один из факторов подтверждения** вашего видения структуры рынка (уровни, тренд, price action, объём и т.д.), а не как единственная причина для входа или выхода.
---
## 2. Как это работает
### 2.1. Пивоты и определение тренда
* Индикатор строит **структуру в стиле зигзага**:
после локального максимума, когда цена откатывает вниз на заданный процент (`pivotSigma`), отмечается **Top**;
после локального минимума, когда цена откатывает вверх на тот же процент, отмечается **Bottom**.
* По последовательности последних вершин и впадин определяется тренд:
* *Bullish* — последний минимум выше предыдущего (HL);
* *Bearish* — последний максимум ниже предыдущего (LH);
* иначе — *Sideways*.
* В информационной таблице отображаются:
* **Market Trend** — Bullish / Bearish / Sideways;
* **Last Bottom / Last Top** с адаптивным количеством знаков (подходит под крипту, форекс, акции и т.д.).
### 2.2. Базовые сигналы Buy / Close
* **Условие для Buy (лонг):**
* `CCI < -100` (зона перепроданности),
* при включённом фильтре — `RSI < 20`.
* **Условие для Close (шорт/выход):**
* `CCI > +100` (зона перекупленности),
* при включённом фильтре — `RSI > 80`.
По этим условиям индикатор рисует обычные метки **Buy** и **Close**.
### 2.3. Кластеры: Buy X и CloseV
Чтобы отсеять лишний шум, индикатор оценивает не только текущий бар, но и **4 последних бара**:
* `buy_count` — сколько раз условие на покупку выполнялось за последние 4 бара;
* `sell_count` — сколько раз условие на продажу/выход выполнялось за последние 4 бара.
Далее:
* **Buy X** появляется, когда:
* `buy_count ≥ 2` (минимум на 2 из 4 баров были условия для покупки),
* соблюдён фильтр по времени между усиленными сигналами (`Min Bars Between Signals`).
* **CloseV** появляется, когда:
* `sell_count ≥ 2`,
* прошло достаточно баров с момента предыдущего CloseV.
> ✅ Поэтому **Buy X и CloseV заметно сильнее и надёжнее одиночных Buy/Close**, особенно на **таймфреймах 1–4 часа**: рынок несколько раз подряд подтверждает один и тот же перегрев/разрядку момента.
### 2.4. Order Blocks
* При включённом `Show Order Blocks` индикатор выделяет **импульсные свечи**, чьё тело больше заданного множителя ATR.
* По таким свечам строятся цветные прямоугольники — **потенциальные блоки ордеров** (области поддержек/сопротивлений, где ранее проходил крупный объём).
---
## 3. Настройки и кастомизация
Настройки сгруппированы в привычные разделы TradingView.
### 3.1. Pivot Settings
* `Show Pivots` — включить/выключить метки **Top / Bottom**.
* `Sigma (% retracement)` — чувствительность к пивотам (минимальная глубина отката в процентах).
* Цвета Top/Bottom — визуальная настройка.
**Совет:**
На H1–H4 можно оставить значения близкие к стандартным.
На младших ТФ уменьшайте `Sigma`, если нужна более детальная структура.
### 3.2. CCI / RSI Settings
* `CCI Period` — период CCI (по умолчанию короткий, для более быстрой реакции).
* `Enable RSI Filter` / `RSI Period` — включение и длина RSI-фильтра.
* Уровни RSI фиксированы: **20 / 80**, выделяя сильную перепроданность/перекупленность.
**Использование:**
* Для более консервативной торговли — держите фильтр RSI включённым.
* Для более частых сигналов (скальпинг и т.п.) — можно фильтр отключить.
### 3.3. Order Blocks
* `Show Order Blocks` — отображение блоков ордеров.
* `Block Threshold (ATR multiplier)` — насколько большой должна быть свеча относительно ATR, чтобы считаться значимой.
### 3.4. Signals & Filters
* `Show Buy / Show Buy X / Show Close / Show CloseV` — выбор типов отображаемых меток.
* `Enable Time Filter` — включение минимального интервала между усиленными сигналами.
* `Min Bars Between Signals` — сколько баров должно пройти между двумя Buy X или двумя CloseV.
**Совет:**
Если усиленных сигналов слишком много — увеличьте `Min Bars Between Signals`.
Если хотите больше активности — уменьшите это значение.
### 3.5. Alerts
* `Buy Alerts / Buy X Alerts / Close Alerts / CloseV Alerts` — выбор типов сигналов для алертов.
* `One Alert Per Bar` — при включении алерты отправляются один раз на бар (рекомендуется для H1–H4).
Алерты формируются через `alert()` с сообщением, включающим тип сигнала, тикер, таймфрейм и текущую цену.
---
## 4. Как использовать White Crow в торговле
### 4.1. Рекомендуемые таймфреймы
* 📌 **Основной фокус: 1–4 часа.**
На этих ТФ:
* структура по пивотам и тренд более стабильны;
* CCI/RSI отражают существенные ценовые колебания;
* кластеры **Buy X / CloseV** лучше отсеивают шум.
На M1–M15 индикатор тоже можно применять, но нужно быть готовым к большему количеству сигналов и чувствительности к микродвижениям.
### 4.2. Пошаговое чтение сигналов
1. **Начните с контекста**
* Посмотрите на **Market Trend / Last Bottom / Last Top** в панели.
* Определите, где находитесь относительно этих уровней: у сопротивления, у поддержки, внутри диапазона и т.п.
2. **Найдите зоны интереса**
* Используйте пивоты и order blocks как потенциальные области спроса/предложения.
* Ждите подхода цены к этим зонам.
3. **Отслеживайте сигналы**
* **Buy** — ранний признак локальной перепроданности.
* **Buy X** — усиленный кластерный сигнал, более значимый, чем одиночный Buy.
* **Close** — ранний сигнал возможного ослабления текущего движения.
* **CloseV** — усиленный кластерный сигнал выхода/разворота.
4. **Практическое применение**
* В *бычьем* тренде:
* фокус на **Buy / Buy X** возле впадин и зон спроса;
* **Close / CloseV** использовать для частичной фиксации и подтягивания стопа.
* В *медвежьем* тренде:
* фокус на **Close / CloseV** возле вершин и зон предложения;
* **Buy / Buy X** — для аккуратных контртрендовых входов с жестким риском.
---
## 5. Важные замечания и дисклеймер
1. **Buy X / CloseV сильнее, но не «волшебные» сигналы.**
Они статистически более значимы, чем одиночные Buy/Close, потому что:
* требуют нескольких подтверждений в кластере;
* фильтруются по времени.
Однако **ложные срабатывания всё равно возможны**, особенно на новостях и в условиях низкой ликвидности.
2. **Оптимальная область применения — старшие ТФ (1–4 часа).**
Здесь Buy X и CloseV обычно отражают реальное изменение баланса спроса/предложения, а не шум.
3. **Это инструмент подтверждения, а не полноценная система.**
Pro Trading White Crow:
* не управляет рисками;
* не считает размер позиции и уровень стоп-лосса;
* не заменяет ваше собственное видение рынка.
Всегда используйте его сигналы **как один из факторов согласованности** вместе со структурой, трендом, price action, объёмом и персональным торговым планом.
4. **Образовательный характер.**
Скрипт и описание предназначены для обучения и анализа графиков.
Они **не являются инвестиционной рекомендацией и не гарантируют прибыль**.
Вы самостоятельно принимаете все торговые решения и несёте полную ответственность за риск.
---
אינדיקטורים ואסטרטגיות
Viking Wheel Signals — CSP & CC (BB + RSI Confluence)This indicator highlights moments when Bollinger Bands expand while RSI confirms exhaustion, creating high-probability inflection points for Wheel Strategy entries.
When price tags the lower Bollinger Band while RSI is oversold, it often signals ideal zones for selling Cash-Secured Puts (CSPs). When price tags the upper Bollinger Band with RSI overbought, it helps time Covered Calls (CCs) or anticipate when shares may be called away.
Built specifically for the Wheel Strategy (CSP + CC), this tool maps volatility contractions, expansions, and trend shifts. For best results, use on the Daily chart and combine these signals with your own key support/resistance levels to fine-tune strike selection.
Tags: volatility, bollinger bands, rsi, options trading, wheel strategy, confluence, trend analysis
Daily Fib Levels Clean (Retrace + Extension)This indicator automatically detects the latest Daily Swing High and Swing Low and plots clean Fibonacci retracement levels based on those swings.
Even if you switch to 4H, 1H, 15m, or 5m, the levels remain locked to the Daily timeframe, giving you consistent higher-timeframe structure on any chart.
ASR / ADR by Vanya_zvwey
🇺🇦 Детальний Опис та Інструкція Користувача Індикатора ASR/ADR Grid
Цей індикатор є інструментом для візуалізації волатильності, який використовує історичні дані для прогнозування потенційних цінових рівнів розширення та корекції. Він будує сітки на основі середнього діапазону сесії (ASR) та середнього денного діапазону (ADR).
🔑 Ключові Концепції
ASR (Average Session Range): Середній діапазон High-Low, який зазвичай досягається протягом обраної торгової сесії (Азія, Лондон, Нью-Йорк) за останні N днів.
ADR (Average Daily Range): Середній діапазон High-Low, досягнутий протягом цілого 24-годинного торгового дня за останні N днів.
Синхронізація Часового Поясу: На відміну від багатьох індикаторів, цей індикатор залежить від введеного саме вами Session Timezone. Він гарантує, що ваші сесії та денні відкриття розраховуються правильно, незалежно від часового поясу вашого графіку.
⚙️ Посібник із Налаштування (Вхідні Параметри)
Налаштування згруповані для зручності:
1. General Settings (Загальні Налаштування)
Session Timezone: Виберіть часовий пояс, який використовуватиметься як єдиний орієнтир для всіх часів Start/End. Це може бути "UTC+2", "America/New_York" тощо.
Lookback Period (Days): Кількість днів, що використовується для обчислення середнього значення ASR та ADR.
Grid Direction:
"Up": Сітки будуються від поточного Low сесії/дня і розширюються вгору.
"Down": Сітки будуються від поточного High сесії/дня і розширюються вниз.
Grid Step %: Крок для внутрішніх ліній сітки (наприклад, 25% дасть лінії 25%, 50%, 75%).
2. Session Settings (Asia, London, New York)
Show : Увімкнення/вимкнення відображення сітки для конкретної сесії.
Start Time (HH:MM) / End Time (HH:MM): Час початку та кінця сесії, який відповідає вибраному вами Session Timezone.
3. ADR (Daily) Grid (Сітка Денного Діапазону)
Show ADR Grid: Увімкнення/вимкнення сітки, що охоплює весь день.
ADR Anchor: Визначає, від якої ціни починається відлік ADR (0%):
"Day Open": Як якір використовується ціна відкриття дня (00:00 у вашому часовому поясі).
"Day Low/High": Як якір використовується поточний денний екстремум (Low, якщо напрямок "Up", або High, якщо напрямок "Down").
📈 Використання та Інтерпретація
Сітка складається з рівнів від 0% до 100%, які візуалізують, наскільки далеко ціна просунулася щодо середнього історичного діапазону.
Структура Сітки
0% Рівень (Границя): Це якірна точка (High або Low) поточної сесії/дня, з якої починається розрахунок. Лінія суцільна.
100% Рівень (Границя): Це ціновий рівень, що дорівнює 0% Якір + ASR/ADR. Це статистично очікуваний максимальний рух. Лінія суцільна.
Внутрішні Рівні (Grid Step): Пунктирні лінії (25%, 50%, 75% тощо), які показують проміжні цілі або зони корекції.
Торгова Інтерпретація
Рух до 50%: Ціна досягла половини середнього діапазону.
Досягнення 100%: Ціна досягла "середнього" діапазону волатильності. Це часто служить хорошою ціллю для фіксації прибутку або точкою, де можна очікувати корекції/розвороту, оскільки рух вже відповідає історичним нормам.
Рух за межі 100% (Екстремум): Рух, що перевищує 100% ASR/ADR, вважається нетипово сильним або екстремальним.
🇬🇧 Detailed Description and User Guide for the ASR/ADR Grid Indicator
This indicator is a robust volatility visualization tool designed to project potential price extension and retracement levels based on historical data. It constructs price grids using the Average Session Range (ASR) and the Average Daily Range (ADR).
🔑 Key Concepts
ASR (Average Session Range): The average High-to-Low range typically achieved during a selected trading session (Asia, London, New York) over the last N days
ADR (Average Daily Range): The average High-to-Low range achieved during the entire 24-hour trading day over the last N days.
Timezone Synchronization: This is critical. The indicator relies on a single Session Timezone input to correctly calculate all session start/end times and daily opens, ensuring accuracy regardless of your charting platform's native exchange time.
⚙️ Setup Guide (Input Parameters)
The settings are organized into logical groups:
1. General Settings
Session Timezone: Select the timezone that will serve as the single reference point for all Start/End times below (e.g., "UTC+2", "America/New_York").
Lookback Period (Days): The number of preceding days used to compute the average ASR and ADR values.
Grid Direction:
"Up": The grids are anchored at the current session/day's Low and extend upwards.
"Down": The grids are anchored at the current session/day's High and extend downwards.
Grid Step %: The percentage increment for the inner grid lines (e.g., 25% will plot lines at 25%, 50%, 75%).
2. Session Settings (Asia, London, New York)
Show : Toggles the visibility of the grid for that specific session.
Start Time (HH:MM) / End Time (HH:MM): The start and end times for the session, which must correspond to your chosen Session Timezone. The script supports overnight sessions (e.g., starting at 22:00 and ending at 02:00 the next day).
3. ADR (Daily) Grid
Show ADR Grid: Toggles the visibility of the grid covering the entire trading day.
ADR Anchor: Determines the price point from which the ADR (0%) is measured:
"Day Open": The anchor is the day's opening price (at 00:00 in your chosen timezone).
"Day Low/High": The anchor is the current day's extreme (Low if Direction is "Up", or High if Direction is "Down").
📈 Usage and Interpretation
The grid levels, ranging from 0% to 100%, visualize how far the price has traveled relative to the average historical volatility for that specific period.
Grid Structure
0% Level (Border): This is the anchor point (High or Low) of the current session/day, serving as the starting reference for the calculation. This line is solid.
100% Level (Border): This is the price level equal to the 0% Anchor + ASR/ADR. It represents the statistically expected average maximum move. This line is also solid.
Inner Levels (Grid Step): These dotted lines (25%, 50%, 75%, etc.) serve as intermediate targets or potential zones for pullback.
Trading Interpretation
Reaching 50%: The price has achieved half of the average range.
Reaching 100%: The price has fulfilled the "average" volatility range. This level often acts as an excellent profit target or a point where you might expect correction or reversal, as the move has met historical norms.
Moving Beyond 100% (Extreme): A price move that exceeds 100% ASR/ADR is considered unusually strong or extreme volatility.
Interactive Compound Interest ProjectorThis indicator is an interactive tool designed for long-term investors and analysts who want to compare an asset's performance against a theoretical compound interest growth curve.
Unlike static tools, this script utilizes the Interactive Anchor feature. This allows you to click on any specific point on the chart (e.g., a market bottom, a specific entry date, or a previous all-time high) to serve as the starting point ("Principal") for the projection.
How to use
Add the indicator to your chart.
Important: Because confirm=true is enabled, the script will wait for you to click on the chart. Click on the specific candle you want to use as the "Start Date".
The Yellow Line will appear starting from that candle.
Open the indicator settings to adjust:
Annual Interest Rate: (Default 6.0%).
Project until Year: (Default 2050).
Use this to visualize if an asset is "beating" a standard benchmark (like a 10% S&P500 average or a 4% risk-free rate) from a specific moment in time.
Disclaimer: This tool is for educational and comparative analysis purposes only and does not guarantee future results.
CRTSA Indicator — Market Strength & StructureCRTSA combines market strength, trend, and structure in a single panel.
It identifies key zones, impulses, internal support/resistance levels, and early trend shifts.
Designed for scalping and intraday trading, it provides a clear and direct reading of the market’s true momentum.
Nq/ES daily CME risk intervalNQ/ES Daily CME Range Indicator: Description and Usage
What the Indicator Does
Reverse engineering the risk interval for CME (Chicago Mercantile Exchange) products based on margin requirements involves understanding the relationship between margin requirements, volatility, and the risk interval (price movement assumed for margin calculation)
The CME uses a methodology called SPAN (Standard Portfolio Analysis of Risk) to calculate margins. At a high level, the initial margin is derived from:
Initial Margin = Risk Interval × Contract Size × Volatility Adjustment Factor
This indicator creates daily risk intervals for NQ/ES futures contracts based on volatility measurements given the fact that the CME volatility adjustment factor is not public.
The indicator draws horizontal lines on your chart that represent expected price movement ranges based on:
Your specified maintenance margin requirements
Current and historical volatility calculations
Contract lifecycle and rollover detection
The indicator automatically detects when futures contracts roll over to a new contract month, dynamically adjusts volatility calculations throughout the contract lifecycle, and displays the intervals as horizontal lines that extend from the previous day's close. These intervals give you a visual representation of likely price ranges for the current trading session.
How to Use the Indicator
To use this indicator effectively:
Add it to your NQ or ES futures chart (works on continuous contracts or individual contract months)
Set your maintenance margin amount in the risk interval settings (product margins page from the CME website. I tend to use the maintenance short margin)
The indicator will automatically draw horizontal lines at 18:00 ET each day
Use these lines as potential profit targets in volatile days
Monitor the information table for details on volatility, risk interval size, and contract lifecycle
The indicator helps you visualize expected price movement based on market volatility and your specified risk parameters, allowing you to make more informed trading decisions about position sizing and potential profit targets.
Additionally, when the market moves on news/events you will notice it will most often move exactly the risk interval value.
Why These Settings Work as Defaults
First Month Vol Period (30): The first 30 days after contract rollover typically have different volatility characteristics. This setting ensures accurate volatility measurements during this period when contract behaviour may be less stable.
Enable Volatility Floor (Checked): This prevents volatility from falling below historical levels, ensuring your risk intervals don't become too narrow during artificially calm periods. Research shows that protracted low volatility can lead to a build-up of leverage and risk, making the system vulnerable.
Volatility Floor % (0.7): The 0.7 setting works better than higher values because it better accounts for how equity volatility behaves at lower bounds. It allows for natural mean reversion while still providing protection against underestimating risk during low volatility periods.
Transition Period (30 days): This creates a smooth transition from the first month volatility period to the actual days since rollover calculation, preventing abrupt changes in your risk intervals.
Annual Trading Days (252): 252 is the standard number of trading days in a year used in financial calculations. This value is used for properly annualizing volatility measurements.
Long-Term Volatility Period (504): A 504-day period (approximately 2 years of trading days) provides several advantages over the standard 252-day setting. It better captures full market cycles including both bull and bear markets, provides more stable volatility estimates across regime changes, and results in more reliable risk intervals. Research shows this longer timeframe produces better volatility forecasts for futures markets, as it captures a more comprehensive range of market conditions while smoothing out anomalous periods.
The combination of these settings—particularly the 504-day long-term period with the 0.7 volatility floor—creates more stable and reliable risk intervals that adapt appropriately to changing market conditions without becoming overly sensitive to short-term fluctuations or too sluggish during genuine market shifts.
HH HL LH LL + BOS / CHoCHHH HL LH LL + BOS / CHoCH Structure Indicator (ATR Adaptive)
This indicator provides a complete market structure framework using swing-based pivots, real-time trend detection, BOS (Break of Structure), CHoCH (Change of Character), and optional ATR-adaptive swing sensitivity.
🔹 Core Features
1. Market Structure Labels
The script detects and labels:
HH – Higher High
LH – Lower High
HL – Higher Low
LL – Lower Low
These labels help visualize trend continuation or weakness in structure.
Each label type can be individually toggled ON/OFF in settings.
2. ATR-Based Adaptive Swing Length (Optional)
Swing pivots can be calculated using:
A fixed manual swing length, or
A dynamic ATR-based swing length that adjusts automatically to volatility.
Increasing volatility → longer swings
Decreasing volatility → tighter swings
This makes structure detection more stable and timeframe-adaptive.
3. Close-Based Break of Structure (BOS)
The indicator identifies a BOS when:
Price closes above the previous swing high (Bullish BOS↑)
Price closes below the previous swing low (Bearish BOS↓)
BOS labels can be turned ON/OFF without affecting internal calculations.
4. CHoCH (Change of Character)
CHoCH is triggered when a BOS occurs against the current trend, indicating a potential trend reversal:
CHoCH↑ – Bearish → Bullish reversal
CHoCH↓ – Bullish → Bearish reversal
CHoCH remains active even when BOS labels are turned off.
5. Alerts
The indicator provides alert conditions for:
CHoCH↑ (Bullish Trend Shift)
CHoCH↓ (Bearish Trend Shift)
This allows traders to automate notifications for significant trend changes.
6. Trend State Tracking
The script internally tracks the current structure-based trend:
Uptrend
Downtrend
Undefined
The trend updates dynamically based on real BOS events.
7. Fully Backwards Compatible
The indicator generates structure, BOS, and CHoCH even when scrolling back deep in chart history, thanks to extended max_bars_back handling.
Summary
This tool provides a complete, flexible, and non-repainting framework for market structure analysis, suitable for:
SMC/ICT traders
Swing & intraday traders
Trend traders
Price action analysts
With adaptive swing detection, clean structure labeling, BOS/CHoCH logic, and alert integration, the indicator helps traders understand market transitions with clarity and precision.
Daily Swing High/Low Fibs (Clean v6)This indicator automatically detects the latest Daily Swing High and Swing Low and plots clean Fibonacci retracement levels based on those swings.
Even if you switch to 4H, 1H, 15m, or 5m, the levels remain locked to the Daily timeframe, giving you consistent higher-timeframe structure on any chart.
A.I. 👑 Optimus Prime [RubiXalgo]A.I. OPTIMUS PRIME — RUBIK’S ALGO EDITION (2025)
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Imagine a Rubik’s Cube spinning inside another Rubik’s Cube.
The outer cube = Supply / Demand structure
The inner cube = Trend / xTrend (price + volume momentum)
While speed-cubers solve cubes blindfolded and while juggling,
the tiny hand movements they make are eerily similar to real market microstructure.
This indicator tries to visualize that analogy using heavy Kalman filtering,
k-Nearest-Neighbors regression, LOWESS smoothing, dynamic volume delta,
and machine-learning-driven color gradients — all wrapped in a clean visual language.
Features
• Dual Kalman “Rubik” trend lines (fast + slow) with adaptive noise models
• AI candle coloring (optional) using trend-angle + momentum gradients
• Dynamic Linear Regression Volume Profile (slanted VPOC channel)
• Volume Profit-Trend polyline (walk-forward volume delta prediction)
• Liquidation / Target window with automatic stop-loss & 3 take-profit levels
• Up to 5 multi-timeframe moving averages (SMA/DEMA/TEMA/VWMA) + trend table
• All calculations use dynamic scaling (VSQC lookback) so the same settings stay relevant
across timeframes and assets
How to trade it (simple version)
• Green fast + slow line → bullish bias
• Red fast + slow line → bearish bias
• Green liquidation window + green volume polyline → high-probability long setup
• Red liquidation window + red volume polyline → high-probability short setup
• Targets are drawn automatically — aim for Target 2 or 3 (3:1+ RR typical)
Educational note
This script is shared for learning and experimentation purposes only.
It is not financial advice. Trading involves risk. Test thoroughly on demo before live use.
Credits & inspiration
Heavily inspired by Zeiierman, ChartPrime, LuxAlgo, BigBeluga, DeltaSeek,
and many open-source Pine coders. Special thanks to the entire TradingView community.
© 2025 StupidBitcoin — Open source under Mozilla Public License 2.0 + CC BY-NC-SA 4.0
Feel free to fork, improve, and share — just keep the credits.
↦ (Paste the full working code here — the one you already have, starting with string X7K9P = ... and ending with the last plot)
- Legal & fair-use footer (keeps it clean and TV-compliant)
Disclaimer
This script is published for educational purposes only.
It is not investment advice. Use at your own risk.
License
Mozilla Public License 2.0 — mozilla.org
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 — creativecommons.org
// Enjoy the cube.
// StupidBitcoin — 2025
Key Levels v1Key Levels
This comprehensive multi-timeframe indicator provides traders with key price levels and opening ranges across multiple timeframes, designed to identify significant support/resistance zones and market structure.
KEY FEATURES:
📦 Monthly Range Box
- Automatically draws a box capturing the high and low of the first 9 hours of each new month
- Box extends until the next month begins
- Includes an optional mid-line showing the 50% level of the range
- Fully customizable colors, line styles, and background opacity
📊 Multi-Timeframe Open Lines
The indicator plots horizontal lines at the open price of:
- Midnight Open (00:00 session start)
- 4-Hour Open (updates every 4-hour candle)
- Daily Open (true daily candle open)
- Weekly Open (start of trading week)
- Monthly Open (start of new month)
- Yearly Open (start of new year)
🎯 Smart Label System
- Automatic label combining when multiple timeframe opens overlap at the same price
- Clean text labels positioned ahead of current price to avoid obstruction
- Labels show combined timeframes (e.g., "Monthly Open / Weekly Open")
⚙️ Customization Options
Each timeframe open line includes:
- Toggle on/off independently
- Custom color selection
- Line style options (Solid, Dashed, Dotted)
- Organized settings grouped by timeframe for easy navigation
🔧 Technical Implementation
- Uses request.security() for accurate higher timeframe data
- Works on any chart timeframe
- Lines extend 10 bars beyond current price for clear label visibility
- Efficient overlap detection prevents duplicate labels
IDEAL FOR:
✓ Identifying key institutional levels
✓ Trading range breakouts
✓ Multi-timeframe analysis
✓ Support and resistance zones
✓ Session-based trading strategies
All settings are organized chronologically from shortest to longest timeframe for intuitive configuration.
Pulse by RoseTreePulse by RoseTree is a dynamic stock/cash allocation indicator that answers the essential question: "How much should I have in stocks right now?"
It outputs a percentage from 0-100% representing suggested equity exposure—a reading of 75% means 75% stocks and 25% cash/bonds. The indicator synthesizes five key market dimensions: Regime (trend strength and market structure), Risk (volatility and drawdown management), Valuation (P/E, equity risk premium, shareholder yield), Sentiment (VIX term structure and fear/greed dynamics), and Macro (yield curves, credit spreads, financial stability). Each factor is weighted and blended into a single actionable signal. A built-in Crisis Detection System automatically reduces exposure when multiple stress indicators trigger—including VIX spikes, rapid drawdowns, credit spread blowouts, and correlated stock/bond selloffs. The indicator classifies markets into six regimes: Strong Bull, Bull Market, Neutral, Correction, Bear Market, and Crisis. Four approach modes (Conservative, Balanced, Aggressive, Adaptive) let you match the signal to your risk personality. The on-chart dashboard displays real-time metrics including VIX, market drawdown, P/E ratio, equity risk premium, ROE, and individual component scores. Built-in alerts notify you of allocation threshold crossings, regime changes, and crisis events. Data is pulled automatically from SPY, VIX, Treasury yields, credit ETFs (HYG/LQD), TLT, gold, and dollar index. Eight color themes are included with dark/light mode support. Best used on daily timeframe for strategic allocation decisions.
Adaptive Dual MA Trend Ribbon Community “Larsson-Style” PresetsMany traders enjoy experimenting with dual-moving-average “trend ribbon” structures that resemble the visual style of popular tools such as the Larsson Line. While the internal logic of closed-source indicators is not publicly available, the trading community often explores MA combinations like SMMA 15/29 or EMA 30/60 with ATR filters to study trend transitions and visualize momentum shifts.
This script does not replicate, reverse-engineer, or replace any closed-source indicator. Instead, it provides a flexible, open-source framework that lets traders build their own trend-ribbon configuration inspired by similar visual concepts while maintaining full transparency. Because the calculations rely only on standard, well-known moving-average and ATR methods, traders can experiment freely with community-discussed presets without relying on proprietary tools.
What the Script Does
• Plots Fast and Slow moving averages using the method of your choice: SMMA (RMA), EMA, SMA, or WMA
• Colors the ribbon to show directional bias:
• Bullish when Fast MA > Slow MA
• Bearish when Fast MA < Slow MA
• Neutral when the difference is small (optional ATR filter)
• Supports ATR-based neutral zone filtering
• Supports optional bar coloring
• Works on all markets and timeframes
• Fully open-source and customizable
Why This Script Is Useful
Traditional moving averages identify trend direction but lack context during uncertain or low-momentum conditions. This script adds value by:
1. Allowing multiple smoothing techniques (SMMA/EMA/SMA/WMA)
2. Highlighting clearer trend transitions
3. Identifying low-confidence periods using ATR
4. Providing a visually intuitive ribbon instead of single-line signals
Suitable for swing traders, trend followers, breakout traders, and anyone who wants cleaner structure-based contextualization.
Popular Community MA Combinations
Many traders experiment with specific MA pairs to understand trend-ribbon behavior:
• SMMA 15/29 → smoother structural trend flow
• EMA 30/60 → more responsive momentum shifts
• EMA 10/21 → intraday rhythm
• EMA 50/100 → higher-timeframe structure
These examples are commonly used by the community—but this script does not recreate or imitate any closed-source or commercial indicator.
How to Use
1. Choose your preferred MA type
2. Adjust Fast/Slow lengths to match your timeframe
3. Enable ATR Neutral Zone to reduce false flips
4. Optionally enable bar coloring
5. Combine with structure, volume, or price action for decision-making
Important Notes
• This script is original, open-source, and not affiliated with any commercial indicator or author.
• It does not reproduce, imitate, or reverse-engineer any closed-source logic.
• All computations are standard MA/ATR methods for clarity and transparency.
Disclaimer
This tool is for educational and analytical purposes only.
Always test parameters and use proper risk management before applying to live trading.
DANGER SP500This indicator is designed to identify severe correlation anomalies between the Volatility Index (VIX) and the S&P 500 (SPX). It operates on the premise that a simultaneous rise in both assets often precedes market corrections or significant local tops.
The underlying concept is "fear in the rally": investors are buying equities (driving price up), but at the same time, they are aggressively buying protection (Puts), causing the VIX to spike.
⚠️ Strict Usage Rules
To guarantee the mathematical reliability of the VIX data, this indicator includes strict security restrictions:
EXCLUSIVE ASSET: Designed solely for the S&P 500 (SPX, SPY, US500, ES1!). It should not be used on Crypto or Forex, as the VIX correlation does not apply in the same way.
LOCKED TIMEFRAME: It only functions on the Daily Chart (1D).
Note: The script includes a runtime.error block that will prevent execution if you attempt to load it on intraday charts (H1, H4, etc.) to avoid false signals caused by market noise.
Visualization
Red Background: Visually highlights the exact moment the alert is triggered.
"DANGER" Label: Prints clearly above the signaled bar.
Max Price Display: Unlike other indicators that mark the close, this tool specifically labels the HIGH of the candle, allowing you to identify the exact point of price extension.
🔔 Alerts
The script is ready for TradingView Alerts. The alert message is dynamic and will include the exact High price reached during the signal candle.
Disclaimer: This script is for technical analysis purposes only and does not constitute financial advice. Trading involves risk.
Linda Raschke 5 SMA Reversal [LuciTech]How This Indicator Works:
-5 SMA Tracking: Calculates a 5-period simple moving average and plots it on the chart.
-Extension Counter: Counts consecutive bars where price closes above or below the 5 SMA.
-BUY Signals (Green Up Arrow): Triggers when price closes BELOW the 5 SMA after 7+ consecutive closes ABOVE it—indicates a reversal opportunity into dynamic support.
-SELL Signals (Red Down Arrow): Triggers when price closes ABOVE the 5 SMA after 7+ consecutive closes BELOW it—indicates a reversal bounce setup.
-No Repainting: Signals only plot on confirmed bar closes; no repainting issues.
Linda Raschke's Core Principles:
-Extended Run = Imbalance: When price stays above/below the 5 SMA for 7+ bars, it's a one-sided market; mean reversion is likely.
-First Cross = Trigger: The first close back across the SMA after an extension is the reversal signal, not every touch.
-No Setup? No Trade: Without a prior extension or "three-bar balance" filter, a 5 SMA tag is noise. The model requires the prior momentum condition.
-Uptrend Buys: In uptrends, buy dips to the SMA (dynamic support) as long as the weekly/monthly trend is intact.
-Downtrend Fades: In downtrends, treat first rallies above the SMA as bounce fades into lower lows (especially after 14+ bars below).
Robrechtian Long-Medium Breakout Trend SystemRobrechtian Long–Medium-Term Breakout Trend System
A professional, rule-based trend-following strategy designed to capture large, sustained price movements using pure price action and breakouts.
This system follows long-established trend-following philosophy: no prediction, no volatility targeting, and no profit targets. Only disciplined entries, position additions, and exits driven entirely by trend structure.
Core Principles
Breakout-driven entries: Initial positions are taken only when price breaks above/below the 80-day Donchian channel, confirming a long–medium-term trend shift.
Short-term confirmation: Breakouts must also exceed the 20-day channel, reducing false positives.
Trend-direction filter: A 50-day moving average slope filter ensures alignment with the broader trend.
Explosive bar filter: Entries avoid excessively large, single-candle expansions (>2.5× ATR(20)) to prevent chasing exhaustion spikes.
Pyramiding into strength: Additional units are added only when price makes fresh 20-day breakouts in the direction of the trend. No scaling out. No adding on dips.
Exit only on trend violation: Positions are closed exclusively when price breaks the opposite 80-day channel. This preserves unlimited upside while enforcing disciplined exits.
Pure trend philosophy: No volatility targeting, no smoothing, no discretionary overrides, no optimization for short-term performance.
Intended Use
This system is designed primarily for diversified futures portfolios, where diversification across dozens of globally liquid markets creates robustness and stability. However, it may also be used on individual assets for educational and analytical purposes.
The system embraces the core trend-following logic:
Small losses, big winners, and unlimited upside when trends persist.
⚠️ WARNINGS / DISCLAIMERS
⚠️ Warning 1 — This strategy is not optimized for single stocks
The Robrechtian Trend System is designed for multi-asset futures portfolios, not single equities.
Performance on individual tickers may vary greatly due to lack of diversification.
⚠️ Warning 2 — Trend following includes substantial drawdowns
Deep drawdowns are a normal and expected feature of all long-term trend-following systems.
The strategy does not attempt to smooth returns or manage volatility.
If you seek steady, low-volatility equity curves, this system is not suitable.
⚠️ Warning 3 — No volatility targeting or risk smoothing
This system intentionally avoids volatility-based position sizing.
Trades may experience larger fluctuations than systems using risk parity or vol targeting.
⚠️ Warning 4 — Not financial advice
This script is for educational and research purposes only.
Past performance does not guarantee future results.
Use at your own risk.
⚠️ Warning 5 — TradingView backtests have known limitations
TradingView does not simulate:
futures contract roll logic
slippage
real bid/ask spreads
liquidity conditions
limit-up/limit-down behavior
Results may vary from live market execution.
Aydan ScalperBy when EMA 8 cross EMA 21 from Below to Abouve and SELL when EMA 21 cross EMA 8 from Abouve to Belove
Buyer-Seller Locomotive IndexBuyer-Seller Locomotive Index (BSLI)
An original indicator that measures buyer and seller pressure, momentum shifts, and structural control in the market.
Overview
The Buyer-Seller Locomotive Index evaluates candle-level positioning relative to an adaptive EMA-based reference price. It calculates bull vs bear strength percentages and Total Power momentum using fast and slow EMAs, providing insight into which side currently dominates market structure. By combining pressure analysis with momentum smoothing, BSLI highlights both the intensity and direction of market control.
Features
Bull/Bear Strength Percentages: Normalized 0–100 values showing current dominance and threshold-based high-strength alerts.
Total Power Momentum: Fast and slow EMA crossover signals with a histogram to visualize expansion or contraction of pressure.
Visual Markers: Optional fight diamonds highlight candles intersecting the reference price, while dynamic labels show the exact strength percentages.
Crossover Signals: Circles mark potential shifts in momentum, helping to identify early transitions in market control.
Customizable Display: Users can toggle labels, markers, and histogram visibility for a clean or detailed chart view.
How to Use
BSLI provides traders with a multi-layered view of market structure:
Observe shifts in buyer vs seller dominance.
Spot early momentum transitions before trends become obvious.
Confirm price structure with Total Power and strength percentages.
Highlight periods of compression, conflict, or indecision for additional context.
This indicator is intended as a supportive analysis tool. Traders should combine it with personal methodology, risk management, and other analysis techniques. It is not a standalone trade signal.
Important Notes
Measures relative pressure, not absolute volume.
Percentages reflect current structure, not predicted price direction.
Signals are contextual; do not rely solely on crossovers for trading decisions.
Uses no lookahead; all calculations are based on completed bars.
Results may vary by asset, timeframe, and market volatility.
Originality
BSLI uniquely combines adaptive pressure extraction, normalized strength percentages, dual-EMA power momentum, conflict detection, and integrated labeling. This multi-component approach provides a clear and actionable view of the evolving balance between buyers and sellers, supporting both short-term and structural analysis.
Relative Strength Index w/ BandsStandard RSI but with the option to add a shaded zone around the Upper and Lower Bands, based on an offset value.
Value/level of shaded zones need to be modified separately in the Settings from the Upper and Lower Band values.
Multi-TF EMA(20) — JcsatasiyaOverview
This indicator plots 7 multi-timeframe EMA(20) lines on any chart and displays a clean dynamic label for each EMA showing:
Full timeframe name (Yearly, Half-Yearly, Quarterly, Monthly, Weekly, etc.)
EMA(20) value formatted with exactly 2 decimals
A label that is positioned automatically to the right of the latest candle
White text for maximum readability
Color-coded lines for each timeframe
All EMA lines extend horizontally and update in real-time when new candles form on the selected timeframes.
✅ Key Features
• 7 Custom Timeframes
Choose any timeframe for each EMA (Yearly, 6-Month, 3-Month, Monthly, Weekly, Daily, 4H, etc.)
• Horizontal EMA Levels
Each EMA is drawn as a fixed horizontal level, making structure and bias easier to analyze.
• Dynamic Label Placement
Labels automatically position:
Horizontally: Left, Middle, or Right of the right-side future area
Vertically: Above, Middle, or Below the EMA line
• Clean Readable Labels
Always white text
Shows: EMA (20) – Timeframe Price: 123.45
Price always displays with 2 decimals
Label style auto-adjusts based on position
• Color Customization
Each timeframe EMA has its own color picker.
• All EMA Thickness Unified
Set one line thickness for all EMA lines.
• Reliable Multi-TF Accuracy
Uses request.security() with proper lookahead handling.
⭐ Why This Indicator Is Useful
This tool makes it extremely easy to visualize where your chart sits relative to major multi-timeframe EMA levels.
You immediately see:
Higher-timeframe trend direction
Bias zones
Key support/resistance EMA levels
Long-term vs short-term trend alignment
Price interaction with institutional EMAs
Perfect for day traders, swing traders, and position traders.
📘 HOW TO USE
1️⃣ Add to Chart
After adding the indicator, open the Settings → Inputs panel.
2️⃣ Choose the 7 Timeframes
For each slot, select your desired timeframe (example setup):
Yearly
Half Yearly
Quarterly
Monthly
Weekly
Daily
4H
3️⃣ Customize Colors
Pick a different color for each EMA for clarity.
4️⃣ Choose Label Placement
Use the label position controls:
Vertical: Upper / Middle / Below
Horizontal: Left / Middle / Right (relative to right-side future space)
5️⃣ Adjust Line Thickness (Optional)
A single slider controls the thickness of all 7 EMAs.
📝 NOTES
The indicator places labels 2–50 bars into the future depending on chosen position.
Labels are always visible and readable due to white text.
EMA values always show exactly two decimals, even for crypto, indices, and forex.
Works on any market and any chart timeframe.
TrategyMulti-Indicator Trading System - Detailed Description
═══════════════════════════════════════════
OVERVIEW
This indicator combines four proven technical analysis tools (EMA, RSI, MACD, ATR) with a specific logic that filters out low-probability setups. Unlike simple indicator mashups, this system requires all conditions to align simultaneously before generating a signal, significantly reducing false entries.
═══════════════════════════════════════════
CORE COMPONENTS & LOGIC
1. Trend Detection - Triple EMA Filter
The system uses three Exponential Moving Averages (5, 10, 20 periods) to establish trend direction and strength:
For LONG signals:
• EMA(5) must be above EMA(10)
• EMA(10) must be above EMA(20)
• Price must be trading above all three EMAs
This creates a "stacked EMA" configuration that confirms a strong uptrend.
For SHORT signals:
• EMA(5) must be below EMA(10)
• EMA(10) must be below EMA(20)
• Price must be trading below all three EMAs
This inverse configuration confirms a strong downtrend.
2. Momentum Confirmation - RSI Filter
The RSI (14-period) acts as a momentum filter to avoid entering during exhausted moves:
For LONG signals:
• RSI must be above 40 (avoiding oversold extremes)
• RSI must be rising (current RSI > previous RSI)
For SHORT signals:
• RSI must be below 60 (avoiding overbought extremes)
• RSI must be falling (current RSI < previous RSI)
This prevents entries at extreme overbought/oversold levels while confirming momentum direction.
3. Entry Trigger - MACD Crossover
The MACD (12, 26, 9) provides the precise entry timing:
LONG trigger: MACD line crosses above Signal line
SHORT trigger: MACD line crosses below Signal line
The signal only fires when this crossover occurs while all other conditions are already met.
4. Risk Management - ATR-Based TP/SL
Take Profit and Stop Loss levels are calculated dynamically using the 14-period ATR (Average True Range), adjusted for timeframe:
5-Minute Charts:
• Take Profit: 1.0 × ATR
• Stop Loss: 0.5 × ATR
4-Hour Charts and above:
• Take Profit: 2.0 × ATR
• Stop Loss: 1.0 × ATR
This adaptive approach accounts for different volatility levels across timeframes.
═══════════════════════════════════════════
SIGNAL GENERATION LOGIC
A signal is only generated when ALL four conditions are simultaneously true:
LONG Signal Requirements:
1. ✓ Triple EMA alignment (bullish stack)
2. ✓ Price above all EMAs
3. ✓ RSI > 40 and rising
4. ✓ MACD bullish crossover
SHORT Signal Requirements:
1. ✓ Triple EMA alignment (bearish stack)
2. ✓ Price below all EMAs
3. ✓ RSI < 60 and falling
4. ✓ MACD bearish crossover
This multi-layered filtering approach is what differentiates this system from basic indicator combinations.
═══════════════════════════════════════════
WHY THIS COMBINATION WORKS
Trend + Momentum + Timing:
• EMAs establish the overall trend context
• RSI confirms momentum is present (not exhausted)
• MACD provides precise entry timing
• ATR adapts risk management to current volatility
Key Innovation: The system waits for all filters to align rather than acting on individual signals, which significantly reduces whipsaws and false breakouts common in single-indicator strategies.
═══════════════════════════════════════════
OPTIMIZED TIMEFRAMES
While the indicator works on all timeframes, it has been specifically optimized and backtested on:
• 5-minute charts (for scalping/day trading)
• 4-hour charts (for swing trading)
The ATR multipliers automatically adjust based on the selected timeframe.
═══════════════════════════════════════════
VISUAL FEATURES
• Green arrows below bars: Long signal
• Red arrows above bars: Short signal
• Green line: Take Profit level
• Red line: Stop Loss level
• Alert capability: Configurable alerts for paid TradingView subscriptions
═══════════════════════════════════════════
HOW TO USE
1. Add the indicator to your chart
2. Wait for a colored arrow to appear
3. Enter the trade in the direction of the arrow
4. Set your Take Profit at the green line
5. Set your Stop Loss at the red line
6. (Optional) Set up alerts to receive notifications
Note: Not every arrow will show TP/SL lines. Lines only appear when the ATR-based calculation determines there is sufficient volatility to justify the trade setup.
═══════════════════════════════════════════
WHAT MAKES THIS INVITE-ONLY WORTHY
Unlike free indicators that simply plot standard EMAs, RSI, or MACD separately, this system:
1. Integrates all four indicators with specific thresholds designed to work together
2. Uses adaptive risk management that adjusts to timeframe and volatility
The value lies not in the individual components (which are public domain) but in the specific combination logic, thresholds, and ATR-based risk system that took months of testing to optimize.
═══════════════════════════════════════════
ACCESS INFORMATION
This is an invite-only indicator. To request access:
• Visit our website
We offer both monthly subscriptions and lifetime access.
═══════════════════════════════════════════
RISK DISCLAIMER
This indicator is a technical analysis tool and does not constitute financial advice. All trading involves substantial risk of loss. Past performance does not guarantee future results. The indicator provides signals based on historical price patterns, but cannot predict future market movements. Always use proper risk management and never risk more than you can afford to lose.
═══════════════════════════════════════════
Questions? Feel free to message us on TradingView, or to email us.
Linear Regression CVDHere is the complete user manual and introduction for the Linear Regression CVD indicator in English. You can save this as your documentation for your trading system.
📊 Linear Regression CVD – Trader’s Manual
1. Introduction
Core Concept:
Standard Cumulative Volume Delta (CVD) indicators are often noisy and jagged, making it difficult to decipher the true direction of capital flow. This indicator applies a Linear Regression algorithm to smooth out the CVD data and adds a Standard Deviation Channel. It is designed to answer two critical questions:
What is the "True Trend" of the money flow? (Filtering out noise)
Is the market sentiment currently overheated? (Using the channel to spot extremes)
Best Markets:
Crypto Perpetual Futures (e.g., BTCUSDT.P) — Highly Recommended.
Stocks & Forex (Must have volume data).
Timeframes:
Scalping: 1m, 5m, 15m (To catch rapid capital inflows/outflows).
Swing Trading: 1H, 4H (To identify the dominant direction of "Smart Money").
2. Visual Guide
When you load the indicator, you will see the following elements:
A. The Main Line (Linear Regression)
Appearance: A smooth, thick line.
Meaning: The average trend of capital flow.
Color Logic:
🟢 Green: Money flow is trending UP (Buyers are dominant).
🔴 Red: Money flow is trending DOWN (Sellers are dominant).
B. The Raw Line (Gray Hairline)
Appearance: A thin, jagged gray line fluctuating around the main line.
Meaning: The Raw, Real-time CVD. It calculates the volume delta (Close vs. Open) for every single candle without smoothing.
C. The Channel (Blue Background)
Appearance: A blue shaded area around the main line.
Meaning: The "Normal Volatility Range."
Calculated based on 2 Standard Deviations (2σ) from the Linear Regression.
If the Gray Line stays inside this channel, the market is stable/balanced.
D. The Signal Dots
🟢 Green Dot (Upside Extension): The Raw CVD has broken above the upper channel.
Meaning: Extreme Greed / Aggressive Buying / FOMO.
🔴 Red Dot (Downside Extension): The Raw CVD has broken below the lower channel.
Meaning: Extreme Fear / Panic Selling / Capitulation.
3. Trading Strategies
Strategy 1: Trend Confirmation
The basic "Follow the Money" approach.
Bullish Signal (Long):
Price is making Higher Highs.
CVD Main Line turns Green and slopes upward.
Action: Confirms that the price rise is backed by real volume. Hold or Add to Longs.
Bearish Signal (Short):
Price is making Lower Lows.
CVD Main Line turns Red and slopes downward.
Action: Confirms that sellers are in control. Hold Shorts.
Strategy 2: Divergence (High Win Rate)
Finding disagreements between "Price" and "Money Flow".
Bearish Divergence (Top Signal):
Price makes a Higher High.
CVD Main Line makes a Lower High (or fails to break out).
Meaning: Price is rising, but buying effort is fading (Exhaustion) or Limit Sellers are absorbing the buy orders (Absorption).
Action: Look for Short entries.
Bullish Divergence (Bottom Signal):
Price makes a Lower Low.
CVD Main Line makes a Higher Low.
Meaning: Price is dropping, but selling pressure is drying up, or Smart Money is absorbing sell orders via limit buy orders.
Action: Look for Long entries.
Strategy 3: Mean Reversion (Extreme Extensions)
Using the Red/Green dots to fade extremes.
Long Opportunity (Bounce):
Price crashes rapidly.
Cluster of Red Dots appears at the bottom.
Meaning: Panic selling has peaked (Capitulation). The market is oversold on a volume basis.
Action: Wait for a candle reversal pattern, then Long for a bounce.
Short Opportunity (Pullback):
Price pumps vertically.
Cluster of Green Dots appears at the bottom.
Meaning: Retail traders are chasing the pump (FOMO). Buying power is overextended.
Action: Wait for momentum to stall, then Short.
4. Important Limitations & Notes
Data Source Accuracy:
TradingView Standard Volume is an approximation (Close vs. Open logic).
It is not perfect "Tick Data" (like professional Orderflow software), but it is 90% accurate for trend analysis on 1H/4H charts.
Tip: Always use Perpetual Contract charts (e.g., BTCUSDT.P) for Crypto, not Spot charts, to get the correct volume data.
The "Extension" Trap:
Do not Short just because you see a Green Dot. In a strong parabolic bull run, you will see many Green Dots in a row while price keeps flying.
These dots indicate velocity, not necessarily a reversal. Always look for resistance levels or divergence before fading the move.
Settings:
Default Length: 20.
For faster signals: Try 10 or 14.
For smoother trends: Try 50.
5. Pre-Trade Checklist
Before entering a trade, check the Linear CVD:
Color: Is the CVD Line Green or Red? Does it match my trade direction?
Slope: Is the CVD accelerating or flattening out?
Divergence: Did price break a level, but CVD failed to follow? (Fakeout warning).
Extremes: Are there Red/Green dots appearing? If yes, am I chasing a trade too late?
这是一套完整的线性回归 CVD (Linear Regression CVD) 指标的使用说明书和简介。你可以把它保存下来,作为你的交易系统参考文档。
📊 线性回归 CVD (Linear Regression CVD) —— 交易员手册
1. 指标简介 (Introduction)
核心理念:
普通的 CVD(累积成交量差)往往噪音很大,线条锯齿状严重,导致交易者难以看清真正的资金流向趋势。本指标通过线性回归算法 (Linear Regression) 对 CVD 进行平滑处理,并结合标准差通道 (Standard Deviation Channel),试图解决两个核心问题:
资金流向的真实趋势是什么?(排除噪音)
当前的情绪是否过热?(通过通道判定)
适用市场:
加密货币合约 (BTC, ETH 等永续合约) —— 效果最佳
股票、外汇 (需有成交量数据)
适用周期:
日内短线:1分钟、5分钟、15分钟(捕捉快速的资金进出)。
趋势波段:1小时、4小时(判断主力资金的大方向)。
2. 视觉元素说明 (Visual Guide)
当你加载指标后,你会看到以下几个部分:
A. 彩色主线 (The LinReg Line)
形态:一条平滑的粗线。
含义:资金流向的**“平均趋势”**。
颜色:
🟢 绿色:资金流向趋势向上(买盘主导)。
🔴 红色:资金流向趋势向下(卖盘主导)。
B. 灰色背景细线 (Raw CVD)
形态:一条充满锯齿的灰色细线,在主线周围波动。
含义:原始的、实时的累积成交量。它反应了当下的每一根K线的实际买卖差额。
C. 蓝色背景通道 (The Channel)
形态:包裹在主线周围的深蓝色带状区域。
含义:“正常波动范围”。
基于线性回归的 2倍标准差计算。
如果灰色细线在通道内运行,说明市场情绪稳定,多空力量均衡。
D. 信号点 (The Dots)
🟢 绿点 (底部出现):原始 CVD 向上突破了通道上轨。代表极度贪婪 / 抢筹。
🔴 红点 (底部出现):原始 CVD 向下跌破了通道下轨。代表极度恐慌 / 抛售。
3. 实战交易策略 (Trading Strategies)
策略一:趋势确认 (Trend Following)
这是最基础的顺势用法。
做多信号:
价格处于上升趋势(如在均线之上)。
CVD 主线由红变绿,且持续向上倾斜。
操作:这确认了价格的上涨有真金白银的买盘支持,可以持有或加仓。
做空信号:
价格处于下降趋势。
CVD 主线由绿变红,且持续向下倾斜。
操作:确认卖盘主导,价格下跌是健康的。
策略二:背离交易 (Divergence) —— 胜率最高的用法
寻找“主力资金”与“价格”不一致的地方。
顶背离 (看跌):
价格创出了新高 (Higher High)。
CVD 主线却没有创新高,或者形成更低的高点 (Lower High)。
含义:价格在涨,但买入的资金在减少。这通常是主力在通过限价单悄悄出货,或者是买盘枯竭。
操作:准备做空,或多单止盈。
底背离 (看涨):
价格创出了新低 (Lower Low)。
CVD 主线却形成了更高的低点 (Higher Low)。
含义:价格在跌,但卖出的资金在减少,或者有大资金在底部通过挂单吸筹 (Absorption)。
操作:准备做多,或空单止盈。
策略三:极端情绪反转 (Mean Reversion)
利用红绿点判断短期的超买超卖。
做多机会 (反弹):
价格快速下跌,甚至暴跌。
指标底部出现密集的红点 (Downside Extension)。
含义:恐慌盘被杀出来了 (Capitulation),市场短期内无可再卖。
操作:等待K线出现反转形态(如长下影线)后尝试博反弹。
做空机会 (回调):
价格快速拉升(垂直上涨)。
指标底部出现密集的绿点 (Upside Extension)。
含义:大量的散户在追涨 (FOMO),透支了买盘动能。
操作:等待上涨停滞后尝试做空。
4. 关键注意事项 (Limitations)
数据源区别:
TradingView 的普通 Volume 是基于 K 线的近似计算(Close > Open 算买,Close < Open 算卖)。
这与专业的 Orderflow 软件(如 Exocharts)使用的逐笔 Tick 数据有一定误差,但在 1小时/4小时 级别上,趋势方向基本一致。
建议:如果你是做合约,请务必加载 合约图表(如 BTCUSDT.P),不要用现货图表看 CVD。
红绿点的陷阱:
不要一看到绿点就做空! 在超级大单边行情(比如牛市主升浪)中,绿点会连续出现,价格会一直涨。
红绿点必须配合 关键支撑/阻力位 使用。如果在“半空中”出现绿点,往往意味着趋势加速,而不是反转。
参数调整:
默认 LinReg Length = 20。
如果你觉得反应太慢,可以改为 10 或 14。
如果你觉得假信号太多,可以改为 50,但这会牺牲灵敏度。
5. 快速检查清单 (Checklist)
在开单前,看一眼 CVD:
颜色:CVD 是绿的还是红的?和我想做的方向一致吗?
斜率:CVD 是在加速上升/下降,还是开始变平了?
背离:价格破位了,CVD 跟着破位了吗?如果没跟,就是假突破。
极值:有没有出现红点/绿点?如果出现了,是不是应该等回调再进场?






















