启稳2:=(C-MA(C,30))/MA(C,30)*100;
启稳3:=COUNT(CROSS(启稳1,0),3)>=1 AND 启稳2>REF(启稳2,1) AND MA(C,5)>REF(MA(C,5),1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)
启稳5:=启稳4;
启稳6:=IF(C>REF(C,1)*1.02,IF(C>REF(C,1),V*100,-V*100)*1.5,V);
启稳7:=IF(C>REF(C,1)*1.05,IF(C>REF(C,1),V*100,-V*100)*2,V);
启稳8:=IF(C>REF(C,1)*1.07,IF(C>REF(C,1),V*100,-V*100)*2.5,V);
启稳9:=MAX(MAX(启稳6,启稳7),启稳8);
启稳10:=启稳9/REF(V,1)>200;
启稳11:=启稳10=1;
启稳12:=ABS((CLOSE-REF(CLOSE,1)));
启稳13:=CLOSE-REF(CLOSE,1);
启稳14:=((SMA(MAX((启稳13),0),6,1)/SMA(启稳12,6,1))*100);
启稳15:=MAX(启稳14,5);
启稳16:=MAX(启稳15,10);
启稳17:=MAX(启稳16,20);
启稳18:=MAX(启稳17,30);
启稳19:=MAX(启稳18,60);
启稳20:=CROSS(启稳14,60) AND 启稳9>15;
姑苏:=(启稳20 AND 启稳19>60)*30;
启稳GS:=姑苏=30;
XG:启稳5 AND 启稳11 AND 启稳GS;