{NVB 2 20000 30 }
{SHORT 2 600 38 }
0.5,COLORGRAY,LINETHICK2;
0.6,COLORMAGENTA;
0.7,COLORLIBLUE,LINETHICK2;
0.8,COLORLIMAGENTA,LINETHICK2;
0.9,COLORRED,LINETHICK3;
0.999,LINETHICK4,COLORYELLOW;
HVN:=HHV(HHV(H,NVB),NVB);
HVN1:=C/HVN;
HV2N:=(HVN-C)/HVN;
HVN5:EMA(HVN1,SHORT),COLORLIBLUE;
HV2N5:EMA(HV2N,SHORT),COLORLIGRAY;
STICKLINE(HVN5<HV2N5,0.8,0.99,1,1),COLORBLUE;
STICKLINE(HV2N5>0.5 AND HVN5<HV2N5,HV2N5,0.5,1,1),COLORBROWN;
STICKLINE(HV2N5>0.6 AND HVN5<HV2N5,HV2N5,0.6,1,1),COLORCYAN;
STICKLINE(HV2N5>0.7 AND HVN5<HV2N5,HV2N5,0.7,1,1),COLORYELLOW;
STICKLINE(HV2N5>0.8 AND HVN5<HV2N5,HV2N5,0.8,1,1),COLORLIRED;
STICKLINE(HV2N5>0.9 AND HVN5<HV2N5,HV2N5,0.9,1,1),COLORRED;