Library "SimilarityMeasures" Similarity measures are statistical methods used to quantify the distance between different data sets or strings. There are various types of similarity measures, including those that compare: - data points (SSD, Euclidean, Manhattan, Minkowski, Chebyshev, Correlation, Cosine, Camberra, MAE, MSE, Lorentzian, Intersection, Penrose...
Library "WIPFunctionLyaponov" Lyapunov exponents are mathematical measures used to describe the behavior of a system over time. They are named after Russian mathematician Alexei Lyapunov, who first introduced the concept in the late 19th century. The exponent is defined as the rate at which a particular function or variable changes over time, and can be...
Library "FunctionMatrixCovariance" In probability theory and statistics, a covariance matrix (also known as auto-covariance matrix, dispersion matrix, variance matrix, or variance–covariance matrix) is a square matrix giving the covariance between each pair of elements of a given random vector. Intuitively, the covariance matrix generalizes the notion of...
Library "lib_retracement_label" creates a retracement label between the origin and target of a retracement, updating it's position (via update + draw) when the target moves. create_tooltip(name, min, max, tol_min, tol_max) Parameters: name (string) min (float) max (float) tol_min (float) tol_max (float) method update(this)...
This lightweight library provides a utility method that analyzes any provided background color and automatically chooses the optimal black or white foreground color to ensure maximum visual contrast and readability. 🟠 Algorithm The library utilizes the HSP Color Model to calculate the brightness of the background color. The formula for this calculation is as...
Library "tts_convention" This library can convert the start, end, cancel start, cancel end deal conditions that are used in the "Template Trailing Strategy" script into a signal value and vice versa. The "two channels mod div" convention is unsed internaly and the signal value can be composed/decomposed into two channels that contain the afforementioned...
The purpose of this library is to split and merge an integer into useful pieces of information that can easily handled and plotted. The basic piece of information is one word. Depending on the underlying numerical system a word can be a bit, octal, digit, nibble, or byte. The user can define channels. Channels are named groups of words. Multiple words can be...
This Extended Moving Average Library is a sophisticated and comprehensive tool for traders seeking to expand their arsenal of moving averages for more nuanced and detailed technical analysis. The library contains various types of moving averages, each with two versions - one that accepts a simple constant length parameter and another that accepts a series or...
Library "utils" TODO: add library description here maCustomseries(source, typeMa, length) Parameters: source (float) typeMa (simple string) length (simple int) barCrossoverCounter(signalPrice, basePrice) Parameters: signalPrice (float) basePrice (float) barCrossunderCounter(signalPrice, basePrice) Parameters: ...
Library "ta_m" This library is a Pine Script™ programmer’s tool containing calcs for my oscillators and some helper functions. upDnIntrabarVolumesByPolarity() Determines if the volume for an intrabar is up or down. Returns: ( ) A tuple of two values, one of which contains the bar's volume. `upVol` is the positive volume of up bars. `dnVol` is the...
Library "LibrarySupertrend" selective_ma(condition, source, length) Parameters: condition (bool) source (float) length (int) trendUp(source) Parameters: source (float) smoothrng(source, sampling_period, range_mult) Parameters: source (float) sampling_period (simple int) range_mult (float) ...
Library "lib_drawing_composites" methods to draw and manage composite obejects. Based on Trendoscope's added Triangle and Polygon composite objects, fixed tostring method output to be actual json method tostring(this, format_date, format, tz, pretty) Converts lib_drawing_types/LineProperties object to a json string representation Namespace types:...
Library "lib_drawing_composite_types" User Defined Types for basic drawing structure. Other types and methods will be built on these. (added type Triangle and Polygon to ) TriangleProperties TriangleProperties object Fields: border_color (series color) : Box border color. Default is color.blue fill_color (series color) : Fill color ...
Library "VolatilityIndicators" This is a library of Volatility Indicators . It aims to facilitate the grouping of this category of indicators, and also offer the customized supply of the parameters and sources, not being restricted to just the closing price. @Thanks and credits: 1. Dynamic Zones: Leo Zamansky, Ph.D., and David Stendahl 2. Deviation: Karl...
Library "RiskManagement" This library keeps your money in check, and is used for testing and later on webhook-applications too. It has four volatility functions and two of them can be used to calculate a Stop-Loss, like Average True Range. It also can calculate Position Size, and the Risk Reward Ratio. But those calculations don't take leverage into account. ...
Library "AlgebraLib" f_signaldraw(_side, _date) : Draw a simple label with Buy or Sell signal Parameters: _side (string) _date (int) Returns: : VOID, it draws a new label
Library "KernelFunctionsFilters" This library provides filters for non-repainting kernel functions for Nadaraya-Watson estimator implementations made by @jdehorty. Filters include a smoothing formula and zero lag formula. You can find examples in the code. For more information check out the original library KernelFunctions. rationalQuadratic(_src, _lookback,...
Library "Vector3" Representation of 3D vectors and points. This structure is used to pass 3D positions and directions around. It also contains functions for doing common vector operations. Besides the functions listed below, other classes can be used to manipulate vectors and points as well. For example the Quaternion and the Matrix4x4 classes are useful for...