Tools Documentation
Use the tools
library to make writing your pinescript project a lot easier.
To get started, import the latest version of the tools library and follow the guides below. You can also check out each resource for more info.
Casting
Interchange data with casting.
Read more
Join and split
Helpers for joining arrays and splitting strings.
Read more
Generators
Generators to create various random data.
Read more
Printer
A comprehensive printer object.
Read more
Style
Customizing the printer object.
Read more
Method for inspeting object types.
Methods for object casting.
Methods for object casting.
Functions for generating string values.
Functions for generating float numbers.
Functions for generating integer numbers.
Functions for generating boolean values.
Functions for generating color values.
Functions for generating unix timestamps values.
Methods for breaking down and comparing timestamps.
An expansion to the Pinescript's color.from_gradient() method.
All available style objects for printer.
The _printer object and all available methods.