ZA1:=EMA(C,25);
ZA2:=EMA(ZA1,45);
ZB1:=EMA(C,65);
ZB2:EMA(ZB1,45),COLORYELLOW,LINETHICK2;
DIFF:=(ZA1+ZB2)/2;
DEA:=(ZA2+ZB1)/2;
PARTLINE(DIFF>=DEA,DIFF),LINETHICK2,COLORRED;
PARTLINE(DIFF<DEA,DIFF),LINETHICK1,COLORBLUE;
KA0:=(HHV(C,45)-LLV(C,45))/45;
KA1:=SMA(C,3,1);
KA2:=SMA(C-KA0*3,3,1);
KA3:=SMA(KA1-KA0*3,3,1);
PARTLINE(KA2>=KA3,KA2)COLORMAGENTA,LINETHICK2;
PARTLINE(KA2<KA3,KA2),LINETHICK1,COLORGREEN;
上一篇:通达信短线起涨点指标公式源码 下一篇:通达信简单易行的高成功率副图指标源码