DTT ⴵ

DTT ⴵ is a clean, lightweight utility for adding professional watermarks and time-based reminders to any chart. It displays your brand/title, live market data (ticker/price/timeframe), the current date, configurable trading sessions (with your own reminder header), and an optional higher-timeframe (HTF) bar-close countdown—each with independent positioning, sizing, and auto-contrast.
Designed for focus and discipline: use it to keep risk reminders visible, mark key session windows, and glance the next HTF close without cluttering the chart.
What it shows
Main Watermark (brand/message)
Big title + subtitle, anywhere on the chart, with optional auto color that adapts to light/dark themes.
Market Data Watermark
Per-line display for Ticker, Last Price, and Timeframe (formatted as M5 / H1 / D1 / W1 / MN1, etc.). Each line has its own color, or you can enable a global auto-contrast override.
Date Watermark
Current date in your preferred format (e.g., yyyy-MM-dd, MMM dd, yyyy), with optional auto-contrast.
HTF Countdown (optional)
Minutes (or smart d/h/m) remaining to the next close of selected higher timeframes (5m → Monthly). Can auto-hide lower TFs relative to the current chart timeframe.
Session Watermarks (up to 3)
Three time windows with names, colors, and a timezone selector. Show a prominent header like “Reminder ⚠︎” or “Check Position Size” and only display sessions when they’re currently active.
Quick Start
In Main Watermark, set your Title and optional Subtitle.
In Market Data, choose which lines you want (Ticker/Price/Timeframe) and their position.
In Date Watermark, pick a format and position.
Toggle HTF Countdown on (optional). Choose which TFs to track (e.g., D/W), and whether to Auto-Hide Lower TF.
In Session Watermarks, set your Timezone and edit any of the three sessions (name, time window, color). Only active sessions will render.
Inputs & Controls
Main Watermark
Enable Main Watermark — show/hide.
Position — any of the 9 corners/centers.
Main Title / Subtitle — free text.
Sizes — Tiny / Small / Normal / Large / Huge (independent per line).
Auto-Adjust Colors to Chart — adapts title/subtitle to theme, with extra protection on extremely bright/dark backgrounds.
Manual Colors — choose title/subtitle colors when Auto is off.
Market Data Watermark
Enable Market Data — show/hide.
Position / Text Size — independent of the main watermark.
Show Ticker / Price / Timeframe — toggle each line.
Ticker/Price/Timeframe Colors — per-line colors.
Auto-Adjust All Colors — override individual colors with automatic contrast to chart background.
Timeframe formatting is normalized:
1,3,5,15,30,45 → M1/M3/M5/M15/M30/M45
60,120,180,240 → H1/H2/H3/H4
D or 1D → D1 ; multi-day → D2, D3, …
W or 1W → W1 ; multi-week → W2, …
M or 1M → MN1 ; multi-month → MN2, …
Date Watermark
Enable Date
Position / Text Size
Date Format — yyyy-MM-dd, MM/dd/yyyy, dd/MM/yyyy, MMM dd, yyyy, dd MMM yyyy
Date Color or Auto-Adjust Color
HTF Countdown
Enable HTF Countdown
Position / Text Size
Show Header / Header Text / Header Color
Auto-Hide Lower Timeframes — when ON, only show countdowns above the current chart TF.
Pick TFs — 5m, 15m, 30m, 1h, 4h, D, W, M (toggle any).
Format — Smart (d/h/m) or Minutes Only (m).
Countdown Color or Auto-Adjust Colors (applies to header & lines).
Session Watermarks
Enable Session Watermarks
Position / Text Size
Timezone — select from common regions or Exchange (uses the symbol’s exchange).
Show Header / Header Text / Header Color — e.g., “Reminder ⚠︎”, “Risk Management 🔔”.
Session 1 / 2 / 3
Enable
Name — e.g., “Potential News”, “NY Open”, “Close Positions”
Time — HHMM-HHMM (24-hour) using the selected Timezone
Color
Text Opacity — 0 = fully opaque text, 100 = fully transparent text.
Auto-Adjust Session Colors — auto-contrast against background (applies opacity too).
Sessions only render when the current time is inside their time window.
How it works (under the hood)
Tables on last bar: All watermarks render via table.* only on the last bar for performance (barstate.islast).
Auto-contrast: The script inspects chart.bg_color to detect light/dark and extreme backgrounds, choosing white/black when needed.
Market data: Uses syminfo.ticker, close, and a formatter for timeframe.period.
Date: Formatted with str.format from the current bar’s time.
HTF countdowns:
Pulls time(tf) to anchor the current HTF bar start and computes the minutes until the next close.
Smart mode chooses Xd Yh, Xh Ym, or Xm automatically; Minutes Only shows Xm.
Daily/Weekly/Monthly calculations use current clock values. Weekly assumes the next week starts Monday; monthly uses actual month length for countdown display.
Auto-Hide Lower TFs compares TFs in minutes vs. the current chart TF and hides anything at or below it.
Sessions: input.session windows are evaluated in the selected timezone (or exchange hours if “Exchange” is chosen). A session row appears only while in-session.
Tips & Best Practices
Use Auto-Adjust color options when sharing charts across themes (dark/light).
Keep the Main Watermark subtle (e.g., Normal/Small) and move Market Data to a corner to avoid covering price.
For scalping charts, enable D and W countdowns—great for anticipating session/HTF closes.
Set Session 1 to your news-check window and keep the header on (e.g., “Check Position Size ”).
Limitations / Notes
Countdown logic depends on TradingView’s session/time context; exotic custom sessions may not match exchange close rules.
Weekly countdown assumes week rollover on Monday.
“Monthly” duration comparisons use an approximate 30-day minute value only for thresholding in some helpers; the visible countdown uses the real month length.
No alerts—this is a visual utility.
Performance
Very light; all drawing is table-based and only refreshed on the last bar.
Works on any symbol and timeframe.
Built for the DTT Trading Community ⴵ to promote clarity, patience, and time-based discipline on the chart.
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả đồng ý mới có thể truy cập tập lệnh này. Bạn cần yêu cầu và xin phép sử dụng tập lệnh này. Quyền truy cập thường được cấp sau khi thanh toán. Để biết thêm chi tiết, hãy làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với unlimitedmoneyprinter.
TradingView KHÔNG khuyến khích trả tiền hoặc sử dụng tập lệnh trừ khi bạn hoàn toàn tin tưởng tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm thấy các giải pháp thay thế miễn phí, mã nguồn mở trong mục tập lệnh cộng đồng của chúng tôi.
Hướng dẫn của tác giả
Thông báo miễn trừ trách nhiệm
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả đồng ý mới có thể truy cập tập lệnh này. Bạn cần yêu cầu và xin phép sử dụng tập lệnh này. Quyền truy cập thường được cấp sau khi thanh toán. Để biết thêm chi tiết, hãy làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với unlimitedmoneyprinter.
TradingView KHÔNG khuyến khích trả tiền hoặc sử dụng tập lệnh trừ khi bạn hoàn toàn tin tưởng tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm thấy các giải pháp thay thế miễn phí, mã nguồn mở trong mục tập lệnh cộng đồng của chúng tôi.