VARV:=(2*C+H+L)/4;
VARU:=LLV(LOW,30);
VARA1:=HHV(HIGH,30);
B:=EMA((VARV-VARU)/(VARA1-VARU)*100,8);
B1:=EMA(B,5);
VAR100:=B-B1>0 AND BArslAST(B-B1<0)=1;
买:IF(VAR100,1,0);
VARV:=(2*C+H+L)/4;
VARU:=LLV(LOW,30);
VARA1:=HHV(HIGH,30);
B:=EMA((VARV-VARU)/(VARA1-VARU)*100,8);
B1:=EMA(B,5);
VAR100:=B-B1>0 AND BArslAST(B-B1<0)=1;
买:IF(VAR100,1,0);