Trendoscope

ZigZag (Using Line Array)

Trendoscope Wizard ที่อัปเดต:   
This is standard zigzag indicator. I just coded them using lines array feature of pine - so that it can be done in least number of lines of code.

Few possible improvements:

  • Use label array to mark HH, HL, LH and LL
  • Add standard deviation check
เอกสารเผยแพร่:
Added updates mentioned in the description.
เอกสารเผยแพร่:
Corrected HL and LH labels
เอกสารเผยแพร่:
Added ratios display.
เอกสารเผยแพร่:
  • Previously, using pivotHigh and pivotLow on every bar for last 10 periods caused some inconsistencies in plotting zigzag. Hence, switched to points based calculation. However, zigzags are still created via lines array
  • Fixed empty label issue
เอกสารเผยแพร่:
Solved array index out of bounds issue
เอกสารเผยแพร่:
Adding option to apply zigzag on different source such as RSI. This enables plotting zigzag and ratios on RSI - which can be used for finding divergence.
เอกสารเผยแพร่:
  • Corrected minor logical error.
  • Removed DeviationThreshold as it was leading to wrong calculation

สคริปต์โอเพนซอร์ซ

ด้วยจิตวิญญาณของ TradingView อย่างแท้จริง ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้ผู้ค้าสามารถเข้าใจและตรวจสอบได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ได้ฟรี แต่การใช้รหัสนี้ซ้ำในสิ่งพิมพ์อยู่ภายใต้กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?