Library "SIL" mean_src(x, y) calculates moving average : x is the source of price (OHLC) & y = the lookback period Parameters: x y stan_dev(x, y, z) calculates standard deviation, x = source of price (OHLC), y = the average lookback, z = average given prior two float and intger inputs, call the f_avg_src() function in...
Library "OfekIndicatorsLib" TODO: add library description here ichiClouds(conversionPeriods, basePeriods, laggingSpan2Periods) Parameters: conversionPeriods basePeriods laggingSpan2Periods trama(tramaSrc, tramaLength) Parameters: tramaSrc tramaLength kdj(ilong, isig, startFrom) Parameters: ilong isig ...
Library "ulib" Stochastic(length, d_smooth) Parameters: length d_smooth bull_stoch_condition(k, d) Parameters: k d ema_condition(ema_1, ema_2, ema_3) Parameters: ema_1 ema_2 ema_3 bull_fractal_condition(n) Parameters: n Bull(Fractal, ema, stochastic_osc) Parameters: Fractal ema...
Library "PitchforkMethods" Methods associated with Pitchfork and Pitchfork Drawing. Depends on the library PitchforkTypes for Pitchfork/PitchforkDrawing objects which in turn use DrawingTypes for basic objects Point/Line/LineProperties. Also depends on DrawingMethods for related methods tostring(this) Converts PitchforkTypes/Fork object to string...
Library "PitchforkTypes" User Defined Types to be used for Pitchfork and Drawing elements of Pitchfork. Depends on DrawingTypes for Point, Line, and LineProperties objects PitchforkDrawingProperties Pitchfork Drawing Properties object Fields: extend : If set to true, forks are extended towards right. Default is true fill : Fill forklines with...
Library "ZigzagMethods" Object oriented implementation of Zigzag methods. Please refer to ZigzagTypes library for User defined types used in this library tostring(this, sortKeys, sortOrder, includeKeys) Converts ZigzagTypes/Pivot object to string representation Parameters: this : ZigzagTypes/Pivot sortKeys : If set to true, string output is...
Library "ZigzagTypes" Zigzag related user defined types. Depends on DrawingTypes library for basic types Indicator Indicator is collection of indicator values applied on high, low and close Fields: indicatorHigh : Indicator Value applied on High indicatorLow : Indicator Value applied on Low PivotCandle PivotCandle represents data of the...
Library "DrawingMethods" tostring(this, sortKeys, sortOrder, includeKeys) Converts DrawingTypes/Point object to string representation Parameters: this : DrawingTypes/Point object sortKeys : If set to true, string output is sorted by keys. sortOrder : Applicable only if sortKeys is set to true. Positive number will sort them in ascending...
Library "DrawingTypes" User Defined Types for basic drawing structure. Other types and methods will be built on these. Point Point refers to point on chart Fields: price : pivot price bar : pivot bar bartime : pivot bar time LineProperties Properties of line object Fields: xloc : X Reference - can be either xloc.bar_index or...
Library "Liquidationline" f_calculateLeverage(_leverage, _maintainance, _value, _direction) Parameters: _leverage _maintainance _value _direction f_liqline_update(_Liqui_Line, _killonlowhigh) Parameters: _Liqui_Line _killonlowhigh f_liqline_draw(_Liqui_Line, _priceorliq) Parameters: _Liqui_Line ...
Library "Antares" this library contains some utility functions that I use in my open source scripts including moving average helpers, candlstick helpers, money management, formatters, convertors, webhook integration, analysis, filters and drawing helpers ma(type, length, source) Wraps all ma functions Parameters: type : Either SMA or EMA or RMA or...
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...