【资料名称】:通达信主散资金副图指标 源码 贴图介绍【资料描述】:
通达信主散资金副图指标 源码 贴图
PJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-PJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,PJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5)+(V2*V5);
V7:=(V3*V5)+(V4*V5);
WP1:=DYNAINFO(23);
NP1:=DYNAINFO(22);
WP2:=IF(ISLASTBAR,V7*240/FROMOPEN,V7);
NP2:=IF(ISLASTBAR,V6*240/FROMOPEN,V6);
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;
gd57038
【下载地址隐藏】: 点:回复可见地址