Skip to content

What's the difference between a TradingView script's filename and display name?

What’s the difference between a TradingView script’s filename and display name?

Section titled “What’s the difference between a TradingView script’s filename and display name?”

TL;DR
The filename is how TradingView stores your script in the Pine editor; the display name (title/shorttitle) is what users see in dialogs. They can be different—and often are.

FilenameThe .pine file stored in your personal library.
Display nameThe title (and optional shorttitle) defined in code.
Used to…Filename: open scripts, manage versions. \ Display name: add indicators/strategies, publish scripts.
  • Open Pine Editor and check the script name in the tab.
  • Update strategy(title=...) or indicator(title=...) to match the filename.
  • Rename the file via Save As… if the names diverge.

If your filename and display name drift apart, you’ll search the Indicator dialog for “My Strategy” while the script is saved as script1.pine. Aligning them makes personal libraries manageable and avoids confusion when publishing.

//@version=5
strategy(title="Breakout Dashboard", shorttitle="Breakout DB", overlay=true)
  • Filename: whatever you saved in the Pine editor, e.g., breakout-dashboard.pine.
  • Indicator dialog search: looks for the filename (breakout-dashboard).
  • On-chart title & public listing: shows the display name (Breakout Dashboard or Breakout DB).
  1. Name the file right away
    Use Save As… and choose a filename that mirrors the display name.
  2. Update both when you rename
    Change the title/shorttitle and immediately rename the file to match.
  3. Use prefixes for personal organisation
    e.g., indicators/ma-colorizer.pine, strategies/breakout-db.pine.
  4. Before publishing
    Ensure the display name is final—users will see it in the public library.
TaskFilename used?Display name used?
Opening a script in Pine editor
Searching “Indicators & Strategies” dialog
Adding to a chart from “My Scripts”✅ (shown once loaded)
Publishing to the TradingView community
Sharing screenshots/videos
  • Does the Pine editor tab match the code’s title?
  • Have you given the script a unique short title (optional but helpful on charts)?
  • Are you using folder prefixes to group scripts (e.g., education/…)?
  • Treat the filename as the system name—used for storage and search.
  • Treat the display name as the marketing name—used on charts and public pages.
  • Align the two to avoid confusion and make collaboration easier.

Adapted from tradingcode.net, optimised for Algo Trade Analytics users.