JJ:=(HIGH+LOW+CLOSE)/3;
QJ:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
M1:=QJ*(MIN(OPEN,CLOSE)-LOW);
M2:=QJ*(JJ-MIN(CLOSE,OPEN));
MM1:=QJ*(MAX(CLOSE,OPEN)-JJ);
MM2:=QJ*(HIGH-MAX(OPEN,CLOSE));
D:=((M1+M2)-(MM1+MM2))/100000;
偷油:DO;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
M1:=QJ*(MIN(OPEN,CLOSE)-LOW);
M2:=QJ*(JJ-MIN(CLOSE,OPEN));
MM1:=QJ*(MAX(CLOSE,OPEN)-JJ);
MM2:=QJ*(HIGH-MAX(OPEN,CLOSE));
D:=((M1+M2)-(MM1+MM2))/100000;
偷油:DO;