OPEN-SOURCE SCRIPT
BH Ergodic (TSI-style) [v5]

The BG Ergodic script is a custom momentum and trend-confirmation tool that builds on the classic True Strength Index (TSI) and Ergodic Oscillator concepts. It smooths price momentum over multiple exponential averages to identify underlying trend direction, exhaustion, and potential reversals with reduced noise.
Unlike a standard TSI, the BG Ergodic combines:
Dual-smoothing filters for both momentum and signal lines, giving a cleaner response in choppy markets.
Dynamic color transitions that highlight bullish and bearish phases based on crossovers and slope changes.
Optional histogram plotting to visualize the spread between the Ergodic line and its signal line for early trend-shift detection.
This indicator works best on swing or trend-following timeframes (e.g., 1H–1D) and can be used to:
Confirm trend direction before entries,
Filter false breakouts, or
Spot momentum divergence near key support/resistance zones.
Unlike a standard TSI, the BG Ergodic combines:
Dual-smoothing filters for both momentum and signal lines, giving a cleaner response in choppy markets.
Dynamic color transitions that highlight bullish and bearish phases based on crossovers and slope changes.
Optional histogram plotting to visualize the spread between the Ergodic line and its signal line for early trend-shift detection.
This indicator works best on swing or trend-following timeframes (e.g., 1H–1D) and can be used to:
Confirm trend direction before entries,
Filter false breakouts, or
Spot momentum divergence near key support/resistance zones.
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.