N:=15;
DMH:=SUM(IF(H REF(H,1),H-REF(H,1),0),N);
DML:=SUM(IF(L REF(L,1),0,REF(L,1)-L),N);
量:DMH/(DMH+DML),COLORRED;
0.80,DOTLINE;
0.5,DOTLINE;
0.20,DOTLINE;
XG:=量
STICKLINE(量 0.82,1,0.9,1,0),COLORGREEN;
STICKLINE(量 0.1,0.02,0.00,1,0),COLORYELLOW;