短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
中長期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
長期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
XG:REF(短期,1)<100?AND?REF(中期,1)<100?AND?REF(中長期,1)<100?AND?REF(長期,1)<100?AND?短期=100
AND?中期=100?AND?中長期=100?AND?長期=100;