Library "Trade" A Trade Tracking Library Monitor conditions with less code by using Arrays. When your conditions are met in chronologically, a signal is returned and the scanning starts again. Create trades automatically with Stop Loss, Take Profit and Entry. The trades will automatically track based on the market movement and update when the targets are...
Library "multidata" A library for multi-dimensional data arrays. Full documentation: faiyaz7283.github.io This library is designed to enhance data storage capabilities in Pine Script, enabling users to work with two separate data structures: data2d (key -> main-value | alternate-value) and data3d (primary key -> data key-> main-value | alternate-value)....
Library "debug" Show Array or Matrix Elements In Table Use anytime you want to see the elements in an array or a matrix displayed. Effective debugger, particularly for strategies and complex logic structures. Look in code to find instructions. Reach out if you need assistance. Functionality includes: Viewing the contents of an array or matrix on screen....
Library "CandlesGroup_Types" CandlesGroup Type allows you to efficiently store and access properties of all the candles in your chart. You can easily manipulate large datasets, work with multiple timeframes, or analyze multiple symbols simultaneously. By encapsulating the properties of each candle within a CandlesGroup object, you gain a convenient and...
Library "lib_tracking" tracking highest and lowest with anchor point to track over dynamic periods, e.g. to track a Session HH/LL live and get the bar/time of the LTF wick that matches the HTF HH/LL // DESIGN DECISION // why anchored replacements for ta.highest / ta.highestbars / ta.lowest / ta.lowestbars: // 1. they require a fixed length/lookback which makes...
Library "lib_array" several array functions for chained calls, batch conversion, incrementing and comparing arrays. method sort(id, descending) Namespace types: int Parameters: id (int ) : The array to sort (and return again) descending (bool) : The sort order: order.ascending (default:false, meaning omit this param and just call...
Library "Pivot" This library helps you store and manage pivots. bias(isHigh, isHigher, prevWasHigher) Helper function to calculate bias. Parameters: isHigh (bool) : (bool) Wether the pivot is a pivot high or not. isHigher (bool) : (bool) Wether the pivot is a higher pivot or not. @return (bool) The bias (true = bullish, false = bearish,...
█ OVERVIEW This library is a Pine Script™ programmer's tool offering the ability to compute relative values, which represent comparisons of current data points, such as volume, price, or custom indicators, with their analogous historical data points from corresponding time offsets. This approach can provide insightful perspectives into the intricate dynamics...
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 "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...
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 "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...
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 "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...