通达信评价量化副图指标 源码

[复制链接]
查看361 | 回复0 | 2021-8-28 02:32:22 | 显示全部楼层 |阅读模式

以下是通达信评价量化副图指标 源码(无源码的请下载附件导入)

S1:=EMA(CLOSE,3),COLOR00BB00;
 S2:=EMA(CLOSE,6),COLOR00BB00;
 S3:=EMA(CLOSE,9),COLOR00BB00;
 S4:=EMA(CLOSE,12),COLOR00BB00;
 S5:=EMA(CLOSE,15),COLOR00BB00;
 S6:=EMA(CLOSE,18),COLOR00BB00;
 S7:=EMA(CLOSE,21),COLOR00BB00;
 S8:=EMA(CLOSE,24),COLOR00BB00;
 S9:=EMA(CLOSE,27),COLOR00BB00;
 S10:=EMA(CLOSE,30),COLOR00BB00;
 X1:=IF(S1=REF(S1,1),0,IF(S1>REF(S1,1),1,-1));
 X2:=IF(S2=REF(S2,1),0,IF(S2>REF(S2,1),1,-1));
 X3:=IF(S3=REF(S3,1),0,IF(S3>REF(S3,1),1,-1));
 X4:=IF(S4=REF(S4,1),0,IF(S4>REF(S4,1),1,-1));
 X5:=IF(S5=REF(S5,1),0,IF(S5>REF(S5,1),1,-1));
 X6:=IF(S6=REF(S6,1),0,IF(S6>REF(S6,1),1,-1));
 X7:=IF(S7=REF(S7,1),0,IF(S7>REF(S7,1),1,-1));
 X8:=IF(S8=REF(S8,1),0,IF(S8>REF(S8,1),1,-1));
 X9:=IF(S9=REF(S9,1),0,IF(S9>REF(S9,1),1,-1));
 X10:=IF(S10=REF(S10,1),0,IF(S10>REF(S10,1),1,-1));
评价系数:X1+X2+X3+X4+X5+X6+X7+X8+X9+X10;

925444501.jpg

925444501.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则