PINE LIBRARY
已更新 ma_function

Library "ma_function"
TODO: This library is a package of various MAs.
ma_function(name, source, length) This function provides the MA specified in the argument.
Parameters:
name: MA's name
source: Source value
length: Look back periods
Returns: Ma value
TODO: This library is a package of various MAs.
ma_function(name, source, length) This function provides the MA specified in the argument.
Parameters:
name: MA's name
source: Source value
length: Look back periods
Returns: Ma value
發行說明
v2. Added some MAs.發行說明
v3Fixed a typo.
Added calc() : a syntax sugar of ma_function
發行說明
v4Updated:
ma_function(name, source, length)
This function provides the MA specified in the argument.
Parameters:
name: MA's name
source: Source value
length: Look back periods
Returns: MA value
calc()
發行說明
v5Added:
sma(x, y)
Parameters:
x (float)
y (int)
ema(src, length)
Parameters:
src (float)
length (int)
kama(xPrice, Length)
Parameters:
xPrice (float)
Length (int)
zlema(src, length)
Parameters:
src (float)
length (int)
mav(source, length)
Parameters:
source (float)
length (int)
dema(src, len)
Parameters:
src (float)
len (int)
tema(src, len)
Parameters:
src (float)
len (int)
hma(src, len)
Parameters:
src (float)
len (int)
tma(source, length)
Parameters:
source (float)
length (int)
ama(source, length, fast, slow)
Parameters:
source (float)
length (int)
fast (int)
slow (int)
rma(src, length)
Parameters:
src (float)
length (int)
bwma(src, length, beta, alpha)
Parameters:
src (float)
length (int)
beta (int)
alpha (int)
Pine腳本庫
秉持TradingView一貫精神,作者已將此Pine代碼以開源函式庫形式發佈,方便我們社群中的其他Pine程式設計師重複使用。向作者致敬!您可以在私人專案或其他開源發表中使用此函式庫,但在公開發表中重用此代碼須遵守社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
Pine腳本庫
秉持TradingView一貫精神,作者已將此Pine代碼以開源函式庫形式發佈,方便我們社群中的其他Pine程式設計師重複使用。向作者致敬!您可以在私人專案或其他開源發表中使用此函式庫,但在公開發表中重用此代碼須遵守社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。