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 "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...
Library "bullratio" Calculate the profit/loss ratio of a permabull for configurable time range bullratio(len) calculates the profit/loss ratio for a permabull of age len Parameters: len : the number of candles to include in the running bull ratio - 0 for all time Returns: series float of profit/loss percentage
Library "CarlLib" LastLowRedHighGreen(open, close, high, close, reqChangePerc) returns values representing the high of the most recent green and the low of the most recent red Parameters: open : open series close : close series high : high series close : close series reqChangePerc : the minimum require change percentage for the...
Library "fontilab" Provides function's indicators for pivot - trend - resistance. pivots(src, lenght, isHigh) Detecting pivot points (and returning price + bar index. Parameters: src : The chart we analyse. lenght : Used for the calcul. isHigh : lookging for high if true, low otherwise. Returns: The bar index and the price of the pivot. ...
Library "WpProbabilisticLib" Library that contains functions to calculate probabilistic based on historical candle analysis CandleType(open, close) This function check what type of candle is, based on its close and open prices Parameters: open : series float (open price) close : series float (close price) Returns: This function return the...
Library "external_input_utils" Collection of external input utilities for conversion and other hacky functions str_to_src(value) str_to_src - Convert the string value to the coresponding source series. It can be used to limit the "input.source" choices provided to the end user. The most interesting part is that it can be used to overcome the "one...
Library "ADX" adx(dilen, adxLen) Parameters: dilen : Length of the Directional Index. adxLen : Length (smoothing) of the Average Directional Index. Returns:
Library "honestpersonallibrary" thestratnumber() this will return the number 1,2 or 3 using the logic from Rob Smiths #thestrat which uses these type of bars for setups getBodySize() Gets the current candle's body size (in POINTS, divide by 10 to get pips) Returns: The current candle's body size in POINTS getTopWickSize() Gets the current candle's...
Library "IntradayHighLow" Provides functions calculating the intraday high/low of values. IntradayHigh(val) Calculates the intraday high of a series. Parameters: val : Series to use ('high' is used if no argument is supplied). Returns: The intraday high for the series. IntradayLow(val) Calculates the intraday low of a series. Parameters: ...
Library "StapleIndicators" This Library provides some common indicators commonly referenced from other studies in Pine Script squeeze(bbSrc, bbPeriod, bbDev, kcSrc, kcPeriod, kcATR, signalPeriod) Volatility Squeeze Parameters: bbSrc : (Optional) Bollinger Bands Source. By default close bbPeriod : (Optional) Bollinger Bands Period. By default...
Library "STPFunctions" These functions are used as part of the STP trading strategy and include commonly used candle patterns, trade triggers and frequently monitored stock parameters MAs() Determines if the last price is abover or below key moving averages. MAs used on the daily are SMA20, SMA50 and SMA200. SMA20 and SMA50 are used intraday. Returns: 1 if...
Library "mZigzag" Matrix implementation of zigzag to allow further possibilities. Main advantage of this library over previous zigzag methods is that you can attach any number of indicator/oscillator information to zigzag calculate(length, ohlc, indicatorHigh, indicatorLow, numberOfPivots) calculates zigzag and related information Parameters: length...
Library "LibraryCommon" A collection of custom tools & utility functions commonly used with my scripts @description TODO: add library description here 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...
Library "OscillatorPivots" Measures pivots in an oscillator and flags if they are above a configurable size. Uses absolute size rather than just highest/lowest in a candle range. f_osc_Pivots() Uses the total change in the Y axis, instead of a simple Williams pivot over a defined number of bars. In other words, it measures the size of the actual pivot, not...