所属地区:DRAWTEXT_FIX(1,0,0,0,'地区:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.05,0,0,DYBLOCK),COLORYELLOW;
所属行业:DRAWTEXT_FIX(1,0,0.08,0,'行业:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.05,0.08,0,HYBLOCK),COLORYELLOW;
所属概念:DRAWTEXT_FIX(1,0,0.16,0,'概念:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.05,0.16,0,GNBLOCK),COLORYELLOW;
所属风格:DRAWTEXT_FIX(1,0,0.24,0,'风格:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.05,0.24,0,FGBLOCK),COLORYELLOW;
上市日期:=CONST(DAYTODATE((DATETODAY(DATE)-FINANCE(42))))+19000000,NODRAW;
DRAWTEXT_FIX(1,0,0.32,0,'上市日期:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.05,0.32,0,上市日期),COLORYELLOW;
DRAWTEXT_FIX(1,0.05,0.40,0,EXTERNSTR(0,1)),COLOR00FF00;
MA3:MA(C,3),COLOR00FFFF,DOTLINE;
MA5:MA(C,5),COLORWHITE;
MA10:MA(C,10),COLORYELLOW;
MA20:MA(C,20),COLORRED;
MA30:MA(C,30),COLORBLUE;
MA60:MA(C,60),COLORGREEN;
J250:MA(C,250),COLORWHITE,LINETHICK2;
Z250:=REF(MA(C,250),1);
IF(J250>=Z250,J250,DRAWNULL),COLORRED,LINETHICK2;
IF(J250<Z250,J250,DRAWNULL),COLORGREEN,LINETHICK2;
AA:=((CLOSE/REF(CLOSE,1))>=1.099);
AB:=(VOL/REF(VOL,1));
关注:IF((((CLOSE/REF(CLOSE,1))>=1.07) AND (AB<1)),1,0),LINETHICK0,NODRAW;
龙头第一买点:=IF((AA AND (AB<1)),1,0);
龙头第二买点:=IF((((CLOSE/REF(CLOSE,1))>=1.07)AND (AB<1)),1,0);
DRAWTEXT((龙头第二买点=1),(REF(LOW,1)*1.1),'龙头'),COLOR00FFFF;
买线:=(EMA(CLOSE,2));
卖线:=(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
封成比:(DYNAINFO(58)/DYNAINFO(8))*((C/REF(C,1)>1.093 AND C=H)),NODRAW;
涨停:=IF((C-REF(C,1))/REF(C,1)>0.097,1,0),NODRAW;
换手率:100*V/CAPITAL,NODRAW,COLORMAGENTA;
股东占流通比:FINVALUE(244)/FINVALUE(239),NODRAW;{十大流通股东/流通}
{涨停变黄颜色}
STICKLINE(C>1.095*REF(C,1),C,O,2.5,0),COLORYELLOW;
{跌停变白颜色}
STICKLINE(C<0.905*REF(C,1),C,O,2.5,0),COLORGREEN;
常数:=CONST(REF(HHV(H,300),60));
天数:=BARSLAST(常数=H);
IF(BARSLAST(CURRBARSCOUNT-1=CONST(天数))>=0,常数,DRAWNULL),DOTLINE,LINETHICK3,COLORMAGENTA;