@mirzaanugerah87
20 h on charts
3 scripts

Genesis Time Cycles — Time-Anchored Cycle Structure & Key Time Windows A time-first structure tool. Every cycle is anchored to one user-defined Time Anchor (server time, local midnight, or custom epoch), so all tiers share one coherent fractal lattice — from a 28-minute nano cycle to a 64-year macro ladder. Cycle Structure (Time × Price): • Fractal tiers in QT (÷4) and TT (÷3): micro (112m/28m), minor (7.5H), weekly, monthly, quarterly, yearly, plus macro ladders (4Y/16Y/64Y, 3Y/9Y/27Y) • Absolute vs session lattice: Absolute anchors to the real-week grid (28m/112m/7.5H — weekend-agnostic, auto-scaled for 24/7 crypto); session mode to the trading day (22m/90m/6H) • Separators, open lines and indexed labels (e.g. 112m3) — know which cycle you are in and where it opened • Previous-cycle high/low liquidity lines from the pivot, extended right • On-chart boxes with live progress per tier, colored by cycle position • Anchor-aware triggers respecting weekends, 24/7 crypto and DST — no mid-bar repainting Key Time Windows (TW): Up to 10 manual intraday windows, or Auto TW. Auto follows the OCB micro/minor routing (QT/TT), opens one box per minor on your chosen micro slot (shifted or fixed), each box lasting exactly one micro cycle. Every TW tracks high/low, pivot hi/lo, midpoints with optional stop-on-mitigation, and its own color. The range table shows the latest 5 completed auto windows plus a live row with a countdown to the next micro boundary. Averages are per slot — 112m3, 112m4, 28m2 each have their own average, using the same Average Length input as manual TW. No shared/blended average. Price Feed: bar coloring labels each candle expansion, base, clean base, inside bar or trap. Powered by the open GenesisTimeCycle library. No signals, no directions — a clean structural map for your own analysis across FX, gold, indices and crypto. Non-repainting. Works on any timeframe.

Adaptive linear regression channel (OLS or volume-weighted) with R²-scaled bands and OB/OS zones, four-layer market structure (BOS/MSS, draw-on-liquidity) on a custom epoch lattice, HTF candle panel with price-feed coloring, sweep reversal zones with long/short colors, and a Kalman-filtered ATR ribbon. No-repaint structure detection, two-tier reversal signals with sweep confluence, and full alerts. Research tool, not financial advice.

A precision time-engine library that turns any chart into a structured cycle lattice. Instead of relying on broker sessions or calendar boundaries, GenesisTimeCycle anchors every cycle tier to a single, user-defined Time Anchor (a custom epoch or midnight open), so all time frames share one coherent, fractal structure — from a 28-minute micro cycle up to a 64-year macro ladder. What it computes — in a single call per bar: AnchorState: all anchor timestamps and elapsed-time offsets for Daily, Weekly, Monthly, 10-Day Cadence, Yearly, and the fractal year ladders — QT (4Y/16Y/64Y) and TT (3Y/9Y/27Y) Fiscal calendar: fiscal month, fiscal year number since epoch, and cadence index derived from the anchor — not the calendar 34 cycle trigger flags (isnewd, isnewdqmicro for the 112m micro tier, isnewdqmicromicro for 28m, weekly QBox, nano tiers and more), each handling weekend gaps, 24/7 crypto sessions, and epoch-bar alignment so a new cycle never fires mid-bar or repaints CycleEntity: an OOP state object per tier that tracks the current and previous cycle open, high, low, and their timestamps — updated with one method call Three anchor modes: SERVERTIME (broker/chart timezone), MIDNIGHTOPEN (local midnight), and CUSTOMEPOCH (any date/time you choose — e.g. a historical market epoch). All downstream boundaries follow the same anchor, with bulletproof modulo math that survives DST shifts and weekend gaps. Design goals: deterministic and non-repainting (triggers are bar-close safe), crypto- and FX-aware, and zero drawings — the library returns pure state, so your indicator decides exactly what to plot. Tokens live in the library, keeping your calling script small. Typical uses: cycle separators and tiered high/low projections, time-of-cycle dashboards, regime gating for strategies, confluence timing filters, or any system that needs "where are we in the cycle?" answered consistently across timeframes. Import, call once per bar at global scope, read the flags
import u_ff7cbc86901dc021/GenesisTimeCycle/1 as lib