N:=13; DMH:=SUM(IF(H>REF(H,1),H-REF(H,1),0),N); DML:=SUM(IF(REF(L,1)>L,REF(L,1)-L,0),N); DMKI:DMH/(DMH+DML),COLORWHITE; 0.79,POINTDOT,COLORYELLOW; 0.5,POINTDOT,COLORWHITE; 0.21,POINTDOT,COLORGREEN;