Library "Vector2Array" functions to handle vector2 Array operations. . references: docs.unity3d.com gist.github.com github.com gist.github.com gist.github.com gist.github.com . from(source, prop_sep, vect_sep) Generate array of vector2 from string. Parameters: source : string Source string of the vectors. prop_sep : string Separator character...
Library "Segment2" Structure representation of a directed straight line in two dimensions from origin to target vectors. . reference: graphics.stanford.edu . new(origin, target) Generate a new segment. Parameters: origin : Vector2 . Origin of the segment. target : Vector2 . Target of the segment. Returns: Segment2. new(origin_x, origin_y,...
Library "Vector2DrawQuad" functions to handle vector2 Quad drawing operations. new(a, b, c, d, xloc, bg_color, line_color, line_style, line_width) Draws a quadrilateral with background fill. Parameters: a : v2 . Vector2 object, in the form `(x, y)`. b : v2 . Vector2 object, in the form `(x, y)`. c : v2 . Vector2 object, in the...
Library "Vector2DrawTriangle" Functions to draw a triangle and manipulate its properties. new(a, b, c, xloc, bg_color, line_color, line_style, line_width) Draws a triangle with background fill using line prototype. Parameters: a : v2 . Vector2 object, in the form `(x, y)`. b : v2 . Vector2 object, in the form `(x, y)`. c : v2 ....
Library "CommonTypesDrawing" Provides a common library source for common types of used graphical drawing structures. Includes: `Triangle, Quad, Polygon` Triangle Representation of a triangle using lines and linefill. Fields: ab : Edge of point a to b. bc : Edge of point b to c. ca : Edge of point c to a. fill : Fill of the...
Library "Vector2DrawLine" Extends line type with methods for Vector2 and Segment2. new(origin, target, xloc, extend, color, style, width) Draws a line using Segment type to hold its coordinate properties.. Parameters: origin : Vector2 . Origin vector of the line. target : Vector2 . Target vector of the line. xloc : string extend :...
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...
Style Made Easy with 175 Reversable light/dark themes Built on to of my theme engine, so any tools built with one will work with the other. getTheme(_input) Get a theme by name. (see lib for copy/paste list) Parameters: _input : string Name of Theme to use. apathy() Theme preset -> "Apathy" Returns: Theme object apprentice() Theme preset...
▮ FEATURES Now as library version :) String-based transition-effects Performance optimization. Reduced memory consumption up to >90% by kicking the output to the "stdout". Use marquee- or loader-effect on any possible string location. Example: UI Price-Ticker ---------------------------------------------------------------------------- Library ...
SignalBuilder Utility for building a collection of signal values. Provides a default view for displaying signals. Simplified API for aggregating signal values. Flexible for use with indicators and strategies. See the demo section for an example.
TableBuilder is a library designed to make it easier to create tables in PineScript. It allows you to more flexibly define the structure of a table before actually building it. Features: Style inheritance: styles are inherited from Table, to Column, to Row, and then Cell. Columns are useful for propagating/reusing style but they are not required. Add rows...
Library "Obj_XABCD_Harmonic" Harmonic XABCD Pattern object and associated methods. Easily validate, draw, and get information about harmonic patterns. See example code at the end of the script for details. init_params(pct_error, pct_asym, types, w_e, w_p, w_d) Create a harmonic parameters object (used by xabcd_harmonic object for pattern validation and...
█ OVERVIEW This is a simplest example of user-defined types (UDT) or objects , which simplify as alternative to hello world. █ CREDITS Tradingview █ USAGE These are the types used during initializations, commonly variables. export type Settings int bar float price string phrase ... Example of library function to print out label. ...
Library "datTable" Dynamic Array Table.... Configurable Shape/Size Table from Arrays Allows for any data in any size combination of arrays to join together with: all possible orientations! filling all cells contiguously and/or flipping at boundaries vertical or horizontal rotation x/y axis direction swapping all types array inputs for data. ...
Library "CSMlibrary" TODO: Contains functions to simplify my scripts. Using code snippets in reference manual and elsewhere ..... CSMplot()
Library "base16" Base16 Syntax Theme Collection. dark/light Pairs placed into 2 matched groups. included is tool for assembling your own themes, as well as all themes String names to create your own Input menus / add to your own theme matrix, and theme selectors addToMatrix(_mtx, _title, _choices, _theme) To create a theme matrix with string index, use...