N:=6;{点,可自行更改}M:=8;{点,可自行更改}DRAWICON(轩辕剑,C*((100-N-1)/100),38);STICKLINE(轩辕剑,C*((100-N)/100),C*((100+M)/100),0,-1);B:=BARSLAST(轩辕剑);价:DRAWLINE(B=0,C,B=1,REF(C,B),1),DOTLINE;止损价:DRAWLINE(B=0,C*((100-N)/100),B=1,REF(C*((100-N)/100),B),1),DOTLINE,COLORMAGENTA;止盈价:DRAWLINE(B=0,C*((100+M)/100),B=1,REF(C*((100+M)/100),B),1),DOTLINE,COLORYELLOW;