网友求助:
如果三天的换手之和大于50%,用一个高亮方框(最好有填充色)把这三根成交量线框起来,不知能否实现?
解答如下:
V VOLSTICK;
VV:SUM(V,3)/CAPITAL*100>50;
TK:=BARSLAST(VV=1);
VCK:=VV=1 AND REFX(VV=0,1) OR (VV=1 AND ISLASTBAR);
VHH:=HHV(V,3);
VHH:=SETVAL(TK=0,VHH,-3,VHH);
FV:=BACKSET(VCK,3);
STICKLINE(VCK OR CROSS(FV,0.5) ,0,VHH,0,0)COLORYELLOW;
DRAWSL(VCK,VHH,0,2,1) COLORYELLOW;