稍微改动一点,这是副图公式,不是选股公式
VOLUME:VOL,VOLSTICK;
高量:=REF(VOL,3)>=HHV(VOL,20);
HB:=FILTER(高量,3);
HC:=BACKSET(HB,3+1);
HD:=CROSS(HC,0.1);
STICKLINE(HD,0,VOL,2,0),COLORRED;{COLOR008000 深绿}
高量1:=REF(VOL,3)>=HHV(VOL,7);
HB1:=FILTER(高量1,3);
HC1:=BACKSET(HB1,3+1);
HD1:=CROSS(HC1,0.1);
STICKLINE(HD1,0,VOL,1,0),COLORRED;
缩量31:VOLUME*2/3,NODRAW;
缩量21:VOLUME/2,NODRAW;
缩量32:VOLUME*1/3,NODRAW;
STICKLINE(HD,VOL/2,VOL/2,6,0),COLORBLACK;
STICKLINE(HD1,VOL/2,VOL/2,6,0),COLORBLACK;
STICKLINE(HD,VOL*2/3,VOL*2/3,6,0),COLORBLACK;
STICKLINE(HD1,VOL*2/3,VOL*2/3,6,0),COLORBLACK;
STICKLINE(HD,VOL*1/3,VOL*1/3,6,0),COLORBLACK;
STICKLINE(HD1,VOL*1/3,VOL*1/3,6,0),COLORBLACK; |