B1:=MA(C,1);
B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1),COLORRED;
SMA2:=MA(B2,2),COLORCYAN;
VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
80:=EMA(CLOSE,80),COLORFFFF00;
买5:crOSS(C,80) AND VAR3>1 AND B2>SMA2;