OPEN-SOURCE SCRIPT
Cập nhật CTZ Bitcoin Cycle Master

**CTZ Cycle Trader + Confluence**
Three independent forecasting methods on one chart, gated so a signal only counts when they agree. Cyclical timing, statistical swing projection, and momentum triggering work together to show where price is likely to turn, when, and whether to act.
**① The Cycle Framework**
A four-tier cycle model — Daily (DCL), Weekly (WCL), Yearly (YCL) and 4-Year (4YCL) cycle lows — each with confirmation logic, running counts, and forward-projected timing windows. Asset presets auto-tune the cycle lengths to the instrument you load (Bitcoin, metals, indices, forex, energy). A live dashboard tracks days since each low, which windows are open, and the projected dates for the next turns.
**② Dual Swing Prediction Zones**
Drawing on the full history of the instrument's price swings, the tool projects **two forward target zones at once** — a green LOW-target box below price and a red HIGH-target box above it. Each is built from the statistical spread of past swings in that direction: how far they typically ran, and how long they lasted. Rather than guessing a single direction, it brackets the expected reversal range on both sides, so you can see where the next swing low and swing high are statistically due before price arrives. Green and red shading also colours every completed swing across history, making the market's rhythm visible at a glance.
**③ The Tidewave Trigger**
A WaveTrend + RSI momentum engine fires bull and bear reversal arrows, auto-adjusting from scalping frames to the macro. These are the entries — the moment the turn actually begins.
**The confluence**
The layers gate each other. A bull arrow carries full weight only inside the green low zone and near a projected cycle low; a bear arrow only in the red high zone near a cycle high. The cycle says a turn is *due*, the zone says *where and by how much*, momentum says *it's happening now*. A dedicated confluence alert fires only when all three agree.
**⚓ The 4-Year Anchor — and keeping it current**
Bitcoin's cycles nest inside the 4-year rhythm — every daily, weekly, and yearly low sits within the larger cycle that begins at each bear-market bottom. This tool lets you anchor the entire cycle clock to that bottom with a single date.
By default the anchor is set to **21 Nov 2022**, Bitcoin's last bear-market low. Every cycle phase and projection counts forward from there, so the timing is measured from a structurally meaningful origin rather than a mid-cycle pivot.
**Updating it:** each cycle bottom is a moving reference. When the next 4-year low forms and confirms, open the indicator settings, find the **4YCL Master Anchor** group, and change the **4YCL Anchor Date** to the new bottom (for the current cycle, that will be the 2026 low once it's in). The whole cycle clock re-bases from the new date instantly — no code editing required. Set it to the exact bottom candle, since the anchor is load-bearing: a few days off shifts every downstream projection by those days. Because you update it only after the low has confirmed, you'll always know the precise date. You can also toggle the anchor off to fall back to auto-detected pivots.
**Built to be read at a glance**
The dashboard consolidates cycle counts, open windows, due-dates, prediction-zone status, and anchor position into one panel. State labels, arcs, and extras stay off by default for a clean chart, and every layer has its own toggle — run pure cycles, pure signals, or the full confluence view.
*The cycle tells you when. The zones tell you where. Momentum tells you it's happening. Together they tell you whether to act.*
*For educational purposes. Not financial advice — always confirm with your own analysis and test on your own instruments and timeframes before trading live.*
Phát hành các Ghi chú
Here's the description for v3.1. I've written it as an updateable listing — leading with what the tool is, with a clear changelog section for the yearly-cycle rebuild so anyone reading knows what's new in this version.---
**CTZ Bitcoin Cycle Master**
A four-tier Bitcoin cycle tool — Daily, Weekly, Yearly and 4-Year cycle lows — built to show where each cycle bottoms, confirm it with real momentum, and keep the tiers honest to how Bitcoin actually moves.
**The four tiers**
*Daily (DCL) and Weekly (WCL)* lows confirm on a validated combination: price reclaiming the 9 EMA plus a StochRSI cross out of oversold. Cycle highs confirm on the mirror — EMA loss, StochRSI cross from overbought, and bearish divergence. Each confirmed low is graded (⭐ / •) by how many conditions aligned, including exhaustion flushes (capitulation wicks, volume climax) and RSI divergence.
*Yearly (YCL) and 4-Year (4YCL)* lows are anchored to a known bear-market bottom and count forward from there, so the long-cycle timing is measured from a real structural low rather than guessed. The 4YCL is snapped to the true deepest low around its target date — validated so that from the 2018 anchor it lands on the real November 2022 bottom.
**What's new in this version — the Yearly cycle, rebuilt**
The yearly tier has been completely reworked so it reflects real cycle behaviour instead of forcing a rigid rhythm:
*One star per calendar year, on that year's true deepest low.* "The 2025 low" now means the lowest print of 2025 — full stop. Higher or lower than the year before, every year prints. No more skipped years in bull phases, no more forcing lows onto an even ¼-cycle grid.
*A live provisional star for the year in progress.* The current year shows a faded **★ YCL?** marker that tracks the running low and moves down as price makes new lows. It stays provisional until the year closes, then finalises to a solid **★ YCL** — so you can see the developing yearly low in real time without mistaking an unconfirmed candidate for a confirmed bottom. If the low reclaims the 9 EMA + StochRSI while the year is still open, it upgrades to **⭐★ YCL?**.
*New-Year spacing guard.* When a single cycle low straddles the New Year (like the November 2022 / January 2023 double), the tool recognises it as one event and keeps only the deeper of the two, so you never get two yearly stars a few weeks apart. The spacing is a tunable input (default 120 days).
The yearly tier is now decoupled from the 4-year tier by design — a 4-year span may hold three, four or five yearly lows depending on what the market actually did. Honesty over forced symmetry. The 4YCL still anchors and draws independently, so the master low is never lost.
**On the chart**
Graded low/high labels for every tier, a background shade for price above/below the 9 EMA, and a live dashboard: days/weeks since each cycle low, the yearly and 4-year targets, StochRSI state, price vs 9 EMA, DCL state, and current exhaustion. Every tier has its own toggle, and full alerts fire on each confirmed low, high, and cycle event.
**Updating the anchor**
The whole long-cycle framework counts from one date — the confirmed 4-year (bear-market) low, set in the Anchor settings. When the next 4-year bottom forms and confirms, change that date to the new low and the yearly + 4-year timing re-bases instantly. Set it to the exact bottom, since the anchor is load-bearing.
*Home = BTC Daily; also runs on Weekly (daily tier drops out).*
*For educational purposes. Not financial advice — always confirm with your own analysis before trading live.*
Phát hành các Ghi chú
Here's the description for v3.2 — same structure as before, with the changelog updated to lead on the new live 4-year provisional.---
**CTZ Bitcoin Cycle Master**
A four-tier Bitcoin cycle tool — Daily, Weekly, Yearly and 4-Year cycle lows — built to show where each cycle bottoms, confirm it with real momentum, and track the developing lows live as they form.
**The four tiers**
*Daily (DCL) and Weekly (WCL)* lows confirm on a validated combination: price reclaiming the 9 EMA plus a StochRSI cross out of oversold. Cycle highs confirm on the mirror — EMA loss, StochRSI cross from overbought, and bearish divergence. Each confirmed low is graded (⭐ / •) by how many conditions aligned, including exhaustion flushes (capitulation wicks, volume climax) and RSI divergence.
*Yearly (YCL) and 4-Year (4YCL)* lows are anchored to a known bear-market bottom and count forward from there, so the long-cycle timing is measured from a real structural low rather than guessed. The 4YCL is snapped to the true deepest low around its target date — validated so that from the 2018 anchor it lands on the real November 2022 bottom.
**What's new in this version — live 4-year cycle tracking**
The 4-year tier now shows its developing low in real time, matching the yearly tier:
*Live provisional 4-year low.* As price moves into the 4-year window, a faded **◆ 4YCL?** appears and tracks the running deepest low, moving down as new lows print. When the snap-confirmation locks the true bottom, the solid **◆ 4YCL** supersedes it. So you see the developing 4-year low *as it forms*, not weeks later when it confirms — and when the faded 4-year marker lands on the same low as the faded yearly star, you're watching the yearly and 4-year cycles bottom together in real time.
**Also in the recent rebuild — the Yearly cycle**
*One star per calendar year, on that year's true deepest low.* "The 2025 low" means the lowest print of 2025 — full stop. Higher or lower than the year before, every year prints. No skipped years in bull phases, no forcing lows onto an even grid.
*Live provisional yearly low.* The current year shows a faded **★ YCL?** that tracks the running low and finalises to a solid **★ YCL** when the year closes. If the low reclaims the 9 EMA + StochRSI while the year is still open, it upgrades to **⭐★ YCL?**.
*New-Year spacing guard.* When one cycle low straddles the New Year (like November 2022 / January 2023), the tool keeps only the deeper of the two, so you never get two yearly stars a few weeks apart. Spacing is a tunable input (default 120 days).
The yearly tier is decoupled from the 4-year tier by design — a 4-year span may hold three, four or five yearly lows depending on what the market actually did. Honesty over forced symmetry. The 4YCL still anchors and draws independently, so the master low is never lost.
**Reading the developing bottom**
Faded markers with a question mark are live and provisional — the low is forming here, not yet confirmed. As the fast tiers (DCL/WCL) confirm above a provisional low, and price makes a higher low off it, the cycle bottom is confirming. The provisionals hold their position and the solid markers lock in behind them. Let confirmation, not the provisional, be what commits you.
**On the chart**
Graded low/high labels for every tier, a background shade for price above/below the 9 EMA, and a live dashboard: days/weeks since each cycle low, the yearly and 4-year targets, StochRSI state, price vs 9 EMA, DCL state, and current exhaustion. Every tier has its own toggle, and full alerts fire on each confirmed low, high, and cycle event.
**Updating the anchor**
The whole long-cycle framework counts from one date — the confirmed 4-year (bear-market) low, set in the Anchor settings. When the next 4-year bottom forms and confirms, change that date to the new low and the yearly + 4-year timing re-bases instantly. Set it to the exact bottom, since the anchor is load-bearing.
*Home = BTC Daily; also runs on Weekly (daily tier drops out).*
*For educational purposes. Not financial advice — always confirm with your own analysis before trading live.*
Phát hành các Ghi chú
Here's a publish-ready description for the update. I've kept the honest framing that runs through the tool — that's a strength on TradingView, where over-promising gets called out.---
**CTZ Bitcoin Cycle Master — v2.8 + Cycle High Projection**
This update extends the four-tier low engine (DCL / WCL / YCL / 4YCL) with a high-side layer: it now projects *when* each tier's high is due and reads whether the current weekly cycle is leaning bullish or bearish.
**What's new**
Cycle High Projection windows — three forward, time-anchored bands mark where the Weekly (WCH), Yearly (YCH) and 4-Year (4YCH) highs are statistically due. Each is anchored to its confirmed cycle low and sized by the cycle-translation rule: right-translated (strong) cycles top late in the band; a high that lands before its band is an early, left-translated warning. The 4YCH band tracks the running 4-year target, so it self-corrects as new cycles confirm.
Weekly Cycle High confirmation — a WCH label prints in-structure (9 EMA loss + StochRSI bear cross), mirroring the daily-high engine, so weekly tops are marked the same disciplined way the lows are.
Live translation read on the dashboard — two new rows. "Weekly translation" reports LEFT (early high / bearish), MID, or RIGHT (late high / bullish) once you're past the early part of the cycle, and "WCH high so far" shows how deep into the cycle the current high sits, as weeks and as a % of cycle length. It answers the everyday question — is this pushing to a late, strong high, or topping early and rolling over — on every bar.
New "Cycle High Projection" settings group lets you tune the weekly cycle length and each high window's start/end.
**How to read it**
The bands tell you *when to watch*; the translation read tells you *which way to lean*; the WCH label tells you *when a weekly high is confirmed*. A cycle pushing to new highs inside its band is healthy and right-translated; one rolling over before the band opens is weak and topping early.
**Honest note:** tops can't be forecast to the day — they only confirm after price breaks down, which is why this projects windows and reads translation rather than calling exact tops. Built for BTC on the Daily (also runs on Weekly). Not financial advice.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.