VAR5:=5;
VAR6:=3;
VAR7:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
VAR8:=IF(YEAR>=2025,0,1);
VAR9:=EMA(EMA(LOW,21)+6.8*STD(LOW,2),55);
VAR10:=EMA(CLOSE/VAR9*(1.88*CLOSE+LOW+OPEN)/2.75,3);
VAR11:=(VAR10-VAR9)/VAR9/2;
VAR12:=EMA(VAR10-VAR11*VAR10,5)*VAR8;
VAR13:=EMA(CLOSE,300)-3*STD(CLOSE,300);
张口下:=IF(VAR7>VAR12,VAR7,VAR12)*VAR8,COLORYELLOW,LINETHICK2;
张口上:=IF(VAR12<VAR7 AND VAR12<CLOSE*0.15,EMA(CLOSE,300)-3*STD(CLOSE,300),VAR12);
开口XG:=BArslASTCOUNT(张口下!=张口上)=1;
手指:开口XG;