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 "SIL" mean_src(x, y) calculates moving average : x is the source of price (OHLC) & y = the lookback period Parameters: x y stan_dev(x, y, z) calculates standard deviation, x = source of price (OHLC), y = the average lookback, z = average given prior two float and intger inputs, call the f_avg_src() function in...
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 "libKageMisc" Kage's Miscelaneous library print(_value) Print a numerical value in a label at last historical bar. Parameters: _value : (float) The value to be printed. Returns: Nothing. barsBackToDate(_year, _month, _day) Get the number of bars we have to go back to get data from a specific date. Parameters: _year : (int) Year...
Library "libKageBot" Library of function to generate command strings for bots FrostyBot and Zignally. This version ONLY WORKS WITH FROSTYBOT. strSize(_sizePercent, _sizeCurrency) Converts a float to a formated string suitable to position size in percentage or currency. At leaste one parameter must be given Parameters: _sizePercent : (float) ...
Library "MultyTimeframe" TODO: add library description here MultTimeframes()
Library "arraymethods" Supplementary array methods. delete(arr, index) remove int object from array of integers at specific index Parameters: arr : int array index : index at which int object need to be removed Returns: void delete(arr, index) remove float object from array of float at specific index Parameters: arr : float...
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 ...