OPEN-SOURCE SCRIPT
BHUVANA Fibonacci squeezed 50%–61.8% band

This indicator is designed based on XAUUSD and in the 5 min time frame,When it looks like upstairs it is BUY trend (uptrend),Wjen it looks like downstairs the trend is sell (ie)Down trend)
Swing mapping: Finds the active high/low over a user-defined lookback and computes Fib 50% and Fib 61.8%.
Squeeze detection: Measures the distance between 50% and 61.8%. If the band width is ≤ (ATR × multiplier), the zone is flagged as a Squeeze.
Breakout entries (on close):
Long when price crosses up through 50% while squeezed.
Short when price crosses down through 61.8% while squeezed.
Risk framework: Auto-plots stop lines from the signal bar:
Long SL = swing low; Short SL = swing high.
Visuals: Fib lines (50/61.8) + optional yellow zone highlight during squeeze.
Swing mapping: Finds the active high/low over a user-defined lookback and computes Fib 50% and Fib 61.8%.
Squeeze detection: Measures the distance between 50% and 61.8%. If the band width is ≤ (ATR × multiplier), the zone is flagged as a Squeeze.
Breakout entries (on close):
Long when price crosses up through 50% while squeezed.
Short when price crosses down through 61.8% while squeezed.
Risk framework: Auto-plots stop lines from the signal bar:
Long SL = swing low; Short SL = swing high.
Visuals: Fib lines (50/61.8) + optional yellow zone highlight during squeeze.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.