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. اقرأ المزيد في شروط الاستخدام.