█ OVERVIEW The library contains functions for parsing and importing complex CSV configurations (with a special simple syntax) into a special hierarchical object (of type objProps ) as follows: Functions: parseConfig() - reads CSV text into an objProps object. toT() - displays the contents of an objProps object in a table form, which allows to...
█ OVERVIEW Contains various functions for manipulation with strings: - padright() / padleft() - Pad a string to the right or left with a given char. - trim2() - Trims not only spaces but also line breaks. - nz(string) - like nz(), replaces na with a supplied string █ FUNCTIONS nz(s, replacement) Similar to nz() but for strings. However,...
█ OVERVIEW Contains functions for concatenation and wrapping of the strings: - concatTrunc() / concatTrunc2() - Concatenate via a separator up to a given length truncating from left or right. concatTrunc2 returns also the number of overflowing chars (in a tuple) - print() - A powerful concatenate function truncating chars from left or right and/or lines...
█ OVERVIEW This library contains regular expression (regex) search functions which are helpful, in particular, in reading configuration inputs. feedRgx(): Searches for the first occurrence of `regex` pattern in the `src` and returns `src` split into parts as a tuple: ` `. If no match returns ` ` countRgx(): Counts `regex` occurrences in the...
█ OVERVIEW Contains methods for conversion of matrices to string. Supports matrices of int/float/bool/string/color/line/label/box/. - toStringMx(matrix) - converts matrix to a string matrix converting each of its elements to string - toS(matrix) - converts matrix to a string matrix (using toStringMx()) and outputs as string using str.tostring(matrix)...
█ OVERVIEW Contains to string conversion methods arrays of int/float/bool/string/line/label/box types - toS() - method works like array.join() with more flexibility and - toStringAr() - converts array to string on a per item basis and returns the resulting string array Conversion of each item to string is made using toS() function from moebius1977/ToS/1...
█ OVERVIEW Contains methods for conversion to string of simple types int/float/bool/string/line/label/box . - toS() - For bool/int/float works much the same as str.tostring() with some shorthand formatting options for int/float. For line/label/box displays their text and coordinates automatically formatting x coordinate as time or bar index. - ...
Library "TimeframeComparison" Timeframe comparison for higher and lower timeframe █ OVERVIEW This library is used to compare higher / lower timeframe by using timeframe.multiplier. minMult() timeframe multiplier in minutes Returns: float value
The "Pineify/common" library presents a specialized toolkit crafted to empower traders and script developers with state-of-the-art time manipulation functions on the TradingView platform. It is instead a foundational utility aimed at enriching your script's ability to process and interpret time-based data with unparalleled precision. Key Features String...
Library "SimilarityMeasures" Similarity measures are statistical methods used to quantify the distance between different data sets or strings. There are various types of similarity measures, including those that compare: - data points (SSD, Euclidean, Manhattan, Minkowski, Chebyshev, Correlation, Cosine, Camberra, MAE, MSE, Lorentzian, Intersection, Penrose...
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...
You don't need to initialize anything.. After you import the library you can use .print() as easy as that..! Hope this helps * use a unique ID for each .print() call let me know if you run into any bugs by trying to make it as user friendly as possible i had to do some not ideal things so there's a chance it could present some bugs with a lot of labels...
Library "string_utils" Collection of string utilities that can be used to replace sub-strings in a string and string functions that are not part of the standard library. This a more simple replacement of my previous string_variables library since it uses types for better performance due to data locality and methods that give a more intuitive API.
Library "Unispaces" Easier than looking up unicode spaces spaces(sequence, string1, string2) UNISPACES Parameters: sequence : (int) required | 123 = 3 spaces / 3 different sizes (one space per number can find spaces in hover over) string1 : (str) optional | default = "" string2 : (str) optional | default = "" Returns: `string -...
Library "Sub_Super_Script_and_RomanNumerals_Library" Library to transform numbers into Roman numerals / Super-Sub script / check if value is alpha or number isnumber(input) check to see if value is a number Parameters: input : (string/float/int) value to check Returns: (na) if value is NOT a number and input (string/float/int) if value is a...
Library "String_Encoder_Decoder" String encoder and decoder to use in internal data tranfer in script calculations. In example, script encode 125 values once and then decode them every candle. encode(array or values (val1,val2,val3,val4,val5,val6) encode: encode some values into string Parameters: array : of values or values1, value2 (up to 6...
Library "into" convert literals by type, Same-types left in for bulk reasons. TODO: Expand Types b(string) Convert string to bool. Parameters: string : val A string value. Returns: Bool. b(bool) Pass Bool/bool Parameters: bool : Returns: Bool. b(float) Convert Float (True if exists and not 0) Parameters: float : val A...
Library "font" Unicode Characters Replacement function for strings. uni(_str, _number) Unicode Font Substitutee Parameters: _str : Input Strinbg _number : Font by Int input uni(_str, _number) Unicode Font Substitutee Parameters: _str : Input Strinbg _number : Font by Name input