Library "DataChart" Library to plot scatterplot or heatmaps for your own set of data samples draw(this) draw contents of the chart object Parameters: this : Chart object Returns: current chart object init(this) Initialize Chart object. Parameters: this : Chart object to be initialized Returns: current chart object addSample(this,...
Library "VolumeIndicators" This is a library of 'Volume Indicators'. It aims to facilitate the grouping of this category of indicators, and also offer the customized supply of the source, not being restricted to just the closing price. Indicators: 1. Volume Moving Average (VMA): Moving average of volume. Identify trends in trading volume. 2. Money Flow...
Library "store" Object/Property Storage System Semi-Simplified. . It's a helpful toolset while designing UDT's as it remains flexible, this helps in not having to remap an entire script while tinkering. Set an object up, and add as man properties as yyou wish. a property can be one of any pine built in types. so a single object can contain sa, ohlc each...
Library "string_utils" Collection of string utilities that can be used to replace sub-strings in a string and string functions that are not part of the standard library. This a more simple replacement of my previous string_variables library since it uses types for better performance due to data locality and methods that give a more intuitive API.
Library "Feature_Scaling" FS: This library helps you scale your data to certain ranges or standarize, normalize, unit scale or min-max scale your data in your prefered way. Mostly used for normalization purposes. minmaxscale(source, min, max, length) minmaxscale: Min-max normalization scales your data to set minimum and maximum range Parameters: ...
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...