OPEN-SOURCE SCRIPT
MTPC Non-Repaint HTF Boxes (Mobile)

MTPC PRO – Non-Repaint HTF Range Breakout Indicator
MTPC PRO is a professional non-repainting Higher Timeframe (HTF) range breakout indicator designed for precision trading and clean structure analysis.
This indicator plots the previous closed HTF candle range as dynamic boxes on lower timeframes and confirms breakouts only after full candle confirmation — ensuring zero repaint behavior.
🔥 Key Features
• 100% Non-Repaint Logic (uses only closed HTF candles)
• Automatic Higher Timeframe Detection
• Manual HTF Selection Option
• True Range Mode (Body-based or Full High-Low Range)
• HTF Trend Confirmation
• Breakout Confirmation Filter
• Dynamic HTF Range Boxes
• Optional Trend-Based Candle Coloring
• Mobile Friendly & Lightweight
📊 How It Works
The script fetches the previous closed Higher Timeframe candle.
It builds a range (High-Low or Body-based).
A box is drawn representing that HTF range.
A breakout is confirmed only when price closes outside the HTF range.
Trend direction is validated before coloring candles.
Because the script strictly uses lookahead_off and previous closed HTF values, signals do not repaint.
🎯 Best Use Cases
• Intraday trading with Daily HTF
• Scalping with H1 / H4 confirmation
• Breakout strategies
• Structure & range traders
• Liquidity zone identification
MTPC PRO is a professional non-repainting Higher Timeframe (HTF) range breakout indicator designed for precision trading and clean structure analysis.
This indicator plots the previous closed HTF candle range as dynamic boxes on lower timeframes and confirms breakouts only after full candle confirmation — ensuring zero repaint behavior.
🔥 Key Features
• 100% Non-Repaint Logic (uses only closed HTF candles)
• Automatic Higher Timeframe Detection
• Manual HTF Selection Option
• True Range Mode (Body-based or Full High-Low Range)
• HTF Trend Confirmation
• Breakout Confirmation Filter
• Dynamic HTF Range Boxes
• Optional Trend-Based Candle Coloring
• Mobile Friendly & Lightweight
📊 How It Works
The script fetches the previous closed Higher Timeframe candle.
It builds a range (High-Low or Body-based).
A box is drawn representing that HTF range.
A breakout is confirmed only when price closes outside the HTF range.
Trend direction is validated before coloring candles.
Because the script strictly uses lookahead_off and previous closed HTF values, signals do not repaint.
🎯 Best Use Cases
• Intraday trading with Daily HTF
• Scalping with H1 / H4 confirmation
• Breakout strategies
• Structure & range traders
• Liquidity zone identification
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。