Library "lib_plot_composite_objects" library building on top of lib_plot_objects for composite objects such as Triangles and Polygons. heavily using chart.points method tostring(this, date_format) Namespace types: Triangle Parameters: this (Triangle) date_format (simple string) method tostring(this, date_format) Namespace types:...
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 "printer" Printer Library, designed to streamline the process of printing data directly onto charts while offering advanced features for enhanced functionality. For full documentation, please visit faiyaz7283.github.io
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 "rezgaa" Provides functions calculating the all-time high/low of values. hi(val) Calculates the all-time high of a series. Parameters: val (float) : Series to use (`high` is used if no argument is supplied). Returns: The all-time high for the series. lo(val) Calculates the all-time low of a series. Parameters: val (float) :...
Description: An optimised library for non-repainting Rational Quadratic Kernel Library. Added lookbackperiod and a validation to prevent division by zero. Thanks to original author jdehorty. Usage: 1. Import the library into your Pine Script code using the library function. import vinayakavajiraya/RationalQuadraticKernelFunction/1 2. Call the Main...
Library "lib_profile" a library with functions to calculate a volume profile for either a set of candles within the current chart, or a single candle from its lower timeframe security data. All you need is to feed the method delete(this) deletes this bucket's plot from the chart Namespace types: Bucket Parameters: this (Bucket) method...
Library "two_ma_logic" The core logic for the two moving average strategy that is used as an example for the internal logic of the "Template Trailing Strategy" and the "Two MA Signal Indicator" ma(source, maType, length) ma - Calculate the moving average of the given source for the given length and type of the average Parameters: source (float) : -...
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...
Library "CommonTypesMapUtil" Common type Container library, for central usage across other reference libraries. ArrayBool Fields: v (bool ) ArrayBox Fields: v (box ) ArrayPoint Fields: v (chart.point ) ArrayColor Fields: v (color ) ArrayFloat Fields: v (float ) ArrayInt Fields: v (int ) ...
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...
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)...
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 "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 "PScolor" TODO: add library description here ////variable///////////////////////////// //COLOR brightness Each color has 0–9 / A1–A4 (5th standard: Bright if small, dark if big) (Fluorescence based on A2) //Color Name 1 = RED 2 = DEEP_ORANGE 3 = ORANGE 4 = AMBER 5 = YELLOW 6 = LIME 7 = LIGHT_GREEN 8 = GREEN 9 = TEAL 10= CYAN 11=...
Library "TradeTrackerv2" This library can be used to track (hypothetical) trades on the chart. Enter the Open, SL, and TP prices (or TP in R to have it calculated) and then call Trade.TrackTrade(barIndex). Keep track of your trades in an array and then simply call TradeTracker.UpdateAllTrades(close) to update all trades based on the current close price. How...
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 "WHAlertCommand" f_WH_Risk(risk_Type_) Parameters: risk_Type_ (string) f_WH_Open_Position(uuid_, enable_Buy_, enable_Sell, enable_All_Group_Members_, enable_Close_Opposite_Side_, enable_Risk_, risk_Type_, signal_Type_Buy_Or_Sell) Parameters: uuid_ (string) enable_Buy_ (bool) enable_Sell (bool) ...