OPEN-SOURCE SCRIPT
HMM Trend Exhaust Detector (Partial TP Areas)

🔹 HMM Trend Exhaust Detector (Partial TP Areas)
HMM Trend Exhaust Detector is a professional risk-management and partial profit awareness tool, designed to highlight moments when price becomes over-extended within a strong trend.
This indicator is not an entry system and not a reversal predictor.
It is built to help traders protect profits, manage open positions, and avoid chasing price when the market is already stretched.
🧠 How it works (Simple Explanation)
When price moves aggressively away from its trend structure:
The candle color changes in real time, warning that price is entering a potential exhaustion zone.
A dotted guide level appears at the exact threshold price, showing where profit pressure begins.
After the candle closes, Partial TP Areas are marked on the chart to provide structure and context.
This two-step approach ensures:
Live awareness during the candle
Confirmed visual zones after close
🎯 What this indicator is best used for
✔ Partial profit booking
✔ Risk reduction during strong trends
✔ Avoiding late entries into extended moves
✔ Trade management & discipline
⚙️ Sensitivity Modes
The indicator includes a single Sensitivity setting to adapt to different trading styles:
Relaxed → Earlier warnings, more frequent partial TP zones
Strict → Balanced, institutional default
Very Strict → Only major, extreme exhaustion moves
(All internal calculations are handled automatically.)
📌 Important Notes
This indicator does not generate buy or sell signals.
Rectangle height is just based on candle heights at that time (Not strength based)
Partial TP Areas are confirmed after candle close by design.
Live candle highlighting and guide levels provide real-time awareness, not prediction.
Best used alongside your existing strategy or entries.
🧩 Recommended Use
Scalping / Fast markets → Relaxed
Intraday trading → Strict
Swing / News / Higher timeframes → Very Strict
🚀 About HMM
House of Market Minds -(HMM) indicators focus on clarity, discipline, and decision support — not hype or unrealistic promises.
This is the first public release in the HMM series, built with a long-term professional vision.
HMM Trend Exhaust Detector is a professional risk-management and partial profit awareness tool, designed to highlight moments when price becomes over-extended within a strong trend.
This indicator is not an entry system and not a reversal predictor.
It is built to help traders protect profits, manage open positions, and avoid chasing price when the market is already stretched.
🧠 How it works (Simple Explanation)
When price moves aggressively away from its trend structure:
The candle color changes in real time, warning that price is entering a potential exhaustion zone.
A dotted guide level appears at the exact threshold price, showing where profit pressure begins.
After the candle closes, Partial TP Areas are marked on the chart to provide structure and context.
This two-step approach ensures:
Live awareness during the candle
Confirmed visual zones after close
🎯 What this indicator is best used for
✔ Partial profit booking
✔ Risk reduction during strong trends
✔ Avoiding late entries into extended moves
✔ Trade management & discipline
⚙️ Sensitivity Modes
The indicator includes a single Sensitivity setting to adapt to different trading styles:
Relaxed → Earlier warnings, more frequent partial TP zones
Strict → Balanced, institutional default
Very Strict → Only major, extreme exhaustion moves
(All internal calculations are handled automatically.)
📌 Important Notes
This indicator does not generate buy or sell signals.
Rectangle height is just based on candle heights at that time (Not strength based)
Partial TP Areas are confirmed after candle close by design.
Live candle highlighting and guide levels provide real-time awareness, not prediction.
Best used alongside your existing strategy or entries.
🧩 Recommended Use
Scalping / Fast markets → Relaxed
Intraday trading → Strict
Swing / News / Higher timeframes → Very Strict
🚀 About HMM
House of Market Minds -(HMM) indicators focus on clarity, discipline, and decision support — not hype or unrealistic promises.
This is the first public release in the HMM series, built with a long-term professional vision.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.