MOMENTUM & OSCILLATORS
Momentum
How much the price has changed over a set stretch, as a fraction.
spec id: momentumlength (default 10)
What does Momentum measure?
How much the price has changed over a set stretch, as a fraction. Positive means it is higher than it was, negative lower.
How is Momentum calculated?
Take today's close, subtract the close from 10 candles ago, and divide by that old close. 0.05 means up 5%.
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 Momentum in a bot?
In the builder, add an indicator of type momentum (parameters: length, default 10). Its value becomes an operand 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
- Polarized frac effHow efficiently price is travelling, with a sign attached: strongly positive means a clean move up, strongly negative a clean move down, near zero means wandering.
- Pretty good oscillatorHow far price has stretched from its average, measured in units of its own typical daily move.
- Price momentum oscA smoothed momentum line built to be comparable across different stocks, so you can rank a whole watchlist by it.
- Percentage price oscMACD in percent instead of dollars — which means a $20 stock and a $600 stock can finally be compared on the same scale.
Or browse all 158 indicators in the full library.