Library "NormalizedOscillators" Collection of some common Oscillators. All are zero-mean and normalized to fit in the -1..1 range. Some are modified, so that the internal smoothing function could be configurable (for example, to enable Hann Windowing, that John F. Ehlers uses frequently). Some are modified for other reasons (see comments in the code), but never...
Library "CommonFilters" Collection of some common Filters and Moving Averages. This collection is not encyclopaedic, but to declutter my other scripts. Suggestions are welcome, though. Many filters here are based on the work of John F. Ehlers sma(src, len) Simple Moving Average Parameters: src : Series to use len : Filtering length Returns:...
Library "WaddahAttarExplosion" wae(sensitivity, macdFastEMALength, macdSlowEMALength, bbChannelLength, bbStdevMultiplier, refHigh, refLow, refClose) Returns the Waddah Attar Uptrend, Downtrend, Explosion Line and Dead zone Parameters: sensitivity : simple float multiplicator for trend line calculation from macd macdFastEMALength : simple int...
Library "ATRStopLossFinder" Average True Range Stop Loss Finder credits to www.tradingview.com for the initial version stopLossFinder(length, smoothing, multiplier, refHigh, refLow, refClose) Returns the stop losses for an entry on this candle, depending on the ATR Parameters: length : simple int optional to select the lookback amount of candles ...
Library "AbdulLibrary" The library consists of three sections: Technical Analysis Functions - A collection of tools commonly used by day traders Trading Setup Filters Functions - A number of filters that help day traders to screen trading signals Candlestick Pattern Detection Functions - To detect different candlestick patterns that are...
Library "Pivots" This Library focuses in functions related to pivot highs and lows and some of their applications (i.e. divergences, zigzag, harmonics, support and resistance...) pivots(srcH, srcL, length) Delivers series of pivot highs, lows and zigzag. Parameters: srcH : Source series to look for pivot highs. Stricter applications might source from...
Library "CommonFunctions" This Library provides some handy functions commonly used in Pine Script. crosses(source1, offset1, source2, offset2) Checks the existance of crosses between the series Parameters: source1 : First series offset1 : (Optional) Offset of First series. By default 0 source2 : (Optional) Second series. By default 'close'...
Library "MovingAveragesLibrary" This is a library allowing one to select between many different Moving Average formulas to smooth out any float variable. You can use this library to apply a Moving Average function to any series of data as long as your source is a float. The default application would be for applying Moving Averages onto your chart. However,...
Library "adx" Calculate ADX (and its constituent parts +DI, -DI, ATR), using different moving averages and periods. adx(atrMA, diMA, adxMA, atrLen, diLen, adxLen, h, l, c) Parameters: atrMA : Moving Average used for calculating the Average True Range. Traditionally RMA, but using SMA here and in adxMA gives good results too. diMA : Moving...
Library "eHarmonicpatternsExtended" Library provides an alternative method to scan harmonic patterns. This is helpful in reducing iterations. Republishing as new library instead of existing eHarmonicpatterns because I need that copy for existing scripts. scan_xab(bcdRatio, err_min, err_max, patternArray) Checks if bcd ratio is in range of any harmonic...
Library "Adaptive_Length" This library contains functions to calculate Adaptive dynamic length which can be used in Moving Averages and other indicators. Two Exponential Moving Averages (EMA) are plotted. Coloring in plot is derived from Chikou filter and Dynamic length of MA1 is adapted using Signal output from Chikou library. dynamic(para, adapt_Pct,...
Library "HA_Candles" Heikin Ashi Candles HA_Close() Heikin Ashi Modified Close Returns: Heikin Ashi Modified Close HA_Open() Heikin Ashi Modified Open Returns: Heikin Ashi Modified Open HA_High() Heikin Ashi Modified High Returns: Heikin Ashi Modified High HA_Low() Heikin Ashi Modified Low Returns: Heikin Ashi Modified Low HA_Delta(Heikin)...
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 "JohnEhlersFourierTransform" Fourier Transform for Traders By John Ehlers, slightly modified to allow to inspect other than the 8-50 frequency spectrum. reference: www.mesasoftware.com high_pass_filter(source) Detrended version of the data by High Pass Filtering with a 40 Period cutoff Parameters: source : float, data source. Returns:...
All Signals Are the Sum of Sines. When looking at real-world signals, you usually view them as a price changing over time. This is referred to as the time domain. Fourier’s theorem states that any waveform in the time domain can be represented by the weighted sum of sines and cosines. For example, take two sine waves, where one is three times as fast as the...
█ OVERVIEW Library "e2hray" A drawing library that contains the hray() function, which draws a horizontal ray/s with an initial point determined by a specified condition. It plots a ray until it reached the price. The function let you control the visibility of historical levels and setup the alerts. █ HORIZONTAL RAY FUNCTION hray(condition, level, color,...
Library "TAExt" Indicator functions can be used in other indicators and strategies. This will be extended by time with indicators I use in my strategies and studies. atrwo(length, stdev_length, stdev_mult) ATR without outliers Parameters: length : The length of the ATR stdev_length : The length of the standard deviation, used for detecting...
Library "historicalrange" Library provices a method to calculate historical percentile range of series. hpercentrank(source) calculates historical percentrank of the source Parameters: source : Source for which historical percentrank needs to be calculated. Source should be ranging between 0-100. If using a source which can beyond 0-100, use short...