通达信五日资金指标公式源码副图

{五日资金}
{买卖量}
大单买:SUM(IF(C>REF(C,1) AND V>4000,V/5,0),0),COLORRED,LINETHICK1,NODRAW;
大单卖:SUM(IF(C<REF(C,1) AND V>4000,V/5,0),0),COLORGREEN,LINETHICK1,NODRAW;
买单总:=SUM(IF(C>REF(C,1),V/5,0),0);
卖单总:=SUM(IF(C<REF(C,1),V/5,0),0);
小单买:买单总-大单买,COLORLIRED,DOTLINE,NODRAW;
小单卖:卖单总-大单卖,COLORLIGREEN,DOTLINE,NODRAW;
量极值:=CONST(vol);
大单买量:=SUM(IF(C>REF(C,1) AND V>4000,V/1000,0),0),NODRAW;
大单卖量:=SUM(IF(C<REF(C,1) AND V>4000,V/1000,0),0),NODRAW;
买单总量:=SUM(IF(C>REF(C,1),V/1000,0),0),NODRAW;
卖单总量:=SUM(IF(C<REF(C,1),V/1000,0),0),NODRAW;
小单买量:=买单总量-大单买量,NODRAW;
小单卖量:=卖单总量-大单卖量,NODRAW;
大宗进:=大单买量,NODRAW;
大宗出:=大单卖量,NODRAW;
非大宗进:=小单买量,NODRAW;
非大宗出:=小单卖量,NODRAW;
主力净流入:=大单买量-大单卖量,COLORRED,NODRAW;
散户净流入:=小单买量-小单卖量,COLORRED,NODRAW;
净流入:=买单总量-卖单总量,COLORRED,NODRAW;
均价:=SUM(V*C,0)/SUM(V,0),COLORYELLOW;
DRAWTEXT_FIX(1,0.2,0.00,0,STRCAT(STRCAT('主力: ',CON2STR(主力净流入,0)),'万')),COLORMAGENTA;
DRAWTEXT_FIX(1,0.5,0,0,STRCAT(STRCAT('散 户:',CON2STR(散户净流入,0)),'万')),COLORCYAN;
DRAWTEXT_FIX(1,0.9,0,0,STRCAT(STRCAT('净入:',CON2STR(净流入,0)),'万手')),COLORYELLOW;
量:V,VOLSTICK;
资金万:=AMO/10000;
资金1:=资金万>500 AND 资金万<1000;
资金2:=资金万>1000;
TXT:=VARCAT(VAR2STR(资金万/1000,1),'亿');
STICKLINE(资金1 AND C>REF(C,1),0,V,0,0),COLORLIRED;
STICKLINE(资金1 AND C<REF(C,1),0,V,0,0),COLORGREEN;
STICKLINE(资金2 AND C>REF(C,1),0,V,0,0),COLORLIMAGENTA;
STICKLINE(资金2 AND C<REF(C,1),0,V,0,0),COLORBLUE;
NN:=2400;
HD:=HHV(V,NN);
LD:=LLV(V,NN);
最高:=CONST(HD),NODRAW;
最低:=CONST(LD),NODRAW;
HLMAX:=最高;
HLMIN:=最低;
HLMN1:=(HLMAX+HLMIN)/2;
HLMN2:=HLMAX-HLMIN;
HLMN3:=(100-0)/2*1.3;
HLMN4:=(100-0)/1*1.3;
中间价轴:=(50-HLMN3)*HLMN2/HLMN4+HLMN1;
轴差:=最高-最低;
拉升量:=IF(C>REF(C,1),VOL,0);
打压量:=IF(C<REF(C,1),VOL,0);
昨拉升最高值:=CONST(FINDHIGH(拉升量,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA;
昨打压最高值:=CONST(FINDHIGH(打压量,FROMOPEN,240,1)),LINETHICK1,COLORCYAN,NODRAW;
今拉升最高值:=CONST(REF(HHV(拉升量,FROMOPEN),0)),COLORRED;
今打压最高值:=CONST(REF(HHV(打压量,FROMOPEN),0)),COLORCYAN,NODRAW;
攻击力度:=今拉升最高值/昨拉升最高值,NODRAW;
量能均线:=SUM(V,FROMOPEN)/FROMOPEN;
五日量:=MA(量,5),COLORWHITE;
TT:=BARSCOUNT(C);
均价黄:=SUM(C*V,TT)/SUM(V,TT);
量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);
价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);
价上岗量破5:=C>均价黄 AND V>MA(V,5);
量起爆:=V>=REF(V,1)*1;
价创新高:=C>=HHV(C,0);
量创新高:=V>=HHV(V,0);
 

源码未复制完...下载附里文件源码.....




未来函数检测结果如下:
该公式包含未来函数:DHIGH
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图