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...
Library "ta" Collection of all custom and enhanced TA indicators. Same as enhanced_ta. But, removed all the displays to make it faster. ma(source, maType, length) returns custom moving averages Parameters: source : Moving Average Source maType : Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow, linreg, median ...
Library "Hurst" hurst(length, samples, hi, lo) Estimate the Hurst Exponent using Dubuc's variation method Parameters: length : The length of the history window to use. Large values do not cause lag. samples : The number of scale samples to take within the window. These samples are then used for regression. The minimum value is 2 but 3+ is...
Library "Traders_Reality_Lib" This library contains common elements used in Traders Reality scripts calcPvsra(pvsraVolume, pvsraHigh, pvsraLow, pvsraClose, pvsraOpen, redVectorColor, greenVectorColor, violetVectorColor, blueVectorColor, darkGreyCandleColor, lightGrayCandleColor) calculate the pvsra candle color and return the color as well as an alert if a...
Library "RS_TD_Library_2" TradingView Library for showing option prices on the chart Here is a simple way to draw options to an underlying asset on the chart. At the top right there is a table with the summary of the corresponding premiums. A tooltip shows the corresponding buy/sell prices for each option. showTable(sumShortPut, sumLongPut, sumShortCall,...
Library "LibIndicadoresUteis" Collection of useful indicators. This collection does not do any type of plotting on the graph, as the methods implemented can and should be used to get the return of mathematical formulas, in a way that speeds up the development of new scripts. The current version contains methods for stochastic return, slow stochastic, IFR,...
Library "KernelFunctions" This library provides non-repainting kernel functions for Nadaraya-Watson estimator implementations. This allows for easy substitution/comparison of different kernel functions for one another in indicators. Furthermore, kernels can easily be combined with other kernels to create newer, more customized kernels. Compared to Moving...
Library "inChart" determine if price value is between chart high + x% and low - x% on the visible chart. inChart()
Library "ta" This library is a Pine Script™ programmer’s tool containing calcs for my oscillators and some helper functions. buoyancy(src, targetPeriod, maxLookback) Calculates buoyancy using a target of `src` summed over `targetPeriod` bars, not searching back farther than `maxLookback` bars. See: Parameters: src : (series float) The source value...
Library "TR_Base_Lib" TODO: add library description here SetHighLowArray() ChangeHighLowArray() ShowLabel(_Text, _X, _Y, _Style, _Size, _Yloc, _Color) TODO: Function to display labels Parameters: _Text : TODO: text (series string) Label text. _X : TODO: x (series int) Bar index. _Y : TODO: y (series int/float) Price of the label...