KDJ多周期金叉(KDJ月周日金叉)大智慧版本
月K:"KDJ.K#MONTH",Color0080FF;
月D:"KDJ.D#MONTH",Color0080FF,linethick2;
周K:"KDJ.K#WEEK",colorred;
周D:"KDJ.D#WEEK",colorred,linethick2;
日K:"kd.k",COLORWHITE;
日D:"kd.d",COLORWHITE,linethick2;
周金叉:IF(CROSS(周K,周D),50,0),colorred;
DRAWTEXT(周金叉,50,'周金叉'),colorred;
月金叉:IF(CROSS(月K,月D),60,0),Color0080FF;
DRAWTEXT(月金叉,60,'月金叉'),coloryellow;
{KD在30以下多次金叉}
Jm:=CROSS("kd.k","kd.d");
JmCOUNT:=COUNT(Jm,BARSLAST("kd.d">=30));
Jmtj:=28*("kd.d"<30 and Count(JmCount=1,21)=1);
Drawtext(Jmtj,70,'①'),COLORWHITE;
Jmtj1:=28*("kd.d"<30 and Count(JmCount=2,21)=1);
Drawtext (Jmtj,70,'②'),COLORYELLOW;
Jmtj2:=28*("kd.d"<30 and Count(JmCount=3,21)=1);
Drawtext (Jmtj,70,'③'),COLORYELLOW;
Jmtj3:=28*("kd.d"<30 and Count(JmCount=4,21)=1);
Drawtext (Jmtj,70,'④'),COLORYELLOW;
Jmtj4:=28*("kd.d"<30 and Count(JmCount=5,21)=1);
Drawtext (Jmtj,70,'⑤'),COLORYELLOW;
- 上一篇公式:三大主流理论指标(波浪理论 道氏理论 江恩理论)
- 下一篇公式:淘宝上卖1000元/年的远见1号和远见2号大智慧公式