HTF Buy/Sell Signals
Nov 5, 2020

The HTF Buy/Sell Signals indicator is a comprehensive trend-following tool designed to identify high-probability entry points on higher timeframes by filtering noise through multiple technical layers. It combines moving averages, Heikin Ashi price action, and Ichimoku Cloud components to generate objective buy and sell signals.
Usage
The tool is primarily optimized for the Daily (D1) timeframe and higher, as signal quality is most reliable when filtering out intraday market noise.
- Buy Signals: A green "B" label appears when bullish conditions align, typically involving a combination of TK (Tenkan-Sen/Kijun-Sen) or PK (Price/Kijun-Sen) crossovers, rising momentum oscillators, and bullish Heikin Ashi candles.
- Sell Signals: A red "S" label appears when bearish conditions are met, such as bearish crossovers relative to the Ichimoku Kumo and falling momentum supported by bearish Heikin Ashi price action.
The indicator uses Heikin Ashi calculations internally to smooth price data, ensuring that signals are only generated when a clear shift in trend direction is detected.
Details
The script integrates several technical concepts into a single signal logic:
- Ichimoku Kinko Hyo: Uses the Conversion Line, Base Line, and Kumo (Cloud) to determine the trend environment and crossover points.
- Oscillator Logic: A custom calculation involving RSI and Stochastic-style momentum (RSV) helps confirm if price momentum is accelerating in the direction of the signal.
- Heikin Ashi Filter: Signals are validated against the color of Heikin Ashi candles to ensure the immediate trend matches the signal direction.
- BCWSMA: A specialized smoothing function is used for internal calculations to reduce false signals during choppy price action.
Settings
- ilong (9): Defines the period for the internal momentum calculations.
- isig (3): Adjusts the signal smoothing for the oscillator helper.
- Conversion Periods (9): The lookback period for the Ichimoku Conversion Line (Tenkan-sen).
- Base Periods (26): The lookback period for the Ichimoku Base Line (Kijun-sen).
- Lagging Span 2 Periods (52): The lookback period for the Senkou Span B component of the cloud.
- Displacement (26): The horizontal shift applied to the Ichimoku Cloud components.
FAQ
What timeframe works best for this indicator?
The HTF Buy/Sell Signals indicator is specifically designed for High Time Frames (HTF), such as the Daily, Weekly, or Monthly charts, to provide the most reliable trend confirmation.
Can I use this for lower timeframes?
While it functions on lower timeframes, the signals may become noisier. For active intraday trading, a dedicated LTF (Lower Time Frame) version is generally recommended.
How do I access HTF Buy/Sell Signals?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

