Library "FunctionProbabilityViterbi" The Viterbi Algorithm calculates the most likely sequence of hidden states *(called Viterbi path)* that results in a sequence of observed events. viterbi(observations, transitions, emissions, initial_distribution) Calculate most probable path in a Markov model. Parameters: observations (int ) : array ....
Library "FunctionBaumWelch" Baum-Welch Algorithm, also known as Forward-Backward Algorithm, uses the well known EM algorithm to find the maximum likelihood estimate of the parameters of a hidden Markov model given a set of observed feature vectors. --- ### Function List: > `forward (array pi, matrix a, matrix b, array obs)` > `forward (array pi, matrix a,...
Library "TrendIndicators" This is a library of 'Trend 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 (this is a work in progress): 1. Absolute DI (Directional Moviment Index) (Difference between DI+ and DI-). Used...
WOAH Order Scaling! This Provides a user with methods to create a list of profit targets and order sizes which grow or shrink. For size, the will add up to specific sum. for Targets they will include the first and last, and can lean towards either, to scale the order grid. And thanks to @Hoanghetti for the markdown, i've included a basic usage example within...
Library "DiddlyUtility" TODO: add library description here getStringTimeMinus1Minute(london_ssth, london_sstm) Parameters: london_ssth london_sstm getLadderStepIncrement(_price) Parameters: _price getLadderIndexForPrice(_price, _ladderRange) Parameters: _price _ladderRange getLadderStartPriceRange(_price,...
Library "MomentumIndicators" This is a library of 'Momentum Indicators', also denominated as oscillators. The purpose of this library is to organize momentum indicators in just one place, making it easy to access. In addition, it aims to allow customized versions, not being restricted to just the price value. An example of this use case is the popular...
Library "Utils" Utility functions. Mathematics, colors, and auxiliary algorithms. setTheme(vc, theme) Set theme for levels (predefined colors). Parameters: vc : (valueColorSpectrum) Object to associate a color with a value, taking into account the previous value and its levels. theme : (int) Theme (predefined colors). 0 = 'User defined' 1 =...
Commission-aware Trade Labels Description: This library provides an easy way to visualize take-profit and stop-loss levels on your chart, taking into account trading commissions. The library calculates and displays the net profit or loss, along with other useful information such as risk/reward ratio, shares, and position size. Features: Configurable...
Library "WIPTensor" A Tensor or 3 dimensional array structure and interface. --- Note: im just highjacking the name to use it as a 3d array on a project.. there is no optimization attempts or tensor specific functionality within. to_string(this) Convert `Tensor` to a string format. Parameters: this : Tensor data. Returns: string. to_vector(this)...
Library "Bitwise, Encode, Decode" Bitwise, Encode, Decode, and more Library docs() Hover-Over Documentation for inside Text Editor bAnd(a, b) Returns the bitwise AND of two integers Parameters: a : `int` - The first integer b : `int` - The second integer Returns: `int` - The bitwise AND of the two integers bOr(a, b) Performs a...
📈 Trendlines, made easy. Simple Trendlines is a carefully made library that provides an easy and accessible way to draw trendlines on the chart. Containing only 10 properties and 2 methods, the implementation is designed to be understandable through an object-oriented structure and provides developers the opportunity to expand without having to deal with slope...
Library "LineWrapper" Wrapper Type for Line. Useful when you want to store the line details without drawing them. Can also be used in scnearios where you collect lines to be drawn and draw together towards the end. draw(this) draws line as per the wrapper object contents Parameters: this : (series Line) Line object. Returns: current Line object ...
Library "L_Trade_Boundaries" Trade Boundaries suggest a strength of the security with respect to previous lows. The "L" implies library, and the trade boundaries implies it could be utilized for price strengths. Though, this should not be used as a single parameter to trade wildly. This library can be imported to a custom indicator to utilized the custom...
Library " Net Volume Library" TODO: The underlying logic and function that calculates the net volume for the Net Volume indicator. Exposes the nv function and nvPoint fields for use. nv(src, length, useVwma, offset, sigma, multHigh, multMed, multLow) Parameters: src : (float) The source price value length : (int) The lookback length ...
Library "ThemeLibrary" TODO: add library description here theme(_theme) : a library of themed colors Parameters: _theme : : the theme color to fetch Returns: : an array of colors
Library "f_maSelect" Easy to use drop-in facade function to lots of different moving average calculations, including some that are not natively available in PineScript v5 such as Zero-Lag EMA. Simply call f_maSelect(series float serie, simple string ma_type="sma", ma_length=14) instead of a ta.*ma() call and you get access to all MAs offered by PineScript and...
Library "composite_ticker_cleaner" Extract a clean symbol from a composite ticker. E.g., (BINANCE:BTCUSD+KRAKEN:BTCUSD)/2 as input will return BTCUSD or BINANCE:BTCUSD composite_ticker_cleaner_extract_first(symbol, keepexchange) Extract the first symbol out of the supplied string (usually ticker.standard(syminfo.tickerid) ) Parameters: symbol :...