Library "LibAndy" TODO: add library description here greencandlme(x) TODO: add function description here Parameters: x (float) : TODO: add parameter x description here Returns: TODO: add what function returns greencandle() Whether this candle is green or not Returns: Whether this candle is green or not redcandle() Whether this candle...
Library "Polynomial" TODO: add library description here PolyNomial(Dop, n, step, nonp) TODO: add function description here Parameters: Dop (int) n (int) step (int) nonp (int) Returns: TODO: add what function returns
Library "branch" Generates a branch made of segments with a starting angle and a turning angle for each segment. The branch is generated from a starting point and a number of nodes to generate. The length of each segment and angle of each segment can be adjusted. The branch can be generated in 2D or 3D, render as you wish. method branch(origin, nodes,...
Library "VolumeLib" Contains types and methods related to VOLUME volumePrice() TODO: add function description here Returns: TODO: add what function returns averageVolumePrice(length) Parameters: length (simple int) volumePower(volume_price, average_volume_price) Parameters: volume_price (float) average_volume_price (float) ...
Library "OrderLib" TODO: add library description here removeOrderView(view) Parameters: view (orderView) createOrderView(model, length, profit_color, loss_color, enter_color) Parameters: model (orderModel) length (simple int) profit_color (simple color) loss_color (simple color) enter_color (simple color) ...
Library "AdxLib" TODO: add library description here create(di_length, adx_length) Parameters: di_length (simple int) adx_length (simple int) create(adx_length) Parameters: adx_length (simple int)
Library "TextLib" TODO: Library with text / string functions addText(before, value, separator) Parameters: before (string) value (string) separator (string) addText(before, value1, value2, separator) Parameters: before (string) value1 (string) value2 (string) separator (string)
Library "Libre" TODO: add library description here MMMM(toe) Parameters: toe (string) OOOO(toe, toe1, toe2, toe3, toe4, toe5, init) Parameters: toe (string) toe1 (string) toe2 (string) toe3 (string) toe4 (string) toe5 (string) init (int) XXXX(toe) Parameters: toe (string) WWWW(toe)...
Library "HarmonicPatternTracking" Library contains few data structures and methods for tracking harmonic pattern trades via pinescript. method draw(this) Creates and draws HarmonicDrawing object for given HarmonicPattern Namespace types: HarmonicPattern Parameters: this (HarmonicPattern) : HarmonicPattern object Returns: current HarmonicPattern...
Library "AstroLib", or Astro Library, is a collection of public Pinescript functions & calculations for use in astrology & astronomy indicators. Unless noted otherwise, this library was written jointly by @badsector666 and @BarefootJoey. Library "AstroLib" t_(txt) Parameters: txt (string) JDNv2(t, withFraction) Parameters: t (float) ...
Library "MarkovAlgorithm" Markov algorithm is a string rewriting system that uses grammar-like rules to operate on strings of symbols. Markov algorithms have been shown to be Turing-complete, which means that they are suitable as a general model of computation and can represent any mathematical expression from its simple notation. ~...
Library "new_line" TODO: plot line based on 3 points. new_line(x_1, x_2, x_3, y_1, y_2, y_3) TODO: plot line based on 3 points. (each different) Parameters: x_1 (int) x_2 (int) x_3 (int) y_1 (float) y_2 (float) y_3 (float) Returns: TODO: new line based on each different 3 values.
📕 LIBRARY OHLC 🔷 Introduction This library is a custom library designed to work with real-time bars. It allows to easily calculate OHLC values for any source. Personally, I use this library to accurately display the highest and lowest values on visual indicators such as my progress bars. 🔷 How to Use ◼ 1. Import the OHLC library into your TradingView...
Library "Lex_3CR_Functions_Library2" This is a source code for a technical analysis library in Pine Script language, designed to identify and mark Bullish and Bearish Three Candle Reversal (3CR) chart patterns. The library provides three functions to be used in a trading algorithm. The first function, Bull_3crMarker, adds a dashed line and label to a Bullish...
Library "MarkovChain" Generic Markov Chain type functions. --- A Markov chain or Markov process is a stochastic model describing a sequence of possible events in which the probability of each event depends only on the state attained in the previous event. --- reference: Understanding Markov Chains, Examples and Applications. Second Edition. Book by Nicolas...
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,...