Yet another Array indicator, simple, but efficient which i call ADO. The indicator acts as a COUNTER of when CLOSE closes above OPEN and vice versa based on specified look back period in settings. If we have more Closes above Opens, obviously the indicator will be above ZERO and GREEN, otherwise RED. Optional to smooth it by EMA (true by default). Like if you...
A fun way to express Selamat Aidil Fitri to all muslims. Selamat Hari Raya Aidil Fitri Maaf Zahir Dan Batin.
a function for relative weighted average using arrays
A low cost function to down sample a array. specially useful for pattern recognition algorithms.
Library "Averages" Contains utilities for generating averages from arrays. Useful for manipulated or cleaned data. triangular(src, startingWeight) Calculates the triangular weighted average of a set of values where the last value has the highest weight. Parameters: src : The array to derive the average from. startingWeight : The weight to begin...
█ OVERVIEW This library is complementary for XABCD Harmonic Pattern Custom Range Interactive PriceDiff() : Price Difference Parameters: : : price_1, price_2 Returns: : PriceDiff TimeDiff() : Time Difference Parameters: : : time_1, time_2 Returns: : TimeDiff ReturnIndexOf3Arrays() : Return Index Of 3 Arrays Parameters: : :...
Library "ColorArray" Simple color array gradient tool. makeGradient(size, _col1, _col2, _col3, _col4, _col5) Color Gradient Array from 5 colors. Parameters: size : : default 10 _col1 : : default #ff0000 _col2 : : default #ffff00 _col3 : : default #00ff00 _col4 : : default #00ffff _col5 : : default #0000ff Returns: array of...
█ OVERVIEW This indicator is to show constant in table using built-in math name space, coded in latest Pine Script version 5. █ CREDITS Credits to PineCoders. █ FEATURES - Display table by changing table position, font size and color.
Library "_3d" A library containing helper functions for 3d Array. _presetInfo(int) Get preset _info key. Parameters: int : idx Returns: _info key. _presetInfo(string) Get preset index number of an _info key. Parameters: string : key Returns: Index value. _presetSortBy(int) Get preset _sort_by key. Parameters: int :...
Library "_2d" A library containing helper functions for 2d Array. _presetInfo(int) Get preset _info key. Parameters: int : idx Returns: _info key. _presetInfo(string) Get preset index number of an _info key. Parameters: string : key Returns: Index value. _presetSortBy(int) Get preset _sort_by key. Parameters: int :...
Library "json" Convert JSON strings to tradingview ▦ FEATURES ▦ █ Json to array █ Get json key names █ Get json key values █ Size of json get_json_keys_names(raw_json) Returns string array with all key names Parameters: raw_json : (string) Raw JSON string Returns: (string array) Array with all...
Library "ArrayExt" Array extensions get(a, idx) Get element from the array at index, or na if index not found Parameters: a : The array idx : The array index to get Returns: The array item if exists or na get(a, idx) Get element from the array at index, or na if index not found Parameters: a : The array idx : The array index to...
Library "FunctionMinkowskiDistance" Method for Minkowski Distance, The Minkowski distance or Minkowski metric is a metric in a normed vector space which can be considered as a generalization of both the Euclidean distance and the Manhattan distance. It is named after the German mathematician Hermann Minkowski. reference: en.wikipedia.org double(point_ax,...
This script is to help people with converting arrays to Simple Moving Average and Exponential Moving Average arrays. It is the same as using ta.sma() or ta.ema() in v5 with series but it takes an array as input instead. Both functions have inbuilt bad-input checking logic to ensure that the period length is not too high or too low - which could give unwanted...
This script shows an example of how to manage objects (lines/labels/boxes) and prevent the need of garbage collecting and missing objects. You only have to push your object into the right array. *_FIXED (left-lock) or *_FORWARD (right-lock) We hope you enjoy it! 🎉 CRYPTOLINX - jango_blockchained 😊👍 Disclaimer: Trading success is all about following your...
This script only provides a basic __setter and __getter registration function with a type-based limitation. We don't want to blow the code with additional conditions. The suggestion was to get the basic functionality. Benefits: - Get/set/update global-like variables between functions - No init needed. You can call a entry before you set it. Get-Functions: -...