PROTECTED SOURCE SCRIPT
QuantRX Market StructureV1

QuantRX — Market Structure (Free V1) is a price-action overlay that visualizes market structure using confirmed swing pivots and common structure labels such as BOS (Break of Structure) and CHOCH (Change of Character).
What it shows
Confirmed swing highs/lows (HH/HL/LH/LL)
BOS / CHOCH events based on breaks of the most recent confirmed structure level
Optional right-edge tags and subtle bias coloring
Important behavior notes (read before use)
Swing points are based on confirmed pivots (ta.pivothigh/ta.pivotlow). This means a swing is only confirmed after the pivot length has completed, and labels may appear on prior bars once confirmed (normal pivot behavior; not forward-looking data).
BOS/CHOCH events are intended to be interpreted on closed bars for consistency.
Settings
Swing mode uses a longer pivot length for higher-level structure.
Internal mode uses a shorter pivot length for short-term structure.
(Use one mode at a time to match your timeframe and noise tolerance.)
Disclaimer
This indicator is for educational and informational purposes only and does not constitute financial advice. Trading involves risk; you are responsible for your own decisions.
What it shows
Confirmed swing highs/lows (HH/HL/LH/LL)
BOS / CHOCH events based on breaks of the most recent confirmed structure level
Optional right-edge tags and subtle bias coloring
Important behavior notes (read before use)
Swing points are based on confirmed pivots (ta.pivothigh/ta.pivotlow). This means a swing is only confirmed after the pivot length has completed, and labels may appear on prior bars once confirmed (normal pivot behavior; not forward-looking data).
BOS/CHOCH events are intended to be interpreted on closed bars for consistency.
Settings
Swing mode uses a longer pivot length for higher-level structure.
Internal mode uses a shorter pivot length for short-term structure.
(Use one mode at a time to match your timeframe and noise tolerance.)
Disclaimer
This indicator is for educational and informational purposes only and does not constitute financial advice. Trading involves risk; you are responsible for your own decisions.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.