底部:20,COLORLIGRAY;
超底:10,COLORBLUE;
LC:=REF(L,1);
主力相对强弱量:SMA(MAX(L-LC,0),3,1)/SMA(Abs(L-LC),3,1)*100,COLORGREEN,LINETHICK2;
DIF:=L-REF(L,1);
VU:=IF(DIF>=0,DIF,0);
VD:=IF(DIF<0,-DIF,0);
MAU1:=MEMA(VU,3);
MAD1:=MEMA(VD,3);
走势相对强弱:MA(100*MAU1/(MAU1+MAD1),3),COLORCYAN;
TYP := (HIGH + LOW + CLOSE)/3;
{ _通达信股票指标公式}
V1:=SUM(IF(TYP>REF(TYP,1),TYP*vol,0),5)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),5);
资金流量动向:100-(100/(1+V1))COLORRED;