robbatt

lib_retracement_label

robbatt 已更新   
Library "lib_retracement_label"
creates a retracement label between the origin and target of a retracement, updating it's position (via update + draw) when the target moves.

create_tooltip(name, min, max, tol_min, tol_max)
  Parameters:
    name (string)
    min (float)
    max (float)
    tol_min (float)
    tol_max (float)

method update(this)
  Namespace types: RetracementLabel
  Parameters:
    this (RetracementLabel)

method create_retracement_label(this, move_endpoint, args, tooltip)
  Creates a new RetracementLabel object.
  Namespace types: D.Line
  Parameters:
    this (Line type from robbatt/lib_plot_objects/23)
    move_endpoint (Point type from robbatt/lib_plot_objects/23)
    args (LabelArgs type from robbatt/lib_plot_objects/23)
    tooltip (string)

method create_retracement_label(this, move_end, args, tooltip)
  Creates a new RetracementLabel object.
  Namespace types: D.Line
  Parameters:
    this (Line type from robbatt/lib_plot_objects/23)
    move_end (Pivot type from robbatt/lib_pivot/43)
    args (LabelArgs type from robbatt/lib_plot_objects/23)
    tooltip (string)

method enqueue(id, item, max)
  Namespace types: RetracementLabel
  Parameters:
    id (RetracementLabel)
    item (RetracementLabel)
    max (int)

method draw(this)
  Namespace types: RetracementLabel
  Parameters:
    this (RetracementLabel)

method draw(this)
  Namespace types: RetracementLabel
  Parameters:
    this (RetracementLabel)

method delete(this)
  Namespace types: RetracementLabel
  Parameters:
    this (RetracementLabel)

method delete(this)
  Namespace types: RetracementLabel
  Parameters:
    this (RetracementLabel)

RetracementLabel
  Fields:
    move_endpoint (|robbatt/lib_plot_objects/23;Point|#OBJ)
    center_label (|robbatt/lib_plot_objects/23;CenterLabel|#OBJ)
發布通知:
v2 version update lib_plot_objects v32, lib_pivot v45
發布通知:
v3

Updated:
method create_retracement_label(this, move_end, args, tooltip)
  Creates a new RetracementLabel object.
  Namespace types: D.Line
  Parameters:
    this (Line type from robbatt/lib_plot_objects/34)
    move_end (Pivot type from robbatt/lib_pivot/47)
    args (LabelArgs type from robbatt/lib_plot_objects/34)
    tooltip (string)
發布通知:
v4 version bump lib_pivot v48 and lib_plot_objects v35
發布通知:
v5 version bump lib_plot_objects v36, lib_pivot v49
發布通知:
v6 version bump to lib_pivot v52
Pine腳本庫

本著真正的TradingView精神,作者將此Pine代碼以開源腳本庫發布,以便我們社群的其他Pine程式設計師可以重用它。向作者致敬!您可以私下或在其他開源出版物中使用此庫,但在出版物中重用此代碼受網站規則約束。

免責聲明

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

想使用這個腳本庫嗎?

複製以下行並將其黏貼到您的腳本中。