Library "lib_risk_management" a lib to help with dynamic position sizing position_size(risk, account_balance, entry_price, sl_price) calculate the position size required to meet the account size based risk given when the stop loss is triggered Parameters: risk (float) : percentage of account balance to risk (1-100) account_balance (float) :...
Library "TimeSeriesRecurrencePlot" In descriptive statistics and chaos theory, a recurrence plot (RP) is a plot showing, for each moment i i in time, the times at which the state of a dynamical system returns to the previous state at `i`, i.e., when the phase space trajectory visits roughly the same area in the phase space as at time `j`. ``` A recurrence plot...
Library "TimeSeriesGrammianAngularField" provides Grammian angular field and associated utility functions. ___ Reference: *Time Series Classification: A review of Algorithms and Implementations*. www.researchgate.net method normalize(data, a, b) Normalize the series to a optional range, usualy within `(-1, 1)` or `(0, 1)`. Namespace types:...
Library "ATE_Common_Functions_Library" - ATE_Common_Functions_Library was created to assist in constructing CCOMET Scanners RCI(_rciLength, _source, _interval) You will see me using this a lot. DEFINITELY my favorite oscillator to utilize for SO many different things from timing entries/exits to determining trends.Calculation of this indicator based on...
Library "CCOMET_Scanner_Library" - A Trader's Edge (ATE)_Library was created to assist in constructing CCOMET Scanners Loc_tIDs_Col(_string, _firstLocation) TickerIDs: You must form this single tickerID input string exactly as described in the scripts info panel (little gray 'i' that is circled at the end of the settings in the settings/input panel that...
Library "convergingpatterns" Library having implementation of converging chart patterns getPatternNameByType(patternType) Returns pattern name based on type Parameters: patternType (int) : integer value representing pattern type Returns: string name of the pattern method find(this, sProperties, dProperties, patterns, ohlcArray) find...
Library "simpletrade" Library with Simple Trade types and tracking mechanism method evaluate(this) Evaluate current trade and update status Namespace types: SimpleTrade Parameters: this (SimpleTrade) : SimpleTrade object that need to be evaluated Returns: current SimpleTrade object method erase(this) Erase SimpleTrade drawings Namespace...
Library "Holiday" - Full Control over Holidays and Daylight Savings Time (DLS) The Holiday Library is an essential tool for traders and analysts who engage in backtesting and live trading . This comprehensive library enables the incorporation of crucial calendar elements - specifically Daylight Savings Time (DLS) adjustments and public holidays - into...
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...