A:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),5);
短期线:B+100,COLORRED;
中期线:D+100,COLORYELLOW;
长期线:A+100,COLORGREEN;
介入:IF(中期线<15,100,0),COLORWHITE;
15,POINTDOT;
80,POINTDOT;
drawtextabs(0,0,'威廉趋势');