robbatt

lib_retracement_label

robbatt Uppdaterad   
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)
Versionsinformation:
v2 version update lib_plot_objects v32, lib_pivot v45
Versionsinformation:
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)
Versionsinformation:
v4 version bump lib_pivot v48 and lib_plot_objects v35
Versionsinformation:
v5 version bump lib_plot_objects v36, lib_pivot v49
Versionsinformation:
v6 version bump to lib_pivot v52
Pinebibliotek

I sann TradingView-anda har författaren publicerat denna Pine-kod som ett bibliotek med öppen källkod så att andra Pine-programmerare från vår community kan återanvända den. Hatten av för författaren! Du kan använda det här biblioteket privat eller i andra publikationer med öppen källkod, men återanvändning av den här koden i en publikation regleras av våra ordningsregler.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här biblioteket?

Kopiera följande rad och klistra in det i ditt skript.