PINE LIBRARY

Ehlers_Super_Smoother

已更新
The 2 Pole and 3 Pole Super Smoother Filters were developed by John Ehlers and described in "Chapter 13: Super Smother" of his book Cybernetic Analysis for Stocks and Futures.
The 2 Pole Smoother is described as being a better approximation of price, whereas the 3 Pole Smoother has superior smoothing.

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

twoPole(_source, _length) Calculates 2 Pole Ehlers Super Smoother Filter
  Parameters:
    _source: -> Open, Close, High, Low, etc ('close' is used if no argument is supplied)
    _length: -> Ehlers Super Smoother length
  Returns: 2 Pole Ehlers Super Smoothing to an input source at the specified input length

threePole(_source, _length) Calculates 3 Pole Ehlers Super Smoother Filter
  Parameters:
    _source: -> Open, Close, High, Low, etc ('close' is used if no argument is supplied)
    _length: -> Ehlers Super Smoother length
  Returns: 3 Pole Ehlers Super Smoothing to an input source at the specified input length
發行說明
v2
Corrected "Description", no other changes, v2 will work exactly like v1
ehlersfilterfilterjohnehlerssupersmoothertechindicator

Pine腳本庫

在真正的TradingView精神中,作者將這段Pine程式碼發佈為開源程式庫,以便我們社群的其他Pine程式設計師可以重複使用它。請向作者致敬!您可以私下使用這個函式庫,或在其他開源出版品中使用,但在出版物中再次使用這段程式碼將受到網站規則的約束。


更多:

免責聲明