MOMENTUM & OSCILLATORS
Stochastic momentum
A stochastic that measures distance from the MIDDLE of the range rather than the bottom, so it swings around zero instead of 50.
spec id: smioutputs: smi · signallength (default 10)
What does Stochastic momentum measure?
A stochastic that measures distance from the MIDDLE of the range rather than the bottom, so it swings around zero instead of 50. It is smoother and less twitchy.
How is Stochastic momentum calculated?
Find the highest high and lowest low of the last 10 candles, and see how far the close sits from the midpoint between them. Smooth that twice, do the same to the range itself, and express one as a percentage of the other.
Written by reading the engine’s real computation, not a textbook — where the two differ, the page describes what actually runs.
How do I use Stochastic momentum in a bot?
In the builder, add an indicator of type smi (parameters: length, default 10). Its output series — smi, signal — become operands you can compare in any entry or exit rule. The engine grades the whole rule honestly: real fills, no look-ahead, half the history held back.
Related indicators
- Schaff trend cycleA 0-100 trend-cycle meter built to catch turns earlier than MACD.
- StochasticA 0-100 meter for where today's close sits inside the recent trading range.
- Fast stochasticThe raw, unsmoothed stochastic.
- Stochastic RSIA stochastic run on RSI rather than on price.
Or browse all 158 indicators in the full library.