Private Readonly defaultHolds the URI of the default icon
Private existingHolds the URI of an existing file
Private Readonly libraryHolds the URI of the library icon
Private newHolds the URI of a new existing file
Private scriptHolds the list of scripts
Private Readonly strategyHolds the URI of the strategy icon
Private Readonly studyHolds the URI of the study icon
Private ensureOpens a script with the given name, script ID part, and version.
The script ID part of the script to open.
The version of the script to open.
The type of scripts to fetch ('saved' or 'built-in').
Processes an existing file by renaming it with a unique number suffix if a file with the same name already exists.
The URI of the existing file.
The directory of the script.
The name of the script.
The new content of the script.
Generated using TypeDoc
PineScriptList class is responsible for managing a list of Pine Scripts.