Library "least_squares_regression" least_squares_regression: Least squares regression algorithm to find the optimal price interval for a given time period basic_lsr(series, series, series) basic_lsr: Basic least squares regression algorithm Parameters: series : int t: time scale value array corresponding to price series : float p: price scale...
Library "simple_squares_regression" simple_squares_regression: simple squares regression algorithm to find the optimal price interval for a given time period basic_ssr(series, series, series) basic_ssr: Basic simple squares regression algorithm Parameters: series : float src: the regression source such as close series : int region_forward: number...
Library "on_balance_volume" on_balance_volume: custom on balance volume obv_diff(string, simple) obv_diff: custom on balance volume diff version Parameters: string : type: the moving average type of on balance volume simple : int len: the moving average length of on balance volume Returns: obv_diff: custom on balance volume diff value ...
Library "moving_average" moving_average: moving average variants variant(string, series, simple) variant: moving average variants Parameters: string : type: type in series : float src: the source series of moving average simple : int len: the length of moving average Returns: float: the moving average variant value
Library "NormalizedOscillators" Collection of some common Oscillators. All are zero-mean and normalized to fit in the -1..1 range. Some are modified, so that the internal smoothing function could be configurable (for example, to enable Hann Windowing, that John F. Ehlers uses frequently). Some are modified for other reasons (see comments in the code), but never...
Library "DateLibrary" TODO: add library description here window() BearishPeriod() fun()
Library "CommonFilters" Collection of some common Filters and Moving Averages. This collection is not encyclopaedic, but to declutter my other scripts. Suggestions are welcome, though. Many filters here are based on the work of John F. Ehlers sma(src, len) Simple Moving Average Parameters: src : Series to use len : Filtering length Returns:...
Library "WaddahAttarExplosion" wae(sensitivity, macdFastEMALength, macdSlowEMALength, bbChannelLength, bbStdevMultiplier, refHigh, refLow, refClose) Returns the Waddah Attar Uptrend, Downtrend, Explosion Line and Dead zone Parameters: sensitivity : simple float multiplicator for trend line calculation from macd macdFastEMALength : simple int...
Library "ATRStopLossFinder" Average True Range Stop Loss Finder credits to www.tradingview.com for the initial version stopLossFinder(length, smoothing, multiplier, refHigh, refLow, refClose) Returns the stop losses for an entry on this candle, depending on the ATR Parameters: length : simple int optional to select the lookback amount of candles ...
Library "AbdulLibrary" The library consists of three sections: Technical Analysis Functions - A collection of tools commonly used by day traders Trading Setup Filters Functions - A number of filters that help day traders to screen trading signals Candlestick Pattern Detection Functions - To detect different candlestick patterns that are...
Library "InitialiseArrays" @description: Efficiently create arrays, populating them with an arbitrary number of elements and setting their starting values. Works with a mix of typed and na values. A limitation of the built-in functions to create arrays is that while you can create and populate arrays with a single command, you can only set all elements to the...
Library "drawingutils" Private methods used in my scripts for some basic and customized drawings. No documentation provided as these are meant for private use only. draw_line() draw_label() draw_linefill() draw_labelled_line() draw_labelled_box() runTimer()
This is a draft version of a library intended to clean up my other indicators, thats why probably it won't be heplful for others, and I won't focus on documenting it at the moment. However, if by any chance you plan to use this library, let me know if you need me to document anything.
Library "Pivots" This Library focuses in functions related to pivot highs and lows and some of their applications (i.e. divergences, zigzag, harmonics, support and resistance...) pivots(srcH, srcL, length) Delivers series of pivot highs, lows and zigzag. Parameters: srcH : Source series to look for pivot highs. Stricter applications might source from...
Library "CommonFunctions" This Library provides some handy functions commonly used in Pine Script. crosses(source1, offset1, source2, offset2) Checks the existance of crosses between the series Parameters: source1 : First series offset1 : (Optional) Offset of First series. By default 0 source2 : (Optional) Second series. By default 'close'...
Library "MakeLoveNotWar" Make Love Not War, place a flag of support on your chart! flag(pos, text_size) Make Love Not War function. Parameters: pos : string, position. text_size : string, text size. Returns: table.
Library "Cayoshi_Library" fungtion show win loss and Netprofit Show Library สำหรับเรียกใช้ 1.Win_Loss_Show() การแสดง แพ้ ชนะ 2.NetProfit_Show() การแสดงผล Backtest 3.Count_Bar_Back_Test() กำหนดระยะเวลา หรือ แท่งบาร์ในการ Backtest
Library "math_utils" Collection of math functions that are not part of the standard math library num_of_non_decimal_digits(number) num_of_non_decimal_digits - The number of the most significant digits on the left of the dot Parameters: number : - The floating point number Returns: number of non digits num_of_decimal_digits(number) ...