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 "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 "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 "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 "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 "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 "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 "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...
Library "New_Concepts_in_Technical_Trading_Systems" A library for trading with mathematical indicators as described by J. Welles Wilder Jr. in 1978 psar(highSeries, lowSeries, closeSeries, start, increment, max) psar calculates the parabolic SAR for the given series. Uses defaults as described by Wilder Parameters: highSeries (float) : the series of...
Library "TrendPivots" This library provides functions to search for bullish and bearish divergences between pivots and indicators. Functions search for higher highs and lower lows, automating lines, labels and signals for technical analysis and strategies. method maxBeforeLast(id) Method function to get the maximum price before the last, stored in an...
Library "WeightedSumIndex" WeightedSumIndex: Helper class to build indices. Index value is a normalized weighted sum of all its input signals. The value is from 0 to 100 fun(x) TODO: add function description here Parameters: x (float) : TODO: add parameter x description here Returns: TODO: add what function returns init() Initialize an...
Library "Gauge" The gauge library utilizes a gaugeParams object, encapsulating crucial parameters for gauge creation. Essential attributes include num (the measured value) , min (the minimum value equating to 100% on the gauge's minimum scale) , and max (the maximum value equating to 100% on the gauge's maximum scale) . The size attribute ...