通达信分时指标自用资金流量开盘抓强股抛砖引玉希望大家给点意见附图源码
指标源码
A2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);
A3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0);
A4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);
BB1:0;
B1万元
TT:=IF(HOUR>12,(HOUR-13)*60+MINUTE+120,(HOUR-9)*60+MINUTE-30);
P:=IF(ISLASTBAR,BARSLAST(TT=1),0);
T:=BACKSET(P,P+1);
VV:=IF(T=1,V,0);
量比:=100*DYNAINFO(17)*(SUM(VV,TT)/TT)/(DYNAINFO(8)/FROMOPEN);
净流入万元