放量求和
sj:=CURRENTTIME;
MA5:=MA(VOL,5);
xs:=INTPART(sj/10000);
fz:=INTPART(FRACPART(sj/10000)*100);
jyfz:=if((xs*100+fz)>1500,240,if((xs*100+fz)>=1300 and (xs*100+fz)<=1500,fz+60*(xs- 11),if((xs*100+fz)>=930 and(xs*100+fz)<=1130,(xs-9)*60+fz-30,0)));
jysb:=jyfz/240;
lb:=v/if(jysb<1/8,1.8*jysb*MA5,jysb*MA5);
较真量比:if(DATE=CURRENTDATE,lb,v/MA5);
放量:IF(lb>2,1,0);
放量求和:sum(放量,0),COLOR00FF00,LINETHICK2;