STICKLINE(100,100,100,10,0),COLORFFFF00;
STICKLINE(10,0,0,10,0),COLORFFFF00;
短期线:=100-(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))*100;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
长期线:A+100,COLOR7F00FF,NODRAW;
中期线:D+100,COLORFFFFFF,NODRAW;
DRAWBAND(中期线,RGB(100,0,50),长期线,RGB(256,96,96));
wr14:100-(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))*100,COLOR00FF00;
WR34:100-(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,COLOR00FFFF,LINETHICK1;
WR89:100-(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*100,COLOR0000FF,LINETHICK1;
顶部区域:=(中期线<REF(中期线,1) AND REF(中期线,1)>80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 长期线>60 AND 短期线<83.5
AND 短期线<中期线 AND 短期线<长期线+4,COLORGREEN;
顶部:=FILTER(顶部区域,4);
STICKLINE( {见顶 OR} 顶部,5,0,20,1 ),COLORRED,LINETHICK2;
底部区域:=(长期线<12 AND 中期线<8 AND (短期线<7.2 OR REF(短期线,1)<5) AND (中期线>REF(中期线,1) OR 短期线>REF(短期线,1)))
OR (长期线<8 AND 中期线<7 AND 短期线<15 AND 短期线>REF(短期线,1)) OR (长期线<10 AND 中期线<7 AND 短期线<1);
STICKLINE( 底部区域,105,100,20,1),COLOR00FFFF;
{ _股票通达信指标公式}
低位金叉:=50*(长期线<15 AND REF(长期线,1)<15 AND 中期线<18 AND 短期线>REF(短期线,1) AND crOSS(短期线,长期线) AND 短期线>中期线
AND (REF(短期线,1)<5 OR REF(短期线,2)<5 ) AND (中期线>=长期线 OR REF( 短期线,1)<1 ));
STICKLINE(低位金叉,-5,105,0,1),COLOR7F00FF;
{aroon}
牛34:(34-HHVBARS(H,34+1))/34*100,COLORFFCC00,LINETHICK2;
熊34:100-(34-LLVBARS(L,34+1))/34*100,COLORFFCC00,LINETHICK2;
牛89:(89-HHVBARS(H,89+1))/89*100,COLORFF00FF,LINETHICK2;
熊89:100-(89-LLVBARS(L,89+1))/89*100,COLORFF00FF,LINETHICK2;
STICKLINE(牛34=100,110,100,1,0),COLOR00FFFF;
STICKLINE(熊34=0,0,-10,1,0),COLOR00FFFF;
STICKLINE(牛89=100,110,100,1,0),COLORFF00FF;
STICKLINE(熊89=0,0,-10,1,0),COLORFF00FF;

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