Library "PointofControl" POC_f() The genesis of this project was to create a POC library that would be available to deliver volume profile information via pine to other scripts of indicators and strategies. This is the indicator version of the library function. A few things that would be unique with the built in - it allows you to choose the kind of...
Library "loxxdynamiczone" Dynamic Zones Derives Leo Zamansky and David Stendahl's Dynamic Zone, see "Stocks & Commodities V15:7 (306-310): Dynamic Zones by Leo Zamansky, Ph .D., and David Stendahl" What are Dynamic Zones? As explained in "Stocks & Commodities V15:7 (306-310): Dynamic Zones by Leo Zamansky, Ph .D., and David Stendahl" Most indicators use a...
Library "loxxvarietyrsi" 7 varieties of RSI used in Loxx's indicators and strategies. Default is "rsi_rsi" which is just TV's built int ta.rsi() function. "rsi_rsi" is regular ta.rsi() "rsi_slo" is slowed down version of regular RSI "rsi_rap" is ta.rsi() but uses SMA instead of RMA, this is the same as Cuttlers RSI "rsi_har" is Michael Harris RSI, but a...
Library "SumOfCandles" This function returns sum of candlestick's body. calc(_open, _close, _len, _malen, _usema) Returns the sum of candlestick body. Parameters: _open : Source _close : Source _len : Period _malen : MA Period _usema : A flag of using MA Returns: sum calc(_len, _malen, _usema) Returns the sum of...
Library "TR_HighLow_Lib" TODO: add library description here ShowLabel(_Text, _X, _Y, _Style, _Size, _Yloc, _Color) TODO: Function to display labels Parameters: _Text : TODO: text (series string) Label text. _X : TODO: x (series int) Bar index. _Y : TODO: y (series int/float) Price of the label position. _Style : TODO: style (series...
Library "loxxfsrrdspfilts" loxxfsrrdspfilts : FATL, SATL, RFTL, & RSTL Digital Signal Filters fatl(src) fatl Parameters: src : float Returns: result float rftl(src) rftl Parameters: src : float Returns: result float satl(src) satl Parameters: src : float Returns: result float rstl(src) rstl Parameters: src :...
Library "loxxjuriktools" loxxjuriktools: Jurik tools used in Loxx's idicators and strategies jcfbaux(src, len) jcfbaux Parameters: src : float len : int Returns: result float jcfb(src, len, len) jcfb Parameters: src : float len : int len : int Returns: result float jurik_filt(src, len, phase)...
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 ...
Library "BjCandlePatterns" Patterns is a Japanese candlestick pattern recognition Library for developers. Functions here within detect viable setups in a variety of popular patterns. Please note some patterns are without filters such as comparisons to average candle sizing, or trend detection to allow the author more freedom. doji(dojiSize, dojiWickSize) ...
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 "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 "ZenLibrary" A collection of custom tools & utility functions commonly used with my scripts. getDecimals() Calculates how many decimals are on the quote price of the current market Returns: The current decimal places on the market quote price truncate(float, float) Truncates (cuts) excess decimal places Parameters: float : _number The...
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:...
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 "FunctionLinearRegression" Method for Linear Regression using array sample points. linreg(sample_x, sample_y) Performs Linear Regression over the provided sample points. Parameters: sample_x : float array, sample points X value. sample_y : float array, sample points Y value. Returns: tuple with: _predictions: Array with adjusted Y...
Library "harmonicpatterns" harmonicpatterns: methods required for calculation of harmonic patterns. These are customised to be used in my scripts. But, also simple enough for others to make use of :) isGartleyPattern(xabRatio, abcRatio, bcdRatio, xadRatio, err_min, err_max) isGartleyPattern: Checks for harmonic pattern Gartley Parameters: xabRatio :...
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...