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...
█ ARRAY BROWSER Add you arrays to the array browser window and scroll them away left and right. Flexible formatting options (see below). Many thanks to @kaigouthro for his beautiful matrixautotable library. (import kaigouthro/matrixautotable/14) How to use Copy the "ARRAY BROWSER" commented code section below to your script and uncomment. See DEMO...
Library "cphelper" ACPU helper library - for private use. Not so meaningful for others. calculate_rr(targetArray, rrArray, breakevenOnTarget1) calculates risk reward for given targets Parameters: targetArray (float ) : array of targets rrArray (float ) : array of risk reward breakevenOnTarget1 (simple bool) : option to breakeven Returns:...
Library "BenfordsLaw" Methods to deal with Benford's law which states that a distribution of first and higher order digits of numerical strings has a characteristic pattern. "Benford's law is an observation about the leading digits of the numbers found in real-world data sets. Intuitively, one might expect that the leading digits of these numbers would be...
In the world of data visualization, heatmaps are an invaluable tool for understanding complex datasets. They use color gradients to represent the values of individual data points, allowing users to quickly identify patterns, trends, and outliers in their data. In this post, we will delve into the history of heatmaps, and then discuss how its implemented. The...
Library "ReversalChartPatternLibrary" User Defined Types and Methods for reversal chart patterns - Double Top, Double Bottom, Triple Top, Triple Bottom, Cup and Handle, Inverted Cup and Handle, Head and Shoulders, Inverse Head and Shoulders method delete(this) Deletes the drawing components of ReversalChartPatternDrawing object Namespace types:...
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 "Drawing" User Defined types and methods for basic drawing structure. method tostring(this, sortKeys, sortOrder, includeKeys) Converts DrawingTypes/Point object to string representation Namespace types: Point Parameters: this (Point) : DrawingTypes/Point object sortKeys (bool) : If set to true, string output is sorted by keys. ...
Library "Utility" dema(src, length) Parameters: src (float) length (simple int) tema(src, length) Parameters: src (float) length (simple int) hma(src, length) Parameters: src (float) length (int) zlema(src, length) Parameters: src (float) length (simple int) stochRSI(src, lengthRSI,...
Library "pta_plot" pta_plot: This library will help you to plot different value. I will keep updating with your requirement print_array_float(array_id, position, border_color) Display array element as a table. Parameters: array_id (float ) : Id of your array. position (int) border_color (color) : Color for border (`color.black` is used if...
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 "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 "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,...
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 "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)...