K1:=EMA(C,3);K2:=EMA(C,5);K3:=EMA(C,8);K4:=EMA(C,13);
K5:=EMA(C,15);K6:=EMA(C,30);K7:=EMA(C,35);K8:=EMA(C,40);
K9:=EMA(C,45);K10:=EMA(C,50);K11:=EMA(C,60);
IF(K1>REF(K1,3),K1,DRAWNULL),COLOR0000FF;
IF(K1<REF(K1,3),K1,DRAWNULL),COLOR00FF00;
IF(K2>REF(K2,3),K2,DRAWNULL),COLOR0000FF;
IF(K2<REF(K2,3),K2,DRAWNULL),COLOR00FF00;
IF(K3>REF(K3,3),K3,DRAWNULL),COLOR0000FF;
IF(K3<REF(K3,3),K3,DRAWNULL),COLOR00FF00;
IF(K4>REF(K4,3),K4,DRAWNULL),COLOR0000FF;
IF(K4<REF(K4,3),K4,DRAWNULL),COLOR00FF00;
{ _通达信股票指标公式}
IF(K5>REF(K5,3),K5,DRAWNULL),COLOR0000FF;
IF(K5<REF(K5,3),K5,DRAWNULL),COLOR00FF00;
IF(K6>REF(K6,3),K6,DRAWNULL),COLOR0000FF;
IF(K6<REF(K6,3),K6,DRAWNULL),COLOR00FF00;
IF(K7>REF(K7,3),K7,DRAWNULL),COLOR0000FF;
IF(K7<REF(K7,3),K7,DRAWNULL),COLOR00FF00;
IF(K8>REF(K8,3),K8,DRAWNULL),COLOR0000FF;
IF(K8<REF(K8,3),K8,DRAWNULL),COLOR00FF00;
IF(K9>REF(K9,3),K9,DRAWNULL),COLOR0000FF;
IF(K9<REF(K9,3),K9,DRAWNULL),COLOR00FF00;
IF(K10>REF(K10,3),K10,DRAWNULL),COLOR0000FF;
IF(K10<REF(K10,3),K10,DRAWNULL),COLOR00FF00;
IF(K11>REF(K11,3),K11,DRAWNULL),COLOR0000FF;
IF(K11<REF(K11,3),K11,DRAWNULL),COLOR00FF00;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)