Library "FunctionDiscreteCosineTransform" Discrete Cosine Transform (DCT) The Discrete Cosine Transform (DCT) is a mathematical algorithm that converts a series of samples of a signal, typically in the time domain, into another domain called the frequency or spectral domain. It's commonly used for data compression and image/video coding applications such as...
Library "regressions" This library computes least square regression models for polynomials of any form for a given data set of x and y values. fit(X, y, reg_type, degrees) Takes a list of X and y values and the degrees of the polynomial and returns a least square regression for the given polynomial on the dataset. Parameters: X (array) : (float ) ...
The TUF_LOGIC library incorporates three-valued logic (also known as trilean logic) into Pine Script, enabling the representation of states beyond the binary True and False to include an 'Uncertain' state. This addition is particularly apt for financial market contexts where information may not always be black or white, accommodating scenarios of partial or...
Library "divergingchartpattern" Library having implementation of converging chart patterns getPatternNameByType(patternType) Returns pattern name based on type Parameters: patternType (int) : integer value representing pattern type Returns: string name of the pattern method find(this, sProperties, dProperties, patterns, ohlcArray) find...
Library "AlertSenderLibrary_TradingFinder" 🔵 Introduction The "Alert Sender Library" is a management and production program for "Alert Messages" that enables the creation of unique messages for any type of signal generated by indicators or strategies. These messages include the direction of the signal, symbol, time frame, the date and time the condition was...
🔵 Introduction The "Zig Zag" indicator is an analytical tool that emerges from pricing changes. Essentially, it connects consecutive high and low points in an oscillatory manner. This method helps decipher price changes and can also be useful in identifying traditional patterns. By sifting through partial price changes, "Zig Zag" can effectively pinpoint...
Library "Adaptive Profit And Loss" Provide Take profit and Stop loss values depending on source. TakeProfitPriceTypes() Provides supported Take profit sources Returns: Supported Take profit sources StopLossPriceTypes() Provides supported Take profit sources Returns: Supported Take profit sources Price(type) Get price value by selected price...
Library "DynamicFunctions" Custom Dynamic functions that allow an adaptive calculation beginning from the first bar RoC(src, period) Dynamic RoC Parameters: src (float) : and period Custom function to calculate the actual period considering non-na source values period (int) dynamicMedian(src, length) Dynamic Median Parameters: src...
Library "EagleEyeEmbeds" Pine Script library to build out a webhook that is catered to Discord Embed formatTimeframe() discordWebhookJSON(contentText, username, avatar_url, embeds) Constructs a JSON string for a Discord webhook message. This string includes optional fields for content, username, avatar URL, and embeds. Parameters: contentText...
Library "footpint_droving" methods for printing all footprint objects method print_droving(foot_bar, sup) printing all footprint objects Namespace types: footprint_type.Footprint_bar Parameters: foot_bar (Footprint_bar type from dboichenko/footprint_type/1) : instance of Footprint_bar type sup (Support_objects type from...
Library "moving_poc" method getMovingPoc(averagePriceByVolumeHistory, ltfVolumeSerie, ltfPriceSerie, nbBarsToLookback) Volume point of control (PoC) extracted from lower time frame data and previous time period Namespace types: array Parameters: averagePriceByVolumeHistory (array) : An array of float to record previous PoC average ...
🔵 Introduction You may intend to utilize the "Liquidity" detection capability in your indicators. Instead of writing it, you can import the "Liquidity Finder" library into your code. One of the advantages of this approach is time-saving and reduction in scripting errors. 🔵 Key Features Identification of "Statics Liquidity" Identification of "Dynamics...
Library "Log" - Log methods that return input value for code readbility and cleaness. method str(input) str Namespace types: series float, simple float, input float, const float Parameters: input (float) method str(input) str Namespace types: series int, simple int, input int, const int Parameters: input (int) method str(input)...
Library "footprint_type" Contains all types for calculating and rendering footprints Inputs Inputs objects Fields: inbalance_percent (series int) : percentage coefficient to determine the Imbalance of price levels stacked_input (series int) : minimum number of consecutive Imbalance levels required to draw extended lines ...
█ OVERVIEW Here are common functions usually delete drawing once array of drawing is recall. Method is used as in pine script version 5 instead of custom function. It is an upgrade from DeleteArrayObject , which may not support overload parameter in future. Library "DeleteArrayType" TODO: Delete array type especially for drawings method deleteLabel(id)...
Library "swinglibrary" This library is for calculating non-repainting swings for further calculation on them. These swings can later be drawn, but drawing is not part of this library, only the calculation. What do I need to use the library? You better include the following constants into your script using this library: int SWING_NO_ACTION = 0 int...
Library "YP" TODO: add library description here breakUp(previousHigh) breakUp: Determines if the low of the first bar of the current day is above a given previous high. Parameters: previousHigh (float) Returns: : Boolean value indicating whether the condition is met (true) or not (false).
Library "multi_conditions_matrices" : facilitate including multiple AND / OR conditions to a script such as two entry / exit inputs groups. method addConditions(conditions, conditionPair) Helper to append conditions to a matrix condition array Namespace types: matrix Parameters: conditions (matrix) conditionPair (array) : array A condition...