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)
Release Notes
v2

Added:
drift(src, length)
  Parameters:
    src (float)
    length (int)
Release Notes
v3
Release Notes
v4

Added:
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
v5

Added:
impulseMACD(src, lengthSlowMA, lengthFastMA, lengthDEM, addThreshold)
  Parameters:
    src (float)
    lengthSlowMA (simple int)
    lengthFastMA (simple int)
    lengthDEM (simple int)
    addThreshold (simple float)
Release Notes
v6

Added:
zlema2(src, length)
  Parameters:
    src (float)
    length (simple int)
Release Notes
v7

Added:
t3(src, length)
  Parameters:
    src (float)
    length (simple int)
Release Notes
v8

Added:
KijunSen(src, length)
  Parameters:
    src (float)
    length (simple int)

McGinley(src, length)
  Parameters:
    src (float)
    length (simple int)
Release Notes
v9

Added:
superTrend(src, atrPeriod, atrMultiplier)
  Parameters:
    src (float)
    atrPeriod (simple int)
    atrMultiplier (simple float)
Release Notes
v10

Added:
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
v11

Added:
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
v12

Added:
variableMovingAverage(src, length)
  Parameters:
    src (float)
    length (simple int)
Release Notes
v13
migrate to v6

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.