robbatt

lib_retracement_label

robbatt Atualizado   
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)
Notas de Lançamento:
v2 version update lib_plot_objects v32, lib_pivot v45
Notas de Lançamento:
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)
Notas de Lançamento:
v4 version bump lib_pivot v48 and lib_plot_objects v35
Notas de Lançamento:
v5 version bump lib_plot_objects v36, lib_pivot v49
Notas de Lançamento:
v6 version bump to lib_pivot v52
Biblioteca do Pine

No verdadeiro espírito TradingView, o autor publicou este código de Pine como uma biblioteca de código aberto para que outros programadores de Pine de nossa comunidade possam reutilizá-lo. Um brinde ao autor! Você pode usar esta biblioteca em particular ou em outras publicações de código aberto, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Gostaria de usar essa biblioteca?

Copie a seguinte linha e cole-a em seu script.