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 "ma_function" TODO: This library is a package of various MAs. ma_function(name, source, length) This function provides the MA specified in the argument. Parameters: name : MA's name source : Source value length : Look back periods Returns: Ma value
Library "LocalLimit" Calculates the local upper or local lower limit for a given series. Applying multiple passes produces what appears like support or resistance levels. See Local Limits for more detail. upper(src) Produces the recent local upper limit for a given series. Parameters: src : The source series to derive from. lower(src) Produces...
Library "SgjoeLibrary" Custom functions highest_when(float, float) Permits a condition to be used with highest(high,condition) Parameters: float : _high_series The High for the condition float : _when The condition such as close > high Returns: The high(s) at the point(s) the condition was true lowest_when(float, float) Permits a condition...
Library "MomentumSignals" Contains utilities varying algorithms for detecting key changes in momentum. Note: Momentum is not velocity and should be used in conjunction with other indicators. A change in momentum does not mean a reversal of velocity or trend. simple(primary, secondary, len) Compares two series for changes in momentum to derive signal...
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 "Volatility" Functions for determining if volatility (true range) is within or exceeds normal. The "True Range" (ta.tr) is used for measuring volatility. Values are normalized by the volume adjusted weighted moving average (VAWMA) to be more like percent moves than price. current(len) Returns the current price adjusted volatitlity...
Library "LeoLibrary" 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 "GenericTA" What is it? The real generic library. Which means it is just covering most built-in indicators / functions, but with more parameters, so the user don't have to write more few lines to achieve something simple and replicative. Development process? Will tidy it up, and setting up in later stage. Welcome to inbox me to improve the library...
Library "PivotPointsDailyTraditional" Provides the traditional daily pivot values and a pivot vacinity function. P(level, daysPrior) Returns the P value. Parameters: level : The level to caclulate. daysPrior : The number of days in the past to do the calculation. R(level, daysPrior) Calculates the R value for a given pivot...
Library "DailyLevels" Functions for acquiring daily timeframe data by number of prior days. openD(daysPrior, spec, res) Gets the open for the number of days prior. Parameters: daysPrior : Number of days back to get the open from. spec : session.regular (default), session.extended or other time spec. res : The resolution (default =...
Library "pNRTR" Provides functions for calculating Nick Rypock Trailing Reverse (NRTR) trend values with higher precision offsets for both low, and high points rather than the standard single offset. pnrtr(float low_offset = 0.2, float high_offset = 0.2, float value = close) low_offset Offset used for nrtr low_point calculations. Default is 0.2. ...
Library "customcandles" customcandles: Contains methods which can send custom candlesticks based on the input macandles(maType, length, o, h, l, c) macandles: Provides OHLC of moving average candles Parameters: maType : - Moving average Type. Can be sma, ema, hma, rma, wma, vwma, swma, linreg, median length : - Defaulted to 20. Can chose custom...
Library "lib_Indicators_DT" This library functions returns some Moving averages and indicators. Created it to feed my indicator/strategy "INDICATOR & CONDITIONS COMBINATOR FRAMEWORK v1 " which I will publish it as soon as possible. Credits: Library includes some public indicators, snippets from tradingview & @03.freeman's ("All MAs displayed") scripts. (I...
Library "DrawIndicatorOnTheChart" this library is used to show an indicator (such RSI, CCI, MOM etc) on the main chart with indicator's horizontal lines in a window. Location of the window is calculated dynamically by last price movemements drawIndicator(indicatorName, indicator, indicatorcolor, period, indimax_, indimin_, levels, precision, xlocation) draws...
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...
This is same as existing zigzag library with respect to functionality. But, there is a small update with respect to how arrays are used internally. This also leads to issues with backward compatibility. Hence I decided to make this as new library instead of updating the older one. Below are the major changes: Earlier version uses array.unshift for adding...
Library "MA_library" OVERVIEW This library contains moving average functions that calculate values for which they do not exist by default in PineScript Functions tema(source,length) : Triple Exponencial Moving Average dema(source,length) : Double Exponencial Moving Average wwma(source,length) : Welles Wilder Moving Average gma(source,length) :...