通达信大盘个股指标公式
2021/2/21 18:05:13
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;
看 股吧公式 www.k anguba.com
其它股票公式列表