PINE LIBRARY

Double_Triple_EMA

1028
Library "Double_Triple_EMA"
Provides the functions to calculate Double and Triple Exponentional Moving Averages (DEMA & TEMA).

dema(_source, _length) Calculates Double Exponentional Moving Averages (DEMA)
Parameters:
  • _source: -> Open, Close, High, Low, etc ('close' is used if no argument is supplied)
  • _length: -> DEMA length

Returns: Double Exponential Moving Average (DEMA) of an input source at the specified input length

tema(_source, _length) Calculates Triple Exponentional Moving Averages (TEMA)
Parameters:
  • _source: -> Open, Close, High, Low, etc ('close' is used if no argument is supplied)
  • _length: -> TEMA length

Returns: Triple Exponential Moving Average (TEMA) of an input source at the specified input length

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。