Class PineTemplates

Class for managing PineScript templates.

Constructors

Properties

date: string = ...

Methods

  • Create and save a new indicator script template.

    Returns Promise<string>

  • Create and save a new library script template.

    Returns Promise<string>

  • Show an input box to get the script's save name.

    Returns Promise<string>

    • A promise that resolves to the script's save name.
  • Create and save a new strategy script template.

    Returns Promise<string>

  • Save and open a new script with the provided template content.

    Parameters

    • templateContent: string

      The content of the script template.

    • Optional scriptName: string

      The name of the script to save.

    Returns Promise<void>

Generated using TypeDoc