短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORRED;
中期:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORBLUE;
中长期:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORCYAN;
长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORWHITE,LINETHICK3;
20,POINTDOT,LINETHICK1;
50,POINTDOT,LINETHICK1;
80,POINTDOT,LINETHICK1;
单边二十:DRAWTEXT(短期<=25 AND 中期<=50 ,(50),'B'),COLORFFFF00;
四线归零:DRAWTEXT(短期<=20 AND 中期<=15 AND 长期<=15,(20),'O'),COLORFFFF00;