{一枝独秀}
VAR1:=999;
VAR2:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);
VAR3:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
VAR4:=IF(VAR2>0.01,0.9,IF(VAR2>0.01,1,1.2));
VAR5:=VAR4*(VAR3-VAR2)*100;
VAR6:=SUM(VAR5,25)+SUM(VAR5,10)+SUM(VAR5,5);
XG:VAR6>50 AND COUNT(VAR6>50,10)=1 AND BARSLAST(NOT((H-L)/REF(C,1)<0.1)) AND VOL>REF(VOL,1)*2 AND C>REF(C,1)*1.03
AND "DMI.PDI">"DMI.MDI" AND CROSS("DMI.ADX","DMI.ADXR")
AND"DMI.ADXR">"DMI.MDI" AND "DMI.PDI">"DMI.ADX" AND"KDJ.D">REF("KDJ.D",1);