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 "WebhookMessageLibrary" The webhook message library provides several functions for building JSON payloads method buildWebhookJson(msg, constants) Builds the final JSON payload from a webhookMessage type. Namespace types: webhookMessage Parameters: msg (webhookMessage) : (webhookMessage) A prepared webhookMessage. constants (CONSTANTS)...
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...
█ 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 "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...
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...
Library "MultiMA" available type input : "COVWMA", "DEMA", "EMA", "EHMA", "FRAMA", "HMA", "KAMA", "LinReg", "RMA", "SMA", "SSMA1", "SSMA2", "TEMA", "VIDYA", "VWMA", "WMA", "ZLSMA" calcMA(_src, _period, _type) Parameters: _src (float) _period (simple int) _type (simple string) - COVWMA: Coefficient of Variation Weighted Moving Average -...
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 "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 "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 "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 "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 "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 "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 "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...