HH1:REF(HHV(C,11),1);
LL1:REF(LLV(C,11),1);
HH2:REF(HHV(C,4),1);
LL2:REF(LLV(C,4),1);
DUO:=C>HH1;
KONG:=C<LL1;
DUOP:=C<LL2;
KONGP:=C>HH2;
DUOKONG:=IF(DUO,1,IF(KONG,-1,IF((REF(DUOKONG,1)=1 AND DUOP) OR (REF(DUOKONG,1)=-1 AND KONGP),0,REF(DUOKONG,1))));
红色的这句怎么转金字塔
DUO:=C>HH1;
KONG:=C<LL1;
DUOP:=C<LL2;
KONGP:=C>HH2;
variable:duokong=0;
if duo then duokong:=1;
if kong then duokong:=-1;
if ref(duo,1) and duop or (ref(kong,1) and kongp) then duokong:=0;