MA1:MA(CLOSE,5)COLORYELLOW LINETHICK2;
短期:=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)),COLORFF00FF;
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK3;
四线合一:=BARSLASTCOUNT(短期=100 AND 中期=100 AND 长期=100)=1;
STICKLINE(短期=100 AND 中期=100 AND 长期=100,CLOSE,OPEN,1,0),COLORMAGENTA;
DRAWTEXT(四线合一,LOW*0.99,'★合一'),COLORRED;
DRAWICON(四线合一,L,9);