OPEN-SOURCE SCRIPT
Обновлено FENIX Waves

# FENIX Waves · pacote de publicação (TV House Rules)
Script: FENIX Waves (EN, self-contained) · fonte local: fenix_waves.pine
Status: injetado + compilado + salvo no editor (slot novo aberto pelo user 29/05).
## Passos manuais no TV (user faz · eu não consigo publicar)
1. Renomear o script SALVO pra "FENIX Waves" (o título on-chart já é FENIX Waves via indicator(); o nome do script salvo pode ter ficado "Meu script").
2. Add to chart → deixar SÓ o FENIX Waves visível (esconder Buy Sell, EMA, RSI, etc) → gráfico LIMPO (House Rule #4).
3. Publicar → colar o título e a descrição abaixo (inglês primeiro).
4. Marcar como Open-source (recomendado · descrição é o que o usuário lê).
## Título da publicação (EN only)
FENIX Waves — Elliott A-B-C visualizer with colored HMA line + projection
## Descrição (EN · colar)
FENIX Waves turns a discretionary Elliott Wave count into a clean, always-on chart overlay.
What it does
- Paints a smooth Hull Moving Average (HMA) line that follows price and RE-COLORS per wave: Wave A (down) red, Wave B (up) green, and the sub-waves of Wave C in amber (down legs) / cyan (up legs), so the active wave is obvious at a glance.
- Labels every turning point. When a macro turn and a sub-wave turn fall on the same candle, the labels MERGE into one (e.g. "C-i") instead of overlapping.
- Draws a dashed PROJECTION of the path you expect next (wave-2 target → wave-3 bottom → extension). The projection is measured in candles via bar_index, so it stays consistent on every timeframe. A "Nearest target only" switch hides the deep legs so the price scale stays tight.
How it works
- You mark the pivots by date in the settings: the macro A/B/C turns (top, bottom of A, top of B) and, as the count develops, the ends of sub-waves i…iv of C. The script segments the HMA by those timestamps and colors/labels each segment accordingly. Label distance from price auto-scales with ATR.
- Nothing is auto-detected: this is a VISUALIZATION engine for YOUR count, not a wave-finder. That keeps it honest — it shows exactly the structure you mapped.
How to use
1. Add to chart. The defaults show a sample BTC A-B-C count.
2. Open settings → Macro: set Wave A start, A→B (bottom of A), B→C (top of B) to your own pivots (by date).
3. Sub-waves of C: set the end of each sub-wave as price confirms it (leave far-future to disable).
4. Projection: set the price targets and how many candles ahead each leg should reach.
What makes it original
- Not a mashup and not another auto-ZigZag. It is a manual Elliott mapping tool: a single colored line that encodes the whole A-B-C + sub-wave count, with coincident-label merging and a timeframe-consistent forward projection — a compact way to keep a discretionary wave thesis visible and unambiguous across timeframes.
Notes
- Works on any symbol/timeframe. Best read on the timeframe where you defined the pivots.
- Open-source — read the code to see exactly how segmentation and projection are computed.
## Checklist House Rules (do TV_PUBLISH_REGRAS.md)
- [x] Título em inglês
- [x] UI/inputs/labels em inglês (self-contained)
- [x] Descrição EN detalhada · método + como usar + originalidade
- [x] Não é mashup · motor de visualização próprio
- [ ] Gráfico LIMPO na publicação (esconder outros estudos) · passo manual
- [x] Desenhos explicados (linha colorida, labels A/B/i.., projeção tracejada)
Script: FENIX Waves (EN, self-contained) · fonte local: fenix_waves.pine
Status: injetado + compilado + salvo no editor (slot novo aberto pelo user 29/05).
## Passos manuais no TV (user faz · eu não consigo publicar)
1. Renomear o script SALVO pra "FENIX Waves" (o título on-chart já é FENIX Waves via indicator(); o nome do script salvo pode ter ficado "Meu script").
2. Add to chart → deixar SÓ o FENIX Waves visível (esconder Buy Sell, EMA, RSI, etc) → gráfico LIMPO (House Rule #4).
3. Publicar → colar o título e a descrição abaixo (inglês primeiro).
4. Marcar como Open-source (recomendado · descrição é o que o usuário lê).
## Título da publicação (EN only)
FENIX Waves — Elliott A-B-C visualizer with colored HMA line + projection
## Descrição (EN · colar)
FENIX Waves turns a discretionary Elliott Wave count into a clean, always-on chart overlay.
What it does
- Paints a smooth Hull Moving Average (HMA) line that follows price and RE-COLORS per wave: Wave A (down) red, Wave B (up) green, and the sub-waves of Wave C in amber (down legs) / cyan (up legs), so the active wave is obvious at a glance.
- Labels every turning point. When a macro turn and a sub-wave turn fall on the same candle, the labels MERGE into one (e.g. "C-i") instead of overlapping.
- Draws a dashed PROJECTION of the path you expect next (wave-2 target → wave-3 bottom → extension). The projection is measured in candles via bar_index, so it stays consistent on every timeframe. A "Nearest target only" switch hides the deep legs so the price scale stays tight.
How it works
- You mark the pivots by date in the settings: the macro A/B/C turns (top, bottom of A, top of B) and, as the count develops, the ends of sub-waves i…iv of C. The script segments the HMA by those timestamps and colors/labels each segment accordingly. Label distance from price auto-scales with ATR.
- Nothing is auto-detected: this is a VISUALIZATION engine for YOUR count, not a wave-finder. That keeps it honest — it shows exactly the structure you mapped.
How to use
1. Add to chart. The defaults show a sample BTC A-B-C count.
2. Open settings → Macro: set Wave A start, A→B (bottom of A), B→C (top of B) to your own pivots (by date).
3. Sub-waves of C: set the end of each sub-wave as price confirms it (leave far-future to disable).
4. Projection: set the price targets and how many candles ahead each leg should reach.
What makes it original
- Not a mashup and not another auto-ZigZag. It is a manual Elliott mapping tool: a single colored line that encodes the whole A-B-C + sub-wave count, with coincident-label merging and a timeframe-consistent forward projection — a compact way to keep a discretionary wave thesis visible and unambiguous across timeframes.
Notes
- Works on any symbol/timeframe. Best read on the timeframe where you defined the pivots.
- Open-source — read the code to see exactly how segmentation and projection are computed.
## Checklist House Rules (do TV_PUBLISH_REGRAS.md)
- [x] Título em inglês
- [x] UI/inputs/labels em inglês (self-contained)
- [x] Descrição EN detalhada · método + como usar + originalidade
- [x] Não é mashup · motor de visualização próprio
- [ ] Gráfico LIMPO na publicação (esconder outros estudos) · passo manual
- [x] Desenhos explicados (linha colorida, labels A/B/i.., projeção tracejada)
Информация о релизе
Major update: the script now renders the current locked Elliott Wave thesis. It draws the macro A-B-C zigzag on Daily/Weekly and the active wave's C-1/C-2/C-3 sub-structure intraday (layer auto-switches by timeframe), plus the reaction zones with their stops, the Fibonacci target, the macro invalidation level and a dotted projection of the working wave. Wave labels now sit at the middle of each segment and a summary panel was added.Информация о релизе
What this version is
This update turns FENIX Waves into a clean renderer of a single,
mechanically-derived Elliott Wave thesis. The previous moving-average version has
been replaced.
What it draws
- The macro A-B-C zigzag on Daily/Weekly, and the active wave's internal
sub-structure (C-1 / C-2 / C-3) on intraday timeframes. The layer switches
automatically with the chart timeframe.
- Wave segments colored by direction (down = red, up = teal), with each wave's
label written at the middle of its segment.
- The reaction zones the method watches, each with its stop level.
- The macro invalidation line (a close beyond it voids the count) and the
Fibonacci target of the current wave.
- A dotted projection of the working wave toward its target.
- A top-right panel summarizing the count, target, invalidation and bias.
How it works
The wave structure comes from an automated counting engine that validates Elliott
rules before locking a thesis: wave 2 does not retrace 100% of wave 1, wave 3 is
not the shortest, wave 4 does not overlap wave 1; for a zigzag, wave B retraces
38-78% of A and wave C is at least as long as A. The plotted values are a snapshot
of that locked thesis and the script is a clean rendering of it.
How to use it
Read the macro picture on the Daily, then drop to intraday to see where price sits
inside the active wave relative to the zones, the invalidation and the target.
This is a context and structure tool, not a buy/sell signal generator. Treat the
zones as areas to watch for your own confirmation and the invalidation line as the
level that voids the idea.
Note
Snapshot visualizer: the plotted levels reflect the thesis at publish time and are
refreshed when the script is updated.
Информация о релизе
Update — Elliott-correct zone priorityThis update fixes how the short reaction zones are ranked and labeled, so the
chart reflects the count's actual conviction instead of just listing zones by
price.
What changed
- The reaction zones are now ranked by Elliott conviction, not by proximity. A
corrective wave-2 typically retraces 50-61.8% of wave-1, so the deeper band is the
high-conviction area: PRIMARY = 0.5-0.618 retrace; SECONDARY = 0.382; EARLY =
0.236 (shallow, low conviction, needs strong reversal proof).
- The top-right panel now shows the PRIMARY zone first and tags the shallow area
as EARLY, instead of presenting the nearest zone as if it were the main one.
- Snapshot values refreshed to the current locked thesis.
Everything else is unchanged: a clean, read-only renderer of a single
mechanically-derived Elliott Wave thesis. Context and structure tool, not a
buy/sell signal generator.
Информация о релизе
designer.Информация о релизе
FENIX Waves — update (Jun 19, 2026)
- Wave C-2 has topped and locked at 67.3k; C-3 (the down impulse) is now the live
working wave.
- New C-3 Fibonacci projection: extension of C-1 (82.8k→59.1k) from the C-2 top.
Primary target 52.6k (0.618×C-1 — C-1 is extended, so by alternation C-3 stays
shallow); stretch 43.5k (1.0×C-1). The C-1 low at 59.1k is the minimum C-3 must
break to qualify as wave 3.
- Whole wave-C targets (fraction of wave A): 57.5k / 49.7k (magnet) / 41.9k.
- Bias remains SHORT. Thesis invalidated on a daily close above 82.8k; a close
above 67.3k cancels the C-3-down call (re-opens C-2).
- Orange dashed line projects from current price to the C-3 target, with
right-edge tags for every key level.
- Snapshot indicator — values update on each republish.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.