冲板量:=LAV2.GV#DAY,COLORYELLOW,LINETHICK2;
预警量:=LAV2.RV#DAY,COLORGREEN,LINETHICK2;
AM:=SUM(V,0);
J1:=C>REF(C,1);
JJ:=CL1:=V>MA(V,5);
J2:=C>=HHV(C,0);
L2:=V>=HHV(V,0);
STICKLINE(J1 AND L1 AND V>预警量,0,V,10,0),COLORYELLOW;
STICKLINE(J1 AND L1 AND J2 AND L2 AND V>冲板量,0,V,10,0),COLORRED;
STICKLINE(JJ AND L1 AND V>预警量,0,V,10,0),COLORFFFF00;
STICKLINE(JJ AND L1 AND V>冲板量,0,V,10,0),COLORGREEN;
预警:J1 AND L1 AND V>预警量,COLORYELLOW;
点火:J1 AND L1 AND J2 AND L2 AND V>冲板量,COLORRED;
熄火:JJ AND L1 AND V>预警量,COLORFFFF00;
灭火:JJ AND L1 AND V>冲板量,COLORGREEN;
LAV2源码如下:
QA:REF(AMO,1)/10000;
QV:REF(V,1);
QC:REF(C,1);
HV:HHV(V,120);
RV:MA(V,250)*1.3/31;
GV:HHV(V,750)/61;
ZV:COST(50);
HC:WINNER(C)*100;
ZF:=IF(FINANCE(3)=3 OR FINANCE(3)=4,0.2,0.1);
ZT:(WINNER(ZTPRICE(C,ZF))-WINNER(C))*100;
JT:ZTPRICE(QC,ZF);
MT:ZTPRICE(C,ZF);