编写要求:
流通盘:FINANCE(7)/100000000,NODRAW;
成交量:VOL,VOLSTICK,COLORWHITE;
量比:V/REF(MA(V,5),1),NODRAW,COLORRED;
量变:V/REF(V,1),NODRAW;
换手:VOL/CAPITAL*100,NODRAW,COLORRED;
PV:=INDEXV;
LB1:=V/REF(MA(V,5),1);LB2:=PV/REF(MA(PV,5),1);
A1:=LB1>LB2;A2:=LB11.3*LB2 AND LB1<=2*LB2;A4:=LB1>2*LB2;
A5:=LB2>1.3*LB1 AND LB2<=2*LB1;A6:=LB2>2*LB1;
弱大盘★:=A2,NODRAW,COLORDDDD00;
STICKLINE(A2,O,V,2.5,0),COLOR888800;
STICKLINE(A2,O,V,1.5,0),COLORAAAA00;
STICKLINE(A2,O,V,1,0),COLORCCCC00;
弱大盘★★:=A2,NODRAW,COLORGREEN;
STICKLINE(A5,O,V,2.5,0),COLOR008800;
STICKLINE(A5,O,V,1.5,0),COLOR00AA00;
STICKLINE(A5,O,V,1,0),COLOR00CC00;
弱大盘★★★:=A1,NODRAW,COLORFF0000;
STICKLINE(A1,O,V,2.5,0),COLOR880000;
STICKLINE(A1,O,V,1.5,0),COLORAA0000;
STICKLINE(A1,O,V,1,0),COLORCC0000;
强大盘★:=A1,NODRAW,COLORFF00FF;
STICKLINE(A1,O,V,2.5,0),COLOR880088;
STICKLINE(A1,O,V,1.5,0),COLORAA00AA;
STICKLINE(A1,O,V,1,0),COLORCC00CC;
强大盘★★:=A3,NODRAW,COLOR0000FF;
STICKLINE(A3,O,V,2.5,0),COLOR000088;
STICKLINE(A3,O,V,1.5,0),COLOR0000AA;
STICKLINE(A3,O,V,1,0),COLOR0000CC;
强大盘★★★:=A4,NODRAW,COLOR00FFFF;
STICKLINE(A4,O,V,2.5,0),COLOR008888;
STICKLINE(A4,O,V,1.5,0),COLOR00AAAA;
STICKLINE(A4,O,V,1,0),COLOR00CCCC;
DRAWTEXT_FIX(C>0,0,0,0,'弱大盘★'),COLORDDDD00;
DRAWTEXT_FIX(C>0,0.04,0,0,'弱大盘★★'),COLORGREEN;
DRAWTEXT_FIX(C>0,0.09,0,0,'弱大盘★★★'),COLORFF0000;
DRAWTEXT_FIX(C>0,0.15,0,0,'强大盘★'),COLORFF00FF;
DRAWTEXT_FIX(C>0,0.19,0,0,'强大盘★★'),COLOR0000FF;
DRAWTEXT_FIX(C>0,0.24,0,0,'强大盘★★★'),COLOR00FFFF;
{倍量}
V2:=V/REF(V,1)>=2;
STICKLINE(V2=1,0,REF(V,1),2.4,1),COLORWHITE;
MV13:MA(V,13),COLORWHITE;
MV35:MA(V,35)COLORMAGENTA;
MV135:MA(V,135),COLORA00000,LINETHICK2;
解答:
?流通盘:FINANCE2(37)/10000,LINETHICK0;
成交量:VOL,VOLSTICK,COLORWHITE;