通达信主力大单异动主图/副图 抓捕突破和起爆两个建仓点 源码

{主力大单主图源码如下}

换手率%:100*VOL/(FINANCE(7)/100),COLORYELLOW,NODRAW;
低迷:IF(换手率%<=1,换手率%,DRAWNULL),COLORFF9900,NODRAW;
温和放量:IF(换手率%>1 && 换手率%<=3,换手率%,DRAWNULL),COLORBBBBBB,NODRAW;
异动:=IF(换手率%>3 && 换手率% <=5,换手率%,DRAWNULL),NODRAW;
活跃:IF(换手率%>5 && 换手率%<=8,换手率%,DRAWNULL)COLORMAGENTA,NODRAW;
非常活跃:IF(换手率%>8 && 换手率%<=10,换手率%,DRAWNULL)COLORYELLOW,NODRAW;
高度活跃:IF(换手率%>10 && 换手率%<=15,换手率%,DRAWNULL)COLOR0077FF,NODRAW;
极度活跃:IF(换手率%>15 && 换手率%<=25,换手率%,DRAWNULL)COLORRED,NODRAW;
巨量换手:IF(换手率%>25,换手率%,DRAWNULL)COLOR000099,NODRAW;
STICKLINE(低迷,换手率%,0,2.8,0),COLORFF0000;
STICKLINE(低迷,换手率%,0,2.3,0),COLORFF3300;
STICKLINE(低迷,换手率%,0,1.7,0),COLORFF5500;
STICKLINE(低迷,换手率%,0,1.0,0),COLORFF7700;
STICKLINE(低迷,换手率%,0,0.3,0),COLORFF9900;
STICKLINE(温和放量,换手率%,0,2.8,0),COLOR555555;
STICKLINE(温和放量,换手率%,0,2.3,0),COLOR777777;
STICKLINE(温和放量,换手率%,0,1.7,0),COLOR999999;
STICKLINE(温和放量,换手率%,0,1.0,0),COLORBBBBBB;
STICKLINE(温和放量,换手率%,0,0.3,0),COLORFF00FF;
STICKLINE(异动,换手率%,0,2.8,0),COLOR004400;
STICKLINE(异动,换手率%,0,2.3,0),COLOR006600;
STICKLINE(异动,换手率%,0,1.7,0),COLOR009900;
STICKLINE(异动,换手率%,0,1.0,0),COLOR00CC00;
STICKLINE(异动,换手率%,0,0.3,0),COLOR00FF00;
STICKLINE(活跃,换手率%,0,2.8,0),COLOR880088;
STICKLINE(活跃,换手率%,0,2.3,0),COLORAA00AA;
STICKLINE(活跃,换手率%,0,1.7,0),COLORCC00CC;
STICKLINE(活跃,换手率%,0,1.0,0),COLOREE00EE;
STICKLINE(活跃,换手率%,0,0.3,0),COLORFF33FF;
STICKLINE(非常活跃,换手率%,0,2.8,0),COLOR008888;
STICKLINE(非常活跃,换手率%,0,2.3,0),COLOR00AAAA;
STICKLINE(非常活跃,换手率%,0,1.7,0),COLOR00CCCC;
STICKLINE(非常活跃,换手率%,0,1.0,0),COLOR00EEEE;
STICKLINE(非常活跃,换手率%,0,0.3,0),COLOR44FFFF;
STICKLINE(高度活跃,换手率%,0,2.8,0),COLOR0000AA;
STICKLINE(高度活跃,换手率%,0,2.3,0),COLOR0022CC;
STICKLINE(高度活跃,换手率%,0,1.7,0),COLOR0044DD;
STICKLINE(高度活跃,换手率%,0,1.0,0),COLOR0055FF;
STICKLINE(高度活跃,换手率%,0,0.3,0),COLOR0099FF;
STICKLINE(极度活跃,换手率%,0,2.8,0),COLOR000066;
STICKLINE(极度活跃,换手率%,0,2.3,0),COLOR000088;
STICKLINE(极度活跃,换手率%,0,1.7,0),COLOR0000AA;
STICKLINE(极度活跃,换手率%,0,1.0,0),COLOR0000CC;
STICKLINE(极度活跃,换手率%,0,0.3,0),COLOR2222FF;
STICKLINE(巨量换手,换手率%,0,2.8,0),COLOR000022;
STICKLINE(巨量换手,换手率%,0,2.3,0),COLOR000033;
STICKLINE(巨量换手,换手率%,0,1.7,0),COLOR000055;
STICKLINE(巨量换手,换手率%,0,1.0,0),COLOR000077;
STICKLINE(巨量换手,换手率%,0,0.3,0),COLOR000099;
ACB1:=REF(CLOSE,1)*1.1-CLOSE< 0.01 AND HIGH=CLOSE;
前高量:=REF(HHV(换手率%,60),REF(ACB1,1)),COLORGREEN;
成交量:VOL,VOLSTICK,NODRAW;
N:=90;
后量超前量:V>=HHV(V,N);
DRAWICON(后量超前量,前高量,9);
DRAWTEXT(后量超前量,前高量,' 大单异动'), COLORMAGENTA;
V5:=MA(V,5),COLORWHITE,NODRAW;
V35:=MA(V,35),COLORGREEN,NODRAW;
V135:=MA(V,135),COLORFF00FF,NODRAW;
XG:=CROSS(V5,V35) AND V>V5 AND V>V135*2;
牛股启动:FILTER(XG,20),LINETHICK3,COLORRED;
DRAWTEXT(牛股启动,前高量,' 牛启动'), COLORYELLOW;
DRAWICON(牛股启动,前高量,34);
量比:VOL/REF(MA(VOL,5),1),COLORFFFFFF,NODRAW;
预测量:=IF( PERIOD=5,VOL*240/FROMOPEN,VOL),VOLSTICK;
ABC1:=MA(预测量,5);
ABC2:=MA(预测量,60);
均量金叉:CROSS(ABC1,ABC2);
DRAWICON(均量金叉,5,11);


{主力大单副图源码如下}

STICKLINE((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)< 0.095,CLOSE,OPEN,2,0),COLORRED;
STICKLINE((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.095,CLOSE,OPEN,2,0),COLORMAGENTA;
箱顶:MA(REF(HHV(CLOSE,30),1),2),COLORYELLOW,LINETHICK2;
箱底:=MA(REF(LLV(CLOSE,30),1),2),DOTLINE,COLORCYAN;
中轨:EMA(CLOSE,20),COLORGREEN,LINETHICK2;
ABC1:=MA(CLOSE,20);
ABC2:=POW(CLOSE-中轨,2);
ABC3:=MA(ABC2,20);
ABC4:=SQRT(ABC3);
ABC5:=中轨+2*ABC4;
ABC6:=中轨-2*ABC4;
ABC7:=REF(中轨,1);
上轨:REF(ABC5,1),COLORRED,LINETHICK2;
下轨:=REF(ABC6,1),DOTLINE,COLORRED;
获利90%:=EMA(COST(90),5),DOTLINE,COLORRED;
获利百分百:=EMA(COST(99),5),DOTLINE,COLORGREEN;
量比:=VOL/REF(MA(VOL,5),1),NODRAW,COLORWHITE;
起爆点:=CLOSE>箱顶 AND CLOSE>上轨 AND 量比>1.8 AND COUNT(CLOSE>箱顶 AND CLOSE>上轨 AND 量比>1.8,7)=1,NODRAW;
DRAWICON(起爆点,中轨,13);
DRAWTEXT(起爆点 ,L,'★起爆')COLORMAGENTA LINETHICK6;
突破:CLOSE>获利百分百 AND COUNT(CLOSE>获利百分百,7)=1,NODRAW;
DRAWICON(突破,中轨,9);
DRAWTEXT(突破 ,L,'★突破')COLORYELLOW;
STICKLINE(起爆点,CLOSE,OPEN,2,0),COLORYELLOW;
DRAWTEXT_FIX(1,0.048,0.01,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.095,0.01,0,4),COLORLIGREEN;



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

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

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