所属地域:DRAWTEXT_FIX(ISLASTBAR,0.33,0,0,HYBLOCK),COLORYELLOW;
所属概念:DRAWTEXT_FIX(ISLASTBAR,0.46,0,0,GNBLOCK),COLORYELLOW;
所属地区:DRAWTEXT_FIX(ISLASTBAR ,0.88,0,0,DYBLOCK),COLORYELLOW;
N:=IF(BARSCOUNT(C)>=10,10,BARSCOUNT(C));
STICKLINE(C>=MA(C,N),MA(C,N),REF(MA(C,N),1),5,0),COLOR00FFFF;
STICKLINE(C<MA(C,N),MA(C,N),REF(MA(C,N),1),5,0),COLORFF0000;
A1:=C>=MA(C,N),MA(C,N);
A2:=C<MA(C,N),MA(C,N);
S:=A1 AND REF(A2,1) AND DYNAINFO(4)>0;
N1:=IF(BARSCOUNT(C)>=45,45,BARSCOUNT(C));
AB1:=C>=MA(C,N1),MA(C,N1);
AB2:=C<MA(C,N1),MA(C,N1);
S1:=AB1 AND REF(AB2,1) AND DYNAINFO(4)>0;
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
开始控盘:=crOSS(控盘,0);
Z:=MA(C,120);
VAR3:=(MA(C,5)-Z)/Z;
VAR4:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);
波段进场:=IF(CLOSE>Z AND REF(VAR4,1)<30 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2),1,0);
反弹进场:=IF(REF(VAR4,1)<5 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2) AND VAR3<-0.3,1,0);
波段选股:=反弹进场 || 波段进场;
牛股:=波段选股 AND S AND 开始控盘;
STICKLINE(牛股 ,O,C,3,0),COLORFF00FF;