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) ...
█ 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()