PROTECTED SOURCE SCRIPT
GLB - Green Line Breakout

This script helps traders automatically detect Green Line Breakouts (GLBs) — a concept popularized by Dr. Eric Wish. A GLB occurs when a stock breaks out above a long-term pivot high that hasn’t been touched for a specified confirmation period (e.g., 3 months).
📌 Key Features:
Pivot High Detection based on customizable pivot strength.
Flexible Lookback Periods: Choose from 1 week to 5 years or ATH.
Confirmation Logic: Ensures the pivot remains unbroken for a set period before being marked as valid.
Breakout Detection: Marks the first breakout bar with a labeled event.
Dynamic Timeframe Support: Use daily bars or scale automatically with your chart's timeframe.
Historical Anchoring: Draws persistent lines from confirmation to breakout, helping visualize past GLBs.
🛠 Settings Include:
Pivot Strength
Timeframe Mode (Daily or Current)
Lookback Period (1W–ATH)
Confirmation Period (1W–1Y)
📌 Key Features:
Pivot High Detection based on customizable pivot strength.
Flexible Lookback Periods: Choose from 1 week to 5 years or ATH.
Confirmation Logic: Ensures the pivot remains unbroken for a set period before being marked as valid.
Breakout Detection: Marks the first breakout bar with a labeled event.
Dynamic Timeframe Support: Use daily bars or scale automatically with your chart's timeframe.
Historical Anchoring: Draws persistent lines from confirmation to breakout, helping visualize past GLBs.
🛠 Settings Include:
Pivot Strength
Timeframe Mode (Daily or Current)
Lookback Period (1W–ATH)
Confirmation Period (1W–1Y)
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.