OPEN-SOURCE SCRIPT
Bar Breakout with ATR

Bar Breakout with ATR — Multi-Timeframe Dashboard
Identifies high-quality breakout bars across multiple timeframes using a combination of ATR-based range filtering and IBS (Internal Bar Strength) confirmation.
How it works:
A bar is flagged as a breakout when three conditions align simultaneously — the close exceeds the prior bar's high (bull) or undercuts the prior bar's low (bear), the bar's range is at least N× the ATR, and the close quality is confirmed via IBS (top of range for bulls, bottom of range for bears). Bars that are large but fail to break are classified as POSS BULL or POSS BEAR — potential coiling setups worth watching.
Features:
Bar coloring — highlights confirmed breakout bars and large-range non-break bars in distinct colors
MTF Dashboard Table — shows the most recent breakout event (BULL BREAK, BEAR BREAK, POSS BULL, POSS BEAR) across up to 5 user-defined timeframes
Context rows — when the latest event on a timeframe is a POSS BULL/BEAR, the table optionally shows the last confirmed break for directional context
Per-bar detail — each table row displays timestamp (CST), low, high, range (with ATR multiple), midpoint, and IBS value
Fully configurable — ATR length, ATR multiplier, IBS thresholds, colors, table position, font sizes, and per-timeframe toggles
Best used on: Equity index futures (ES, NQ), ETFs, or any liquid instrument where breakout structure and range expansion are meaningful signals.
Identifies high-quality breakout bars across multiple timeframes using a combination of ATR-based range filtering and IBS (Internal Bar Strength) confirmation.
How it works:
A bar is flagged as a breakout when three conditions align simultaneously — the close exceeds the prior bar's high (bull) or undercuts the prior bar's low (bear), the bar's range is at least N× the ATR, and the close quality is confirmed via IBS (top of range for bulls, bottom of range for bears). Bars that are large but fail to break are classified as POSS BULL or POSS BEAR — potential coiling setups worth watching.
Features:
Bar coloring — highlights confirmed breakout bars and large-range non-break bars in distinct colors
MTF Dashboard Table — shows the most recent breakout event (BULL BREAK, BEAR BREAK, POSS BULL, POSS BEAR) across up to 5 user-defined timeframes
Context rows — when the latest event on a timeframe is a POSS BULL/BEAR, the table optionally shows the last confirmed break for directional context
Per-bar detail — each table row displays timestamp (CST), low, high, range (with ATR multiple), midpoint, and IBS value
Fully configurable — ATR length, ATR multiplier, IBS thresholds, colors, table position, font sizes, and per-timeframe toggles
Best used on: Equity index futures (ES, NQ), ETFs, or any liquid instrument where breakout structure and range expansion are meaningful signals.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.