DRAWTEXTREL(20,150,'市盈率:'+NUMTOSTRN(HH5,2)+'%'+' 每股收益:'+NUMTOSTRN(GG5,3)),COLORbbffff;
IF C>0 AND DISPSTATUS=2 THEN
DRAWTEXTREL(20,110,'总股本:'+NUMTOSTRN(DD5,0)+'万股' +' 流通A股:'+NUMTOSTRN(SS5,0)+'万股'),COLORbbffff;
DRAWGBKLAST(c>0,STRIP(RGB(10,60,0),RGB(10,10,0),0));
获利90:EMA(COST(90),5),LINETHICK0,colorFFFFFF;
a:=(3*c+l+o+h)/6;
X:=WMA(a,20);
rcc:=DYNAINFO(3);
s2:=sma(c,3,1);
s6:=sma(c,5,1);
dk:=2*(s2-s6);
STICKLINE(dk>0,rcc,rcc+dk,0,1),COLORRED;
STICKLINE(dk<0,rcc,rcc+dk,0,1),COLORCYAN;
主力成本:eMA(X,13),colorFF00FF,LINETHICK0;
短期底部LV(HIGH,30),LINETHICK2,COLORFFCC00;
STICKLINE(open>=close ,O,C,6,0 ),COLORbbbbbb;
STICKLINE(open>=close ,O,C,2.4,0 ),COLORcccccc;
STICKLINE(open>=close ,O,C,1.1,0 ),COLORdddddd;
STICKLINE(close>open,O,C,9,0 ),COLOr6666cc;
STICKLINE(close>open,O,C,6 ,0 ),COLOR7777dd;
STICKLINE(close>open,O,C,2.4 ,0 ),COLOR8888ee;
STICKLINE(close>open,O,C,1.1 ,0 ),COLOR9999ff;
STICKLINE(close>open,open,low,0.5,0 ),COLOR1199ff;
STICKLINE(close>open,close,HIGH,0.5 ,0 ),COLOR1199ff;
STICKLINE(open>=close,close,low,0.5 ,0 ),COLORcccccc;
STICKLINE(open>=close,open,HIGH,0.5 ,0 ),COLORcccccc;
rc:rcc,COLORBROWN;
ma(c,9);
STICKLINE(cross(ma(c,1),ma(c,9)),CLOSE,OPEN,8,0),colorred;
STICKLINE(cross(ma(c,1),ma(c,9)),HIGH,LOW,0.8,0),COLORred;
STICKLINE(cross(ma(c,1),ma(c,55)),CLOSE,OPEN,6,0),COLORred;
STICKLINE(cross(ma(c,1),ma(c,55)),HIGH,LOW,0.6,0),COLORred;
STICKLINE(cross(ma(c,1),ma(c,23.5)),CLOSE,OPEN,7,0),COLORyellow;
STICKLINE(cross(ma(c,1),ma(c,23.5)),HIGH,LOW,0.7,0),COLORyellow;
STICKLINE(cross(ma(c,1),ma(c,120)),CLOSE,OPEN,5,0),COLORMAGENTA;
STICKLINE(cross(ma(c,1),ma(c,120)),HIGH,LOW,0.5,0),COLORMAGENTA;
partline(ma(c,3),ma(c,3)),coloryellow,linethick2;
partline(ma(c,9),ma(c,9)),COLORMAGENTA,linethick2;
partline(ma(c,23.5),ma(c,23.5)),colorwhite;
ma5:=ma(c,5);
ma10:=ma(c,10);
ma30:=ma(c,30);
fa:=barslast(cross(ma10,ma5)) and cross(ma5,ma10);
fb:=fa and ma5>ma30 and ma10>ma30 and ma10>ref(ma10,1);
STICKLINE(fb,l,l-0.09,4,0),colorred;
DRAWTEXT(fb,l-0.58,'★红牛'),colorred,align0;
v1:=ema(close,5);
v2:=ema(ema(close,90)*1.01,10);
DRAWTEXT(cross(v1,v2),v1+0.05,'牛起步'),color00ff00,LINETHICK0;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);
AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);
AB:=CROSS(AK1,AK);
DRAWICON(cross(v1,v2),v2,4);
DRAWTEXT((AB = 1),(LOW * 0.99),'○牛窝'),colorYELLOW;
{指数贡献值c-ref(ma(c,5),5))*finance(1),colorred,LINETHICK0;}
市值贡献值:CAPITAL/100*CLOSE/10000,coloRgreen,LINETHICK0;
{资金贡献值:ema(amount,3)/finance(7),colormagenta,LINETHICK0;}
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
老鼠仓:BB1 AND CC1 AND DD1 AND EE1,LINETHICK0,COLOR0099ff;
DRAWTEXT(老鼠仓,l*0.99,' 老鼠仓'),COLOR0099ff;
STICKLINE(老鼠仓,H,L,2,0),COLOR0099ff;
STICKLINE(老鼠仓,O,C,2,0),COLOR0099ff;
BIAS2 := (CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
STICKLINE(BIAS2<-6,H,L,1,0),COLORGREEN;
STICKLINE(BIAS2<-6,C,O,2,1),COLORGREEN;
DRAWTEXTREL(10,850,'股经:选做强势股,不做无量阴跌股。弱势不追高,强势不抄底。均线角度的上下與大小,'),colorFFFFFF;
DRAWTEXTREL(10,900,' 決定了趨勢方向及利潤空間。连续三根阴线必杀。空心绿K线(观察大盘)超跌很准。'),colorFFFFFF;
var666:=REF(C,1);
var777:=SMA(MAX(C-var666,0),6,1)/SMA(ABS(C-var666),6,1)*100;
DRAWTEXT(CROSS(82,var777),H*1.01,'▼逃顶'),COLORYELLOW ;
vvv1:=ref(c,ref(hhvbars(v,21),0));
mmm1:=ma(close,1);
aaaa:=V>1*ref(V,1) and (c/ref(C,1)-1)*100>9.5 and mmm1>=vvv1;
DRAWICON(cross(a,1),l*0.98,6),COLORRED;
DRAWTEXT(aaaa,l*0.93,'涨停'),LINETHICK1,COLORRED; |