通达信真实资金副图指标 红色为主力资金 用法详解 手机和电脑版通用 源码

VAR5:=L2_AMO(0,0)/10000.0,NODRAW;
VAR6:=L2_AMO(0,1)/10000.0,NODRAW;
VAR7:=L2_AMO(1,0)/10000.0,NODRAW;
VAR8:=L2_AMO(1,1)/10000.0,NODRAW;
VAR9:=L2_AMO(2,0)/10000.0,NODRAW;
VAR10:=L2_AMO(2,1)/10000.0,NODRAW;
VAR11:=L2_AMO(3,0)/10000.0,NODRAW;
VAR12:=L2_AMO(3,1)/10000.0,NODRAW;
VAR13:=VAR5-VAR6;
VAR14:=VAR7-VAR8;
VAR15:=VAR9-VAR10;
VAR16:=VAR11-VAR12;
VAR17:=L2_AMO(1,0)/10000.0,NODRAW;
VAR18:=L2_AMO(1,1)/10000.0,NODRAW;
VAR25:=VAR17-VAR18;
VAR29:=FINANCE(7)*C/100000000;
VAR30:=AMO/10000;
VAR31:=CODELIKE('688');
VAR32:=(CODELIKE('30') AND DATE>=1200824);
VAR33:=VAR31 OR VAR32;
VAR34:=IF(CODELIKE('60') OR CODELIKE('30') OR CODELIKE('00'),1,0) AND NOT(VAR33);
VAR35:=((VAR34 AND C/REF(C,1)>=1.096) OR (VAR33 AND C/REF(C,1)>=1.196) AND H=C) OR (BARSCOUNT(C)=0 AND C/O>=1.4 AND C=H);
VAR36:=VAR35 AND H=L;
VAR37:=(VAR35 AND NOT(H=L) AND ((VAR34 AND O/REF(C,1)>=1.096) OR (VAR33 AND O/REF(C,1)>=1.196)));
VAR38:=(VAR34 AND H/REF(CLOSE,1)>=1.096) OR (VAR33 AND H/REF(CLOSE,1)>=1.196) AND NOT(VAR35);
VAR39:=((VAR34 AND C/REF(C,1)<=0.904) OR (VAR33 AND C/REF(C,1)<=0.804) AND C=L);
VAR40:=VAR39 AND H=L;
VAR41:=VAR39 AND NOT(H=L) AND ((VAR34 AND O/REF(C,1)<=0.904) OR (VAR33 AND O/REF(C,1)<=0.804));
VAR42:=((VAR34 AND L/REF(CLOSE,1)<=0.904) OR (VAR33 AND L/REF(CLOSE,1)<=0.804)) AND NOT(VAR39);
VAR43:=VAR35 OR VAR38 OR VAR39 OR VAR42;
VAR44:=VAR39 OR VAR42;
VAR45:=IF(ABS(VAR13)<=VAR30,VAR13,IF(VAR13<0,-VAR30,VAR30));
VAR46:=IF(ABS(VAR25)<=VAR30,VAR25,IF(VAR25<0,-VAR30,VAR30));
VAR47:=ABS(VAR46)<VAR30*0.1;
VAR48:=ABS(VAR45)<VAR30*0.1;
VAR49:=ABS(1*VAR45-VAR46)<=VAR30;
VAR50:=IF(NOT(VAR47),VAR30-MAX(VAR45,-VAR46),IF(VAR48,0,VAR30-MAX(VAR45,-VAR46)));
VAR51:=IF(NOT(VAR47),-VAR30-MIN(VAR45,VAR46),IF(VAR48,0,-VAR30-MIN(VAR45,VAR46)));
VAR52:=IF(VAR36,VAR50,IF(VAR40,VAR51,VAR45));
主力流入:IF(VAR49,VAR45,VAR52),NODRAW,COLORRED;
VAR53:=IF(VAR44,-VAR30-主力流入,VAR30-主力流入);
主力封板:IF(NOT(VAR43),0,IF(VAR49,VAR45-VAR46,VAR53)),NODRAW,COLOR0F5CFF;
主力总买:IF(VAR43,主力流入+主力封板,主力流入),NODRAW,COLORFF42A0;
市值比%:主力总买/10000/VAR29*100,NODRAW,COLORFF42A0;
VAR54:=IF(NOT(REF(H,1)=REF(L,1)),MIN(V/LLV(V,10),1.5),1);
VAR55:=(VAR14*0.2+VAR16*1.75+VAR15*0.75)/1.5*VAR54;
VAR56:=ABS(VAR55)>VAR30;
散户资金:IF(NOT(VAR56),VAR55,IF(VAR55>=0,VAR30,-VAR30)),NODRAW,COLOR008000;
STICKLINE(C>0,0,散户资金,3.2,0),COLOR00FF00;
STICKLINE(C>0,0,主力流入,3.2,0),COLOR0000FF;
STICKLINE(VAR43,主力流入,主力总买,1.3,0),COLOR5EB0E8;
VAR57:=CONST(HHV(MAX(主力总买,散户资金),250));
DRAWNUMBER(市值比%>=0.66,主力总买+VAR57*0.15,INTPART(主力总买)),COLORFF00FF;
DRAWNUMBER(市值比%>=0.66,-VAR57*0.25,ROUND2(市值比%,2)),COLORFF00FF;



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

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

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