kdj的日周月同共振金叉公式
K:"KDJ.K"(89,3,3),COLOR00FF00;
D:"KDJ.D"(89,3,3),COLOR00FF00,LINETHICK2;
K:"KDJ.K"(27,3,3),COLORRED;
D:"KDJ.D"(27,3,3),COLORRED,LINETHICK2;
K:"KD.K"(5,3,3),COLORWHITE;
D:"KD.D"(5,3,3),COLORWHITE,LINETHICK2;
日金叉:IF(CROSS(K,D),50,0),COLORFFFFFF;
DRAWTEXT(日金叉,50,'日叉'),COLORFFFFFF;
周金叉:IF(CROSS(K,D),30,0),COLORRED;
DRAWTEXT(周金叉,30,'周叉'),COLORRED;
月金叉:IF(CROSS(K,D),20,0),COLOR0080FF;
DRAWTEXT(月金叉,20,'月叉'),COLORYELLOW;
{KD30以下多次金叉}
JM:=CROSS("KDJ.K"(5,3,3),"KDJ.D"(5,3,3));
JMCOUNT:=COUNT(JM,BARSLAST("KDJ.D"(5,3,3)>=30));
JMTJ:=28*("KDJ.D"(5,3,3)<30 AND COUNT(JMCOUNT=1,21)=1);
DRAWTEXT (JMTJ,70,''),COLORWHITE;
JMTJ2:=28*("KDJ.D"(5,3,3)<30 AND COUNT(JMCOUNT=2,21)=1);
DRAWTEXT (JMTJ2,70,''),COLORYELLOW;
JMTJ3:=28*("KDJ.D"(5,3,3)<30 AND COUNT(JMCOUNT=3,21)=1);
DRAWTEXT (JMTJ3,70,''),COLORYELLOW;
JMTJ4:=28*("KDJ.D"(5,3,3)<30 AND COUNT(JMCOUNT=4,21)=1);
DRAWTEXT (JMTJ4,70,''),COLORYELLOW;
JMTJ5:=28*("KDJ.D"(5,3,3)<30 AND COUNT(JMCOUNT=5,21)=1);
DRAWTEXT (JMTJ5,70,''),COLORYELLOW;

预警公式

K:="KDJ.K"(27,3,3);
D:="KDJ.D"(27,3,3);
K:="KD.K"(5,3,3);
D:="KD.D"(5,3,3);
日金叉:=IF(CROSS(K,旗舰28源码D),50,0);
周金叉:=IF(CROSS(K,D),30,0);
YUJ:=日金叉 OR 周金叉;
LB:=VOL/MA(REF(VOL,1),5);
XG:YUJ AND LB>2 AND V/CAPITAL*100>3 AND V/CAPITAL*100<15;

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。