The ultimate porfolio management solution.
For Portfolio Manager Click Here
Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
#1 Selling Amibroker Plugin featuring:
Find Out More Here
Advanced Adaptive Indicators
Advanced Pattern Exploration
And Much More ....
oscillator, amibroker, stochastic
The KDJ indicator is a form of the Stochastic. The difference is an extra line called the %J line. The %J line is the divergence of the %D value from the %K. The value of %J can go beyond 0 or 100 for %K and %D lines on the chart.
Trading Signals: A negative value of %J with %K and %D at the bottom range indicates a strong over sold condition. When the %J value goes above 100, with %K and %D at the top range, indicates a strong over bought condition.
Settings: Default: 14 period, 3 period, 1 period
By Barry Scarborough – razzbarry [at] imageview.us
almost 11 years ago
almost 9 years ago
Copy & Paste Friendly
printf("The KDJ indicator is actually a derived form of the Stochastic with the
only difference being an extra line called the J line." +
" The J line represents the divergence of the %D value from the %K. The value
of J can go beyond [0, 100] for %K and %D lines on the chart." +
"\nTrading Signals: A negative value of J combined with %K and %D at the bottom
range indicates a strong over sold signal." +
" Likewise, when the J value goes above 100, combined with %K and %D at the top
range, it will indicate a strong over bought signal. " +
"\nSettings: Default: 14 period, 3 period, 1 period");
N = param("Range", 9, 2, 20, 1);
M1 = param("%K Period", 3, 1, 20, 1);
M2 = param("%D Period", 3, 1, 20, 1);
RSV = (CLOSE - LLV(LOW, N))/(HHV(HIGH, N)- LLV(LOW, N)) * 100;
K = EMA(RSV, M1);
D = EMA(K, M2);
J = 3 * K-2 * D;
plot(J, "Stochastic %J", colorred);
plot(D, "Stochastic %D", colorblue);
plot(K, "Stochastic %K", colorgreen);
plot(80, "", colorblack);
plot(20, "", colorblack);
Please login here to leave a comment.