OPEN-SOURCE SCRIPT
تم تحديثه Mirror Trendline Tool

This indicator is an interactive mirror‑trendline drawing tool that uses three draggable points to build two related lines. Point One and Point Two define the primary (blue) trendline; Point Three defines the starting anchor for the mirrored line, which always has the opposite slope to the blue line and updates live as you move the anchor, giving continuous visual feedback while you drag it .
A color‑invert option automatically generates the mirrored line’s color by mathematically inverting the chosen base color while preserving its opacity, with a checkbox to disable inversion so both lines can share the same appearance . When “Stop at Intersection” is checked, both lines terminate exactly at their intersection, creating a clean V‑shaped construction that highlights the symmetry point between the reference move and its mirror . When the box is unchecked, both lines extend beyond that intersection, but their total duration is capped at no more than twice the original blue segment’s length, keeping projections proportionate and preventing excessively long rays from cluttering the chart .
A color‑invert option automatically generates the mirrored line’s color by mathematically inverting the chosen base color while preserving its opacity, with a checkbox to disable inversion so both lines can share the same appearance . When “Stop at Intersection” is checked, both lines terminate exactly at their intersection, creating a clean V‑shaped construction that highlights the symmetry point between the reference move and its mirror . When the box is unchecked, both lines extend beyond that intersection, but their total duration is capped at no more than twice the original blue segment’s length, keeping projections proportionate and preventing excessively long rays from cluttering the chart .
ملاحظات الأخبار
This indicator has been completely reworked to fix a number of issues and will now plot correctly on both desktop and mobile.نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.