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
Library "string_extras" Additional String shortcuts, unshift and pop return the string ~without~ the first or last, so in use will still require to extract first or last character prior to overwriting a string with the output. can be imported "as str" to work side by side with regular pine last(_string) last char of a string Parameters: _string...
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. ...
SignalBuilder Utility for building a collection of signal values. Provides a default view for displaying signals. Simplified API for aggregating signal values. Flexible for use with indicators and strategies. See the demo section for an example.
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...