█ 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 "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 "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 "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 "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 "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 "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 "TRADING" This library is a client script for making a webhook signal formatted string to PoABOT server. entry_message(password, percent, leverage, margin_mode, kis_number) Create a entry message for POABOT Parameters: password (string) : (string) The password of your bot. percent (float) : (float) The percent for entry based on...
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 "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 "footprint_logic" Footprint logic getting internal buy/sell volume, inbalance... get_buy_sell_volume(previos_close, tick_close, tick_high, tick_low, row_size, global_inbalance_high, global_inbalance_low, global_line_inbalance_high, global_line_inbalance_low, footprint_price, footprint_volume, tick_close_prev, level_group, tick_vol, stacked_input,...
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 "chrono_utils" Collection of objects and common functions that are related to datetime windows session days and time ranges. The main purpose of this library is to handle time-related functionality and make it easy to reason about a future bar checking if it will be part of a predefined session and/or inside a datetime window. All existing...
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 "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 "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 "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)...