PINE LIBRARY

utils

已更新
Library "utils"

ma_smooth(alg, src, len) Calculates various moving averages
  Parameters:
    alg: Smoothing algorithm to use [RMA, SMA, EMA, WMA]
    src: Source data
    len: Length of moving average
版本注释
Update displayed chart
版本注释
v3
版本注释
v4

Added:
vma(alg, src, len) Calculates various moving averages
  Parameters:
    alg: Smoothing algorithm to use [RMA, SMA, EMA, WMA]
    src: Source data
    len: Length of moving average

Removed:
ma_smooth(alg, src, len) Calculates various moving averages
版本注释
v5

Added:
sig(val) Clamps a value between 0 and 1 on a sigmoid curve
  Parameters:
    val: Input data

siga(val) Clamps a value between -1 and 1 on a sigmoid curve
  Parameters:
    val: Input data
inputsutilities

Pine脚本库

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

免责声明