OPEN-SOURCE SCRIPT
Aktualisiert

Timebender 369 Time Calculator

105
Overview

The Timebender Digits indicator visualizes rhythmic price cycles by marking confirmed swing highs and lows with dynamically colored numerical stamps.
Each number is derived from the sum of the current candle’s hour and minute, reduced to a single digit (1–9), providing a visual “time signature” for each structural turn in market flow.

This is a structural-pivot model inspired by LuxAlgo’s swing logic, rebuilt from the ground up in Pine v6 using the Timebender Rulebook framework for flawless compilation and precision label anchoring.

Core Features

Dynamic Swing Detection:
Detects structural highs/lows using ta.pivothigh() and ta.pivotlow(), confirmed after the selected number of bars (len).

Digit Logic (1–9):
Converts the pivot candle’s timestamp into a reduced digit from 1–9, acting as a symbolic rhythm marker.

Phase-Based Coloring:

1-3 → Accumulation (Gray)

4-6 → Manipulation (Green)

7-9 → Distribution (Blue)

Floating or Fixed Labels:
Option to keep digits visually anchored above/below candles (yloc.abovebar/belowbar) or locked to price (yloc.price) with customizable ATR offset.

Clean Visuals:
Transparent background, no boxes, no tooltips — just crisp digits that scale smoothly with zoom.

Master Toggle:
Instantly hide/show all digits without removing the indicator.

Inputs & Customization

Show Digits on Chart: Enable/disable plotting.

Pivot Length: Number of bars used to confirm swings (default 21).

Float Above/Below Bars: Switch between floating or price-anchored mode.

ATR Offset Multiplier: Adjust spacing when price-anchored.

Digit Size: Tiny → Huge (default Large).

Color Controls: Customize the Accumulation, Manipulation, and Distribution color palette.

Use Cases

Visualize time-based rhythm in market structure.

Identify cyclical energy between accumulation, manipulation, and distribution phases.

Study how market timing aligns with structural swing formation.
Versionshinweise
We just changed the name thats shown, simple and clearer.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.