Library "Log" - Log methods that return input value for code readbility and cleaness. method str(input) str Namespace types: series float, simple float, input float, const float Parameters: input (float) method str(input) str Namespace types: series int, simple int, input int, const int Parameters: input (int) method str(input)...
Library "debug" Show Array or Matrix Elements In Table Use anytime you want to see the elements in an array or a matrix displayed. Effective debugger, particularly for strategies and complex logic structures. Look in code to find instructions. Reach out if you need assistance. Functionality includes: Viewing the contents of an array or matrix on screen....
Library "lib_unit" functions for assertions and unit testing method init(this) Namespace types: Test Parameters: this (Test) method is_true(this, expression, message) assert that expression is true, if it's false a runtime error will be thrown Namespace types: Test Parameters: this (Test) expression (bool) : The value to be...
Library "Tooltip" This library helps creating and managing nice looking data (key/value) tooltips that you can use for labels. The tooltips data key/value will align automatically. It is optional to convert the data to a values only string too. method addSpacesToKey(this) Calculates the amount of spaces needed after the key to make it the key least 4...
This library provides a JavaScript-style debug console to Pine Coders. It supports the most commonly used utilities from the WHATWG Console Standard including the following: • console.log • console.debug • console.info • console.warn • console.error • console.assert • console.count • console.countReset • console.group • console.groupEnd •...
Library "tools" A library of many helper methods, plus a comprehensive print method and a printer object. This is a newer version of the helpers library. This script uses pinescripts v5 latest objects and methods.
📕 Console Library 🔷 Introduction This script is an adaptation of the classic JavaScript console script. It provides a simple way to display data in a console-like table format for debugging purposes. While there are many nice console/logger scripts out there, my personal goal was to achieve inline functionality and visual object (label, lines) logging...
Library "FrizBug" Debug Tools | Pinescript Debugging Tool Kit All in one Debugger - the benefit of wrapper functions to simply wrap variables or outputs and have the code still execute the same. Perfect for Debugging on Pine str(inp) Overloaded tostring like Function for all type+including Object Variables will also do arrays and matricies of all...
Library "condition" True/False Condition tools and toggles for booleans and utility. suggested use is checking if a calculation is required, or can be skipped speeding up script calculations in realtime and historical scenarios. isonlywihtout(_first_cond, _second_cond) output is true only if first true and second false Parameters: _first_cond :...
Library "Utilities" General utilities print_series(s, skip_na, position, show_index, from_index, to_index) Print series values Parameters: s : Series (string) skip_na : Flag to skip na values (optional bool, dft = false) position : Position to print the Table (optional string, dft = position.bottom_center) show_index : Flag to show...
Library "matrixautotable" Automatic Table from Matrixes with pseudo correction for na values and default color override for missing values. uses overloads in cases of cheap float only, with additional addon for strings next, then cell colors, then text colors, and tooltips last.. basic size and location are auto, include the template to speed this up... TODO...
Library "console" Simple debug console to print messages from your strategy code. USAGE : Make sure your strategy overlay is false Import the library : import keio/console/1 as console init(lines, panes) Initialise function. USAGE : var log = console.init() Parameters: lines : Optional. Number of lines to display panes :...