Library "LoggerLib" Function Description: This library aims to extend the logging functionality by overloading various logging methods. The objective is to enable appending ".log" at the end of different types to make logging outputs easier. Key features of this function include: Multi Debug Levels: The readout will encompass error, warning, and info...
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 "Useful_lib_public" Useful functions CountBarsOfDay() count bars for one for the diffrent time frames Returns: number of bars for one day LastBarsOfDay() Index number for the las bar for one day Returns: TRUE is that the last bar from day isTuesday() TRUE is tuesday Returns: TRUE is tuesday else FALSE Rsi(src, len) RSI...
Library "AminioLibrary" : this is my personal library that is being used in different indicators and strategies calculateMA(source, len, maType) This fuction returns a moving average value based on the type Parameters: source (float) : Is the time series source to calculate average from len (simple int) : The length of the moving average, this...
Library "EC_2025_Q4_EN" output2025() Returns the list of events during the period. Returns: array: (week1,week2, ... week_n) week_n= ;;; ... Where: is expressed as date + characteristics: YYYY,MM,DD,hh,mm,ss,x,y,z x impact in numbers y event name in numbers z currency in numbers name2025() Returns the list of event names during the...
Library "EC_2025_Q3_EN" output2025() Returns the list of events during the period. Returns: array: (week1,week2, ... week_n) week_n= ;;; ... Where: is expressed as date + characteristics: YYYY,MM,DD,hh,mm,ss,x,y,z x impact in numbers y event name in numbers z currency in numbers name2025() Returns the list of event names during the...
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 "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 "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 "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 "TRIG" degreesToRadians(degrees) Parameters: degrees (float) radiansToDegrees(radians) Parameters: radians (float) rt_get_angleAlphaFromLine(x1, y1, x2, y2, inDegrees) Parameters: x1 (int) y1 (float) x2 (int) y2 (float) inDegrees (bool) rt_get_angleBetaFromLine(x1, y1, x2, y2)...
Library "ALGEBRA" line_fromXy(x1, y1, x2, y2) Parameters: x1 (int) y1 (float) x2 (int) y2 (float) line_getPrice(x, slope, yInt) Parameters: x (int) slope (float) yInt (float) line_length(x1, y1, x2, y2) Parameters: x1 (int) y1 (float) x2 (int) y2 (float) distance(x1, y1, x2, y2)...
Library "ImrLibrary" TODO: add library description here STG(Length) TODO: add function description here Parameters: Length (int) Returns: TODO: add what function returns ISI(Length) Parameters: Length (simple int)
Library "stats" stats factorial(x) factorial Parameters: x (int) standardize(x, length, lengthSmooth) standardize @description Moving Standardization of a time series. Parameters: x (float) length (int) lengthSmooth (int) dnorm(x, mean, sd) dnorm @description Approximation for Normal Density...
Library "EC_2025_Q2_EN" output2025() Returns the list of events during the period. Returns: array: (week1,week2, ... week_n) week_n= ;;; ... Where: is expressed as date + characteristics: YYYY,MM,DD,hh,mm,ss,x,y,z x impact in numbers y event name in numbers z currency in numbers name2025() Returns the list of event names during the...