Library "ReduceSecurityCalls" This library allows you to reduce the number of request.security calls to 1 per symbol per timeframe. Script provides example how to use it with request.security and possible optimisation applied to htf data call. This data can be used to calculate everything you need and more than that (for example you can calculate 4 emas with...
Library "String_Encoder_Decoder" String encoder and decoder to use in internal data tranfer in script calculations. In example, script encode 125 values once and then decode them every candle. encode(array or values (val1,val2,val3,val4,val5,val6) encode: encode some values into string Parameters: array : of values or values1, value2 (up to 6...
Library "fast_utils" This library contains my favourite functions. Will be updated frequently count_int_digits() Count int digits in number Returns: : number of int digits in number count_float_digits() Count float digits in number Returns: : number of float digits in number stringify() Convert values in array or matrix into string...
Library of economic events. Created to display events on the desired chart through the indicator. Countries: USA, China, Eurozone, Russia Importance: 3 stars Source: Investing Библиотека экономических событий. Создана для отображения событий на нужном графике через индикатор. Страны: США, Китай, Еврозона, Россия Важность: 3 звезды Источник: Investing
Library "columns" Error Tolerant Matrix Setter/Getter Operations. Easy ways to add/remove items into start and end of Columns as well as arrays to grow and shrink matrix. if mismatched sizes occur the typified NA value will be there to prevent catastrophic crashing. Rows and Columns are split into 2 libraries due to limitations on number of exports as well ...
Library "rows" Error Tolerant Matrix Setter/Getter Operations. Easy ways to add/remove items into start and end of rows as well as arrays to grow and shrink matrix. if mismatched sizes occur the typified NA value will be there to prevent catastrophic crashing. columns and rows are split into 2 libraries due to limitations on number of exports as well as...
█ OVERVIEW This library is a Pine programmer’s tool containing functions to help those who use the request.security_lower_tf() function. Its `ltf()` function helps translate user inputs into a lower timeframe string usable with request.security_lower_tf() . Another function, `ltfStats()`, accumulates statistics on processed chart bars and intrabars. █...
Library "xarray" Additional functions for array. remove_duplicates(array_in) Remove duplicates in array. Parameters: array_in : (int /float /string ) Array contains duplicates. Returns: Array without duplicates. // Example: int import tuele99/xarray/1 as xarray c = xarray.remove_duplicates(array.from(1, 4, 2, 1,...
Library "FunctionLAPACKdsyrk" subroutine part of LAPACK: Linear Algebra Package, performs one of the symmetric rank k operations . C := alpha*A*A**T + beta*C, or C := alpha*A**T*A + beta*C, . where alpha and beta are scalars, C is an n by n symmetric matrix and A is an n by k matrix in the first case and a k by n matrix in the second...
Library "FunctionLAPACKdtrsm" subroutine in the LAPACK:linear algebra package, used to solve one of the following matrix equations: op( A )*X = alpha*B, or X*op( A ) = alpha*B, where alpha is a scalar, X and B are m by n matrices, A is a unit, or non-unit, upper or lower triangular matrix and op( A ) is one of op( A ) = A or op( A ) = A**T. The...
Library "MYX_ACE_DB" TODO: Library for Malaysia ACE Market db(x) TODO: Library for Malaysia ACE Market Parameters: x : TODO: id Returns: TODO: id
Library "MYX_LEAP_DB" TODO: Library for Malaysia LEAP Market db(x) TODO: Library for Malaysia LEAP Market Parameters: x : TODO: id Returns: TODO: id
Library "FunctionPatternFrequency" Counts the word or integer number pattern frequency on a array. reference: rosettacode.org count(pattern) counts the number a pattern is repeated. Parameters: pattern : : array : array with patterns to be counted. Returns: array : list of unique patterns. array : list of counters per...
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...