lib_zig

Object oriented implementation of ZigZag
method tostring(this, date_format)
Namespace types: Zigzag
Parameters:
this (Zigzag)
date_format (simple string)
method update(this)
Namespace types: Zigzag
Parameters:
this (Zigzag)
method draw(this, colors)
Namespace types: Zigzag
Parameters:
this (Zigzag)
colors (PivotColors type from robbatt/lib_pivot/19)
Zigzag
Fields:
max_pivots (series__integer)
hldata (|robbatt/lib_pivot/19;HLData|#OBJ)
pivots (array__|robbatt/lib_pivot/19;Pivot|#OBJ)
Added:
method has_new_pivot(this)
Namespace types: Zigzag
Parameters:
this (Zigzag)
create_config(base_line_args, base_label_args, simple_color)
Parameters:
base_line_args (LineArgs type from robbatt/lib_plot_objects/12)
base_label_args (LabelArgs type from robbatt/lib_plot_objects/12)
simple_color (color)
method set_config(this, config)
Namespace types: Zigzag
Parameters:
this (Zigzag)
config (ZigzagConfig)
method get_line_args(this, mode)
Namespace types: Zigzag
Parameters:
this (Zigzag)
mode (int)
method get_label_args(this, mode)
Namespace types: Zigzag
Parameters:
this (Zigzag)
mode (int)
method get_abstraction(this, config)
Namespace types: Zigzag
Parameters:
this (Zigzag)
config (ZigzagConfig)
method draw_continous(this, live)
Namespace types: Zigzag
Parameters:
this (Zigzag)
live (bool)
ZigzagConfig
Fields:
hh_line_args (|robbatt/lib_plot_objects/12;LineArgs|#OBJ)
lh_line_args (|robbatt/lib_plot_objects/12;LineArgs|#OBJ)
hl_line_args (|robbatt/lib_plot_objects/12;LineArgs|#OBJ)
ll_line_args (|robbatt/lib_plot_objects/12;LineArgs|#OBJ)
hh_label_args (|robbatt/lib_plot_objects/12;LabelArgs|#OBJ)
lh_label_args (|robbatt/lib_plot_objects/12;LabelArgs|#OBJ)
hl_label_args (|robbatt/lib_plot_objects/12;LabelArgs|#OBJ)
ll_label_args (|robbatt/lib_plot_objects/12;LabelArgs|#OBJ)
ZigzagSignals
Fields:
double_pivot (series__bool)
extra_pivot (series__bool)
direction_change (series__bool)
extra_abstract_pivot (series__bool)
Updated:
method update(this, ref_highest, ref_lowest, add_intermediate_fractals_on_force, ignore_double_pivots_in_trend_direction)
Namespace types: Zigzag
Parameters:
this (Zigzag)
ref_highest (float)
ref_lowest (float)
add_intermediate_fractals_on_force (bool)
ignore_double_pivots_in_trend_direction (bool)
method draw(this, live)
Namespace types: Zigzag
Parameters:
this (Zigzag)
live (bool)
Added:
method reset(this)
Namespace types: ZigzagSignals
Parameters:
this (ZigzagSignals)
Removed:
method initPivots(this)
Added:
method update_last(this, price, candle)
Namespace types: Zigzag
Parameters:
this (Zigzag)
price (float)
candle (Candle type from robbatt/lib_plot_objects/36)
method add_next(this, pivot)
Namespace types: Zigzag
Parameters:
this (Zigzag)
pivot (Pivot type from robbatt/lib_pivot/50)
method add_next_lowest(this)
Namespace types: Zigzag
Parameters:
this (Zigzag)
method add_next_highest(this)
Namespace types: Zigzag
Parameters:
this (Zigzag)
Updated:
method update_last(this, price, candle, force_update)
Namespace types: Zigzag
Parameters:
this (Zigzag)
price (float)
candle (Candle type from robbatt/lib_plot_objects/36)
force_update (bool)
method add_next(this, pivot)
Namespace types: Zigzag
Parameters:
this (Zigzag)
pivot (Pivot type from robbatt/lib_pivot/51)
Biblioteca Pine
Siguiendo fielmente el espíritu de TradingView, el autor ha publicado este código Pine como una biblioteca de código, permitiendo que otros programadores de Pine en nuestra comunidad puedan volver a utilizarlo. ¡Un brindis por el autor! Puede utilizar esta biblioteca de forma privada o en otras publicaciones de código abierto, pero tenga en cuenta que la reutilización de este código en publicaciones se rige por las Normas internas.
Exención de responsabilidad
Biblioteca Pine
Siguiendo fielmente el espíritu de TradingView, el autor ha publicado este código Pine como una biblioteca de código, permitiendo que otros programadores de Pine en nuestra comunidad puedan volver a utilizarlo. ¡Un brindis por el autor! Puede utilizar esta biblioteca de forma privada o en otras publicaciones de código abierto, pero tenga en cuenta que la reutilización de este código en publicaciones se rige por las Normas internas.