INVITE-ONLY SCRIPT
DTT ⴵ

DTT ⴵ — Watermarks, Sessions & HTF Countdown
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.
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.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청을 보내고 승인을 받아야 합니다. 일반적으로 결제 후에 승인이 이루어집니다. 자세한 내용은 아래 작성자의 지침을 따르거나 unlimitedmoneyprinter에게 직접 문의하세요.
트레이딩뷰는 스크립트 작성자를 완전히 신뢰하고 스크립트 작동 방식을 이해하지 않는 한 스크립트 비용을 지불하거나 사용하지 않는 것을 권장하지 않습니다. 무료 오픈소스 대체 스크립트는 커뮤니티 스크립트에서 찾을 수 있습니다.
작성자 지시 사항
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청을 보내고 승인을 받아야 합니다. 일반적으로 결제 후에 승인이 이루어집니다. 자세한 내용은 아래 작성자의 지침을 따르거나 unlimitedmoneyprinter에게 직접 문의하세요.
트레이딩뷰는 스크립트 작성자를 완전히 신뢰하고 스크립트 작동 방식을 이해하지 않는 한 스크립트 비용을 지불하거나 사용하지 않는 것을 권장하지 않습니다. 무료 오픈소스 대체 스크립트는 커뮤니티 스크립트에서 찾을 수 있습니다.
작성자 지시 사항
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.