_波段线:EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)
-LLV(LOW,19))*100,5,1),3)NODRAW;
VAR1:=EMA(_波段线,2);
VAR2:=EMA(VAR1,2);
VAR3:=crOSS(VAR1,VAR2);
VAR4:=CROSS(VAR2,VAR1);
STICKLINE(_波段线>20 AND _波段线<50,_波段线-2,_波段线+2,5,0),COLORYELLOW;
_抄底:IF(CROSS(_波段线,8) OR CROSS(_波段线,15),_波段线*3.0,0)
,COLORMAGENTA,LINETHICK2;
{ _通达信股票指标公式}
_卖:IF(VAR4,_波段线,0),COLORYELLOW,NODRAW;
DRAWTEXT(VAR3 AND VAR1>20,_波段线-12,’买’),COLORRED;
STICKLINE(VAR3 AND VAR1>20,_波段线,0,1,0),COLORRED;
_买:IF(VAR3 AND VAR1>20 ,_波段线,0),COLORRED,LINETHICK2,NODRAW;
STICKLINE(_波段线>80,_波段线-2,_波段线+2,5,0),COLORRED;
STICKLINE(_波段线<20,_波段线-2,_波段线+2,5,0),COLORBLUE;
STICKLINE(_波段线>50 AND _波段线<80,_波段线-2,_波段线+2,5,0),
COLORMAGENTA;
DRAWTEXT(_抄底>1,_抄底+5,’ 抄底’),COLORYELLOW;
DRAWICON(_抄底>1,_抄底,4);
DRAWTEXT(VAR4,_波段线+18,’卖’),COLORYELLOW;
STICKLINE(VAR4,_波段线,_波段线+20,1,0),COLORGREEN;

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