Library "BitcoinHalving" Displays where Bitcoin's halvings have been getDates() List of Bitcoin halving dates Returns: array with timestamp dates isHalvingDay() Checks if the current day is a halving day Returns: bool
Library "matrixautotable" Automatic Table from Matrixes with pseudo correction for na values and default color override for missing values. uses overloads in cases of cheap float only, with additional addon for strings next, then cell colors, then text colors, and tooltips last.. basic size and location are auto, include the template to speed this up... TODO...
Library "IntradayHighLow" Provides functions calculating the intraday high/low of values. IntradayHigh(val) Calculates the intraday high of a series. Parameters: val : Series to use ('high' is used if no argument is supplied). Returns: The intraday high for the series. IntradayLow(val) Calculates the intraday low of a series. Parameters: ...
Library "MonthlyReturnsVsMarket" is a repackaging of the script here Credits to @QuantNomad for orginal script Now you can avoid to pollute your own strategy's code with the monthly returns table code and just import the library and call displayMonthlyPnL(int precision) function To be used in strategy scripts.
Library "StapleIndicators" This Library provides some common indicators commonly referenced from other studies in Pine Script squeeze(bbSrc, bbPeriod, bbDev, kcSrc, kcPeriod, kcATR, signalPeriod) Volatility Squeeze Parameters: bbSrc : (Optional) Bollinger Bands Source. By default close bbPeriod : (Optional) Bollinger Bands Period. By default...
Library "AllTimeHighLow" Provides functions calculating the all-time high/low of values. hi(val) Calculates the all-time high of a series. Parameters: val : Series to use (`high` is used if no argument is supplied). Returns: The all-time high for the series. lo(val) Calculates the all-time low of a series. Parameters: val : Series to use...
Library "HighTimeframeSampling" Library for sampling high timeframe (HTF) data. Returns an array of historical values, an arbitrary historical value, or the highest/lowest value in a range, spending a single security() call. An optional pass-through for the chart timeframe is included. Other than that case, the data is fixed and does not alter over the course...
█ OVERVIEW This library provides string manipulation functions to complement the Pine Script™ `str.*()` built-in functions. █ CONCEPTS At the time our String Manipulation Framework was published, there was little in the way of built-in functions to manipulate strings. Since then, we have witnessed several meaningful developments on this front by the...
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. If you find anything useful for you here, be my guest.
Library "Canvas" A library implementing a kind of "canvas" using a table where each pixel is represented by a table cell and the pixel color by the background color of each cell. To use the library, you need to create a color matrix (represented as an array) and a canvas table. The canvas table is the container of the canvas, and the color matrix determines...
Library "RicardoLibrary" Ricardo's personal Library GetPipValue() GetPipValue Returns: Pip value of Symbol Calculate_SL(IsLong) Calculate_SL: Calcultes Stop Loss Parameters: IsLong : If true, then I am going to enter a long position, if false then Short position Returns: Stop loss Price
Library "STPFunctions" These functions are used as part of the STP trading strategy and include commonly used candle patterns, trade triggers and frequently monitored stock parameters MAs() Determines if the last price is abover or below key moving averages. MAs used on the daily are SMA20, SMA50 and SMA200. SMA20 and SMA50 are used intraday. Returns: 1 if...
Library "mZigzag" Matrix implementation of zigzag to allow further possibilities. Main advantage of this library over previous zigzag methods is that you can attach any number of indicator/oscillator information to zigzag calculate(length, ohlc, indicatorHigh, indicatorLow, numberOfPivots) calculates zigzag and related information Parameters: length...
Library "merge_pinbar" merge_pinbar: merge bars and check whether the bar is a pinbar merge_pinbar(simple, simple) merge_pinbar: merge bars and check whether the bar is a pinbar Parameters: simple : int period: the statistic bar period simple : int max_bars: the max bars to be merged Returns: array:
Library "console" Simple debug console to print messages from your strategy code. USAGE : Make sure your strategy overlay is false Import the library : import keio/console/1 as console init(lines, panes) Initialise function. USAGE : var log = console.init() Parameters: lines : Optional. Number of lines to display panes :...
Library "Timed_exit_alert_for_webhook" TODO: add library description here fun(x) TODO: add function description here Parameters: x : TODO: add parameter x description here Returns: TODO: add what function returns for exiting FCM like Tradovate and AMP using API and python MT5 and Webhooks the writer take no responsibility for trades made using...
Library "_matrix" Library helps visualize matrix as array of arrays and enables users to use array methods such as push, pop, shift, unshift etc along with cleanup activities on drawing objects wherever required unshift(mtx, row) unshift array of lines to first row of the matrix Parameters: mtx : matrix of lines row : array of lines to be...
Library "OrdinaryLeastSquares" One of the most common ways to estimate the coefficients for a linear regression is to use the Ordinary Least Squares (OLS) method. This library implements OLS in pine. This implementation can be used to fit a linear regression of multiple independent variables onto one dependent variable, as long as the assumptions behind OLS...