OPEN-SOURCE SCRIPT
Clarix Trend Filter

Purpose
This indicator helps traders quickly identify strong bullish or bearish market conditions by combining a moving average and directional strength.
How It Works
SMMA (200): Smooths price to detect overall trend direction.
ADX (14): Measures trend strength, filtering out weak/noisy moves.
+DI / -DI: Directional movement indicators help confirm the dominant side.
Trend Logic
Bullish Trend: Price is above SMMA, ADX > threshold, and +DI > -DI
Bearish Trend: Price is below SMMA, ADX > threshold, and -DI > +DI
Otherwise, the trend is considered weak or unclear.
Features
Background shading for trend clarity
Optional buy/sell arrows based on trend confirmation
Configurable SMMA length and ADX threshold
Designed for 1-minute timeframes, but can be adjusted
Tips
Best used as a trend filter with your existing entry/exit strategy
Avoid trading signals when ADX is low (flat or ranging conditions)
Works well when combined with volume or momentum indicators
This indicator helps traders quickly identify strong bullish or bearish market conditions by combining a moving average and directional strength.
How It Works
SMMA (200): Smooths price to detect overall trend direction.
ADX (14): Measures trend strength, filtering out weak/noisy moves.
+DI / -DI: Directional movement indicators help confirm the dominant side.
Trend Logic
Bullish Trend: Price is above SMMA, ADX > threshold, and +DI > -DI
Bearish Trend: Price is below SMMA, ADX > threshold, and -DI > +DI
Otherwise, the trend is considered weak or unclear.
Features
Background shading for trend clarity
Optional buy/sell arrows based on trend confirmation
Configurable SMMA length and ADX threshold
Designed for 1-minute timeframes, but can be adjusted
Tips
Best used as a trend filter with your existing entry/exit strategy
Avoid trading signals when ADX is low (flat or ranging conditions)
Works well when combined with volume or momentum indicators
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.