Library "MLExtensions" normalizeDeriv(src, quadraticMeanLength) Returns the smoothed hyperbolic tangent of the input series. Parameters: src : The input series (i.e., the first-order derivative for price). quadraticMeanLength : The length of the quadratic mean (RMS). Returns: nDeriv The normalized derivative of the input series. ...
Basic library for the visible range chart; with functions to allow plotting Fibs from body high/low as well as wick high/low -Thanks to code from @PineCoders Visible Chart library (PineCoders/VisibleChart/4), which is a much more comprehensive library than this, but which does not include some functions that I find useful: -Added the following exportable...
Library "MyLibrary" TODO: add library description here isHammer(fib, colorMatch) TODO: add function description here Parameters: fib colorMatch Returns: TODO: add what function returns
Library "eHarmonicpatternsLogScale" Library provides functions to scan harmonic patterns both or normal and log scale getSupportedPatterns() get_prz_range(x, a, b, c, patternArray, errorPercent, start_adj, end_adj, logScale) Provides PRZ range based on BCD and XAD ranges Parameters: x : X coordinate value a : A coordinate value b : B...
This library replaces the previous MetaWorldEngineFilterLibrary3. Library "E5TradingLibrary" GetCandleStickSize(_src_high, _src_low) returns size of the candle Parameters: _src_high _src_low Returns: candlestick size GetCandleStickBodySize(_src_open, _src_close) returns size of the candle body Parameters: _src_open ...
Library "HiveLibrary" : Custom library RoundDown(number, decimals) RoundDown() rounds the specified number down to the given number of decimal places. Parameters: number : is the argument for rounding down & decimals is the number of digits after dot decimals Returns: return is the rounded down value of the number
Library "Library_Smoothers" CorrectedMA(Src, Len) CorrectedMA The strengths of the corrected Average (CA) is that the current value of the time series must exceed a the current volatility-dependent threshold, so that the filter increases or falls, avoiding false signals when the trend is in a weak phase. Parameters: Src Len Returns: The...
Library "HendrixLIBRARY" getVolumeData() getLTF(customTimeframe, ltf) Parameters: customTimeframe ltf sumArray(a) Parameters: a arrs2vals(upVolumeArray, downVolumeArray, volArr) Parameters: upVolumeArray downVolumeArray volArr getVolumesFromUpDownArrays(upVolumeArray, downVolumeArray) Parameters: ...
Library "HSupertrend" Supertrend implementation based on harmonic patterns hsupertrend(zProperties, pProperties, errorPercent, showPatterns, patternColor) derives supertrend based on harmonic patterns Parameters: zProperties : ZigzagProperties containing Zigzag length and source array pProperties : PatternProperties used for calculation ...
Library "ChasinAlts_Library" rci(_BCgtg, _Tgtg, _close, _smaLen, _bar_index) Parameters: _BCgtg _Tgtg _close _smaLen _bar_index printedBC(_time, _minPerc, _Tgtg, _lkbk) Parameters: _time _minPerc _Tgtg _lkbk form123(_ppLen, _BCgtg, _Tgtg, _high, _low, _close, _bar_index) Parameters: ...
Library "TrailingStops" This library contains functions to output trailing stop lines. f_marketStructureStop(_restartMode, _flipMode, _restartLowIn, _restartHighIn) Parameters: _restartMode - Defines how the stop lines persist. Allowed values are: "Always On" - The stop lines are always present and they just reset when they're crossed. ...
Library "MarketStructure" This library contains functions for identifying Lows and Highs in a rule-based way, and deriving useful information from them. f_simpleLowHigh() This function finds Local Lows and Highs, but NOT in order. A Local High is any candle that has its Low taken out on close by a subsequent candle (and vice-versa for Local Lows). The Local...
█ OVERVIEW This library is a Pine Script™ programmer’s tool for incorporating TradingView's well-known technical ratings within their scripts. The ratings produced by this library are the same as those from the speedometers in the technical analysis summary and the "Rating" indicator in the Screener , which use the aggregate biases of 26 technical...
Library "TurntLibrary" Collection of functions created for simplification/easy referencing. Includes variations of moving averages, length value oscillators, and a few other simple functions based upon HH/LL values. ma(source, length, type) Apply a moving average to a float value Parameters: source : Value to be used length : Number of bars to...
Library "Obj_XABCD_Harmonic" Harmonic XABCD Pattern object and associated methods. Easily validate, draw, and get information about harmonic patterns. See example code at the end of the script for details. init_params(pct_error, pct_asym, types, w_e, w_p, w_d) Create a harmonic parameters object (used by xabcd_harmonic object for pattern validation and...
█ OVERVIEW This library is a Pine Script™ programmer’s tool containing custom user-defined types and functions to calculate Zig Zag indicators within their scripts. It is not a stand-alone indicator. Pine Script™ libraries are publications that contain reusable code for importing into Pine Script™ indicators, strategies, and other libraries. For more...
Library "ExpansionContraction" Library for Expansion Contraction Indicator, a zero-lag dual perspective indicator created by Brian Latta based on Jake Bernstein’s principles of Moving Average Channel system. calc(shortLookback, longLookback) Calculates Expansion Contraction values. Parameters: shortLookback : Integer for the short lookback...
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...