在线检测未来函数

通达信大盘个股指标公式

来源:Internet,编辑:股旁网,2019-05-20

ZFL:=100*(L/REF(C,1)-1);
ZFH:=100*(H/REF(C,1)-1);
ZFC:=100*(C/REF(C,1)-1);
ZFO:=100*(O/REF(C,1)-1);
DRAWKLINE(ZFH,ZFO,ZFL,ZFC);
DRAWTEXT(BARSTATUS=2,0,'------k线'),COLORCYAN;
ZT:=C/REF(C,1)>1.095;
STICKLINE(ZT>0,ZFC,ZFO,0.01,0),COLORYELLOW;
{大盘涨幅K}
DRAWTEXT(BARSTATUS=2,-10,'------大盘'),COLORCYAN;
ZFLA:=100*("999999$L"/REF("999999$CLOSE",1)-1)-10;
ZFHA:=100*("999999$H"/REF("999999$CLOSE",1)-1)-10;
ZFCA:=100*("999999$CLOSE"/REF("999999$CLOSE",1)-1)-10;
ZFOA:=100*("999999$O"/REF("999999$CLOSE",1)-1)-10;
DRAWKLINE(ZFHA,ZFOA,ZFLA,ZFCA);
ZFC,COLORLIGRAY;
ZFCA,COLORLIGRAY;

通达信大盘个股指标公式

相关文章