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) ...
█ OVERVIEW This library is a Pine Script™ programmer’s tool containing functions that average values selectively. █ CONCEPTS Averaging can be useful to smooth out unstable readings in the data set, provide a benchmark to see the underlying trend of the data, or to provide a general expectancy of values in establishing a central tendency. Conventional...
Library "HighTimeframeTiming" @description Library for sampling high timeframe (HTF) historical data at an arbitrary number of HTF bars back, using a single security() call. The data is fixed and does not alter over the course of the HTF bar. It also behaves consistently on historical and elapsed realtime bars. ‼ LIMITATIONS: This library function depends on...
Library "harmonicpatternsarrays" Library provides an alternative method to scan harmonic patterns and contains utility functions using arrays. These are mostly customized for personal use. Hence, will not add documentation for arrays. All credit to @HeWhoMustNotBeNamed getLabel() delete() delete() delete() delete() delete() pop() ...
Library "MovingAveragesLibrary" This is a library allowing one to select between many different Moving Average formulas to smooth out any float variable. You can use this library to apply a Moving Average function to any series of data as long as your source is a float. The default application would be for applying Moving Averages onto your chart. However,...
█ OVERVIEW This library is a Pine Script™ programmer’s tool containing a variety of strategy-related functions to assist in calculations like profit and loss, stop losses and limits. It also includes several useful functions one can use to convert between units in ticks, price, currency or a percentage of the position's size. █ CONCEPTS The library...
Library "adx" Calculate ADX (and its constituent parts +DI, -DI, ATR), using different moving averages and periods. adx(atrMA, diMA, adxMA, atrLen, diLen, adxLen, h, l, c) Parameters: atrMA : Moving Average used for calculating the Average True Range. Traditionally RMA, but using SMA here and in adxMA gives good results too. diMA : Moving...
Library "Colors" This Library delivers Hex Codes of Colors frequently used in indicators and strategies. v3(colorName) Collection: Pinescript v3 Colors. Parameters: colorName : Color Name. Returns: Hex code of the inquired color. v4(colorName) Collection: Pinescript v4 Colors. Parameters: colorName : Color Name. Returns: Hex code of the...
Library "lib_Militzer" // This is a collection of functions either found on the internet, or made by me. // This is only public so my other scripts that reference this can also be public. // But if you find anything useful here, be my guest. print() strToInt() timeframeToMinutes()
Library "eHarmonicpatternsExtended" Library provides an alternative method to scan harmonic patterns. This is helpful in reducing iterations. Republishing as new library instead of existing eHarmonicpatterns because I need that copy for existing scripts. scan_xab(bcdRatio, err_min, err_max, patternArray) Checks if bcd ratio is in range of any harmonic...
Library "MathProbabilityDistribution" Probability Distribution Functions. name(idx) Indexed names helper function. Parameters: idx : int, position in the range (0, 6). Returns: string, distribution name. usage: .name(1) Notes: (0) => 'StdNormal' (1) => 'Normal' (2) => 'Skew Normal' (3) => 'Student T' (4) => 'Skew Student T' (5)...
Library "Adaptive_Length" This library contains functions to calculate Adaptive dynamic length which can be used in Moving Averages and other indicators. Two Exponential Moving Averages (EMA) are plotted. Coloring in plot is derived from Chikou filter and Dynamic length of MA1 is adapted using Signal output from Chikou library. dynamic(para, adapt_Pct,...
Library "MovingAverages" Contains utilities for generating moving average values including getting a moving average by name and a function for generating a Volume-Adjusted WMA. sma(_D, _len) Simple Moving Avereage Parameters: _D : The series to measure from. _len : The number of bars to measure with. ema(_D, _len) Exponential Moving...
Library "Chikou" This library contains Chikou Filter function to enhances functionality of Chikou-Span from Ichimoku Cloud using a simple trend filter. Chikou is basically close value of ticker offset to close and it is a good for indicating if close value has crossed potential Support/Resistance zone from past. Chikou is usually used with 26 period. Chikou...