AA:=REF(VOL,3)>=REF(V,4)*1.85 AND REF(C,3)>=REF(C,4);
BB:=BARSLAST(AA);
CC:=MIN(REF(C,BB-1),MIN(REF(C,BB-2),REF(C,BB-3)));
LL:=MIN(REF(L,BB-1),MIN(REF(L,BB-2),REF(L,BB-3)));
TJ1:=LL>=REF(H,BB);{×î¸ß¼Û» Ïß}
TJ2:=LL>=REF(C,BB) AND LL
TJ3:=LL>=REF(O,BB) AND LL
TJ4:=LL<=REF(L,BB) AND LL>REF(L,BB);{×îμí¼Û» Ïß}
TJ5:=LL>=REF(L,BB) AND CC
DD:=IF(TJ1,REF(H,BB),
IF(TJ2,REF(C,BB),
IF(TJ3,REF(O,BB),
IF(TJ4,REF(L,BB),
IF(TJ5,REF(L,BB),0)))));
EE:=DD/L;
VOL>=REF(V,1)*1.85 AND C>=O AND EE>=0.985 AND EE<=1.015; |