V1:=EMA(CLOSE,5)-EMA(CLOSE,340);
V2:=EMA(V1,144);
V3:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
GUP0:=IF(crOSS(V3,5) AND V1<V2,20,0)+20,COLORYELLOW;
VARMM1:=REF(LOW,1);
VARMM2:=SMA(Abs(LOW-VARMM1),13,1)/SMA(MAX(LOW-VARMM1,0),13,1)*4;
VARMM3:=EMA(VARMM2,13);
VARMM4:=LLV(LOW,34);
VARMM5:=EMA(IF(LOW<=VARMM4,VARMM3,0),3);
主力:=STICKLINE(VARMM5>REF(VARMM5,1),0,VARMM5,7,0 );
主力进场:=SUM(主力,20);
快线:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
慢线:=SMA(快线,3,1);
BB:=IF(BARSLAST(CROSS(慢线,快线))>=3 AND CROSS(快线,慢线) AND 慢线<30,20,0);
买点:BB AND GUP0>25 AND 主力进场>5;