云梦1:=IF(C>REF(C,1)*1.02,IF(C>REF(C,1),V*100,-V*100)*1.5,V);云梦2:=IF(C>REF(C,1)*1.05,IF(C>REF(C,1),V*100,-V*100)*2,V);云梦3:=IF(C>REF(C,1)*1.07,IF(C>REF(C,1),V*100,-V*100)*2.5,V);云梦4:=MAX(MAX(云梦1,云梦2),云梦3);云梦5:=CONST(MA(SUM(云梦4,5),20));姑苏:=SUM(云梦4,5)<=REF(SUM(云梦4,5),1);云梦GS:=SUM(云梦4,5)>CONST(MA(SUM(云梦4,5),20));SM:SUM(云梦4,5);DRAWBAND(SM,180,云梦5,RGB(39,139,39));STICKLINE(姑苏 AND 云梦GS,SM,云梦5,0,0),colorgreen;XG:云梦4/REF(V,1)>200;DRAWTEXT(XG=1,云梦5,'异动'),coloryellow;