PINE LIBRARY
ที่อัปเดต: lib_zig

Library "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)
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)
เอกสารเผยแพร่
v2 added drawing functions, abstraction, and extended demoAdded:
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)
เอกสารเผยแพร่
v3 version bump lib_pivotเอกสารเผยแพร่
v4 version bump to lib_pivot v32เอกสารเผยแพร่
v5 version bump to lib_pivot v33เอกสารเผยแพร่
v6 added flag for update of last/unconfirmed pivotเอกสารเผยแพร่
v7 update to lib_plot_objects v13 and lib_pivot v34เอกสารเผยแพร่
v8 version bump to lib_plot_objects v35 and lib_pivot v14เอกสารเผยแพร่
v9 version bump to lib_plot_objects v15 / lib_pivot v36เอกสารเผยแพร่
v10 added candle data to each pivot + version bump to lib_plot_objects v16 and lib_pivot v38เอกสารเผยแพร่
v11 version bump lib_plot_objects v17, lib_pivot v39เอกสารเผยแพร่
v12 version bump lib_plot_objects v18 and lib_pivot v40เอกสารเผยแพร่
v13 version bump lib_plot_objects v19, lib_pivot v41เอกสารเผยแพร่
v14 update version of lib_priceaction v6, lib_plot_object v23, lib_pivot v43เอกสารเผยแพร่
v15 version bump lib_plot_objects v25 and lib_pivot v44เอกสารเผยแพร่
v16 version bump to lib_plot_objects 32, lib_pivot 45, changed processing to native chart.point objects. Removed custom Point typeเอกสารเผยแพร่
v17, version bump lib_plot_objects v34, lib_pivot v47เอกสารเผยแพร่
v18 version bump lib_plot_objects v35 and lib_pivot v48เอกสารเผยแพร่
v19 version bump lib_plot_objects v36, lib_pivot v49เอกสารเผยแพร่
v20 update auf lib_pivot v50 und lib_plot_objects v36, removed initPivots, not integrated in ZigZag init, added reset function for signals, used internally on updateAdded:
method reset(this)
Namespace types: ZigzagSignals
Parameters:
this (ZigzagSignals)
Removed:
method initPivots(this)
เอกสารเผยแพร่
v21 fixed line updates for alternative trend change signalsเอกสารเผยแพร่
v22 added add_next (point, candle) and update_last (point, candle) , also added specific error detection via runtime error for these, since they seem to cause the most trouble for usersAdded:
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)
เอกสารเผยแพร่
v23 update to lib_pivot v51Updated:
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)
เอกสารเผยแพร่
v24 fixed drawing issue for special candle constellationเอกสารเผยแพร่
v25 added fix for drawing double pivotsเอกสารเผยแพร่
v26 version bump to lib_pivot v52เอกสารเผยแพร่
v28 update to lib_pivot v53 and lib_plot_objects v50, removed tostring methodsเอกสารเผยแพร่
v29 added right confirmation for stalling/sidways situations to reduce forced pivots in unclear conditions.เอกสารเผยแพร่
v30 updated to latest lib_plot_objects v56 and lib_pivot v54, separated plot related ZigzagConfig from data container Zigzag. Now applied via draw() matching behaviour of underlying libsไลบรารีไพน์
ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนได้เผยแพร่ Pine code นี้เป็นโอเพนซอร์สไลบรารีเพื่อให้ Pine โปรแกรมเมอร์คนอื่นในชุมชนของเราสามารถนำไปใช้ซ้ำได้ ต้องขอบคุณผู้เขียน! คุณสามารถใช้ไลบรารีนี้ในแบบส่วนตัวหรือในการเผยแพร่แบบโอเพนซอร์สอื่น ๆ แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
ไลบรารีไพน์
ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนได้เผยแพร่ Pine code นี้เป็นโอเพนซอร์สไลบรารีเพื่อให้ Pine โปรแกรมเมอร์คนอื่นในชุมชนของเราสามารถนำไปใช้ซ้ำได้ ต้องขอบคุณผู้เขียน! คุณสามารถใช้ไลบรารีนี้ในแบบส่วนตัวหรือในการเผยแพร่แบบโอเพนซอร์สอื่น ๆ แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน