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 "books" this library contains excerpts from great books to help with trading. enhiridion() Fills the map with admonitions from Epictetus' "Enchiridion". Returns: map with admonitions
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 "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 "forex_factory_utility" Supporting Utility Library for the Live Economic Calendar by toodegrees Indicator; responsible for data handling, and plotting news event data. isLeapYear() Finds if it's currently a leap year or not. Returns: Returns True if the current year is a leap year. daysMonth(M) Provides the days in a given month of the year,...
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...