Library "Binance_Min_Limit_Order_amount_library" TODO: This library give us the minimum Limit Order amount for the contract in Binance. m_qty(n_v, m_fee, t_fee, cost, m_t) TODO: it give us the Minimum Qty for the trading in Binance Parameters: n_v : TODO: min_notional_value. 5 dollar is the minimum notional amount in Binance at the moment. ...
Library "DatasetWeatherTokyoMeanAirTemperature" Provides a data set of the monthly mean air temperature (°C) for the city of Tokyo in Japan. this was just for fun, no financial implications in this. reference: www.data.jma.go.jp TOKYO WMO Station ID:47662 Lat 35o41.5'N Lon 139o45.0'E year_() the years of the data set. Returns: array : year values. ...
Library "FunctionDynamicTimeWarping" "In time series analysis, dynamic time warping (DTW) is an algorithm for measuring similarity between two temporal sequences, which may vary in speed. For instance, similarities in walking could be detected using DTW, even if one person was walking faster than the other, or if there were accelerations and decelerations...
Library "FunctionKellyCriterion" Kelly criterion methods. the kelly criterion helps with the decision of how much one should invest in a asset as long as you know the odds and expected return of said asset. simplified(win_p, rr) simplified version of the kelly criterion formula. Parameters: win_p : float, probability of winning. rr : float,...
Library "MiteTricks" Matrix Global Registry. Get, Set, automatic growing, universal get/set, multi-matrix dictionaries, multi-dictionary matrixes.. add slice matrixes of any type, share one common global key registry pull up an item from a category, and item name ie a table of info. same cell needs a color, a size, a string, a value, etc.. all of which can be...
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: