Library "LIB_TradeAssist" This library is a collection of assistence tools saving me the need to copy same code again and again in my various indicators and strategies. Slop_Magnitude(val_now, val_older, mult_factor) Calculate the slop magnetude betwen current price and an older price. Since the change is usually minimal, we multiply it by def value of...
Library "basechartpatterns" Library having complete chart pattern implementation getPatternNameById(id) Returns pattern name by id Parameters: id (int) : pattern id Returns: Pattern name method find(points, properties, dProperties, ohlcArray) Find patterns based on array of points Namespace types: chart.point Parameters: points...
Library "abstractchartpatterns" Library having abstract types and methods for chart pattern implementations checkBarRatio(p1, p2, p3, properties) checks if three zigzag pivot points are having uniform bar ratios Parameters: p1 (chart.point) : First pivot point p2 (chart.point) : Second pivot point p3 (chart.point) : Third pivot point ...
Library "series_collection" A personal collection of commonly used series types like moving averages that are supported directly by the pinescript library ('ALMA', 'DEMA', 'EMA', 'HMA', 'RMA', 'SMA', 'SWMA', 'VWMA', 'WMA'), highest and lowest source, median and pivots. One single function (with overloads) that can be configured easily by the user input and can...
Library "TimeSeriesClassificationActivationFunctions" Provides some activation functions useful in time series classification. ___ reference: github.com method scale(dist, weights) Activate values by a normalized scale. Namespace types: map Parameters: dist (map) : Source distribution map. weights (map) : Weights distribution map. Returns:...
Library "MatrixScaleDown" Provides a function to scale down a matrix into a smaller square format were its values are averaged to mantain matrix topology. method scale_down(mat, size) scale a matrix to a new smaller square size. Namespace types: matrix Parameters: mat (matrix) : Source matrix. size (int) : New matrix size. Returns: New...
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...