PINE LIBRARY
Updated Utility

Library "Utility"
dema(src, length)
Parameters:
src (float)
length (simple int)
tema(src, length)
Parameters:
src (float)
length (simple int)
hma(src, length)
Parameters:
src (float)
length (int)
zlema(src, length)
Parameters:
src (float)
length (simple int)
stochRSI(src, lengthRSI, lengthStoch, smoothK, smoothD)
Parameters:
src (float)
lengthRSI (simple int)
lengthStoch (int)
smoothK (int)
smoothD (int)
slope(src, length)
Parameters:
src (float)
length (int)
dema(src, length)
Parameters:
src (float)
length (simple int)
tema(src, length)
Parameters:
src (float)
length (simple int)
hma(src, length)
Parameters:
src (float)
length (int)
zlema(src, length)
Parameters:
src (float)
length (simple int)
stochRSI(src, lengthRSI, lengthStoch, smoothK, smoothD)
Parameters:
src (float)
lengthRSI (simple int)
lengthStoch (int)
smoothK (int)
smoothD (int)
slope(src, length)
Parameters:
src (float)
length (int)
Release Notes
v2Added:
drift(src, length)
Parameters:
src (float)
length (int)
Release Notes
v3Release Notes
v4Added:
smma(src, length)
Parameters:
src (float)
length (simple int)
Updated:
hma(src, length)
Parameters:
src (float)
length (simple int)
stochRSI(src, lengthRSI, lengthStoch, smoothK, smoothD)
Parameters:
src (float)
lengthRSI (simple int)
lengthStoch (simple int)
smoothK (simple int)
smoothD (simple int)
slope(src, length)
Parameters:
src (float)
length (simple int)
drift(src, length)
Parameters:
src (float)
length (simple int)
Release Notes
v5Added:
impulseMACD(src, lengthSlowMA, lengthFastMA, lengthDEM, addThreshold)
Parameters:
src (float)
lengthSlowMA (simple int)
lengthFastMA (simple int)
lengthDEM (simple int)
addThreshold (simple float)
Release Notes
v6Added:
zlema2(src, length)
Parameters:
src (float)
length (simple int)
Release Notes
v7Added:
t3(src, length)
Parameters:
src (float)
length (simple int)
Release Notes
v8Added:
KijunSen(src, length)
Parameters:
src (float)
length (simple int)
McGinley(src, length)
Parameters:
src (float)
length (simple int)
Release Notes
v9Added:
superTrend(src, atrPeriod, atrMultiplier)
Parameters:
src (float)
atrPeriod (simple int)
atrMultiplier (simple float)
Release Notes
v10Added:
ema(src, length)
Parameters:
src (float)
length (simple int)
sigmoid(x)
Parameters:
x (float)
zcsigmoid(x)
Parameters:
x (float)
tanh(x)
Parameters:
x (float)
Release Notes
v11Added:
normalize(src, min, max, length)
Parameters:
src (float)
min (simple float)
max (simple float)
length (simple int)
normalDistribution(src, mean, std)
Parameters:
src (float)
mean (simple float)
std (simple float)
Release Notes
v12Added:
variableMovingAverage(src, length)
Parameters:
src (float)
length (simple int)
Release Notes
v13migrate to v6
Pine library
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Pine library
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.