JMA
By LuxAlgoMar 27, 2026
JMA plots the Jurik Moving Average, the adaptive smoother that pursues maximum smoothness for minimum lag. Because the original JMA algorithm was licensed commercially and never published, this build implements the standard published three-stage approximation with the documented length, phase, and power mapping — and says so. The line colors itself by slope, and an optional SMA or EMA of the same length overlays for calibration.
How to Trade the JMA?
- Slope color: rising reads bullish, falling bearish — the slope turning is the event most systems key on, and both turns fire alerts.
- Flat stretch: the line holds nearly level through congestion, so a horizontal JMA is a usable no-trend flag.
- Price crossings: standard crossover grammar with a smoother, lower-lag line; markers are off by default but the alerts fire regardless.
- Gradient fill width: the fill visualizes extension — price sprinting away from a flat line signals stretch rather than confirmed trend.
Against a comparison average of the same length, the JMA should catch genuine swings sooner while shrugging off more of the noise in between.
JMA Settings
- Source (default close): the smoothed series; feeding an oscillator or volume series here covers the smoothing-core use.
- Length (default 7): the customary JMA default — longer is smoother and slower.
- Phase (default 0): repositions the lag-overshoot trade-off across −100 to +100; no setting removes the trade-off.
- Power (default 2): how aggressively the filter adapts — higher hugs price through fast moves, lower holds flatter in congestion.
- Comparison Average (default None): the optional SMA or EMA of the same length and source.
- Slope Trend Coloring (default enabled), Price / JMA Gradient Fill (default enabled), and Price Crossing Markers (default disabled) round out the style group.
Frequently Asked Questions
Is this the original Jurik algorithm?
No public version is — the algorithm was licensed and never released, so every openly available JMA is a reconstruction. This build uses the standard published approximation; reconstructions can differ slightly.
How does JMA compare to the Laguerre Filter?
Both chase smoothness without the usual lag cost, but the Laguerre Filter reaches it through a short cascade of stages tuned by a single damping parameter, while JMA adapts bar by bar with separate length, phase, and power controls.
What does the Phase input actually do?
It repositions the lag-overshoot trade-off: higher values make the line turn sooner but overshoot more at reversals, while lower values damp the overshoot and add lag. Zero is the neutral starting point.
The Library is free. Quant makes it yours.
Pull any concept or indicator into Quant: rebuild it, retune it, or turn it into a backtested strategy of your own.
