Join our fan page
- Views:
- 8976
- Rating:
- Published:
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
KDJ oscillator defines when it is necessary to search for market entry conditions.
It has four inputs:
- Period - calculation period;
- KFactor - K line calculation ratio;
- DFactor - D line calculation ratio;
- Threshold - signal line.
Calculation:
K = KFactor * PrevK + DFactor * RSV D = KFactor * PrevD + DFactor * K J = 3.0*D - 2.0*K
where:
RSV = ((Close – Lowest Low) / (Highest high – Lowest low)) * 100
Lowest Low, Highest High - the lowest and highest prices within the Period interval

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21530
IdeaTrend
IdeaTrend is meant for checking a trend defining idea.
Separate Trade
iATR (Average True Range, ATR) and iStdDev (Standard Deviation, StdDev) indicators are configured for crossing of the two iMAs (Moving Average, MA) plus for Buy and Sell separately.
KDJ_Averages
KDJ Averages oscillator defines when it is necessary to search for market entry conditions. Unlike KDJ, it is calculated using standard smoothing methods. In case of the default settings, its J line is slightly faster.
MA_Lag_Reduce
MA Lag Reduce indicator is an SMA with the ability to set the delay elimination factor.