The TUF_LOGIC library incorporates three-valued logic (also known as trilean logic) into Pine Script, enabling the representation of states beyond the binary True and False to include an 'Uncertain' state. This addition is particularly apt for financial market contexts where information may not always be black or white, accommodating scenarios of partial or...
Library "CandlesGroup_Types" CandlesGroup Type allows you to efficiently store and access properties of all the candles in your chart. You can easily manipulate large datasets, work with multiple timeframes, or analyze multiple symbols simultaneously. By encapsulating the properties of each candle within a CandlesGroup object, you gain a convenient and...
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 "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 "Vector2" Representation of two dimensional vectors or points. This structure is used to represent positions in two dimensional space or vectors, for example in spacial coordinates in 2D space. ~~~ references: docs.unity3d.com gist.github.com github.com gist.github.com gist.github.com gist.github.com ~~~ new(x, y) Create a new Vector2...
Library "CommonTypesMath" Provides a common library source for common types of useful mathematical structures. Includes: `complex, Vector2, Vector3, Vector4, Quaternion, Segment2, Segment3, Pole, Plane, M32, M44` complex Representation of a Complex Number, a complex number `z` is a number in the form `z = x + yi`, Fields: re : Real part of the...