X_1:=LLV(MA((LOW+HIGH+3*CLOSE+OPEN)/6,6),89);
散筹:=EMA((LOW+HIGH+3*CLOSE+OPEN)/6*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*20/10+X_1,2),;
趋势:=1.86*EMA(CLOSE,5)-EMA(CLOSE,13),;
X_2:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
X_3:=IF(MA(CLOSE,17)<X_2,X_2,MA(CLOSE,17));
浮筹:=X_3-(EMA(CLOSE,3)-X_3),;
XG1:=CROSS(趋势,散筹) AND REF(趋势,1)<REF(散筹,1);
XG2:=CROSS(趋势,浮筹) AND REF(趋势,1)<REF(浮筹,1);
XG3:=XG1 AND 趋势>浮筹;
XG4:=XG2 AND 趋势>散筹;
XG4 OR XG3;