format
Properties
inherit
Type: const string
Is a named constant for selecting the formatting of the script output values from the parent series in the indicator() function.
mintick
Type: const string
Is a named constant to use with the str.tostring() function.
Passing a number to str.tostring() with this argument rounds the number to the nearest value that can be divided by syminfo.mintick, without the remainder, with ties rounding up, and returns the string version of said value with trailing zeros.
percent
Type: const string
Is a named constant for selecting the formatting of the script output values as a percentage in the indicator function.
It adds a percent sign after values.
price
Type: const string
Is a named constant for selecting the formatting of the script output values as prices in the indicator() function.
volume
Type: const string
Is a named constant for selecting the formatting of the script output values as volume in the indicator() function.
E.g. '5183' will be formatted as '5.183K'.