Library "new_line" TODO: plot line based on 3 points. new_line(x_1, x_2, x_3, y_1, y_2, y_3) TODO: plot line based on 3 points. (each different) Parameters: x_1 (int) x_2 (int) x_3 (int) y_1 (float) y_2 (float) y_3 (float) Returns: TODO: new line based on each different 3 values.
Library "Utils" Utility functions. Mathematics, colors, and auxiliary algorithms. setTheme(vc, theme) Set theme for levels (predefined colors). Parameters: vc : (valueColorSpectrum) Object to associate a color with a value, taking into account the previous value and its levels. theme : (int) Theme (predefined colors). 0 = 'User defined' 1 =...
Commission-aware Trade Labels Description: This library provides an easy way to visualize take-profit and stop-loss levels on your chart, taking into account trading commissions. The library calculates and displays the net profit or loss, along with other useful information such as risk/reward ratio, shares, and position size. Features: Configurable...
Library "L_Trade_Boundaries" Trade Boundaries suggest a strength of the security with respect to previous lows. The "L" implies library, and the trade boundaries implies it could be utilized for price strengths. Though, this should not be used as a single parameter to trade wildly. This library can be imported to a custom indicator to utilized the custom...
Library "ThemeLibrary" TODO: add library description here theme(_theme) : a library of themed colors Parameters: _theme : : the theme color to fetch Returns: : an array of colors
Library "Drawings_public" : Functions to manage drawings on the chart extend_line(lineId, labelId) : Extend specific line with its label Parameters: lineId labelId update_line_coordinates(lineId, labelId, x1, y1, x2, y2) : Update specific line coordinates with its label Parameters: lineId labelId x1 y1 x2...
Library "TableBuilder" A helper library to make it simpler to create tables in pinescript This is a simple table building library that I created because I personally feel that the built-in table building method is too verbose. It features chaining methods and variable arguments. There are many features that are lacking because the implementation is early,...
Library "WarCalendar" This library is a data provider for important Dates and Times from the Economic Calendar. events() Returns the list of dates supported by this library as a string array. Returns: array : Names of events supported by this library warstart()
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 "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 ...