VOL,VOLSTICK;
MA1:MA(VOL,5);
MA2:MA(VOL,10);
MA3:MA(VOL,20);
LY:=LYEAR*10000;
LM:=LMONTH*100;
LD:=LDAY;
DRAWTEXTABS(750,20,'农历:'+lMONTH+'月 初 '+lDAY ),LINETHICK1,colorwhite;
预测:=if(CURRENTTIME>093000 and CURRENTTIME<113000 and DYNAINFO(7)=c and DYNAINFO(10) = AMOUNT,v/abs(TIMETOT0(CURRENTTIME-93000)/60)*240,if(CURRENTTIME>130000 and CURRENTTIME<150000,v/(120+abs(TIMETOT0(CURRENTTIME-130000)/60))*240,v));
预测2:=if(CURRENTTIME>093000 and CURRENTTIME<113000 ,AMOUNT/abs(TIMETOT0(CURRENTTIME-93000)/60)*240,if(CURRENTTIME>130000 and CURRENTTIME<150000,AMOUNT/(120+abs(TIMETOT0(CURRENTTIME-130000)/60))*240,AMOUNT));
STICKLINE(BARSTATUS=2 AND DATATYPE=8,预测,0,6,0),Colordddddd;
DRAWTEXTABS(750,5,'预测:'+预测2/100000000+' 亿'),LINETHICK1,colorwhite;