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程式設計師可以重複使用它。請向作者致敬!您可以私下使用這個函式庫,或在其他開源出版品中使用,但在出版物中再次使用這段程式碼將受到網站規則的約束。

免責聲明