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);
STICKLINE(B-B1 0,B,B1,8/3,1),COLORRED;
STICKLINE(B-B1 0,B,B1,8/3,1),COLOR00FF00;
RISK : EMA(IF(B-B1 0 AND IF(B-B1 0,B,B1) 7,-(B-B1)*3+56,-(B-B1)*3+46),3);
POWER : IF(B-B1 0,B,B1);