DynamicFunctions

Custom Dynamic functions that allow an adaptive calculation beginning from the first bar
RoC(src, period)
Dynamic RoC
Parameters:
src (float): and period
Custom function to calculate the actual period considering non-na source values
period (int)
dynamicMedian(src, length)
Dynamic Median
Parameters:
src (float): and length
length (int)
kernelRegression(src, bandwidth, kernel_type)
Dynamic Kernel Regression Calculation \n Uses either of the following inputs for kernel_type:\nEpanechnikov\nLogistic\nWave
Parameters:
src (float)
bandwidth (int)
kernel_type (string)
waveCalculation(source, bandwidth, width)
Use together with kernelRegression function to get chart applicable band
Parameters:
source (float)
bandwidth (int)
width (float)
Rsi(src, length)
Dynamic RSI function
Parameters:
src (float)
length (int)
dynamicStdev(src, period)
Dynamic SD function
Parameters:
src (float)
period (int)
stdv_bands(src, length, mult)
Dynamic SD Bands
Parameters:
src (float)
length (int)
mult (float)
Returns: Basis, Positive SD, Negative SD
Adx(dilen, adxlen)
Dynamic ADX
Parameters:
dilen (int)
adxlen (int)
Returns: adx
Atr(length)
Dynamic ATR
Parameters:
length (int)
Returns: ATR
Macd(source, fastLength, slowLength, signalSmoothing)
Dynamic MACD
Parameters:
source (float)
fastLength (int)
slowLength (int)
signalSmoothing (int)
Returns: macdLine, signalLine, histogram
License formatting shout out to RUBIX_BINARY
Added:
Stdev(src, period)
Dynamic SD function
Parameters:
src (float)
period (int)
Returns: Dynamic Standard Deviation
ZScore(src, lookback)
Dynamic Z-Score function
Parameters:
src (float)
lookback (int)
Returns: Dynamic Z-Score
Updated:
RoC(src, period)
Dynamic RoC
Parameters:
src (float)
period (int)
dynamicMedian(src, length)
Dynamic Median
Parameters:
src (float)
length (int)
kernelRegression(src, bandwidth, kernel_type)
Dynamic Kernel Regression Calculation
description Uses either of the following inputs for kernel_type:\nEpanechnikov\nLogistic\nWave
Parameters:
src (float)
bandwidth (int)
kernel_type (string)
waveCalculation(source, bandwidth, width)
Dynamic Wave Calculation function
description Use together with kernelRegression function to get chart applicable band
Parameters:
source (float)
bandwidth (int)
width (float)
stdv_bands(_src, _length, _mult)
Dynamic SD Bands
Parameters:
_src (float)
_length (int)
_mult (float)
Returns: Basis, Positive SD, Negative SD
Removed:
dynamicStdev(src, period)
Dynamic SD function
Adx(dilen, adxlen)
Dynamic ADX
Atr(length)
Dynamic ATR
Macd(source, fastLength, slowLength, signalSmoothing)
Dynamic MACD
Bibliothèque Pine
Dans le plus pur esprit TradingView, l'auteur a publié ce code Pine en tant que bibliothèque open-source afin que d'autres programmeurs Pine de notre communauté puissent le réutiliser. Bravo à l'auteur! Vous pouvez utiliser cette bibliothèque en privé ou dans d'autres publications à code source ouvert, mais la réutilisation de ce code dans des publications est régie par nos Règles.
neither are any signals from us or our indicators.
Want to learn Trading, Investing or system building?
Join the Community! 👇
discord.gg/FMZDM3bZ9T
Clause de non-responsabilité
Bibliothèque Pine
Dans le plus pur esprit TradingView, l'auteur a publié ce code Pine en tant que bibliothèque open-source afin que d'autres programmeurs Pine de notre communauté puissent le réutiliser. Bravo à l'auteur! Vous pouvez utiliser cette bibliothèque en privé ou dans d'autres publications à code source ouvert, mais la réutilisation de ce code dans des publications est régie par nos Règles.
neither are any signals from us or our indicators.
Want to learn Trading, Investing or system building?
Join the Community! 👇
discord.gg/FMZDM3bZ9T