Jurik Moving Average (JMA): A New Way to Look At Averages

Jurik Moving Average (JMA): A New Way to Look At Averages

The Jurik Moving Average (JMA) is a technical analysis tool developed by Mark Jurik, a renowned trader and researcher in the field of financial market analysis. The JMA is an adaptive moving average that aims to reduce lag and improve responsiveness to price changes compared to traditional moving averages. By incorporating volatility and phase shift components, the JMA seeks to provide traders with a more accurate and timely representation of market trends.

Mark Jurik introduced the JMA in the late 1990s as a part of his broader work on adaptive trading systems and technical analysis. Since then, the JMA has gained popularity among traders and analysts due to its unique properties and potential for generating effective trading signals. The JMA's significance in technical analysis lies in its ability to adapt to changing market conditions, making it a valuable tool for trend identification and trading decision support.

Calculation of the Jurik Moving Average

The JMA formula incorporates several key components, including price input, smoothing factor, volatility ratio, and phase shift. The price input is the basic data series used for the calculation, typically the closing price of a security or financial instrument. The smoothing factor determines the weight given to recent price data, with higher values resulting in a faster response to price changes.

The volatility ratio is a measure of price volatility used to adjust the smoothing factor dynamically. As volatility increases, the JMA becomes more responsive to price changes, while lower volatility leads to a smoother output. The phase shift component helps to align the JMA with the price action, reducing the lag often associated with traditional moving averages.

The JMA's adaptive smoothing mechanism is a key feature that sets it apart from other moving averages. By adjusting the smoothing factor based on volatility, the JMA can adapt to changing market conditions, becoming more responsive during periods of high volatility and smoother during quieter market phases. This adaptability helps to reduce lag and improve the timely identification of trend changes.

Compared to simple moving averages (SMA) and exponential moving averages (EMA), the JMA offers a more sophisticated approach to price smoothing. While SMAs and EMAs have fixed smoothing factors, the JMA's adaptive mechanism allows it to adjust its sensitivity to price changes dynamically. This can lead to more accurate trend identification and fewer false signals, particularly in markets with varying volatility.

The Jurik Moving Average (JMA) Algorithm Revealed

The Jurik Moving Average (JMA) has been a popular and intriguing technical analysis tool among traders for years. Developed by Mark Jurik, the JMA has gained a reputation for its unique adaptive smoothing and ability to reduce lag while responding quickly to price changes. In this article, we will delve into the recently revealed algorithm behind the JMA, as described by Alexander Smirnov and others from the Russian magazine 'Spekulant'.

The Triple Adaptive Filter

At its core, the JMA can be classified as a triple adaptive filter with unique Jurik smoothing and a dynamic factor. The Jurik smoothing process consists of three stages:

1. Preliminary smoothing by adaptive EMA:

MA1 = (1-alpha)*Price + alpha*MA1[1]

2. Additional preliminary smoothing by Kalman filter:

Det0 = (Price - MA1)*(1-beta) + beta*Det0[1]

MA2 = MA1 + PR*Det0

3. Final smoothing by unique Jurik adaptive filter:

Det1 = (MA2 - JMA[1]) * (1-alpha)^2 + alpha^2 * Det1[1]

JMA = JMA[1] + Det1


Where:

  • Price is the price series
  • alpha is the dynamic factor (described below)
  • beta is the periodic ratio = 0.45*(Length-1)/(0.45*(Length-1)+2)
  • PR is the Phase Ratio: PR = Phase/100 + 1.5 (if Phase < -100 then PR=0.5, if Phase > 100 then PR=2.5)

The Dynamic Factor

The dynamic factor (alpha) is a key component of the JMA's adaptability. It is calculated as follows:

alpha = beta ^ Pow


Where:

  • pow = rVolty ^ pow1
  • rVolty is the relative price volatility
  • pow1 is the power of relative volatility, calculated as: pow1 = len1 - 2 (if pow1 < 0.5 then pow1 = 0.5)
  • len1 is an additional periodic factor: len1 = Log(SquareRoot(len))/Log(2.0) + 2 (if len1 < 0 then len1 = 0)

The relative price volatility (rVolty) is calculated as:

rVolty = Volty/AvgVolty (if rVolty > len1^(1/pow1) then rVolty = len1^(1/pow1), if rVolty < 1 then rVolty = 1)

Where:

  • Volty is the price volatility based on the calculation of Jurik Bands
  • AvgVolty is the average volatility, calculated using a simplified average in this version of the Jurik Filter

Jurik Bands

The Jurik Bands are a unique aspect of the JMA, differing from other well-known price bands such as Bollinger, Keltner, Donchian, or Fractal bands. The bands are calculated as follows:

If del1 > 0 then UpperBand = Price else UpperBand = Price - Kv*del1

If del2 < 0 then LowerBand = Price else LowerBand = Price - Kv*del2


Where:

  • del1 is the distance between price and upper band: del1 = Price - UpperBand
  • del2 is the distance between price and lower band: del2 = Price - LowerBand
  • Kv is the volatility's factor: Kv = bet ^ SquareRoot(pow2)

The price volatility (Volty) is then calculated as the maximum between Abs(del1) and Abs(del2). If Abs(del1) = Abs(del2), then Volty = 0.

Interpretation and Application of the Jurik Moving Average

Traders can use the JMA to identify trends by observing the relationship between the price action and the moving average. When the price is above the JMA and the JMA is sloping upwards, it indicates a bullish trend. Conversely, when the price is below the JMA and the JMA is sloping downwards, it suggests a bearish trend. Trend reversals can be identified when the price crosses the JMA in the opposite direction of the prevailing trend, while trend confirmations occur when the price and JMA move in the same direction after a brief consolidation or pullback.

The JMA can also be used to identify potential support and resistance levels. During an uptrend, the JMA may act as a dynamic support level, with prices finding buyers on dips towards the moving average. In a downtrend, the JMA can serve as a dynamic resistance level, with prices facing selling pressure on rallies towards the moving average. Combining the JMA with other technical indicators, such as oscillators or momentum indicators, can help to confirm the strength and validity of support and resistance levels.

Several trading signals can be generated using the JMA. Crossover signals occur when the price crosses above or below the JMA, indicating a potential change in trend direction. Bullish crossover signals are generated when the price moves above the JMA, while bearish crossover signals are triggered when the price drops below the JMA. Divergence signals can also be valuable, particularly when the price makes new highs or lows without a corresponding move in the JMA. This divergence suggests a weakening trend and potential reversal.

Timeframe considerations are essential when applying the JMA to trading strategies. Short-term traders may use shorter JMA settings to capture more frequent price movements and generate

more timely signals. Medium-term and long-term traders may prefer longer JMA settings to filter out short-term noise and focus on more significant trend changes. The adaptability of the JMA allows traders to customize the settings based on their preferred trading style and the characteristics of the market they are analyzing.

Advantages and Limitations of the Jurik Moving Average

One of the primary advantages of the JMA is its adaptability to changing market conditions. By adjusting the smoothing factor based on volatility, the JMA can respond more quickly to price changes during volatile periods while providing a smoother output during quieter market phases. This adaptability can help traders identify trends more accurately and reduce the impact of false signals.

Compared to traditional moving averages, the JMA tends to have reduced lag, allowing for more timely identification of trend changes. The adaptive smoothing mechanism and phase shift component help to align the JMA more closely with the price action, potentially improving the responsiveness of trading signals.

The JMA also offers effective smoothing of price noise while maintaining sensitivity to meaningful price changes. By filtering out short-term fluctuations, the JMA can provide a clearer picture of the underlying trend, aiding in decision-making and risk management.

However, like all technical indicators, the JMA has its limitations. During choppy or sideways markets, the JMA may generate false signals, particularly if the price action is characterized by frequent whipsaws or range-bound movement. Traders should be cautious and consider additional confirmation from other indicators or price action analysis before acting on JMA signals in these market conditions.

The JMA also requires careful parameter selection and optimization to ensure its effectiveness. The choice of JMA settings, such as the length and phase shift, can significantly impact the indicator's performance. Traders may need to experiment with different settings to find the optimal parameters for their specific market and trading style.

In extremely volatile or strongly trending markets, the JMA may struggle to keep pace with the rapid price changes. The adaptive mechanism may not be able to adjust the smoothing factor quickly enough, leading to a loss of sensitivity or increased lag. Traders should be aware of these limitations and consider using additional tools or risk management techniques to navigate such market conditions effectively.

Combining the Jurik Moving Average with Other Technical Tools

To enhance the effectiveness of the JMA and improve the reliability of trading signals, traders can combine it with other technical tools. Oscillators, such as the Relative Strength Index (RSI) or the Moving Average Convergence Divergence (MACD), can be used in conjunction with the JMA to assess the strength and momentum of a trend. When the JMA and oscillator signals align, it provides a stronger confirmation of the trend direction and potential trading opportunities.

The JMA can also be incorporated into broader trading systems and strategies. For example, traders may use the JMA as a trend filter, only taking trades in the direction of the prevailing trend as determined by the JMA. Alternatively, the JMA can be used as a trailing stop-loss mechanism, with the moving average serving as a dynamic level to exit trades and protect profits.

Confirming JMA signals with volume analysis and other market indicators can add an extra layer of validation. Increasing volume during JMA-based trend moves suggests strong participation and enhances the credibility of the signal. Divergences between the JMA and volume or other indicators may warn of potential trend exhaustion or reversal.

Real-World Examples and Case Studies

Analyzing successful trades using the Jurik Moving Average can provide valuable insights into its practical application. By studying real-world examples, traders can learn how to interpret JMA signals effectively, identify favorable entry and exit points, and manage risk appropriately. These case studies can also highlight the importance of combining the JMA with other technical tools and market analysis techniques.

Examining common pitfalls and mistakes when using the JMA can help traders avoid costly errors. For example, relying solely on JMA signals without considering the broader market context or failing to adapt the JMA settings to different market conditions can lead to suboptimal results. By learning from the experiences of other traders, both successful and unsuccessful, individuals can refine their approach to using the JMA effectively.

The JMA can be adapted to different markets, such as stocks, forex, commodities, and cryptocurrencies. However, traders should be aware that each market has its unique characteristics and dynamics, which may affect the performance of the JMA. Experimentation and backtesting can help traders determine the most suitable JMA settings and trading strategies for their chosen market.

In conclusion, the Jurik Moving Average is a powerful technical analysis tool that offers traders an adaptive and responsive approach to trend identification and trading signal generation. By incorporating volatility and phase shift components, the JMA aims to reduce lag and improve the accuracy of trend recognition compared to traditional moving averages.

Understanding the strengths and weaknesses of the JMA is crucial for traders seeking to incorporate it into their trading toolkits. While the JMA's adaptability and reduced lag are significant advantages, traders must also be aware of its limitations, particularly in choppy or extremely volatile market conditions. Careful parameter selection and optimization, along with the use of complementary technical tools and risk management techniques, can enhance the effectiveness of the JMA in real-world trading.

Traders are encouraged to experiment with the Jurik Moving Average, test its performance on historical data, and gradually incorporate it into their trading strategies. By combining the JMA with other forms of market analysis, risk management, and a disciplined trading approach, traders can potentially improve their decision-making and overall trading performance.

As with any technical indicator, the Jurik Moving Average should be used as a part of a comprehensive trading plan, rather than relied upon as a standalone solution. Continuous learning, adaptation, and refinement are essential for success in the dynamic world of financial markets.

Back to blog

Leave a comment