股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信主力超级单指标公式源码


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-8-12 11:32:36

立庄量%: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,NODRAW;
DRAWTEXT(牛股启动,前高量,' 牛启动'), COLORYELLOW;
DRAWICON(牛股启动,前高量,34);
量比:VOL/REF(MA(VOL,5),1),COLORFFFFFF,NODRAW;
预测量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),VOLSTICK;
ABC1:=MA(预测量,5);
ABC2:=MA(预测量,60);
均量金叉:CROSS(ABC1,ABC2);
DRAWICON(均量金叉,5,11);





回复

举报

QQ|

GMT+8, 2024-11-16 09:47

快速回复 返回顶部 返回列表