MA1:=MA(CLOSE,4);
MA2:=MA(CLOSE,13);
MA3:=MA(CLOSE,24);
MA4:=MA(CLOSE,30);
MA5:=MA(CLOSE,120);
SXSS:=MA2 MA3 AND MA3 MA4 AND MA4 MA5 AND MA2 REF(MA2,1) AND MA3 REF(MA3,1) AND MA4 REF(MA4,1) AND MA5 =REF(MA5,1);
角度13:=ATAN((MA(C,13)/REF(MA(C,13),1)-1)*100)*57.3;
N:=120;
MID1:=MA(C,N);
VART1:=POW((C-MID1),2);
VART2:=MA(VART1,N);
VART3:=SQRT(VART2);
UPPER:=MID1+2*VART3;
LOWER:=MID1-2*VART3;
筹码线:REF(UPPER,1),COLOR00FFFF,LINETHICK2;
趋势线:MA(CLOSE,24),COLORRED,LINETHICK2;
HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;
成本线1:=(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)
+13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)
+7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+
REF(HHJSJDA,20))/210,COLORYELLOW;
成本线2:=MA(成本线1,7),COLORRED;
AA:=(C-REF(C,1))/REF(C,1)*100;
AAA:=(H-REF(C,1))/REF(C,1)*100;
VA:=IF(CLOSE REF(CLOSE,1),vol,-VOL);
obv:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MaoBV30:=MA(OBV,30);
B:= OBV.OBV
A2:=B REF(HHV(B,30),1);
红量能:=OBV MAOBV30;
涨停:=IF((C-REF(C,1))*100/REF(C,1) =(10-0.01*100/REF(O,1)),1,0);
创新高1:=HIGH =HHV(HIGH,20);
Z:=REF(涨停,1) ;
W:=COUNT(Z ,5)
W3:=COUNT(Z ,13)
DK:=O =REF(C,1) AND AA
W2:=COUNT(DK ,2)
至尊:=W AND AA 2.5 AND REF(W2,1) AND REF(AA 2.4,1) AND MA4
STICKLINE(涨停,O,C,2,0),COLORYELLOW;
创新高:=HIGH =HHV(HIGH,150);
第一次创新高:=创新高=1 AND BArslAST(REF(创新高=1,1)) =1 AND AA
DRAWTEXT(FILTER(第一次创新高=1,1),LOW-0.2,'↖新高'),COLORYELLOW;
放量:=V MA(V,89) ;
异动:=放量=1 AND BARSLAST(REF(放量=1,1)) =6 AND H boll AND MA4
STICKLINE(至尊,OPEN,CLOSE,1,0),COLORF00FF0;
牛二:=SXSS AND C MA2 AND L =MA2 AND C O AND 角度13 47 AND W3 ;
DRAWTEXT(FILTER(牛二=1,0),LOW-0.2,'↖牛二'),COLORWHITE;
DRAWICON(至尊,LOW-0.3,1);
DRAWICON(至尊,LOW-1,24);
DRAWICON(至尊,LOW-1.5,25);
DRAWICON(至尊,LOW-2,26);
DRAWTEXT_FIX(1,0.00,0,0,'行业:'),COLORWHITE;
DRAWTEXT_FIX(1,0.04,0,0,HYBLOCK),COLORWHITE;
DRAWTEXT_FIX(1,0.14,0,0,'概念:'),COLORWHITE;
DRAWTEXT_FIX(1,0.18,0,0,GNBLOCK),COLORWHITE;