Library "utils" Provides a set of utility functions for use in strategies or indicators. colorGreen(opacity) Parameters: opacity (int) colorRed(opacity) Parameters: opacity (int) colorTeal(opacity) Parameters: opacity (int) colorBlue(opacity) Parameters: opacity (int) colorOrange(opacity) Parameters: opacity...
Library "XXPivotsBreakouts" Utilizes k-NN machine learning to predict breakout zones from pivot points, aiding traders in identifying potential bullish and bearish market movements. Ideal for trend-following and breakout strategies. breakouts(pivotBars, numNeighbors, maxData, predictionSmoothing) Detects and predicts breakout points from pivot...
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 "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 "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 "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 "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...
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 "LibraryCOT_NZ" This library provides tools to help Pine programmers fetch Commitment of Traders (COT) data for futures. rootToCFTCCode(root) Accepts a futures root and returns the relevant CFTC code. Parameters: root (simple string) : Root prefix of the future's symbol, e.g. "ZC" for "ZC1!"" or "ZCU2021". Returns: The part of a COT...
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 "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 "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 "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 "MyLibrary_functions_D_S_3D_D_T_PART_2" TODO: add library description here N_Re_Fib(Source_low, Source_high, lw, hg, x3_P, x1_P, x2_P) Parameters: Source_low (float) Source_high (float) lw (int) hg (int) x3_P (int) x1_P (int) x2_P (int) P_lb_Re_Fib(Source_low, Source_high, lw, hg, x3_P, x1_P)...
Library "MyLibrary_functions_D_S_3D_D_T_PART_1" TODO: add library description here color_(upcolor_txt, upcolor, dncolor_txt, dncolor, theme) Parameters: upcolor_txt (color) upcolor (color) dncolor_txt (color) dncolor (color) theme (string) Source_Zigzag_F(Source) Parameters: Source (string) p_lw_hg(Source_low,...
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 "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 ...