Exciting Update: Version 1.0.1 is now available, introducing high-performance technical indicators and custom drawing tools. Read more
Version: 1.0.0

Custom watermark logo

The CustomWatermarkLogo module configures the interactive branding pill badge shown on the chart — with a clickable logo, label text, and target URL.

Overview

Edit custom-watermark-logo.js to call window.ChartingAPI.setWatermarkLogoSettings(). The badge expands on hover to show the branding text and becomes clickable to navigate to the specified URL.

Settings API

window.ChartingAPI.setWatermarkLogoSettings({
  show: true,
  logoUrl: 'https://backtestx.in/logo.png', // URL to the logo image
  clickUrl: 'https://backtestx.in', // Target URL on click
  text: 'Chart by BacktestX' // Label text next to the logo
});

Options Reference

OptionTypeDescription
showbooleanToggle visibility of the branding pill badge.
logoUrlstringURL or local path to the logo image.
clickUrlstringTarget URL navigated to when the badge is clicked.
textstringLabel text displayed next to the logo on expand.