All indicators

AG FX - Watermark

Oct 10, 2021

Static chart image
Dashboard

The AG FX - Watermark tool provides a highly customizable on-chart labeling system that allows traders to overlay personalized titles, subtitles, and symbol information for improved chart organization and branding.

Usage

The Usage section describes how the script can be used to professionalize chart layouts. This tool is primarily used by traders who share their analysis and wish to maintain consistent branding or keep track of specific trading mantras and symbol details directly on the visual interface.

Customizing Text

Users can input a primary title and a secondary subtitle. To create multi-line text blocks, the \n character sequence can be used within the input strings to force a line break.

Positioning

The indicator features independent positioning for the text watermark and the symbol information. Users can choose from nine different grid locations (top/middle/bottom combined with left/center/right) to ensure the watermark does not obstruct price action or other technical indicators.

Details

The script is constructed using the TradingView table display type, which ensures the watermark remains fixed relative to the chart window rather than being tied to specific price coordinates or bars. This implementation allows the watermark to persist in the same visual location regardless of zooming or scrolling.

The logic dynamically fetches real-time data using syminfo.ticker and timeframe.period to generate the symbol information string. It also calculates the current date from the exchange time to provide a timestamp for the analysis. The indicator execution is restricted to the last bar (barstate.islast) to optimize performance and prevent unnecessary calculations on historical data.

Settings

  • Title: The main text displayed in the primary watermark cell.
  • Subtitle: The secondary text displayed below the title.
  • Show Symbol Info: Toggles the visibility of the ticker, timeframe, and date information.
  • Watermark Position: Determines the vertical and horizontal alignment of the Title and Subtitle.
  • Symbol Position: Determines the vertical and horizontal alignment of the symbol and date information.
  • Width/Height: Manual percentage-based overrides for cell dimensions (set to 0 for automatic sizing).
  • Title Settings: Controls the color, size (tiny to huge), and alignment of the primary title.
  • Subtitle Settings: Controls the color, size, and alignment of the secondary subtitle.
  • Symbol Settings: Controls the color, size, and alignment of the ticker and date display.
  • Background: Sets the background color and transparency for the table cells.

FAQ

How do I create a new line in the title? You can use the \n character sequence within the text input fields to start a new line of text within the same cell.

Can I move the symbol information independently of the title? Yes, the script includes separate position settings for the main text watermark and the symbol information, allowing them to be placed in different corners of the chart.

How do I get access to the AG FX - Watermark? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.