OPEN-SOURCE SCRIPT

BH Ergodic (TSI-style) [v5]

124
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.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.