OPEN-SOURCE SCRIPT

MT High/Low Boxes

176
"Box out the High/Low at User-Defined Time Frame"

This feature allows users to set a custom time frame via an input panel, following TradingView's time frame conventions (e.g., "60," "240," "D," etc.).

The script dynamically captures timestamps for each custom interval to detect the start of new segments.

The box width is calculated based on the number of bars within the custom time frame, ensuring accurate coverage of the corresponding time range.

A central dashed line (yellow dotted) reflects the real-time midpoint between the high and low of the interval.

The background color adjusts based on bullish/bearish bias, comparing the opening price to the current closing price.

Simply select your desired time frame in the indicator settings—flexible and compatible with multiple time frames, including non-minute/hour units (e.g., daily, weekly).

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.