Library "Tosch_Stacked_EMAs (Fibonacci)" stacked() Returns true if all EMAs are stacked, either way. bullish() Returns true if the EMAs are stacked bullish, false otherwise emas() Returns the EMA values for lengths 5, 8, 13, 21, 34, 55, 89
Library "EMAFlow" Functions that manipulate a set of 5 MAs created within user-supplied maximum and minimum lengths. The MAs are spaced out (within the range) in a way that approximates how Fibonnaci numbers are spaced. Using MA flow, as opposed to simple crosses of the minimum and maximum lengths, gives more detail, and can result in faster changes and more...
Library "math" It's a library of discrete aproximations of a price or Series float it uses Fourier Discrete transform, Laplace Discrete Original and Modified transform and Euler's Theoreum for Homogenus White noice operations. Calling functions without source value it automatically take close as the default source value. Here is a picture of Laplace and...
Library "ta" Collection of all custom and enhanced TA indicators. Same as enhanced_ta. But, removed all the displays to make it faster. ma(source, maType, length) returns custom moving averages Parameters: source : Moving Average Source maType : Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow, linreg, median ...
Library "ApproximateGaussianSmoothing" This library provides a novel smoothing function for time-series data, serving as an alternative to SMA and EMA. Additionally, it provides some statistical processing, using moving averages as expected values in statistics. 'Approximate Gaussian Smoothing' (AGS) is designed to apply weights to time-series data that closely...
Library "VolumeSpreadAnalysis" A library for Volume Spread Analysis (VSA). spread(_barIndex) Calculates the spread of a bar. Parameters: _barIndex (int) : (int) The index of the bar. Returns: (float) The spread of the bar. volume(_barIndex) Retrieves the volume of a bar. Parameters: _barIndex (int) : (int) The index of the...
Library "lib_Indicators_v2_DTU" This library functions returns included Moving averages, indicators with factorization, functions candles, function heikinashi and more. Created it to feed as backend of my indicator/strategy "Indicators & Combinations Framework Advanced v2 " that will be released ASAP. This is replacement of my previous indicator...
Library "enhanced_ta" Collection of all custom and enhanced TA indicators ma(source, maType, length) returns custom moving averages Parameters: source : Moving Average Source maType : Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow length : Moving Average Length Returns: moving average for the given type and length ...
Library "MAD_MATH" This is a mathematical library where I store useful kernels, filters and selectors for the different types of computations. This library also contains opensource code from other scripters. Future extensions are very likely, there are some functions I would like to add, but I have to wait for approvals so i can include them. ...
Library "Moving_Averages" This library contains majority important moving average functions with int series support. Which means that they can be used with variable length input. For conventional use, please use tradingview built-in ta functions for moving averages as they are more precise. I'll use functions in this library for my other scripts with dynamic...
Collection of dynamic length adaptation algorithms. Mostly from various Adaptive Moving Averages (they are usually just EMA otherwise). Now you can combine Adaptations with any other Moving Averages or Oscillators (see my other libraries), to get something like Deviation Scaled RSI or Fractal Adaptive VWMA. This collection is not encyclopaedic. Suggestions are...
Library "RVSI" This Library contains functions that calculate all types of " Relative Volume Strength Index (MZ RVSI ) " depending upon unique volume oscillator. Achieved RVSI value can be used for divergence detection in volume or to adapt dynamic length in Moving Averages or other functions. rvsi_tfs(vol_src, vol_Len, rvsiLen, _open, _close) Relative...
Library "Momentum" Contains utilities varying algorithms for measuring momentum. simple(fast, slow, src, fastType, slowType) Derives momentum from two moving averages of different lengths. Parameters: fast : The length of the fast moving average. slow : The length of the slow moving average. src : The series to measure from. Default is...
Library "TypeMovingAverages" This library function returns a moving average. ma_fast ma_slow MA_selector() Example // This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org // © hapharmonic //@version=5 indicator("Test MATYPE", overlay=true) import hapharmonic/TypeMovingAverages/1 as MAType xprd1 =...
Library "_arrayutils" Library contains utility functions using arrays. delete(arr, index) remove an item from array at specific index. Also deletes the item Parameters: arr : - array from which the item needs to be deleted index : - index of item to be deleted Returns: void pop(arr) remove the last item from array. Also deletes the...
Finally getting around to releasing the library component to the SPTS indicator! This library is packed with a ton of great statistics functions to supplement SPTS, these functions add to the capabilities of SPTS including a forecast function. The library includes the following functions 1. Linear Regression (single independent and single dependent) ...
Library "MovingAverages" Exotic or Interesting Moving Averages Collection. Just the one right now! alphaConfigurableEma(src, alpha, nSmooth) Calculates a variation of the EMA by specifying a custom alpha value. Parameters: src (float) : a float series to get the EMA for, e.g. close, hlc3, etc. alpha (float) : a value between 0 (ideally greater,...
Library "loxxmas" TODO:loxx moving averages used in indicators kama(src, len, kamafastend, kamaslowend) KAMA Kaufman adaptive moving average Parameters: src : float len : int kamafastend : int kamaslowend : int Returns: array ama(src, len, fl, sl) AMA, adaptive moving average Parameters: src : float len : int ...