AA:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34));
BB:=-100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55));
CC:=-100*(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89));
DD:=-100*(HHV(HIGH,130)-CLOSE)/(HHV(HIGH,130)-LLV(LOW,130));
ENTERLONG:AA=-100 AND BB=-100 AND CC=-100 AND DD=-100;
EXITLONG:AA=0 AND BB=0 AND CC=0 AND DD=0;