以下是通达信指标玉女天河主图源码
N:=15;N1:=15;
H1:EMA(CLOSE,N);
H2:EMA(H1,N1);
LH(牛熊界):EMA(CLOSE,250),CIRCLEDOT,COLORRED;
VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2:=SMA(VAR1,5,1);
VAR3:=SMA(VAR2,8,1);
VAR4:=CROSS(VAR2,VAR3) AND VAR3<20;
VAR5:=CLOSE > LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND VAR4;
VAR6:=IF(CLOSE > 1000,VAR4,VAR5);
DRAWICON(CROSS(H1,H2) AND CLOSE < EMA(CLOSE,60),LOW,1);
DRAWICON(VAR6,H,2);
上轨: SMA(AMOUNT/VOL/100,N,1)*1.13 ,COLORRED;
超买: SMA(AMOUNT/VOL/100,N,1)*1.21,CROSSDOT,COLORYELLOW;
下轨: SMA(AMOUNT/VOL/100,N,1)*0.87,COLORRED;
超卖: SMA(AMOUNT/VOL/100,N,1)*0.79,CROSSDOT,COLORYELLOW;
STICKLINE(H1 > H2,H1,H2,1,1),COLORRED;
STICKLINE(H1 < H2,H1,H2,1,1),COLORGREEN;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)