OPEN-SOURCE SCRIPT
HMA Trend Line (Croc Signal Line)

HMA Trend Line (Croc Signal Line) — The Ultimate Hull Moving Average Trend Indicator
Full English description here:
What is the HMA Trend Line (Croc Signal Line)?
The HMA Trend Line (Croc Signal Line) is a powerful, adaptive trend indicator for TradingView, based on the Hull Moving Average (HMA). This indicator is designed to help traders identify real market trends with less lag and reduced noise compared to traditional moving averages like SMA (Simple Moving Average) and EMA (Exponential Moving Average).
Why use the HMA Trend Line?
+ Faster Trend Detection: The Hull Moving Average (HMA) responds more quickly to price action, giving you earlier buy and sell signals.
+ Smoother and Cleaner: It provides a visually clean trend line that avoids the choppiness of classic EMAs and SMAs.
+ Reduced Lag: The HMA Trend Line follows the market closer, helping you avoid late entries or exits and spot trend reversals sooner.
+ Dynamic Support and Resistance: Use the line as a dynamic support or resistance to manage trades and identify pullbacks or breakouts.
What does “Croc Signal Line” mean?
The “Croc” in Croc Signal Line stands for:
+ Clean
+ Responsive
+ Optimized
+ Curve
This highlights the unique advantage of this indicator: a curve that is both fast-reacting and smooth, helping traders focus on real trends and filter out market noise.
How does the Hull Moving Average (HMA) work?
The HMA was developed by Alan Hull and uses weighted moving averages and a unique calculation to deliver both responsiveness and smoothness. Unlike standard moving averages, the HMA reacts faster to new price moves and avoids false signals in ranging or volatile markets.
How to use the HMA Trend Line (Croc Signal Line) on TradingView?
+ Watch for price crossing above the trend line for potential bullish signals, and below for bearish signals.
+ Use on any timeframe: from 1-minute scalping to daily, weekly, or even monthly charts.
+ Works with all asset classes: Forex, stocks, indices, cryptocurrencies, commodities, and futures.
+ Combine with other indicators (like Stochastics, RSI, or volume) for confirmation and to build your unique trading strategy.
+ Adjust the Signal Line Period for your market and style: shorter periods for faster markets, longer for smoother trends.
Who should use this indicator?
+ Day traders, swing traders, and long-term investors looking for reliable, actionable trend signals.
+ Anyone seeking a cleaner, more responsive alternative to the classic moving averages.
+ Traders who want a simple, visually clear way to filter out market noise and see real price direction.
Disclaimer:
This indicator is for educational and study purposes only. Please perform your own backtesting and analysis before using it in live trading. This script does not constitute financial advice. Use at your own risk.
--------
Full English description here:
What is the HMA Trend Line (Croc Signal Line)?
The HMA Trend Line (Croc Signal Line) is a powerful, adaptive trend indicator for TradingView, based on the Hull Moving Average (HMA). This indicator is designed to help traders identify real market trends with less lag and reduced noise compared to traditional moving averages like SMA (Simple Moving Average) and EMA (Exponential Moving Average).
Why use the HMA Trend Line?
+ Faster Trend Detection: The Hull Moving Average (HMA) responds more quickly to price action, giving you earlier buy and sell signals.
+ Smoother and Cleaner: It provides a visually clean trend line that avoids the choppiness of classic EMAs and SMAs.
+ Reduced Lag: The HMA Trend Line follows the market closer, helping you avoid late entries or exits and spot trend reversals sooner.
+ Dynamic Support and Resistance: Use the line as a dynamic support or resistance to manage trades and identify pullbacks or breakouts.
What does “Croc Signal Line” mean?
The “Croc” in Croc Signal Line stands for:
+ Clean
+ Responsive
+ Optimized
+ Curve
This highlights the unique advantage of this indicator: a curve that is both fast-reacting and smooth, helping traders focus on real trends and filter out market noise.
How does the Hull Moving Average (HMA) work?
The HMA was developed by Alan Hull and uses weighted moving averages and a unique calculation to deliver both responsiveness and smoothness. Unlike standard moving averages, the HMA reacts faster to new price moves and avoids false signals in ranging or volatile markets.
How to use the HMA Trend Line (Croc Signal Line) on TradingView?
+ Watch for price crossing above the trend line for potential bullish signals, and below for bearish signals.
+ Use on any timeframe: from 1-minute scalping to daily, weekly, or even monthly charts.
+ Works with all asset classes: Forex, stocks, indices, cryptocurrencies, commodities, and futures.
+ Combine with other indicators (like Stochastics, RSI, or volume) for confirmation and to build your unique trading strategy.
+ Adjust the Signal Line Period for your market and style: shorter periods for faster markets, longer for smoother trends.
Who should use this indicator?
+ Day traders, swing traders, and long-term investors looking for reliable, actionable trend signals.
+ Anyone seeking a cleaner, more responsive alternative to the classic moving averages.
+ Traders who want a simple, visually clear way to filter out market noise and see real price direction.
Disclaimer:
This indicator is for educational and study purposes only. Please perform your own backtesting and analysis before using it in live trading. This script does not constitute financial advice. Use at your own risk.
--------
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.