以下是通达信很准的黄金坑指标公式

VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
 VARK2:=REVERSE(VARK1);
 VARK3:=SMA(VARK1,3,1);
波段王:SMA(VARK3,3,1),COLORRED,LINETHICK2;
波段鬼:SMA(波段王,2.5,1),COLORBLUE,LINETHICK2;
 K:=波段王>REF(波段王,1);
 IF(K-1,波段王,DRAWNULL),COLORGREEN,LINETHICK2;
 D:=波段鬼>REF(波段鬼,1);
 IF(D-1,波段鬼,DRAWNULL),COLORGREEN,LINETHICK2;
 RSV1:=(CLOSE-LLV(LOW,42))/(HHV(HIGH,42)-LLV(LOW,42))*100;
 Y2:SMA(RSV1,5,1),COLORWHITE,LINETHICK2;
 Y3:SMA(Y2,10,1),COLORYELLOW,LINETHICK2;
超卖:18,COLORWHITE;
超买:85,COLORBLUE;
 VAR81:=MA(CLOSE,27);
 VAR91:=(CLOSE-VAR81)/VAR81*100;
 VARA1:=MA(VAR91,2);
 VARB1:=BARSLAST(CROSS(-10,VARA1)=1);
 VARC1:=BARSLAST(CROSS(VARA1,10)=1);
 VARD1:=VARA1<-10 AND VARB1>3;
 VARE1:=VARA1>10 AND VARC1>3;
黄金坑: IF(VARD1,VARA1,0),LINESTICK ,LINETHICK2, COLORYELLOW;
 DRAWKLINE(-LOW, -OPEN, -HIGH, -CLOSE);
 MA5:-MA(CLOSE,5),COLORWHITE,LINETHICK2;
 MA14:-MA(CLOSE,14),COLORYELLOW,LINETHICK2;
 MA24:-MA(CLOSE,24),COLORMAGENTA,LINETHICK3;
 MA120:-MA(CLOSE,120),COLORGREEN,LINETHICK3;DRAWKLINE(-LOW, -OPEN, -HIGH, -CLOSE);

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