Library "OfekIndicatorsLib" TODO: add library description here ichiClouds(conversionPeriods, basePeriods, laggingSpan2Periods) Parameters: conversionPeriods basePeriods laggingSpan2Periods trama(tramaSrc, tramaLength) Parameters: tramaSrc tramaLength kdj(ilong, isig, startFrom) Parameters: ilong isig ...
Library "Linear_Regression_Slope" linreg_slope(a, b) Parameters: a b This library is available to anyone. This library calculates the linear regression slope. Be sure to use the source value for a. (End price, high price, low price, market price) Please set a period for b. Overlay is set to false.
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 "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 -...
💬 Markdown, a markup language Markdown is a portable, lightweight markup language that can be used for everything whether you're building a website, documentation, or even presentations. Platforms like Discord, Reddit, and GitHub support Markdown and is the widely go-to option for text formatting due to its simplicity. Pine Script is a language that also...
Library "ulib" Stochastic(length, d_smooth) Parameters: length d_smooth bull_stoch_condition(k, d) Parameters: k d ema_condition(ema_1, ema_2, ema_3) Parameters: ema_1 ema_2 ema_3 bull_fractal_condition(n) Parameters: n Bull(Fractal, ema, stochastic_osc) Parameters: Fractal ema...
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 "PineTradingbotWebhook" makeWebhookJson(webhookKey, direction, qty, entryLimit, entryStop, exitLimit, exitStop, orderRef, contract) Creates a Webhook message for Tbot on Tradingboat Parameters: webhookKey : the unique key to the Flask (TVWB) server direction : the same as the strategy's direction qty entryLimit ...
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...
This is a Pine Script library for handling complex numbers without arrays. It contains several utility functions for performing various operations on complex numbers, including converting complex numbers into tuples, getting the real and imaginary parts of a complex number, adding and subtracting complex numbers, computing the conjugate, multiplying and dividing...
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 "time_filters" Collection of filters that related with time like sessions and datetime ranges. All existing session functions I found in the documentation e.g. not na(time(timeframe.period, sessionTimes)) are not suitable for strategies, since the execution of the entries and the exits are delayed by one bar. Thus I created this library to overcome this...
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 "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...