Library "Vector3" Representation of 3D vectors and points. This structure is used to pass 3D positions and directions around. It also contains functions for doing common vector operations. Besides the functions listed below, other classes can be used to manipulate vectors and points as well. For example the Quaternion and the Matrix4x4 classes are useful for...
Library "Mad_Standardparts" This are my Standardparts used in upcoming scipts roundTo(_value, _decimals) Round a floating point value to a specified number of decimal places. @description This function takes a floating point value and rounds it to a specified number of decimal places. Parameters: _value (float) : The floating point value to be...
Introduction: Spider charts, also known as radar charts or web charts, are a powerful data visualization tool that can display multiple variables in a circular format. They are particularly useful when you want to compare different data sets or evaluate the performance of a single data set across multiple dimensions. In this blog post, we will dive into the world...
Library "ReversalChartPatternLibrary" User Defined Types and Methods for reversal chart patterns - Double Top, Double Bottom, Triple Top, Triple Bottom, Cup and Handle, Inverted Cup and Handle, Head and Shoulders, Inverse Head and Shoulders method delete(this) Deletes the drawing components of ReversalChartPatternDrawing object Namespace types:...
Library "ObjectHelpers" Line | Box | Label | Linefill -- Maker, Setter, Getter Library TODO: add table functionality set(object) set all params for `line`, `box`, `label`, `linefill` objects with 1 function *** ## Overloaded *** ``` method set(line Line, int x1=na, float y1=na, int x2=na, float y2=na,string xloc=na,string extend=na,color color=na,string...
Library "HarmonicPatternTracking" Library contains few data structures and methods for tracking harmonic pattern trades via pinescript. method draw(this) Creates and draws HarmonicDrawing object for given HarmonicPattern Namespace types: HarmonicPattern Parameters: this (HarmonicPattern) : HarmonicPattern object Returns: current HarmonicPattern...
Library "LineWrapper" Wrapper Type for Line. Useful when you want to store the line details without drawing them. Can also be used in scnearios where you collect lines to be drawn and draw together towards the end. draw(this) draws line as per the wrapper object contents Parameters: this : (series Line) Line object. Returns: current Line object ...
Library "Vector2FunctionClip" Sutherland-Hodgman polygon clipping algorithm. reference: . rosettacode.org . clip(source, reference) Perform Clip operation on a vector with another. Parameters: source : array . Source polygon to be clipped. reference : array . Reference polygon to clip source. Returns: array.
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 "PitchforkMethods" Methods associated with Pitchfork and Pitchfork Drawing. Depends on the library PitchforkTypes for Pitchfork/PitchforkDrawing objects which in turn use DrawingTypes for basic objects Point/Line/LineProperties. Also depends on DrawingMethods for related methods tostring(this) Converts PitchforkTypes/Fork object to string...
Library "PitchforkTypes" User Defined Types to be used for Pitchfork and Drawing elements of Pitchfork. Depends on DrawingTypes for Point, Line, and LineProperties objects PitchforkDrawingProperties Pitchfork Drawing Properties object Fields: extend : If set to true, forks are extended towards right. Default is true fill : Fill forklines with...
Library "ZigzagMethods" Object oriented implementation of Zigzag methods. Please refer to ZigzagTypes library for User defined types used in this library tostring(this, sortKeys, sortOrder, includeKeys) Converts ZigzagTypes/Pivot object to string representation Parameters: this : ZigzagTypes/Pivot sortKeys : If set to true, string output is...
Library "ZigzagTypes" Zigzag related user defined types. Depends on DrawingTypes library for basic types Indicator Indicator is collection of indicator values applied on high, low and close Fields: indicatorHigh : Indicator Value applied on High indicatorLow : Indicator Value applied on Low PivotCandle PivotCandle represents data of the...