robbatt

lib_retracement_label

robbatt Zaktualizowano   
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)
Informacje o Wersji:
v2 version update lib_plot_objects v32, lib_pivot v45
Informacje o Wersji:
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)
Informacje o Wersji:
v4 version bump lib_pivot v48 and lib_plot_objects v35
Informacje o Wersji:
v5 version bump lib_plot_objects v36, lib_pivot v49
Informacje o Wersji:
v6 version bump to lib_pivot v52
Biblioteka Pine

Działając zgodnie z prawdziwym duchem TradingView, autor opublikował ten kod Pine jako bibliotekę o otwartym kodzie źródłowym, aby inni programiści Pine z naszej społeczności mogli go ponownie wykorzystać. Brawa dla niego! Możesz korzystać z tej biblioteki prywatnie lub w innych publikacjach typu open source, ale ponowne wykorzystanie tego kodu w publikacji podlega Regulaminowi.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz skorzystać z tej biblioteki?

Skopiuj poniższy wiersz i wklej go w swoim skrypcie.