HIGH20:=HIGH>=HHV(HIGH,20);
HIGH55:=HIGH>=HHV(HIGH,55);
LLV20:=LOW<=LLV(LOW,20);
LLV10:=LOW<=LLV(LOW,8);
LLV55:=LOW<=LLV(LOW,55);
LLV30:=LOW<=LLV(LOW,20);
TH20:=BArslAST(HIGH20);
TH55:=BARSLAST(HIGH55);
TL10:=BARSLAST(LLV10);
TL20:=BARSLAST(LLV20);
TL55:=BARSLAST(LLV55);
TL30:=BARSLAST(LLV30);
RV20:IF(TH20>TL10,-0.5,0.5);
RV55:IF(TH55>TL30,-1.0,1.0);