OPEN-SOURCE SCRIPT

Jurik Smoothed Stochastic - TraderHalai

Telah dikemas kini
Jurik Smoothed Stochastic

The stochastic indicator has been long used by traders to identify inflection points in the price and to give a direction on Bullish and Bearish bias.

This indicator aims to improve on the plots the %K value smoothed using a Jurik Filter instead of a simple moving average. This allows for a more adaptive K value average price, whilst also providing superior smoothing to traditional moving averages.

As the Jurik Filter is a proprietary and non-open-source implementation, this script uses a common filters library implementation of Jurik MA which is a suitable proxy to the actual Jurik MA filter.

Big thanks to LastGuru for making his version freely available. You can find his version of the Jurik Filters in the credits section below.

%K is the Jurik Smoothed Version of the original Stochastic Formula

%D is calculated using the following formula. This idea was borrowed from John Ehler’s stochastic implementation and can be seen below:

%D = 0.05 + 0.95 * K[1]

Features

  • %K line, Overbought and Oversold level and Mid Line Level
  • Oversold / Overbought reversal indicators and signals - Shown in Red and Green
    syot kilat
  • Bullish / Bearish Divergences – Including Hidden divergences to spot reversals and continuations of trend (Big thanks to the developers of the built-in RSI Divergence indicator) - Shown as below:
    syot kilat
  • Bullish / Bearish crossover of %K with %D - Shown in Cyan and Fuschia
    syot kilat
  • Alerts for all of the above conditions
  • Double Jurik smoothing mode - similar to slow Stochastic


Credits:
Massive shoutout to the following scripts:
  • LastGuru JurikMA implementation (Common Filters Library)
    CommonFilters
  • Divergence Indicator – Built into TradingView and coded by TradingView Developers


This script is published as open source to allow for criticism, further development of this strategy and use by the community. Feel free to use this indicator/source code as you see fit.

Enjoy! :)
Nota Keluaran
Include more visual options for plotting K and D together / disabling labels, and using dots rather than line color.

Big thanks to EltAlt, for these updates and visual improvements and his amazing work.

Credits : tradingview.com/u/EltAlt/

Nota Keluaran
Bug fix for buy cross / sell cross conditions
DivergencefilteredhiddenjuriksmoothedStochastic Oscillator

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian