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 "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 ) ...
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...
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...
🔵 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 "Monty3192_Library" Libreria Monty3192 - MontyTrader calc_func(inversion1, inversion2, inversion3, inversion4, inversion5, inversion6, inversion7, inversion8, inversion9, inversion10, precio1, precio2, precio3, precio4, precio5, precio6, precio7, precio8, precio9, precio10, act_1, act_2, act_3, act_4, act_5, act_6, act_7, act_8, act_9, act_10)...
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...
🔵 Introduction The "Refinement" feature allows you to adjust the width of the order block according to your strategy. There are two modes, "Aggressive" and "Defensive," in the "Order Block Refine". The difference between "Aggressive" and "Defensive" lies in the width of the order block. For risk-averse traders, the "Defensive" mode is suitable as it provides a...
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 "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 "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 ...
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 ...
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...
Library "MarkdownUtils" This library shows all of CommonMark's formatting elements that are currently (2024-03-30) available in Pine Script® and gives some hints on how to use them. The documentation will be in the tooltip of each of the following functions. It is also logged into Pine Logs by default if it is called. We can disable the logging by setting...
█ 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 "CandleInsights" CandleInsights provides a set of utility functions to facilitate identifying certain types of individual candles and candle patterns. isBullish() Returns true if candle is bullish. Returns: bool isBearish() Returns true if candle is bearish. Returns: bool isHammer() Returns true if candle is a hammer. TODO: Allow...
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...