HDTR with SuperTrend [Volensy] is an overlay trend + momentum entry indicator that combines a SuperTrend regime filter, a KAMA direction filter, and an HDTR momentum trigger. Signals only appear when all three components align, which helps reduce counter-trend entries and “noise” trades.
How it Works
SuperTrend state (trend filter): A Wilder-style ATR (RMA) is calculated, multiplied by the ATR Multiplier, and used to build trailing long/short stop lines. The trend direction flips when price crosses the prior stop.
Wicks option: When enabled, the trend logic uses High/Low for trailing and flips (more sensitive). When disabled, it uses Close (stricter confirmation and often cleaner in choppy conditions).
KAMA filter: A Kaufman Adaptive Moving Average (KAMA) is plotted as a blue line and used as an additional directional filter: longs require price above KAMA, shorts require price below KAMA.
HDTR momentum trigger: HDTR measures the distance between price and a baseline EMA (Close − EMA). A second EMA smooths HDTR. Momentum confirmation is based on HDTR being on the correct side of zero and also stronger than its own EMA.
Signal Logic
Buy: SuperTrend bullish (green) AND Close > KAMA AND HDTR > 0 AND HDTR > HDTR EMA.
Sell: SuperTrend bearish (red) AND Close < KAMA AND HDTR < 0 AND HDTR < HDTR EMA.
Duplicate prevention: A Cooldown Bars rule enforces a minimum gap between same-side signals, and the script also avoids printing repeated same-direction signals back-to-back (it alternates buy/sell states).
What You’ll See on the Chart
Green trailing stop line in bullish state, red trailing stop line in bearish state.
Optional regime shading (state fill) to quickly identify the active trend direction.
Blue KAMA line as the structural trend filter.
Buy/Sell labels plotted below/above candles when final conditions are met.
Cooldown Bars: Increase to reduce repeated entries during chop; keep low to allow quicker re-entries in strong trends.
Alerts
The script includes built-in alert conditions for Buy Signal and Sell Signal, triggering on the final (filtered) signal events.
Notes / Limitations
This is a confirmation-based tool: SuperTrend + KAMA define direction, HDTR provides momentum timing.
No multi-timeframe requests are used; everything is calculated on the chart timeframe.
Disclaimer
This indicator is for educational purposes only and does not constitute financial or investment advice. Always backtest, use proper risk management, and make decisions based on your own research.