OPEN-SOURCE SCRIPT
Adaptive Point Offset Rays

Adaptive Offset Rays
Futures Point
Plots up to five configurable horizontal rays above current price and five below, each set by a fixed point offset from a chosen price source (default: close). Rays reposition at a user-defined interval rather than every tick, keeping the chart legible instead of accumulating redundant lines.
Inputs
Price reference (source)
Ray length (bars projected forward)
Update frequency (minutes; set to 0 for tick-by-tick tracking)
Five above/below levels, each independently toggled with its own point value
Line colors and optional point-value labels
Use case: dynamic reference levels for gauging distance traveled or remaining toward a target — useful for scalping or intraday setups where fixed dollar/point thresholds matter more than static support/resistance.
Note: rays reflect live price offsets and are not predictive signals; they do not repaint historical values, only their forward projection updates.
Futures Point
Plots up to five configurable horizontal rays above current price and five below, each set by a fixed point offset from a chosen price source (default: close). Rays reposition at a user-defined interval rather than every tick, keeping the chart legible instead of accumulating redundant lines.
Inputs
Price reference (source)
Ray length (bars projected forward)
Update frequency (minutes; set to 0 for tick-by-tick tracking)
Five above/below levels, each independently toggled with its own point value
Line colors and optional point-value labels
Use case: dynamic reference levels for gauging distance traveled or remaining toward a target — useful for scalping or intraday setups where fixed dollar/point thresholds matter more than static support/resistance.
Note: rays reflect live price offsets and are not predictive signals; they do not repaint historical values, only their forward projection updates.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน