/*公式*/
N1:=21;
N2=34;
WR1:100-(100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1)));
WR2:100-(100*(HHV(HIGH,N2)-CLOSE)/(HHV(HIGH,N2)-LLV(LOW,N2)));
/*公式线*/
PARTLINE(WR1,WR1,RGB(65,105,225)),;
PARTLINE(WR2,WR2,RGB( 210,105,30)),;
/*标准线型*/
PARTLINE(80,80,RGB(70,130,185)),;
PARTLINE(50,50,RGB( 210,21,133)),;
PARTLINE(20,20,RGB(5,139,5)),;
STICKLINE(WR1>=99,100,100,20,0),colorlicyan;
STICKLINE(WR1<=1,0,0,20,0),colorlicyan;