DRAWBAND(WMA(CLOSE,7),RGB(250,50,50),WMA(CLOSE,15),RGB(0,135,0));
DRAWKLINE(H,O,L,C);
MA5:MA(CLOSE,5),COLORWHITE;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:WMA(CLOSE,20),COLORMAGENTA;
MA45:MA(CLOSE,45),COLORCYAN;
MA60:MA(CLOSE,60),COLORGREEN;
DRAWICON(CROSS(MA5,MA10),MA10,1); {5日上穿10日做记号}
五日上穿十日线:=CROSS(MA5,MA10),MA10,;
十日下穿五日线:=CROSS(MA10,MA5),MA5,;
{DRAWTEXT(CROSS(MA5,MA10),五日上穿十日线,'买进'),COLORMAGENTA;
DRAWTEXT(CROSS(MA10,MA5),十日下穿五日线,'卖出'),COLORGREEN;}
VOL5:=MA(VOL,5),COLORWHITE;
VOL10:=MA(VOL,10),COLORYELLOW;
VOL40:=MA(VOL,40),COLORFF00FF ;
AA1:=BARSLAST(MA60>MA20 AND (MA20=MA10 OR MA20>MA10));
BB1:=REF(COUNT(C<MA60,AA1)=AA1,1);
CC1:=CROSS(C,MA60) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3;
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,30);
ZJ:=AMOUNT/10000;{资金}
TM:=V-MA(V,10);{量填满}
C6:=REF(C,1);
涨停:=IF((C-C6)*100/C6>=(10-0.01*100/C6),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(涨停,H,L,0,0),COLORLIRED;
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);
涨家数:INDEXADV,COLOR0080FF,NODRAW;
跌家数:INDEXDEC,COLORGREEN,NODRAW;
DRAWTEXT_FIX(1,0.00,0,0,'所属行业:')COLOR0080FF;
DRAWTEXT_FIX(1,0.05,0,0,HYBLOCK)COLOR0080FF;
DRAWTEXT_FIX(1,0.10,0,0,'所属地区:')COLOR00FFFF;
DRAWTEXT_FIX(1,0.15,0,0,DYBLOCK)COLOR00FFFF;
DRAWTEXT_FIX(1,0.20,0,0,'上市天数:'),COLOR00FF00;
DRAWNUMBER_FIX(1,0.25,0,0,FINANCE(42)),COLOR00FF00;
DRAWTEXT_FIX(1,0.30,0,0,'每股公积金:'),COLOR00FF00;
DRAWNUMBER_FIX(1,0.35,0,0,FINANCE(18)),COLOR00FF00;
DRAWTEXT_FIX(1,0.40,0,0,'市盈率:'),COLOR00FF00;
DRAWNUMBER_FIX(1,0.45,0,0,DYNAINFO(39)),COLOR00FF00;
流通股亿:=FINANCE(7)/10000,NODRAW;
解禁股:=IF(REF(流通股亿,2)=REF(流通股亿,1) AND 流通股亿>REF(流通股亿,1),20,0),COLORYELLOW;{流通股增加}
解禁日:DRAWTEXT(解禁股=20,H,'解禁'),COLORYELLOW;
STICKLINE(解禁股=20,CLOSE,OPEN,1,0),COLORBLUE;
STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW;
LTB:=FINANCE(7)*100/FINANCE(1);
ZGB:=FINANCE(1)/100000000;
JJS:=LTB-REF(LTB,1);
{交流:.......}
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背离'),COLORA6E500;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLOR1880FF;
|