Library "FibonacciAveragesOscillatorLibrary" The FibonacciAveragesOscillator library provides a streamlined way to analyze market trends using Fibonacci intervals and smoothed averages. fibAvgOscillator(maxFibNumber, smoothLevel) Parameters: maxFibNumber (string) : string: The maximum Fibonacci number to use, affecting analysis depth. smoothLevel...
Library "MLMomentumIndex" Enables market momentum analysis with k-NN predictions on pivot points, offering customizable parameters for dynamic trading strategies. momentumIndexPivots(source, pivotBars, momentumWindow, maxData, numNeighbors, predictionSmoothing) Parameters: source (float) pivotBars (int) momentumWindow (int) maxData...
Library "MLPivotsBreakouts" 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(source, pivotBars, numNeighbors, maxData, predictionSmoothing) Parameters: source (float) : series float:...
Library "DynamicMAs" Custom MA's that allow a dynamic calculation beginning from the first bar, irrespective of lookback period. SMA(src, length) Dynamic SMA Parameters: src (float) length (int) EMA(src, length) Dynamic EMA Parameters: src (float) length (int) DEMA(src, length) Dynamic DEMA Parameters: src...
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...