短期:=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;