VAR0:=IF((DATE<=1381006),1,0);
多:=(EMA(CLOSE,3))*(VAR0);
空:=(EMA(CLOSE,5))*(VAR0);
买线:=(EMA(CLOSE,2))*(VAR0);
卖线:=(EMA((SLOPE(CLOSE,21))*(20)+CLOSE,42))*(VAR0);
穿越红线才能牛:(HHV(MA(HIGH,13),13))*(VAR0),LINETHICK2,COLOR0000FF;
跌破受阻上支撑:(LLV(MA(HIGH,13),1))*(VAR0),LINETHICK1,COLOR00FF00;
主力线:=(EMA(CLOSE,2))*(VAR0);
散户线:=(EMA(CLOSE,4))*(VAR0);
DRAWTEXT(crOSS(多,空) AND (买线>=卖线) AND (跌破受阻上支撑=穿越红线才能牛),LOW,’追击’),COLOR00FFFF;
出现▲是大牛:(买线>=卖线) AND (跌破受阻上支撑=穿越红线才能牛) AND (主力线>散户线),COLORFF00FF,NODRAW;
DRAWTEXT(出现▲是大牛,LOW,’▲’),COLORFF00FF;
大牛:=(买线>=卖线) AND (跌破受阻上支撑=穿越红线才能牛) AND (主力线>散户线) AND (REF(跌破受阻上支撑,1)<REF(穿越红线才能牛,1));
DRAWTEXT(大牛,LOW,’大▲牛’),COLORFF00FF;
VAR1:=((HIGH+LOW+OPEN+(2)*(CLOSE))/(5))*(VAR0);
VAR2:=(REF(VAR1,1))*(VAR0);
VAR3:=((SMA(MAX(VAR1-VAR2,0),10,1))/(SMA(Abs(VAR1-VAR2),10,1)))*(100);
HY3:=IF((COUNT((VAR3<20),5)>=1) AND (COUNT((VAR1=LLV(VAR1,10)),10)>=1) AND (CLOSE>=(OPEN)*(1.038)) AND (vol>(MA(VOL,5))*(1.2)),1,0);
DRAWTEXT(HY3,LOW,’超跌关注’),COLOR0000FF;
REFO:=REF(O,1);
REFC:=REF(C,1);
OC:=ABS(REFO-REFC);
U1:=IF(REFO>REFC,REFO,REFC);
D1:=IF(REFO>REFC,REFC,REFO);
DRAWICON(REF(H,1)-U1>OC/3 AND D1-REF(L,1)<OC/5 AND O-L>(C-O)/2 AND H-C<(C-O)/10 AND C>REFC,L*0.95,1);

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