短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),colorwhite;
中期:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),coloryellow;
中长期:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),colormagenta;
长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),colorred,LINETHICK2;
高浪日:=REF(短期,1)<2 AND REF(中期,1)<2 AND REF(中长期,1)<2 AND REF(长期,1)<2;
高浪日抄底:IF(高浪日,1,0),coloryellow,LINETHICK3;
STICKLINE(高浪日抄底,20,40,2,0),colormagenta,LINETHICK5;
DRAWTEXT(高浪日抄底,35,'买入 '),coloryellow,LINETHICK3;