文章目录:
- 1、真正的135均量战法(成交量主图,源码,贴图,求高人改编成选股公式
- 2、求高手编写一个通达信用:个股每日“成交额”的指标源码
- 3、求两组公式源码(通达信及飞狐): 涨停当天其成交量副图显示为实心黄柱,谢谢
- 4、请教高手通达信的虚拟成交量在选股公式中该怎么表达?求源码。。
- 5、求编辑一个 单笔成交量小于100的成交量总和 的公式
- 6、成交量VOL公式编码
真正的135均量战法(成交量主图,源码,贴图,求高人改编成选股公式
VOLUME:=VOL;
MA5V:=MA(V,5);
MA35V:=MA(V,35);
MA135V:=MA(V,135);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
WW:=VOL/REF(VOL,1)2;
GG:=CO;
QQ:=CO;
H60C:=HHV(C,60);
除权:=EXIST(C/REF(C,1)1-0.11,20);
HC60跌幅:=(H60C-C)/H60C
HC7跌幅:=(HHV(C,7)-C)/HHV(C,7);
HC60天数:=HHVBARS(C,60);
A1:=CO AND VMA135V AND CROSS(MA5V,MA135V);
A1C:=COUNT(A1,10);
介入1:=HC60天数30 AND NOT(除权) AND ABS(C-O)/O0.03 AND HC60跌幅0.28 AND HC7跌幅0.065 AND A1C=1 AND VMA5V AND VMA35V AND J65;
介入11:=HC60天数35 AND NOT(除权) AND ABS(C-O)/O0.03 AND HC60跌幅0.20 AND (HC7跌幅0.10 OR (HC7跌幅0.025 AND CMA(C,20))) AND A1C=1 AND VMA35V AND VMA5V AND VMA135V AND J65;
A2:=CO AND VMA135V AND CROSS(MA5V,MA35V) AND HC60跌幅0.20;
A2C:=COUNT(A2,10);
介入2:=HC60天数35 AND NOT(除权) AND ABS(C-O)/O0.03 AND (O+C)/2H60C*0.80 AND HC7跌幅0.05 AND ((C-REF(LLV(C,7),1))/REF(LLV(C,7),1)0.01 OR CMA(C,20)) AND A2C=1 AND VMA5V AND VMA35V AND VMA135V AND J65;
介入21:=HC60天数35 AND NOT(除权) AND HC60跌幅0.35 AND ABS(C-O)/O0.03 AND HC7跌幅0.03 AND ((C-REF(LLV(C,7),1))/REF(LLV(C,7),1)0.015) AND A2C=1 AND VMA5V AND VMA135V AND J65;
介入3:=HC60天数35 AND NOT(除权) AND ABS(C-O)/O0.03 AND HC60跌幅0.20 AND HC7跌幅0.06 AND (A1C=1 OR A2C=1) AND VMA5V AND MA5VMA35V AND MA35VMA135V AND J65;
介入4:=HC60天数35 AND NOT(除权) AND ABS(C-O)/O0.03 AND (O+C)/2HHV(C,13)*0.85 AND HHV(C,13)H60C*0.85 AND A1C=1 AND VMA5V AND MA5VMA35V AND MA5VMA135V AND MA5VREF(MA5V,1) AND J65;
{ 以上公式整体完毕,选股共介入1 ,介入11, 介入2, 介入21, 介入3, 介入4,几个条件
一:如果你需要用一个条件选股
比如介入11选股 在下面直接打 '介入11;' 单引号不需要,运行就是选介入11成立的股票。
二:如果是2个都必须成立 则 '介入11 and 介入2; ' 单引号不需要 如果再加一个 '介入11 and 介入2 and 介入3;' 就选股市 介入11 成立 并且 介入2 也要同时成立的 股票。
三: 如果选介入1成立也可以,或者介入2成立也可以 '介入11 or 介入2; ' 单引号不需要 如果再加一个 '介入11 or 介入2 or 介入3;' 介入11成立或者介入2成立 或者介入3成立 ,谁成立都可以选出来。 想好选法后 复制修改放到大括号的上面 运行就能选。}
求高手编写一个通达信用:个股每日“成交额”的指标源码
总购买量:dynainfo (23) * C;
总销售额:dynainfo (22) * C;
Stickline(总购买金额 0,0,总购买金额,5,0),颜色为红色;
Stickline(总销售额 0,总购买量,总销售额,5,0),颜色绿色;
Stickline(总购买量,0,0,总购买量,5,0),红色
详细信息:操作数没有对应的运算符匹配!
错误起始位置:48; 长度:1
拓展资料
1.股票技术指标属于统计范畴。它们是一些用来衡量一切的数据指标,用数据来展示股票走势、交易等。通过指数代码,股票软件可以用公式自动计算出股票技术指数。估计只能手动操作了。
2.首先选择通大信报价,按7,选择深沪A股,列出股票,点击上方的增加一两次。一次按股价涨幅排列股票后,在屏幕上右击选择“批量操作”,在新对话框中选择“全选”,然后“添加到板块”和“新板块”,然后重复上一步,依次将90只股票加入新版块,返回通大信报价主界面,中下边自定义。单击后,将出现列表。选择刚才新建的板块,90只股票都在里面。在菜单栏中选择第二个“功能”,选择“报价分析”。左上角有一个尖锐的向下的小三角形。单击并选择“平均值”以等待计算。
3.除非您使用超级计算机,否则对垂直统计的需求会导致您的计算机速度急剧下降。一般计算机不推荐使用纵向统计。 i7没测试过,8核电脑测试过,涉及纵向统计。电脑只是卡住了。可以按指标排序,对交易金额进行排序,并附上上述指标。符合条件的另存为另一盘这比那快得多
4.股票是股份公司发行的所有权凭证,是股份公司为筹集资金而发行给各个股东作为持股凭证并借以取得股息和红利的一种有价证券。每股股票都代表股东对企业拥有一个基本单位的所有权。每支股票背后都有一家上市公司。换言之,每家上市公司都会发行股票。同一类别的每一份股票所代表的公司所有权是相等的。每个股东所拥有的公司所有权份额的大小,取决于其持有的股票数量占公司总股本的比重。股票是股份公司资本的构成部分,可以转让、买卖或作价抵押,是资本市场的主要长期信用工具,但不能要求公司返还其出资。
5.股票投资是一种没有期限的长期投资。股票一经买入,只要在股票发行公司存在,任何股票持有者都不能退股,即不能向股票发行公司要求抽回本金。同样,股票持有者的股东身份和股东权益就不能改变,但他可以通过股票交易市场将股票卖出,使股份转让给其他投资者,以收回自己原来的投资。
求两组公式源码(通达信及飞狐): 涨停当天其成交量副图显示为实心黄柱,谢谢
通达信-副图:
涨停:cref(c,1)*1.095;
STICKLINE(涨停,0,涨停,3,1);
请教高手通达信的虚拟成交量在选股公式中该怎么表达?求源码。。
虚拟量:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),0);
STICKLINE(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VOL,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),4,-21),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
VOLL:IF(虚拟量0,虚拟量,VOLUME);
上面是指标源码
选股公式里:
虚拟量1:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),0);
VOLUME:=VOL;
虚拟量:IF(虚拟量0,虚拟量1,VOLUME);
求编辑一个 单笔成交量小于100的成交量总和 的公式
难得一见的成交量指标,我自己组合的,都是论坛精华!我一直在用这个指标,感觉非常不错,和大家分享一下。这次有奖征文活动我有参加,其间得到大家的支持和鼓励,在此致谢!继续支持鼓励《我和有个约会》的朋友们有劳了(请点击红色这里)!
源码:
周换:SUM(V/CAPITAL*100,5),NODRAW,COLORMAGENTA;
预测:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,预测,0,-1,-1),COLOR00C0C0;
持币:IF(SAR(10,2,20)=H,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORGREEN;
持股:IF(SAR(10,2,20)=L,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORMAGENTA;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ9:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
TD1:=QJ9*(MIN(OPEN,CLOSE)-LOW);
XD1:=QJ9*(JJ-MIN(CLOSE,OPEN));
XD2:=QJ9*(HIGH-MAX(OPEN,CLOSE));
TD2:=QJ9*(MAX(CLOSE,OPEN)-JJ);
日净:((TD1+XD1)-(TD2+XD2))/10000,NODRAW;
周净:SUM(日净,5),NODRAW;
QJ0:=(HIGH+LOW+CLOSE)/3;
QJ1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
QJ2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-QJ0);
QJ3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN));
QJ5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));
特大:QJ4*QJ5,NODRAW;大单:QJ3*QJ5,NODRAW;
中单:QJ1*QJ5,NODRAW;小单:QJ2*QJ5,NODRAW;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSEOPEN,AA*(HIGH-LOW),IF(CLOSEOPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0;
卖量:=IF(CLOSEOPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSEOPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORCYAN;
主力净流入:MA(买量+卖量/2,3)*AMO/V/100000000,COLORYELLOW,LINETHICK1;
量〗:VOL,NODRAW,VOLSTICK;
STICKLINE(V=3*REF(V,1),V/3,V/3,3.9,0),COLORGREEN;
STICKLINE(V=2*REF(V,1),V/2,V/2,3.9,0),COLORYELLOW;
DRAWLINE(V=HHV(V,30),V,V=LLV(V,10),HHV(V,6),1),COLORFFCCCC;
VAR7:=(HIGH - LOW);
VAR8:=ABS((OPEN - CLOSE));
VAR9:=(HIGH - IF((CLOSE OPEN),CLOSE,OPEN));
VAR10:=(IF((CLOSE OPEN),OPEN,CLOSE) - LOW);
VAR11:=((VAR8 / VAR7) * VOL);
VAR12:=((VAR9 / VAR7) * VOL);
VAR13:=((VAR10 / VAR7) * VOL);
VAR14:=IF(((VOL / CAPITAL) 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));
VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);
VARB:=(((MA(CLOSE,5) MA(CLOSE,10)) AND (MA(CLOSE,10) MA(CLOSE,30))) AND (MA(CLOSE,30) MA(CLOSE,60)));
VARC:=((MA(CLOSE,5) MA(CLOSE,10)) AND (MA(CLOSE,10) MA(CLOSE,30)));
VARD:=REF(CLOSE,1);
DRAWTEXT(((VAR14 2) AND (VOL (MA(VOL,5) / 2))),V-15000,'◆'),COLORFB2DFB;
DRAWTEXT(((VAR14 2) AND (VOL (MA(VOL,5) / 2))),V+59000,'地'),COLORFB2DFB;
换手率:=((VOL / CAPITAL) * 100);
DRAWTEXT((((VOL / REF((SUM(VOL,5) / 5),1)) = 2) AND (换手率 1)),(V+55000),'变'),COLORFFFFCC;
量:=IF((CLOSE 200),(VOL / 1000000),(VOL / 100)), LINETHICK0;
振幅:=(((HIGH - LOW) / LOW) * 100);
DRAWTEXT(VAR12VAR11 AND VARA2 AND VAR12VAR13 AND CLOSEMA(CLOSE,5) AND CLOSEMA (CLOSE,30) AND HIGHMA(CLOSE,60) AND VOLMA(VOL,5) AND VAR12=MA(VOL,5),V+5000,'高'),COLORGREEN;
DRAWTEXT(VAR13VAR11 AND VAR13VAR12 AND VARA-2 AND CLOSEMA(CLOSE,30) AND VAR13MA (VOL,5)/2 AND MA(VOL,5)MA(VOL,10),V+5000,'低'), COLORYELLOW;
LC1:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC1,0),6,1)/SMA(ABS(CLOSE-LC1),6,1)*100;
抓大牛:CROSS(RSI1,11);
DRAWTEXT(抓大牛,V+55000,'抓'),COLORRED;
EMA13:=EMA(C,13),COLORFF8080;
DRAWTEXT(CROSS(HIGH,EMA13),V+5000,'底'),COLORYELLOW;
A01:=DYNAINFO(7);
A03:=BARSCOUNT(CLOSE);
A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);
A05:=IF((A03 20),A04,0);
A06:=IF((LOW A01),0,IF((HIGH A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));
A07:=DMA(A06,(VOL / CAPITAL)) * 60;
A09:=IF((((A07 0) AND (A07 REF(A07,1))) AND (A05 = 88)),A07,0);
VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
VAR2:=EMA(VAR1,8);
VAR3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势:=EMA(VAR3,3)-10;
STICKLINE((A090) AND 趋势40,0,V/6,2,0),COLORMAGENTA;
粉色机构建仓区:0,LINETHICK0,COLORMAGENTA;
A011:=DYNAINFO( 5);
A013:=BARSCOUNT(HIGH);
A014:=(SMA((HIGH / HHV(CLOSE,120)),3,1) * 100);
A015:=IF((A013 20),A014,0);
A016:=IF((HIGH A011),0,IF((LOW A011),1,(((A011 - HIGH) + 0.009) / ((LOW - HIGH) + 0.009))));
A017:=DMA(A016,(VOL / CAPITAL)) * 60;
A019:=IF((((A017 0) AND (A017 REF(A017,1))) AND (A015 = 88)),A017,0);
VAR21:=3*SMA((CLOSE-HHV(HIGH,27))/(LLV(LOW,27)-HHV(HIGH,27))*100,5,1)-
2*SMA(SMA((HIGH-HHV(HIGH,27))/(LLV(LOW,27)-HHV(HIGH,27))*100,5,1),3,1);
VAR22:=EMA(VAR21,8);
VAR23:=3*SMA((HIGH-HHV(HIGH,55))/(LLV(LOW,55)-HHV(HIGH,55))*100,5,1)-
2*SMA(SMA((HIGH-HHV(HIGH,55))/(LLV(LOW,55)-HHV(HIGH,55))*100,5,1),3,1);
趋势1:=EMA(VAR23,3)-10;
STICKLINE((A019 0 AND (趋势120 OR 趋势1REF(趋势1,1)AND 趋势150)),0,V/5,2,0),COLORGREEN;
绿色机构出仓区:0,LINETHICK0,COLORGREEN;
AB:DRAWLINE(V=HHV(V,10),V,V=LLV(V,3),HHV(V,3),1),COLORYELLOW;
DRAWTEXT(CROSS(C,AB),C+5000,'B'),COLORYELLOW;
{DRAWICON(CROSS(C,AB),L*0.98,7);};
五日: MA(V,5) COLORFFFFFF LINETHICK2;
三十四日: MA(V,34) COLORFF80FF LINETHICK2;
一百四十四日: MA(V,144) COLOR00FFFF LINETHICK1;
底部区域:=MA(IF(L=LLV(L,15),MA(C,20),0),3)/200,VOLSTICK;
入货点:=IF(REF(底部区域,1)0 AND REF(C,1)=REF(O,1) AND 底部区域0 AND CO,1,0);
DRAWICON(入货点=1,底部区域*1.2,1),COLORBLUE;
DRAWTEXT(CROSS(0.9,1/VOL*10000.01 AND "KDJ.J"0),V,'☆地');
成交量VOL公式编码
以下是通达信成交量公式源码:
成交量:=VOL/100,VOLSTICK;
VAR1:=成交量/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:IF(CLOSEOPEN,VAR1*(HIGH-LOW),IF(CLOSEOPEN,VAR1*((HIGH-OPEN)+ (CLOSE-LOW)),成交量/2)),NODRAW;
主卖:IF(CLOSEOPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSEOPEN,0- VAR1*(HIGH-LOW),0-成交量/2)),NODRAW;
STICKLINE(成交量0,成交量,0,2.5,0),COLORCYAN;
STICKLINE(主买0,0,主买,2.5,0),COLORRED;
主持仓:EMA(100*(CLOSE- LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORFF00FF;
主集中度:WINNER(C)*100,COLORRED;
散集中度: (WINNER(C*1.1)-WINNER(C*0.9))*100,COLORGREEN;
地量:=成交量LLV(成交量,14)*1.001;
买卖差:(主买+主卖),NODRAW,COLORYELLOW;
买卖比:(主买/主卖),NODRAW,COLORYELLOW;
换手率:=VOL/CAPITAL*100;
换手55:SUM(换手率,55),NODRAW,COLORLICYAN;
买卖差55:SUM(买卖差,55),NODRAW,COLORGRAY;
量能饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))1,1,(AMOUNT/C) /(HHV(AMOUNT,20)/HHV(C,20)))*100,COLORYELLOW,NODRAW;
中点:=REFDATE(HHV(EMA(买卖差,9),120),DATE)*2;
STICKLINE(CURRBARSCOUNT=19,中点*1.9,中点*1.5,120,1),COLOR00DDDD;
STICKLINE(CONST(CO)=1 AND CURRBARSCOUNT=19,中点*1.88,中点*1.52,量能饱和度*1.2,0),COLOR0033FF;
STICKLINE(CONST(CO)=1 AND CURRBARSCOUNT=19,中点*1.82,中点*1.58,量能饱和度*1.2,0),COLOR0077FF;
STICKLINE(CONST(CO)=1 AND CURRBARSCOUNT=19,中点*1.76,中点*1.64,量能饱和度*1.2,0),COLOR0099FF;
STICKLINE(CONST(CO)=1 AND CURRBARSCOUNT=19,中点*1.7,中点*1.7,量能饱和度*1.2,0),COLOR00DDFF;
STICKLINE(CONST(CO)=1 AND CURRBARSCOUNT=19,中点*1.88,中点*1.52,量能饱和度*1.2,0),COLORFF7700;
STICKLINE(CONST(CO)=1 AND CURRBARSCOUNT=19,中点*1.82,中点*1.58,量能饱和度*1.2,0),COLORFF9900;
STICKLINE(CONST(CO)=1 AND CURRBARSCOUNT=19,中点*1.76,中点*1.64,量能饱和度*1.2,0),COLORFFBB00;
STICKLINE(CONST(CO)=1 AND CURRBARSCOUNT=19,中点*1.71,中点*1.69,量能饱和度*1.2,0),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=22,中点*2.3,'量能饱和度'),COLORYELLOW;
持股:IF(SAR(10,2,20)=L,SAR(10,2,20),DRAWNULL),NODRAW,COLOR000099;
V2:=IF(CURRBARSCOUNT=1,成交量*240/FROMOPEN/REF(成交量,1)-1,成交量/REF(成交量,1)-1);
STICKLINE(成交量0,成交量,0,2,1),COLORWHITE;
STICKLINE(主买成交量/2,0,成交量,2,0),COLORYELLOW;
STICKLINE(主买=成交量/2,0,成交量,2,0),COLORWHITE;
STICKLINE(主买0,0,主买,2,0),COLORRED;
STICKLINE(主卖0,0,主卖,2,0),COLOR00FF00;
STICKLINE(地量0,0,成交量,1,0),COLORMAGENTA;
STICKLINE(V2=1,成交量,0,1,0),COLORYELLOW;
,0),COLORMAGENTA;STICKLINE(V2=1,成交量,0,1,0),COLORYELLOW;