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
█ OVERVIEW Library "DateNow" TODO: Provide today's date based on UNIX time █ INSPIRATIONS Use pinescript v4 functions such as year(), month() and dayofmonth(). Use pinescript v5 function such as switch. Export as string variables. Not using any match function such as math.floor. █ CREDITS RicardoSantos █ KNOWN ISSUES Date for Day display...
Library "functionStringToMatrix" Provides unbound methods (no error checking) to parse a string into a float or int matrix. to_matrix_float(str, interval_sep, start_tk, end_tk) Parse a string into a float matrix. Parameters: str : , string, the formated string to parse. interval_sep : , string, cell interval separator token. start_tk : ,...
█ OVERVIEW This library is complementary for XABCD Harmonic Pattern Custom Range Interactive TupleSwitchHL() : Tuple Switch for High Low Parameters: : : _bool, low_X, high_X, low_A, high_A, low_B, high_B, low_C, high_C Returns: : price_X, price_A, price_B, price_C TupleSwitchStyleColor() : Tuple switch for style and color Parameters: :...
Library "srcCalc" Provides functions for converting input strings 'open','high','low','close','hl2','hlc3','ohlc4','hlcc4' to corresponding source values. get_src(src) Converts string to source float value Parameters: src : String to use (`close` is used if no argument is supplied). Returns: Returns the float value of the string
█ OVERVIEW This library is complementary for XABCD Harmonic Pattern Custom Range Interactive PriceDiff() : Price Difference Parameters: : : price_1, price_2 Returns: : PriceDiff TimeDiff() : Time Difference Parameters: : : time_1, time_2 Returns: : TimeDiff ReturnIndexOf3Arrays() : Return Index Of 3 Arrays Parameters: : :...
Library "external_input_utils" Collection of external input utilities for conversion and other hacky functions str_to_src(value) str_to_src - Convert the string value to the coresponding source series. It can be used to limit the "input.source" choices provided to the end user. The most interesting part is that it can be used to overcome the "one...
Example overload functions accept loading of _value for types float, int, or string, then positively identifies the actual argument type of that specific loaded _value.