The Undersampled Double Moving Average was created by John Ehlers (Stocks and Commodities April 2023), and this is a double moving average system which is pretty rare for John Ehlers. For those of you who would like my other take on an Ehlers double moving average, be sure to check out my previous Ehlers double moving average script . He came up with a unique...
Library "FunctionProbabilityDistributionSampling" Methods for probability distribution sampling selection. sample(probabilities) Computes a random selected index from a probability distribution. Parameters: probabilities : float array, probabilities of sample. Returns: int.
Function to create a array from a sample taken from a series (ex:. close, hlc3...).
This is an attempt to create a two dimensional floating point array from the pine single dimension array. It enables some useful array functions like sorting, when you are trying to keep track of price and location in time or bars and you would like to sort the array. Other array functions on this array will not work, like average and other statistical functions...
This script shows a sample of how to do confidence weighted scoring indicators and for loops with Pine. This indicator may or may not be found useful, it's intent is to provide a sample on how to create such an indicator and use certain Pine features. Features: - Defined points based on the confidence of RSI and Stochastic indicator - Defined points based on...
This indicators it's a programming sample of how to sum and subtract hours and minutes on Tradingview