N:=13;
wr1:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));
ENTERLONG:crOSS(80,WR1);
EXITLONG:CROSS(WR1,20);
DRAWICON(ENTERLONG,(WR1,80),9);
DRAWICON(EXITLONG,(WR1,20),10);
N:=13;
wr1:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));
ENTERLONG:crOSS(80,WR1);
EXITLONG:CROSS(WR1,20);
DRAWICON(ENTERLONG,(WR1,80),9);
DRAWICON(EXITLONG,(WR1,20),10);