Library "pta_plot" pta_plot: This library will help you to plot different value. I will keep updating with your requirement print_array(array_id, border_color) Display array element as a table. Parameters: array_id : Id of your array. border_color : Color for border (`color.black` is used if no argument is supplied). Returns: Display array...
Library "FunctionArrayUnique" Method for retrieving the unique elements in a array. for example would retrieve a array with , the elements retrieved will be sorted by its first seen index in parent array. note: float values have no precision option. unique(source) method for retrieving the unique elements in a array. Parameters: source : array...
Library "functionStringToMatrix" Provides unbound methods (no error checking) to parse a string into a float or int matrix. to_matrix_float(str, interval_sep, start_tk, end_tk) Parse a string into a float matrix. Parameters: str : , string, the formated string to parse. interval_sep : , string, cell interval separator token. start_tk : ,...
█ OVERVIEW This library is complementary for Cyclic RSI High Low With Noise Filter. █ CREDITS LoneSomeTheBlue WhenToTrade AlertFrequency() : AlertFrequency Parameters: : : _string Returns: : _freq CyclicRSI() : CyclicRSI Parameters: : : _source, _length, _expression Returns: : osc Credits to WhenToTrade AddToZigzag() :...
█ OVERVIEW This library is a Pine programmer’s tool containing functions that build an array of values meeting specific conditions. Its functions use concepts from our ConditionalAverages library , but instead of returning a single value, they return an array containing all the values meeting the conditions, which can then be processed as needed. This...
Library "utils" Few essentials captured together (subset of arrayutils) timer(timeStart, endTime) finds difference between two timestamps Parameters: timeStart : start timestamp endTime : end timestamp Returns: check_overflow(pivots, barArray, dir) finds difference between two timestamps Parameters: pivots : pivots array ...
Library "rzigzag" Recursive Zigzag Using Matrix allows to create zigzags recursively on multiple levels. After bit of consideration, decided to make this public. zigzag(length, ohlc, numberOfPivots, offset) calculates plain zigzag based on input Parameters: length : Zigzag Length ohlc : Array containing ohlc values. Can also contain custom...
Library "drawcandles" simple utility to draw different candles using box and lines. Quite useful for drawing candles such as zigzag candles or MTF candles draw(o, h, l, c, oBar, cBar) draws candles based on ohlc values Parameters: o : Open Price h : High Price l : Low Price c : Close Price oBar : Open Time cBar : Close...
Library "curve" Regression array Creator. Handy for weights, Auto Normalizes array while holding curves. curve(_size, _power) Curve Regression Values Tool Parameters: _size : (float) Number of Steps required (float works, future consideration) _power : (float) Strength of value decrease Returns: (float ) Array of multipliers from 1 downwards to 0.
Hash map's in Pinescript?? Absolutely This Library is the first step towards bringing a much needed data structure to the Pine Script community. "Object" allows Pine coders to finally create objects full or unique key:value pairs, which are converted to strings and stored in an array. Data can be stored and accessed using dedicated get and set methods. The...
Library "arrays" Library contains utility functions using arrays. delete( arr , index) remove an item from array at specific index. Also deletes the item Parameters: arr: - array from which the item needs to be deleted index: - index of item to be deleted Returns: void pop( arr ) remove the last item from array. Also deletes the...
█ OVERVIEW This library is complementary for XABCD Harmonic Pattern Custom Range Interactive PriceDiff() : Price Difference Parameters: : : price_1, price_2 Returns: : PriceDiff TimeDiff() : Time Difference Parameters: : : time_1, time_2 Returns: : TimeDiff ReturnIndexOf3Arrays() : Return Index Of 3 Arrays Parameters: : :...
█ OVERVIEW This library was to showcase database for specifications of Harmonic Patterns using arrays. █ CREDITS Scott M Carney, author of Harmonic Trading : Volume Three animal_db(x) TODO: export animal_db Parameters: x : TODO: float value is set to default if not necessary Returns: TODO:
█ OVERVIEW Delete array object according to array size such as label, line, linefill, box and table. █ CREDITS HeWhoMustNotBeNamed
Library "swap" Side / Boundary Based All Types Swapper - three automagical types for Arrays, Matrixes, and Variables -- no signal : Long/ Short position autoswap -- true / false : Boolean based side choice -- Src / Thresh : if source is above or below the threshold - two operating modes for variables, Holding mode only for arrays/matrixes -- with two ...
Library "ArrayMatrixHUD" Show Array or Matrix Elements In Table For Arrays: Set the number of rows you want the data displayed in and it will generate a table, calculating the columns based on the size of the array being displayed. For Matrix: It will automatically match the Rows and Columns to the values in the matrix. Note: On the left, the table shows the...
Library "RecursiveAlerts" The library provides options to run alert() calls in loop without worrying about limitations of frequency options. When an alert statement is called within a loop, it will fire just once per bar irrespective of how many iterations allowed when fequency is set to alert.freq_once_per_bar or alert.freq_once_per_bar_close it will fire...
Library "ColorArray" Simple color array gradient tool. makeGradient(size, _col1, _col2, _col3, _col4, _col5) Color Gradient Array from 5 colors. Parameters: size : : default 10 _col1 : : default #ff0000 _col2 : : default #ffff00 _col3 : : default #00ff00 _col4 : : default #00ffff _col5 : : default #0000ff Returns: array of...