PGJL1:=IF(C>REF(C,1)*1.02,IF(C>REF(C,1),V*100,-V*100)*1.5,V);
PGJL2:=IF(C>REF(C,1)*1.05,IF(C>REF(C,1),V*100,-V*100)*2,V);
TY:=H;
PGJL3:=IF(C>REF(C,1)*1.07,IF(C>REF(C,1),V*100,-V*100)*2.5,V);
PGJL4:=MAX(MAX(PGJL1,PGJL2),PGJL3);
PGJL5:=CONST(MA(SUM(PGJL4,5),20));
PGJL6:=SUM(PGJL4,5)<=REF(SUM(PGJL4,5),1);
PGJLGS:=SUM(PGJL4,5)>CONST(MA(SUM(PGJL4,5),20));
SM:SUM(PGJL4,5);
DRAWBAND(SM,180,PGJL5,RGB(39,139,39));
STICKLINE(PGJL6 AND PGJLGS,SM,PGJL5,0,0),COLORGREEN;
XG:PGJL4/REF(V,1)>200;
DRAWTEXT(XG=1,PGJL5,'有异动'),COLORYELLOW;