Purpose: Tracks first x candles of each hour to define a price range
Customizable settings:
Border color of the IB box
Fill color of the IB box
Number of candles to define IB
Box width in hours (1-24)
Functionality:
Calculates highest high and lowest low for specified number of candles
Creates a rectangular box representing the initial balance
Adapts to different timeframes (1, 5, 15, 30, 60-minute charts)
Limits storage of boxes to prevent memory overload
Box Placement:
Starts at first candle of the hour
Width calculated based on current timeframe and user-specified hours
Maintains consistent visual representation across different chart timeframes
Indicator for helping you with bias