L1:=13;M:=9;N:=3;
VDI:=HHV(vol,L1)-LLV(VOL,L1);
VDF:=VOL-LLV(VOL,L1);
SVI:=MA(VDF/VDI*100,M),COLORBLUE;
SVIS:=MA(SVI,N),COLORLIGREEN;
JDI:=HHV(CLOSE,L1)-LLV(CLOSE,L1);
JDF:=C-LLV(CLOSE,L1);
SJI:=MA(JDF/JDI*100,M),COLORRED;
SJF:=MA(SJI,N),COLORMAGENTA;
DH:(SVI+SJI)/2;
DL:(SVIS+SJF)/2;
VAR1:=(2*CLOSE+HIGH+LOW)/4;
{ _最新股票指标公式}
VAR2:=expma(EXPMA(EXPMA(VAR1,4),4),4);
J:= (VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
D:=MA(J,3);
K:=MA(J,1);
DRAWICON(crOSS(DH,DL) AND DL<50 AND K>D,DL,1);
STICKLINE(DH>=25 AND DL<=75 AND DH>DL,DH,DL,0.1,1),COLORLIRED;
底线:15,COLORGREEN;
顶线:75,COLORYELLOW;