Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
6921
Rating:
(12)
Published:
2018.08.23 13:31
KDJ.mq5 (11.28 KB) view
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

One of possible interpretations: J line crosses the Threshold level. Up - search the possibility for selling, down - search for the appropriate moment to buy.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21530

IdeaTrend IdeaTrend

IdeaTrend is meant for checking a trend defining idea.

Separate Trade 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

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

MA Lag Reduce indicator is an SMA with the ability to set the delay elimination factor.