找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
查看: 552|回复: 6

指标分享:kdj优化

[复制链接]
发表于 2016-5-12 11:15 | 显示全部楼层 |阅读模式

马上注册,享用更多功能,让你轻松玩转本论坛。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
月K金:IF(CROSS("KDJ.K#MONTH","KDJ.D#MONTH"),90,0),COLORYELLOW,LINETHICK1;
IF(("KDJ.K#MONTH">"KDJ.D#MONTH"),60,0),COLORYELLOW,CIRCLEDOT;
STICKLINE(CROSS("KDJ.K#MONTH","KDJ.D#MONTH"),100,0,3,0),COLORYELLOW;
月K死:IF(CROSS("KDJ.D#MONTH","KDJ.K#MONTH"),90,0),COLORGREEN,LINETHICK1;
IF(("KDJ.K#MONTH"<"KDJ.D#MONTH"),60,0),COLORGREEN,CIRCLEDOT;
STICKLINE(CROSS("KDJ.D#MONTH","KDJ.K#MONTH"),100,0,3,0),COLORGREEN;
周K金:IF(CROSS("KDJ.K#WEEK","KDJ.D#WEEK"),70,0),COLORRED;
IF(("KDJ.K#WEEK">"KDJ.D#WEEK"),30,0),COLORRED,CROSSDOT;
STICKLINE(CROSS("KDJ.K#WEEK","KDJ.D#WEEK"),100,0,1,0),COLORRED;
周K死:IF(CROSS("KDJ.D#WEEK","KDJ.K#WEEK"),70,0),COLORBLUE,LINETHICK1;
IF(("KDJ.K#WEEK"<"KDJ.D#WEEK"),30,0),COLORBLUE,CROSSDOT;
STICKLINE(CROSS("KDJ.D#WEEK","KDJ.K#WEEK"),100,0,1,0),COLORBLUE;

RSV60:=(CLOSE-LLV(LOW,9/2))/(HHV(HIGH,9/2)-LLV(LOW,9/2))*100;
K60:=SMA(RSV60,3,1);
D60:=SMA(K60,3,1);
J60:=3*K60-2*D60;
STICKLINE(K60>=D60,5,0,3,0),COLORRED;
STICKLINE(K60<D60,5,0,3,1),COLOR696969;

RSV30:=(CLOSE-LLV(LOW,9/4))/(HHV(HIGH,9/4)-LLV(LOW,9/4))*100;
K30:=SMA(RSV30,3,1);
D30:=SMA(K30,3,1);
J30:=3*K30-2*D30;
STICKLINE(K30>=D30,90,87,3,0),COLORRED;
STICKLINE(K30<D30,90,87,3,1),COLOR696969;
N:=9; M1:=3; M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),COLORFFFFFF,LINETHICK1;
D:SMA(K,M2,1),COLOR0080FF,LINETHICK1;
J:3*K-2*D,COLORFF00FF,LINETHICK1;
IF(J>100,J,DRAWNULL),COLORFFFF00,LINETHICK2;
IF(J<0,J,DRAWNULL),COLORGREEN,LINETHICK2;
DRAWICON(CROSS(J,D),D,1);
DRAWICON(CROSS(D,J),D,2);
0,COLOR008000,DOTLINE;
100,COLOR808040,DOTLINE;

发表于 2016-5-12 20:48 | 显示全部楼层
谢谢楼主分享!
回复

使用道具 举报

发表于 2016-5-12 20:49 | 显示全部楼层
学习学习学习
回复

使用道具 举报

发表于 2019-10-17 07:44 | 显示全部楼层
感谢楼主分享
回复

使用道具 举报

发表于 2020-1-29 11:18 | 显示全部楼层
感谢楼主分享
回复

使用道具 举报

发表于 2022-2-25 06:40 | 显示全部楼层
谢楼主分享!
回复

使用道具 举报

发表于 2022-2-25 08:11 | 显示全部楼层

谢楼主分享!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|股海明灯官网 ( 京ICP备18020431号 )

GMT+8, 2024-11-22 20:54 , Processed in 0.097498 second(s), Total 11, Slave 11 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表