kocurekc

Pine Script, KDJ Indicator, Free

AMEX:SPY   SPDR S&P 500 ETF TRUST
This indicator was originally noted in the tradingview help forums. Noted from "Google's Finance Site," but they use a modified (using EMA instead of traditional SMA ) slow stochastic with the %J equation (%J =3 * D – 2 * K ). I can't find any references to the origins of the %J equation, but it is noted in several other online sites.
https://getsatisfaction.com/tradingview/...

So, I've taken the indicator and made some options, upgrades and published it for free!. The basic foundation of the code is still the %J equation. I've included an option to use either the EMA (default) and the SMA (more traditional slow stochastic ). You can also adjust the lookback period, %D smoothing, and I've included the option to smooth the %J. This last option slows the indicator down a little, but really cuts out the choppiness of the %J crossings.

Get the source here: http://pastebin.com/CVrVn9F6

Installation video by @ChrisMoody here : http://vimeopro.com/user14689865/trading...

Comments

Google Finance seems to use a Slow Stochastic, with Wilder version of Exponential Weighted Moving Average, with D period of 3, and %J=3 * D – 2 * K
For ThinkorSwim users, 1) Copy StochasticSlow study 2) edit new study, adding line a end of code, Jsto = 3 * SlowD - 2 * SlowK;
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out