通达信综合分析平台主图指标公式

[复制链接]
查看109 | 回复0 | 2021-8-19 12:03:02 | 显示全部楼层 |阅读模式

以下是通达信综合分析平台主图指标公式(无源码的请下载附件导入)

N:=12;
 TTJ:=BARSLAST((VOL=HHV(VOL,N)));
 K0:=TTJ=0;
 K1:=SUMBARS(K0,1);
 K2:=SUMBARS(K0,2);
 K3:=SUMBARS(K0,3);
 K4:=SUMBARS(K0,4);
 K5:=SUMBARS(K0,5);
 K6:=SUMBARS(K0,6);
 K7:=SUMBARS(K0,7);
 K8:=SUMBARS(K0,8);
 K9:=SUMBARS(K0,9);
 K10:=SUMBARS(K0,10);
 C1:=REF(C,K1-1);
 AA:STICKLINE(K1<=30,REF(C,K1-1)*1.002,REF(C,K1-1),10,0),COLORYELLOW;
 BA:STICKLINE(K2<=30,REF(C,K2-1)*1.002,REF(C,K2-1),10,0),COLORWHITE;
 CA:STICKLINE(K3<=30,REF(C,K3-1)*1.002,REF(C,K3-1),10,0),COLORBLUE;
 DA:STICKLINE(K4<=30,REF(C,K4-1)*1.002,REF(C,K4-1),10,0),COLORBLUE;
 EA:STICKLINE(K5<=30,REF(C,K5-1)*1.002,REF(C,K5-1),10,0),COLORBLUE;
 FA:STICKLINE(K6<=30,REF(C,K6-1)*1.002,REF(C,K6-1),10,0),COLORBLUE;
 GA:STICKLINE(K7<=30,REF(C,K7-1)*1.002,REF(C,K7-1),10,0),COLORBLUE;
 HA:STICKLINE(K8<=30,REF(C,K8-1)*1.002,REF(C,K8-1),10,0),COLORBLUE;
 IA:STICKLINE(K9<=30,REF(C,K9-1)*1.002,REF(C,K9-1),10,0),COLORBLUE;
 JA:STICKLINE(K10<=30,REF(C,K10-1)*1.002,REF(C,K10-1),10,0),COLORBLUE;
 A:=BARSLAST(BARSLAST(C<MA(C,10))=4);
 IF(EVERY(C>MA(C,10),A+1),REF(C,A),DRAWNULL);
 

711488027.png

711488027.png

回复

使用道具 举报

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

本版积分规则