OPEN-SOURCE SCRIPT
ที่อัปเดต: Fractal Directional Bias: HH/HL vs LL/LH

This indicator is to help user to identify Directional Bias based on William Fractal.
It allows user to input the Fractal Depth.
For example of Fractal Depth = 3
Swing High: Current Candle High is higher than both the previous and the next Candle High
Swing Low: Current Candle Low is lower than both the previous and the next Candle Low
With Swing High and Swing Low identified, the indicator further categorised it into HH, HL, LH, LL. The indicator plot the background:
Green: When the first HH or HL detected
Red: When the first LL or LH detected
Note: The change of colour seems like have 2 candles delayed (for fractal depth 3) because it need 3 candles to detect the swing high and swing low.
It allows user to input the Fractal Depth.
For example of Fractal Depth = 3
Swing High: Current Candle High is higher than both the previous and the next Candle High
Swing Low: Current Candle Low is lower than both the previous and the next Candle Low
With Swing High and Swing Low identified, the indicator further categorised it into HH, HL, LH, LL. The indicator plot the background:
Green: When the first HH or HL detected
Red: When the first LL or LH detected
Note: The change of colour seems like have 2 candles delayed (for fractal depth 3) because it need 3 candles to detect the swing high and swing low.
เอกสารเผยแพร่
Bug fixed- background colour not triggered correctly when the bullish and bearish state changed
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน