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...
Style Made Easy with 175 Reversable light/dark themes Built on to of my theme engine, so any tools built with one will work with the other. getTheme(_input) Get a theme by name. (see lib for copy/paste list) Parameters: _input : string Name of Theme to use. apathy() Theme preset -> "Apathy" Returns: Theme object apprentice() Theme preset...
Library "theme_engine" Theme Builder and Structure for live generative themes init(_name) New theme object. Parameters: _name : (string) opptional name Returns: a VAR theme (holds it's vals when updated if not overwritten) globals(theme, _h1, _h2, _h3, _h4, _s, _val, _contrast) Create light/dark theme globals Parameters: theme :...
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 "FibRatios" Library with calculation logic for fib retracement, extension and ratios retracement(a, b, ratio, logScale, precision) Calculates the retracement for points a, b with given ratio and scale Parameters: a : Starting point a b : Second point b ratio : Ratio for which we need to calculate retracement c logScale : Flag...
Library "DataCorrelation" Implementation of functions related to data correlation calculations. Formulas have been transformed in such a way that we avoid running loops and instead make use of time series to gradually build the data we need to perform calculation. This allows the calculations to run on unbound series, and/or higher number of samples 🎲...
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 "JeeSauceScripts" getupdnvol() GetTotalUpVolume(upvolume) Parameters: upvolume GetTotalDnVolume(downvolume) Parameters: downvolume GetDelta(totalupvolume, totaldownvolume) Parameters: totalupvolume totaldownvolume GetMaxUpVolume(upvolume) Parameters: upvolume GetMaxDnVolume(downvolume)...
Library "MyLibrary" TODO: add library description here init(value) Parameters: value set(source, value) Parameters: source value get(source) Parameters: source
▮ FEATURES Now as library version :) String-based transition-effects Performance optimization. Reduced memory consumption up to >90% by kicking the output to the "stdout". Use marquee- or loader-effect on any possible string location. Example: UI Price-Ticker ---------------------------------------------------------------------------- Library ...
Hello everyone, Here is a perfectly replicated TradingView backtesting engine condensed into a single library function calculated with arrays. It includes TradingView's calculations for Net profit, Total Trades, Percent of Trades Profitable, Profit Factor, Max Drawdown (absolute and percent), and Average Trade (absolute and percent). Here's how TradingView...
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 "profitestimate" Simple profit Estimatr. Engages when Position != 0 and holds until posittion is na/0... if position changes sizes, it will update automatically and adjust. it has an input for comission to estmate exit fees update_avgprice(_sizewas, _delta, _pricewas, _newprice) Get a new Average position Price Parameters: _sizewas :...
Library "Heikinashi" This library calculates "Heikinashi". calc(_o, _h, _l, _c, _my_close) This function calculates "Heikinashi". Parameters: _o : open _h : high _l : low _c : close _my_close : Specify if you want to force only the closing price to a real value. Returns: TODO: add what function returns