PINE LIBRARY

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)
版本注释
v2

Added:
drift(src, length)
  Parameters:
    src (float)
    length (int)
版本注释
v3
版本注释
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)
版本注释
v5

Added:
impulseMACD(src, lengthSlowMA, lengthFastMA, lengthDEM, addThreshold)
  Parameters:
    src (float)
    lengthSlowMA (simple int)
    lengthFastMA (simple int)
    lengthDEM (simple int)
    addThreshold (simple float)
版本注释
v6

Added:
zlema2(src, length)
  Parameters:
    src (float)
    length (simple int)
版本注释
v7

Added:
t3(src, length)
  Parameters:
    src (float)
    length (simple int)
版本注释
v8

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

McGinley(src, length)
  Parameters:
    src (float)
    length (simple int)
版本注释
v9

Added:
superTrend(src, atrPeriod, atrMultiplier)
  Parameters:
    src (float)
    atrPeriod (simple int)
    atrMultiplier (simple float)
版本注释
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)
版本注释
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)
版本注释
v12

Added:
variableMovingAverage(src, length)
  Parameters:
    src (float)
    length (simple int)
版本注释
v13
migrate to v6
MATHstatisticstechindicator

Pine脚本库

本着真正的TradingView精神,作者将此Pine代码发布为开源脚本库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私下或在其它开源出版物中使用此脚本库,但在出版物中重复使用此代码受网站规则约束。

免责声明