量:VOL,VOLSTICK;
涨停:=C/REF(C,1)>1.09;
涨停距今:=BARSLAST(涨停);
A:=V<REF(V,1)*1/3;
B:=V<REF(V,1)*1/2;
D:=V<REF(V,1)*0.34;
XG:=涨停距今<=10 AND A;
XG1:=涨停距今<=10 AND B;
XG2:=涨停距今<=10 AND D;
STICKLINE(XG,0,VOL,0.25,0),COLORGREEN;
STICKLINE(XG1,0,VOL,0.25,0),COLORBLUE;
STICKLINE(XG2,0,VOL,0.25,0),COLORBLACK;
STICKLINE(涨停,0,VOL,0.25,0),COLORMAGENTA;
低量柱:=IF(V=LLV(V,10),9,8);
XG低:=低量柱>8 AND C>REF(C,1);
STICKLINE(XG低,0,VOL,0.5,0),COLORYELLOW; |