Watch how to download trading robots for free
Find us on Telegram!
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
Indicators

KDJ Indicator - indicator for MetaTrader 5

Published by:
Vladimir Karputov
Views:
6564
Rating:
(19)
Published:
2018.01.22 09:53
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The author of the idea: yyy999, the mq5 code author: barabashkakvn.


Calculation principle

MaxHigh (the highest high) and MinLow (the lowest Low) are determined in the specified KdjPeriod interval. Thus, MaxHigh minus MinLow will be equal to the height of the selected KdjPeriod interval. Next, we determine the distance between the Close price of the current bar and MinLow as a percentage of the height of the selected KdjPeriod interval. It is the base RSV line.

By averaging the base RSV line with the M1 period, we obtain a smoothed K line. By averaging the smoothed K line with the M2 period, we obtain a smoothed D line. The difference between the K line and the D line gives the KDC histogram.

Compare KDJ Indicator and MACD:

KDJ Indicator

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

GreenTrade GreenTrade

The Expert Advisor trades based on iMA and iRSI signals. Values of iMA on four bars are compared. Indices of these bars can be optimized.

Billy expert Billy expert

A trading strategy "three bars down, Stochastic up".

KDJ Expert Advisor KDJ Expert Advisor

An Expert Advisor based on "KDJ Indicator"

Daily BreakPoint Daily BreakPoint

A daily bar breakout strategy.