standardize(x, length, lengthSmooth) standardize description Moving Standardization of a time series. Parameters: x (float) length (int) lengthSmooth (int)
dnorm(x, mean, sd) dnorm description Approximation for Normal Density Function. Parameters: x (float) mean (float) sd (float)
pnorm(x, mean, sd, log) pnorm description Approximation for Normal Cumulative Distribution Function. Parameters: x (float) mean (float) sd (float) log (bool)
Added: rationalQuadratic(_src, _lookback, _relativeWeight, startAtBar) Rational Quadratic Kernel - An infinite sum of Gaussian Kernels of different length scales. description from trader jdehorty KernelFunctions v2 Parameters: _src (float): <float series> The source series. _lookback (simple int): <simple int> The number of bars used for the estimation. This is a sliding value that represents the most recent historical bars. _relativeWeight (simple float): <simple float> Relative weighting of time frames. Smaller values resut in a more stretched out curve and larger values will result in a more wiggly curve. As this value approaches zero, the longer time frames will exert more influence on the estimation. As this value approaches infinity, the behavior of the Rational Quadratic Kernel will become identical to the Gaussian kernel. startAtBar (simple int) Returns: yhat <float series> The estimated values according to the Rational Quadratic Kernel.
discreteFourierTransform(source, length, smoothing) Discrete Fourier transform description from trader jdehorty Parameters: source (float): time series length (int) smoothing (simple int) Returns: a touple [dft, dfts] i.e. [Discrete Fourier Transform, Smoothed Discrete Fourier Transform]
진정한 TradingView 정신에 따라, 저자는 이 파인 코드를 다른 파인 프로그래머들이 재사용할 수 있도록 오픈 소스 라이브러리로 공개했습니다. 저자에게 박수를 보냅니다! 이 라이브러리는 개인적으로 사용하거나 다른 오픈 소스 출판물에서 사용할 수 있지만, 이 코드를 출판물에서 재사용하는 것은 하우스 룰에 의해 관리됩니다.