{连续三天缩量 第四日倍量 前三日形成顶分型 第四日买入}
倍量比:=V/REF(V,1);
LXSL:=REF(倍量比,1)<1 AND REF(倍量比,2)<1;
DFX:=REF(H,2)>REF(H,3) AND REF(H,2)>REF(H,1);
JRBLXG:LXSL AND DFX AND 倍量比>2 AND C>REF(C,1);
DRAWICON(JRBLXG,0.35,5);
VAR1XX:=REF(CLOSE,1);
VAR2XX:=SMA(MAX(CLOSE-VAR1XX,0),7,1)/SMA(ABS(CLOSE-VAR1XX),7,1)*100,COLORYELLOW;
VAR2XX↑:STICKLINE(FILTER(REF(VAR2XX,1)<20 AND VAR2XX>REF(VAR2XX,1),5),0,1,0.8,0),COLORRED;
DRAWTEXT(FILTER(REF(VAR2XX,1)<20 AND VAR2XX>REF(VAR2XX,1),5),0.8 ,'买入' ),COLORFFFFFF;