以下是通达信KDJ选股公式源码(无源码的请下载附件导入)
A:=KDJ.D<20;{D赋值<20}
B:=CROSS(KDJ.J,KDJ.D);{金叉}
C:=KDJ.J#WEEK<20;{周线KDJ的J值20以下}
D:=CROSS(KDJ.K#WEEK,KDJ.D#WEEK);{周J向上}
E:=KDJ.J#MONTH<25;{月KDJ在低处}
F:=KDJ.J#MONTH>REF(KDJ.D#MONTH,20);{月KDJ向上}
A AND B AND C AND D AND E OR F;
|