通达信对应各指数指标公式
2020/6/29 19:22:13
Q1:=IF(BARSLAST(CURRBARSCOUNT=2),10,0);
VAR1:=("999999$C");
上证:SUM((VAR1/REF(VAR1,1)-1)*100,0)*2+100,COLORWHITE,LINETHICK1;
DRAWTEXT((Q1>=10 AND REF(Q1,1)<=0),上证,'上证');
VAR2:=("399001$C");
深:SUM((VAR2/REF(VAR2,1)-1)*100,0)*2+100;
DRAWTEXT((Q1>=10 AND REF(Q1,1)<=0),深,'深');
VAR3:=("399005$C");
中小:SUM((VAR3/REF(VAR3,1)-1)*100,0)*2+100;
DRAWTEXT((Q1>=10 AND REF(Q1,1)<=0),中小,'中小');
VAR4:=("399006$C");
创业:SUM((VAR4/REF(VAR4,1)-1)*100,0)*2+100;
DRAWTEXT((Q1>=10 AND REF(Q1,1)<=0),创业,'创业');
当前线:SUM((C/REF(C,1)-1)*100,0)*2+100,COLORRED,LINETHICK1;
投股票 网 ww w.tou18.cn
股市公式下载推荐