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...
Library "SupportResitanceAndTrend" Contains utilities for finding key levels of support, resistance and direction of trend. superTrendPlus(multiple, h, l, atr, closeBars) A more flexible version of SuperTrend that allows for supplying the series used and sensitivity adjustment by confirming close bars. Parameters: multiple : The multiple to apply to...
Library "MovingAverages" vawma(len, src, volumeDefault) VAWMA = VWMA and WMA combined. Simply put, this attempts to determine the average price per share over time weighted heavier for recent values. Uses a triangular algorithm to taper off values in the past (same as WMA does). Parameters: len : The number of bars to measure with. src : The...
Library "DataCleaner" outlierLevel(src, len, level) Gets the (standard deviation) outlier level for a given series. Parameters: src : The series to average and add a multiple of the standard deviation to. len : The The number of bars to measure. level : The positive or negative multiple of the standard deviation to apply to the average. A...
This library comes with everything you need to add an On Balance Volume (OBV) filter to your strategy. getOnBalanceVolumeFilter(source, maType, fastMaLength, fastMaLength) Get the fast and slow moving average for on balance volume Parameters: source : hook this up to an 'input.source' input maType : Choose from EMA, SMA, RMA, or WMA ...
Library "MovingAveragesProxy" Moving Averages Proxy - Library of all moving averages spread out in different libraries rvwap(_src, fixedTfInput, minsInput, hoursInput, daysInput, minBarsInput) Calculates the Rolling VWAP (customized VWAP developed by the team of TradingView) Parameters: _src : (float) Source. Default: close fixedTfInput :...
Library "TA" General technical analysis functions div_bull(pS, iS, cp_length_after, cp_length_before, pivot_length, lookback, no_broken, pW, iW, hidW, regW) Test for bullish divergence Parameters: pS : Price series (float) iS : Indicator series (float) cp_length_after : Bars after current (divergent) pivot low to be considered a valid...
Library "KlintLibrary" GetDecimals() this is my library, for my own use thanks for reading
Library "Tosch_Stacked_EMAs (Fibonacci)" stacked() Returns true if all EMAs are stacked, either way. bullish() Returns true if the EMAs are stacked bullish, false otherwise emas() Returns the EMA values for lengths 5, 8, 13, 21, 34, 55, 89
Library "Chaikin Money Flow" cmf() Developed by Marc Chaikin, Chaikin Money Flow measures the amount of Money Flow Volume over a specific period. Money Flow Volume forms the basis for the Accumulation Distribution Line. Instead of a cumulative total of Money Flow Volume, Chaikin Money Flow simply sums Money Flow Volume for a specific look-back period,...