OPEN-SOURCE SCRIPT
已更新

30m Rolling IB & Extensions

353
Overview
The 30m Rolling IB & Extensions indicator is designed for day traders and scalpers who monitor short-term price action and structure on intraday timeframes. Instead of using a traditional daily or session-long Initial Balance, this script continuously tracks and projects a rolling 30-minute Initial Balance. It measures the High and Low of a 30-minute interval and projects those levels—along with precision extensions—onto the following 30-minute period.

How It Works

Time-Restricted Tracking: The indicator actively monitors price action during a specific, user-defined intraday session (defaulting to 19:00 - 16:00 EST). During this time, it tracks the Highest High and Lowest Low of every 30-minute block.
Rolling Projections: Once a 30-minute block closes, its High and Low are established as the new "Initial Balance" (IB). These levels are then plotted forward over the current 30-minute candle(s) to act as immediate support and resistance references.
Fibonacci-Style Extensions: Beyond the core IB High and Low, the indicator calculates the range of that previous 30-minute block and plots micro-extensions (0.1, 0.2, 0.3, 0.4, and 0.5) above the High and below the Low.
Trading Application

Range Breakouts & Fades: The plotted IB High and Low serve as immediate, short-term battlegrounds. A strong break beyond the IB can signal a short-term trend continuation into the extension levels, while failures at the IB edges can offer quick mean-reversion (fade) opportunities.
Targeting & Stop Placement: The 0.1 through 0.5 extensions act as dynamic, volatility-adjusted price targets or areas to scale out of positions.
Market Context: Because it resets every 30 minutes, this indicator adapts incredibly fast to intraday volatility compared to static daily levels, keeping you focused strictly on the most recent short-term market structure.
Features

Dynamic labels that display exactly on the current price scale for quick reference.
Customizable active tracking session (Input your own preferred start/stop times and timezone).
Clean, non-intrusive linebr plots that only show up during active periods and don't muddy up your chart with connecting lines during the inactive hours.
版本注释
bug fix
版本注释
made the ib lines and extensions 10 bars ahead of price
版本注释
added 25%/50%/75% lines to IB
版本注释
added better filtering for more accurate s/r lines.
版本注释
changed time frame to 5m by default and changed the logic to detect extreme swing points
版本注释
update

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。