通信达公式指标大全 通达信主散资金公式源码(2)
2018-07-03 16:53 股票知识 zhishi.southmoney.com
WP:=IF(ISLASTBAR AND PERIOD=5 ,WP1,WP2);
NP:=IF(ISLASTBAR AND PERIOD=5 ,NP1,NP2);
资金:WP-NP,LINETHICK0;
STICKLINE(资金>O,0,资金,-1,0),COLORRED;
STICKLINE(资金<O,0,资金,-1,0),COLORCYAN;
均值:SUM(资金,5),COLOR00CCCC,LINETHICK1;
大资金:+SUM(资金,5),COLOR00CCCC,LINETHICK1;
散资金:-SUM(资金,5),COLORLICYAN,LINETHICK1;
月差:=SUM(资金,22),NODRAW;
WP-NP,COLOR00CCCC,LINETHICK0;
选股:CROSS(大资金,散资金) AND 月差>0,LINETHICK0;
{STICKLINE(日差<REF(日差,1) AND 日差>0,日差,0,-1,0),COLORBLUE;}
DDX:(WP-NP)*10000/FINANCE(7),LINETHICK0;
DDY:IF(均值>0,(WP-NP)*100/INDEXV,0),LINETHICK0;
DK1:BARSLAST(选股)+1,LINETHICK0;
更多股票公式相关资讯请关注南方财富网
(股票知识网zhishi.southmoney.com) 股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。