OPEN-SOURCE SCRIPT

Ergodic Oscillator Refactored

198
✅ Features
Fully customizable Ergodic Oscillator

5 Entry modes via dropdown:

Zero Line Cross

Ergodic/MA Cross

Overbought/Oversold + Signal Cross

Histogram Zero Line

Combined Histogram & Zero Line

Optional Only Cross toggle (true = ta.crossover, false = simple >)

Heartbeat-style data window plots (1 for long, -1 for short)

Optional background highlight on entries

Histogram column chart

Visual trend fill between lines

🧠 Settings
Setting Description
Use ERGO Toggles ERGO logic on/off
Inverse Inverts long/short signals
Only Cross If true, uses crossover/crossunder logic; else > and <
Entry Condition Select entry method based on Ergodic and histogram behavior
Show Histogram Toggles histogram bars below indicator
Show Background Colors chart background on valid entry (green/red)

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.