OPEN-SOURCE SCRIPT
已更新 Advanced Watermark By JZ

This is a highly customizable chart watermark and layout-safe dashboard for TradingView (Pine Script v6). It dynamically arranges text elements without overlapping or throwing runtime table errors.
Key Features
Dynamic Anti-Collision Layout Engine: Automatically stacks elements or pushes them side-by-side depending on your position choices. If you set multiple elements to Above, Below, or Right, the script intelligently queues them so they never overlap.
Multi-Source Price Change: Tracks percentage and point changes relative to the Current Timeframe, Daily, Weekly, or Monthly close.
Integrated Trading Rules / Message Board: Features a separate, multi-line text area to keep your trading rules (NO FOMO, WAIT FOR SETUP) clearly visible on your screen.
Settings Explained
1. Watermark Visibility (inline = "wm1" / "wm2")
Show Timeframe: Toggles the visibility of the current chart resolution (e.g., 1h, 4h, D).
Show Exchange: Toggles the visibility of the exchange prefix (e.g., BINANCE, NASDAQ).
Show Change: Toggles the real-time price change statistics.
Show Signature: Toggles your personalized signature text.
2. Positions relative to Title (group = "Positions relative to Title")
Exchange Position: Places the exchange text either Above the ticker symbol or to its Left.
Change Position: Moves the price change label Above, Below, Left, or Right relative to the main title.
Note: Setting both Exchange and Change to Above creates a perfect vertical stack: Change → Exchange → Title.
Signature Position: Places your custom text either Below or to the Right of the layout.
3. Table Alignment on Screen (group = "Table Alignment on Screen")
Vertical Position: Anchors the watermark to the Top, Middle, or Bottom of your chart screen.
Horizontal Position: Aligns the entire watermark structure tightly against the Left edge, Center, or Right edge of your screen.
4. Change Display Mode
Percent Only: Displays only the directional arrow and percentage (e.g., ▲ 1.45%).
Points Only: Displays only the absolute value price change (e.g., ▲ +150.50).
Both: Combines both metrics cleanly (e.g., ▲ 1.45% (+150.50)).
Change Source: Allows you to measure performance relative to Current TF, Daily, Weekly, or Monthly candles.
5. Sizes & Colors (group = "Sizes" / "Colors")
Provides independent text size scales (tiny to huge) and individual transparency/color controls for the Title, Exchange, Signature, and Positive/Negative market returns.
6. Message Board (group = "Message")
A fully customizable multi-line text widget. Great for keeping trading psychology reminders, strict plan rules, or custom daily notes fixed in a separate corner of your screen. Fully adjustable for size, position, and color.
Key Features
Dynamic Anti-Collision Layout Engine: Automatically stacks elements or pushes them side-by-side depending on your position choices. If you set multiple elements to Above, Below, or Right, the script intelligently queues them so they never overlap.
Multi-Source Price Change: Tracks percentage and point changes relative to the Current Timeframe, Daily, Weekly, or Monthly close.
Integrated Trading Rules / Message Board: Features a separate, multi-line text area to keep your trading rules (NO FOMO, WAIT FOR SETUP) clearly visible on your screen.
Settings Explained
1. Watermark Visibility (inline = "wm1" / "wm2")
Show Timeframe: Toggles the visibility of the current chart resolution (e.g., 1h, 4h, D).
Show Exchange: Toggles the visibility of the exchange prefix (e.g., BINANCE, NASDAQ).
Show Change: Toggles the real-time price change statistics.
Show Signature: Toggles your personalized signature text.
2. Positions relative to Title (group = "Positions relative to Title")
Exchange Position: Places the exchange text either Above the ticker symbol or to its Left.
Change Position: Moves the price change label Above, Below, Left, or Right relative to the main title.
Note: Setting both Exchange and Change to Above creates a perfect vertical stack: Change → Exchange → Title.
Signature Position: Places your custom text either Below or to the Right of the layout.
3. Table Alignment on Screen (group = "Table Alignment on Screen")
Vertical Position: Anchors the watermark to the Top, Middle, or Bottom of your chart screen.
Horizontal Position: Aligns the entire watermark structure tightly against the Left edge, Center, or Right edge of your screen.
4. Change Display Mode
Percent Only: Displays only the directional arrow and percentage (e.g., ▲ 1.45%).
Points Only: Displays only the absolute value price change (e.g., ▲ +150.50).
Both: Combines both metrics cleanly (e.g., ▲ 1.45% (+150.50)).
Change Source: Allows you to measure performance relative to Current TF, Daily, Weekly, or Monthly candles.
5. Sizes & Colors (group = "Sizes" / "Colors")
Provides independent text size scales (tiny to huge) and individual transparency/color controls for the Title, Exchange, Signature, and Positive/Negative market returns.
6. Message Board (group = "Message")
A fully customizable multi-line text widget. Great for keeping trading psychology reminders, strict plan rules, or custom daily notes fixed in a separate corner of your screen. Fully adjustable for size, position, and color.
版本注释
Initials delete from the script name版本注释
Updated background and frames开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
JZ
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
JZ
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。