OPEN-SOURCE SCRIPT
Trinity KST (known sure thing) Pro

This version is the **modern, low-lag evolution** of Martin Pring’s original 1990s KST.
Key differences from the classic KST
- Original uses only simple moving averages (SMA) on the four ROCs → quite a bit of lag.
- This version lets you replace every SMA with **ALMA, HEMA, TEMA, or EMA** → dramatically reduces lag while keeping the signal smooth and reliable.
- ALMA + progressive offset (0.90–0.97) is especially powerful because longer-term ROCs react almost as fast as the short ones without getting noisy.
- Histogram, clean labels inside the oscillator pane, alerts, background tint — all the quality-of-life stuff the original never had.
How traders actually use it in >2026
1. Primary signal: KST crosses above/below the red signal line = momentum shift (bullish/bearish).
2. Zero-line cross = confirmation of trend change (especially strong on daily/weekly).
3. Divergences between price and KST = high-probability reversals (works great on BTC, SPX, NAS100).
4. Histogram turning from red to green (or vice-versa) = early warning before the actual line cross.
Best settings I and many others run live right now (no table, just the winners)
- Crypto & Nasdaq: **ALMA + aggressiveness 0.93–0.96** → fastest valid signals.
- Forex pairs & Gold: **HEMA** (zero-lag Hull) → super clean, almost no whipsaw.
- Broad stock indices (SPX, DAX, etc.): **ALMA 0.91–0.93** or **TEMA** → perfect middle ground.
- Classic conservative daily/weekly swings: leave it on **SMA** (original Pring) or ALMA 0.88–0.90.
In short: same reliable KST logic you already know, but now it reacts 6–12 bars earlier and with far fewer fakeouts — exactly what you need in today’s fast markets.
Key differences from the classic KST
- Original uses only simple moving averages (SMA) on the four ROCs → quite a bit of lag.
- This version lets you replace every SMA with **ALMA, HEMA, TEMA, or EMA** → dramatically reduces lag while keeping the signal smooth and reliable.
- ALMA + progressive offset (0.90–0.97) is especially powerful because longer-term ROCs react almost as fast as the short ones without getting noisy.
- Histogram, clean labels inside the oscillator pane, alerts, background tint — all the quality-of-life stuff the original never had.
How traders actually use it in >2026
1. Primary signal: KST crosses above/below the red signal line = momentum shift (bullish/bearish).
2. Zero-line cross = confirmation of trend change (especially strong on daily/weekly).
3. Divergences between price and KST = high-probability reversals (works great on BTC, SPX, NAS100).
4. Histogram turning from red to green (or vice-versa) = early warning before the actual line cross.
Best settings I and many others run live right now (no table, just the winners)
- Crypto & Nasdaq: **ALMA + aggressiveness 0.93–0.96** → fastest valid signals.
- Forex pairs & Gold: **HEMA** (zero-lag Hull) → super clean, almost no whipsaw.
- Broad stock indices (SPX, DAX, etc.): **ALMA 0.91–0.93** or **TEMA** → perfect middle ground.
- Classic conservative daily/weekly swings: leave it on **SMA** (original Pring) or ALMA 0.88–0.90.
In short: same reliable KST logic you already know, but now it reacts 6–12 bars earlier and with far fewer fakeouts — exactly what you need in today’s fast markets.
Skrip sumber terbuka
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Penafian
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.
Skrip sumber terbuka
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Penafian
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.