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).

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。