以下是通达信量能平台指标

通达信量能平台指标

源码

{n 1 300 21}

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;

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。