PINE LIBRARY

FunctionZigZagMultipleMethods

已更新
Library "FunctionZigZagMultipleMethods"
ZigZag Multiple Methods.

method(idx) Helper methods enumeration.
  Parameters:
    idx: int, index of method, range 0 to 4.
  Returns: string

function(method, value_x, value_y) Multiple method ZigZag.
  Parameters:
    method: string, default='(MANUAL) Percent price move over X * Y', method for zigzag.
    value_x: float, x value in method.
    value_y: float, y value in method.
  Returns: tuple with:
zigzag float
direction
reverse_line float
realtimeofpivot int
發布通知
v2 - Added Enumeration with zigzag methods available. added a extra method based on highest ATR over period X

Updated:
function(method, value_x, value_y)
  Multiple method ZigZag.
  Parameters:
    method (series Method): string, default='(MANUAL) Percent price move over X * Y', method for zigzag.
    value_x (float): float, x value in method.
    value_y (float): float, y value in method.
  Returns: tuple with:
zigzag float
direction bool
reverse_line float
realtimeofpivot int

Removed:
method(idx)
  Helper methods enumeration.
functionlibraryMarket GeometrymoduletechindicatortimesessionsZigzag

Pine腳本庫

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

免責聲明