Library "Functions" half_candle() Half Candles Returns: half candles (difference between open and close) super_smoother(source, len) Ehlers Super Smoother Parameters: source (float) : Source len (int) Returns: super smoothed moving average quotient(length, K) Ehlers early onset trend Parameters: length (int) : Length...
Library "ottlib" █ OVERVIEW This library contains functions for the calculation of the OTT (Optimized Trend Tracker) and its variants, originally created by Anıl Özekşi (Anil_Ozeksi). Special thanks to him for the concept and to Kıvanç Özbilgiç (KivancOzbilgic) and dg_factor (dg_factor) for adapting them to Pine Script. █ WHAT IS "OTT" The OTT...
Library "ohlc" Library having OHLC and Indicator type and method implementations. getOhlcArray(o, h, l, c, barindex, bartime, indicators) get array of OHLC values when called on every bar Parameters: o (float) : Open price h (float) : High Price l (float) : Low Price c (float) : Close Price barindex (int) : bar_index of OHLC...
Library "forex_factory_decoding" Supporting Utility Library for the Live Economic Calendar by toodegrees Indicator; responsible for formatting and saving Forex Factory News events. 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...
Library "forex_factory_events_id_B" Supporting Utility Library for the Live Economic Calendar by toodegrees Indicator; database with the second 500 Forex Factory News Event types. ff_titleB(ID) Converts a number to Forex Factory News title (second 500). Parameters: ID (string) : Identifier of the Forex Factory News Event. Please see the library for...
Library "forex_factory_events_id_A" Supporting Utility Library for the Live Economic Calendar by toodegrees Indicator; database with the first 500 Forex Factory News Event types. ff_titleA(ID) Converts a number to Forex Factory News title (first 500). Parameters: ID (string) : Identifier of the Forex Factory News Event. Please see the library for...
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 "chartpatterns" Library having complete chart pattern implementation method draw(this) draws pattern on the chart Namespace types: Pattern Parameters: this (Pattern) : Pattern object that needs to be drawn Returns: Current Pattern object method erase(this) erase the given pattern on the chart Namespace types:...
Library "LineWrapper" Wrapper Type for Line. Useful when you want to store the line details without drawing them. Can also be used in scnearios where you collect lines to be drawn and draw together towards the end. method draw(this) draws line as per the wrapper object contents Namespace types: Line Parameters: this (Line) : (series Line) Line...
Library "lib_fvg" further expansion of my object oriented library toolkit. This lib detects Fair Value Gaps and returns them as objects. Drawing them is a separate step so the lib can be used with securities. It also allows for usage of current/close price to detect fill/invalidation of a gap and to adjust the fill level dynamically. FVGs can be detected while...
Library "ZigzagLite" Lighter version of the Zigzag Library. Without indicators and sub-component divisions method getPrices(pivots) Gets the array of prices from array of Pivots Namespace types: Pivot Parameters: pivots (Pivot ) : array array of Pivot objects Returns: array array of pivot prices method getBars(pivots) Gets the array of...
This Forecasting library has a couple of Novel and traditional approaches to forecasting stock prices. Traditionally, it provides a basic ARIMA forecaster using simple autoregression, as well as a linear regression and quadratic regression channel forecaster. Novel approaches to forecasting include: 1) A Moving Average based Forecaster (modelled after ARIMA), it...
Library "TimeframeComparison" Timeframe comparison for higher and lower timeframe █ OVERVIEW This library is used to compare higher / lower timeframe by using timeframe.multiplier. minMult() timeframe multiplier in minutes Returns: float value
Library "arraymethods" Supplementary array methods. delete(arr, index) remove int object from array of integers at specific index Parameters: arr : int array index : index at which int object need to be removed Returns: void delete(arr, index) remove float object from array of float at specific index Parameters: arr : float...
Library "Zigzag" Zigzag related user defined types. Depends on DrawingTypes library for basic types method tostring(this, sortKeys, sortOrder, includeKeys) Converts ZigzagTypes/Pivot object to string representation Namespace types: Pivot Parameters: this (Pivot) : ZigzagTypes/Pivot sortKeys (bool) : If set to true, string output is sorted by...
This is my first public (and I hope not the last) library providing different color palettes used for data visualization. Each palette can contain either 3 to 9 colors or 3 to 11 colors. So there you go. Happy New Year! I want your new year to be as colorful, vibrant and rich as these color palettes. Dedicated to @veryfid . RIP, dude. --- Library ...
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 and see if it is part of a predefined user session and/or inside a datetime window. All existing...
Library "TTB_TableBuilder" A helper library to make it simpler to create tables in pinescript DefaultDarkStyle() method Size(this, width, height) Change the size (width, height) of the table cell. Namespace types: Cell Parameters: this (Cell) width (int) height (int) Returns: Cell method Size(this, width, height) Change the...