█ OVERVIEW This library is a Pine Script™ programmer's tool offering the ability to compute relative values, which represent comparisons of current data points, such as volume, price, or custom indicators, with their analogous historical data points from corresponding time offsets. This approach can provide insightful perspectives into the intricate dynamics...
Library "AoDivergenceLibrary_" this has functions which calculate and plot divergences which are used for ao divergences. essentially, this finds divergences by using the ao divergence logic. this logic has been used in "AO Hid & Reg Div with LC & Kernel". regBullDivergence(swingLow, osc, colour) Parameters: swingLow (bool) osc (float) ...
You don't need to initialize anything.. After you import the library you can use .print() as easy as that..! Hope this helps * use a unique ID for each .print() call let me know if you run into any bugs by trying to make it as user friendly as possible i had to do some not ideal things so there's a chance it could present some bugs with a lot of labels...
Library "DarkWaveColorThemes" Description: A simple, binary color-theming library that provides you with easy-access 'bullish and bearish' colors which you can use to make your indicators more aesthetically pleasing. These color themes were developed to help the community make indicators look excellent with ease. Functions: 1. getThemeColor(themeName,...
Library "LibraryTimeframeHelper" Helper functions to work with timeframes: to get the next higher TF, and to make the string pretty for use in labels. Perhaps I'll add more later. f_getHigherTF(_TF) f_getHigherTF(): Converts the input timeframe into the next one up in the list of commonly used timeframes. NOTE: You can NOT use a TF from this function as...
Library "AlgebraLib" f_signaldraw(_side, _date) : Draw a simple label with Buy or Sell signal Parameters: _side (string) _date (int) Returns: : VOID, it draws a new label
Library "cphelper" ACPU helper library - for private use. Not so meaningful for others. calculate_rr(targetArray, rrArray, breakevenOnTarget1) calculates risk reward for given targets Parameters: targetArray (float ) : array of targets rrArray (float ) : array of risk reward breakevenOnTarget1 (simple bool) : option to breakeven Returns:...
Library "FinandyHookLib" TODO: add library description here createOrderJson(model, hook_secret, options) Parameters: model (orderModel type from Hamster-Coder/OrderLib/7) hook_secret (string) options (textFormatOptions) textFormatOptions Fields: price_format (series__string) percent_format (series__string)
Library "KernelFunctionsFilters" This library provides filters for non-repainting kernel functions for Nadaraya-Watson estimator implementations made by @jdehorty. Filters include a smoothing formula and zero lag formula. You can find examples in the code. For more information check out the original library KernelFunctions. rationalQuadratic(_src, _lookback,...
Library "MyCandleLibrary" TODO: Candle Pattern Library IsEngulfingCandle(n, trendRule) TODO: Identify Bullish Engulfing Candle Parameters: n (int) : TODO: Candle Number trendRule (string) Returns: TODO: If Identify Bullish Engulfing candle return True otherwise False
Library "HelperTA" This library contains useful technical indicators that I use regularly in my charts. `stockRSI` is not mine, but included because used often and referenced by internal functions. `DCO` is a normalisation of the donchian channels; the price relative to the donchian channels, on a range. `MarketCycle` is a weighted aggregate of RSI,...
Library "Vector3" Representation of 3D vectors and points. This structure is used to pass 3D positions and directions around. It also contains functions for doing common vector operations. Besides the functions listed below, other classes can be used to manipulate vectors and points as well. For example the Quaternion and the Matrix4x4 classes are useful for...
Library "MAD_MATH" This is a mathematical library where I store useful kernels, filters and selectors for the different types of computations. This library also contains opensource code from other scripters. Future extensions are very likely, there are some functions I would like to add, but I have to wait for approvals so i can include them. ...
█ ARRAY BROWSER Add you arrays to the array browser window and scroll them away left and right. Flexible formatting options (see below). Many thanks to @kaigouthro for his beautiful matrixautotable library. (import kaigouthro/matrixautotable/14) How to use Copy the "ARRAY BROWSER" commented code section below to your script and uncomment. See DEMO...
Library "toString" Contains methods for conversion to string of int/float/bool/string/line/label/box and arrays and matrices thereof. Also contains a string wrapping function. method getXloc(line/label/box) returns true if line/box/label are xloc.bar_time, false otherwise nzs(string) Analogue of nz() but for strings. Returns "" is _s is na. method...
This library provides a JavaScript-style debug console to Pine Coders. It supports the most commonly used utilities from the WHATWG Console Standard including the following: • console.log • console.debug • console.info • console.warn • console.error • console.assert • console.count • console.countReset • console.group • console.groupEnd •...
Library "biased_price_target" Collection of functions that can be used for the calculation of biased price targets like stop loss and take profit from a reference price using several methods that are already provided by the "distance_ratio" library plus the 'HHLL'. Methods supported are percentagewise (PERC), atr-based (ATR), fixed profit (PROF), tick-based...
Library "Position_control" This is a library for defining positions and working with them. f_calculateLeverage(_Leverage, _maintenance, _value, _direction) Calculate the leverage used in a trade. @description This function calculates the leverage used in a trade, based on the value of the trade, the maintenance margin, and the direction of the...