- 牛云
-
通达信炒股软件是一款定位于提供多功能服务的证券信息平台,由深圳财富趋势科技股份有限公司设计的一款移动证券软件。通达信允许用户自由划分屏幕,并规定每一块对应哪个内容。通达信软件使用问题详询平台客服咨询,以官方回复为准。
温馨提示:
1、以上内容仅供参考,不作任何建议;
2、在投资之前,建议您先去了解一下项目存在的风险,对项目的投资人、投资机构、链上活跃度等信息了解清楚,而非盲目投资或者误入资金盘。投资有风险,入市须谨慎。
应答时间:2021-11-29,最新业务变化请以平安银行官网公布为准。
- 大鱼炖火锅
-
{只能这样}
{先建一引用指标副图,名为:OCHL}
ND1970:=(YEAR-1970)*365+INTPART((YEAR-1972)/4)-IF(INTPART(YEAR/4)=YEAR/4,1,0)+DAY+(MONTH-1)*30+IF(MONTH<=8,INTPART(MONTH/2),INTPART((MONTH-7)/2)+4)-IF(MONTH>2 AND INTPART(YEAR/4)=YEAR/4,1,IF(MONTH>2 AND NOT(INTPART(YEAR/4)=YEAR/4),2,0));
C1:C;
O1:REF(O,BARSLAST(ND1970-REF(ND1970,1)>WEEKDAY-REF(WEEKDAY,1)));
H1:HHV(H,BARSLAST(ND1970-REF(ND1970,1)>WEEKDAY-REF(WEEKDAY,1))+1);
L1:LLV(L,BARSLAST(ND1970-REF(ND1970,1)>WEEKDAY-REF(WEEKDAY,1))+1);
===============
{再建一指标,名为:周K线副图}
{周K线副图,源码为:}
WO1:="OCHL.O1#WEEK";
WC:="OCHL.C1#WEEK";
WH:="OCHL.H1#WEEK";
WL:="OCHL.L1#WEEK";
K1:=WO1=REF(WO1,1) AND WC=REF(WC,1) AND WH=REF(WH,1) AND WL=REF(WL,1);
K3:=REF(C,1)=DYNAINFO(3) AND O=DYNAINFO(4) AND C=DYNAINFO(7) AND H=DYNAINFO(5) AND L=DYNAINFO(6);
DD:=REF(BARSLAST(K1=0)+1,1),LINETHICK0;
DD1:=CROSS(BACKSET((K1=0 OR K3) AND DD=5,4),0.5),NODRAW;
DD2:=CROSS(BACKSET((K1=0 OR K3) AND (DD=4 OR DD=3),3),0.5),NODRAW;
DD3:=CROSS(BACKSET((K1=0 OR K3) AND DD<=2,2),0.5),LINETHICK0;
BK1:=DD1 OR DD2 OR DD3;
BK2:=CROSS(BACKSET(K1=0,2),0.5);
BK3:=CROSS(BACKSET(K1=0 AND REF(K1=0,1),2),0.5);
WO:IF(BARSLAST(K1=0)=0,O,REF(O,BARSLAST(K1=0))),NODRAW;
K0:=WC>WO OR (WC=WO AND WC>REF(WC,BARSLAST(K1=0)+1));
STICKLINE(K0 AND BK1,WH,WC,0,0),COLORLIMAGENTA;
STICKLINE(K0 AND BK1,WO,WL,0,0),COLORLIMAGENTA;
STICKLINE(K0 AND K1=0,WC,WO,0,0),COLORLIMAGENTA;
STICKLINE(K0 AND (BK2 OR K3),WC,WO,0,0),COLORLIMAGENTA;
STICKLINE(K0 AND ((K1 AND BK2=0 AND K3=0) OR BK3),WC,WC,8,1),COLORLIMAGENTA;
STICKLINE(K0 AND ((K1 AND BK2=0 AND K3=0) OR BK3),WO,WO,8,1),COLORLIMAGENTA;
STICKLINE(NOT(K0) AND ((K1 AND BK2=0 AND K3=0) OR BK3),WC,WC,8,0),COLORCYAN;
STICKLINE(NOT(K0) AND ((K1 AND BK2=0 AND K3=0) OR BK3),WO,WO,8,0),COLORCYAN;
STICKLINE(NOT(K0) AND BK1,WH,WO,0,0),COLORCYAN;
STICKLINE(NOT(K0) AND BK1,WC,WL,0,0),COLORCYAN;
STICKLINE(NOT(K0) AND K1=0,WC,WO,8,0),COLORCYAN;
STICKLINE(NOT(K0) AND (BK2 OR K3),WC,WO,8,0),COLORCYAN;
MA1:MA(C,20),COLORWHITE;
MA2:MA(C,60),COLORYELLOW;
MA3:MA(C,120),COLORMAGENTA;
相关推荐
stickline 通达信里怎么用
Stickline是一种在图形上绘制柱线的绘图软件。用法:一、stickline函数,通用格式为stickline(A二、STICKLINE(COND,PRICE1,PRICE2,WIDTH,EMPTY),当COND条件满足时,在PRICE1和PRICE2位置之间画柱状线,宽度为WIDTH(10为标准间距),EMPTH为0画实心柱,-1画虚线空心柱,否则画实线空心柱。例如,stickline(close>open,close,open,0.8,1)表示K线中公线的空心柱部分。拓展资料:炒股软件是定位于提供多功能服务的证券信息平台。这是深圳财富趋势科技有限公司设计的一款移动证券软件。通大新允许用户自由划分屏幕,并指定每一块对应的内容。一、软件功能1.它整合了上海和深圳、香港股市、美国股票、期货、期权、基金、宏观和外汇市场的市场条件,适用于所有投资者。2.创新结合沪深数据,推出DDE决策、个股板块资金流、主题事件、一致预期、股权变动、龙虎榜等特色功能。3.提供上海、深圳、香港和美国股市的市场状况,并支持自选、排名、板块和各种技术指标。4.通过商品期货、外汇汇率和全球指数概述全球市场。5.具有各种列信息。手机炒股软件是基于移动通信网络的数据传输功能,实现手机信息查询的新一代无线应用炒股系统,使普通手机成为综合处理终端。只要手机在GSM/CDMA网络的覆盖范围内(可以接收信号),它就可以查看市场和做生意。线路资源比较丰富。与电话委托的“阻塞命令”和互联网上的“线路连接故障”相比,手机在命令速度和线路畅通的可靠性方面都要好。因此,除了柜台、电话委托和网上,最受投资者欢迎的方式是最快捷、最方便的手机。二、道德原则手机投资炒股软件是基于移动网络运营商的GSM(中国移动TD-SCDMA/中国联通WCDMA/G3网络)/CDMA(中国电信CDMA2000/3G)网络开发的。它是一款可以实现无线移动炒股的手机智能程序。2023-07-04 14:11:033
STICKLINE函数标记
STICKLINE---绘图函数,在图形上绘制柱线. 用法:STICKLINE(COND,PRICE一,PRICE二,WIDTH,EMPTY),当COND条件满足时,在PRICE一和PRICE二位置之间画柱状线,宽度为WIDTH(一0为标准间距),EMPTH为0画实心柱,-一画虚线空心柱,否则画实线空心柱。 例如:STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.吧,一)表示画K线中阳线的空心柱体部分2023-07-04 14:11:151
stickline代表什么意思
stick英-[stu026ak]美-[stu026ak]释义n. 棍;手杖;呆头呆脑的人vi. 坚持;伸出;粘住vt. 刺,戳;伸出;粘贴n. (Stick)人名;(芬)斯蒂克line英-[lau026an]美-[lu026an]释义n. 路线,航线;排;绳vt. 排成一行;划线于;以线条标示;使…起皱纹vi. 排队;站成一排n. (Line)人名;(英)莱恩;(俄)利涅2023-07-04 14:11:301
stickline()是什么
Stickline函数的通用格式 stickline(A<B,C,D,N,0); 表示含义:当A<B时,在C与D之间画一条颜色为N的柱状图。 颜色对应数据:1绿色,2蓝色,3粉色,4红色,5灰白,6暗红, 7深绿,8暗蓝,9黑色,10白色 (其他相应数字都有颜色,请自己摸索。) 最后一位0表示画出的线为实心,1表示画出的线为空心(其他数据都表示是空心的)。2023-07-04 14:11:471
stickline函数的介绍
stickline函数,通用格式为stickline(A<B,C,D,N,0),表示含义为在C与D之间画一条宽度为N。2023-07-04 14:11:551
通达信公式STICKLINE怎么用
通达信选股器可以帮投资者快速选择出符合条件的个股,节省选股时间,是一个不错的辅助工具,但是,选出来的股票,并不意味着一定能买,需要投资者结合其它因素进行综合考虑,比如,市场行情、k线图走势,以及MACD指标、KDJ指标等其它技术指标。温馨提示:以上内容仅供参考。应答时间:2021-10-21,最新业务变化请以平安银行官网公布为准。2023-07-04 14:12:243
股票软件stickline是什么意思
这个是警戒线的意思2023-07-04 14:12:421
STICKLINE(CLOSE>=OPEN,0,vol,4,1)是什么意思
STICKLINE(CLOSE>=OPEN,0,vol,4,1)表示k线为阳线的话则在0到成交量之间画宽度为4的实体柱线。有问题可加我qq2023-07-04 14:13:011
通达信指标中stickline,color6799c7;怎样改细线条
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,数值,1);把数值改为小数。大小自己定2023-07-04 14:13:371
错误信息: 函数:stickline 参数1类型不匹配!,, 错位位置: [5行,54列] 到 [5行,1列] 之间 请问如何修改?
把LUDCMP的定义贴出来看看。 —————————— 你还是没有把LUDCMP的定义贴出来啊。 我估计是你的LUDCMP过程参数写得有问题。 Sub LUDCMP(A(), N, INDX(), D) 如果你像上面那么写就肯定有问题 你要把类型指定清楚: Sub LUDCMP(A() as Double, N as Integer, INDX() as Integer, D as Integer)--------------------------哦,你那样定义的啊。我发现貌似是你的一个输入错误:Call LUDCMP(al#(), N, INDX%(), p) 这里的al#没有定义。。。综观你的整个函数,没找到al的定义,是你不小心把a#()打成al#()了吗?--另外建议楼主以后所有变量在定义时都明确指明类型以减少出错的几率。还有就是INDX%()这种写法已经不推荐了,应该用INDX() As Integer。其它的依此类推。。2023-07-04 14:13:532
同花顺 STICKLINE函数
open-ref(close,1)的值太小改为open2023-07-04 14:14:022
在通达信飞狐公式里STICKLINE最后设1或-1都成空心柱,但都不是透明的,挡住后面了,有没什么办法?
在公式最后加一条K线就又把K线显示了:DRAWKLINE(HIGH,OPEN,LOW,CLOSE);2023-07-04 14:14:113
MACD变色
1、通达信变色MACD指标DIFIF1:=EMA(C,12) - EMA(C,26);DEAEA1:=EMA(DIFIF1,9);MACD1:=2*(DIFIF1-DEAEA1),STICK;MACD2:=EMA(MACD1,3);STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,1,0),COLORRED;STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,1,0),COLORGREEN;STICKLINE(MACD1<MACD2,0,MACD1,1,0),COLORCBCBC0;STICKLINE(MACD1>=0 OR MACD1<=0,0,0,50,1),COLORWHITE;DIFIF1,COLORFFFFFF,LINETHICK2;DEAEA1,COLORYELLOW,LINETHICK2;MACD:MACD1,NODRAW,COLORMAGENTA;上升:IF(DEAEA1>REF(DEAEA1,1),DEAEA1,DRAWNULL),COLORYELLOW,LINETHICK2;下降:IF(DEAEA1<REF(DEAEA1,1),DEAEA1,DRAWNULL),COLOR227700,LINETHICK2;上翘:IF(DIFIF1>REF(DIFIF1,1),DIFIF1,DRAWNULL),COLORFFFFFF,LINETHICK2;下拐:IF(DIFIF1<REF(DIFIF1,1),DIFIF1,DRAWNULL),COLOR227700,LINETHICK2;DRAWICON(CROSS(DIFIF1,DEAEA1),DEAEA1*1.00,5);DRAWICON(CROSS(DEAEA1,DIFIF1),DEAEA1*1.00,6);2、博易大师变色MACD指标DIFIF1:=EMA(C,12)-EMA(C,26);DEAEA1:=EMA(DIFIF1,9);MACD1:=2*(DIFIF1-DEAEA1),STICK;MACD:2*(DIFIF1-DEAEA1),COLORSTICK;PARTLINE(DEAEA1>REF(DEAEA1,1),DEAEA1),COLORYELLOW,LINETHICK2;PARTLINE(DEAEA1<REF(DEAEA1,1),DEAEA1),COLOR008800,LINETHICK2;PARTLINE(DIFIF1>REF(DIFIF1,1),DIFIF1),COLORFFFFFF,LINETHICK2;PARTLINE(DIFIF1<REF(DIFIF1,1),DIFIF1),COLOR008800,LINETHICK2;DRAWICON(CROSS(DIFIF1,DEAEA1),DEAEA1*1.00,1);DRAWICON(CROSS(DEAEA1,DIFIF1),DEAEA1*1.00,2);2023-07-04 14:14:212
高手帮忙,修改下通达信的公式这个副图公式里有红色的柱也有粉红色的柱,可不可以把粉红色的柱删除掉,谢
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;乖离:=MA(BIAS,3);接近底部:STICKLINE(乖离<-12 AND 乖离>=-18,2,0,6,0) , COLORRED;{抄底二:IF(乖离<-18,3,0),COLORFF35FF,LINETHICK1;STICKLINE(乖离<-18,3,0,6,0),COLORFF35FF;}VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,31)/31);VAR3:=(CLOSE-VAR1)/VAR1*100<-10;VAR4:=(VAR1-VAR2)/VAR2*100<-16;VAR5:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100<-23;VAR6:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),3,1)*100>16;VAR7:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27));VAR8:=INDEXC;VAR9:=MA(VAR8,6);VARA:=MA(VAR8,24);VARB:=MA(VAR8,32);VARC:=VARB>VAR9*1.11 AND VARA>VAR9*1.095;SSS:=(VAR3 AND VAR4 AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 OR VAR5 AND VAR6 AND CROSS(VAR7,79) OR VARC AND CLOSE/COST(8)<=0.8)*100;抄底王:SSS>0,COLORWHITE,LINETHICK1;STICKLINE(SSS>0,0,6,6,0),COLORWHITE;2023-07-04 14:14:291
想在通达信主图界面里,在指定日期的K线上面画2条竖线
具体事宜,建议通过通达信的官方客服渠道咨询。温馨提示:以上信息仅供参考。应答时间:2021-08-18,最新业务变化请以平安银行官网公布为准。 [平安银行我知道]想要知道更多?快来看“平安银行我知道”吧~ https://b.pingan.com.cn/paim/iknow/index.html2023-07-04 14:14:423
STICKLINE((C-REF(C,1))/REF(C,1)*100>=9.645 AND C=H,C,O,8,0),COLORYELLOW; {参数:} {p1:3,0,30;p2:6,1,
缺少一个参素 P1最大取值 30 最小为0 缺省为3 P2 没给出取值范围2023-07-04 14:14:531
请老师将下面的寻宝小人,指标公式改为选股公式
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;二次金叉1:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(低位金叉,21)=2;TJ1:=低位金叉 OR 二次金叉1;LJPK:=(C+H+O+L)/4;MCC:=XMA(LJPK,20)*(1+80/1000);MRR:=XMA(LJPK,32)*(1-100/1000);ZXX:=(MCC+MRR)/2;ZXA:=(MRR+ZXX)/2;TJ2:=REF(L,1)<ZXA;{STICKLINE(TJ2,15,85,5,0),COLORFF7F00};TJ3:=TJ2 AND COUNT(TJ2,6)>=6;MA5:=MA(C,5);MA10:=MA(C,10);MA17:=MA(C,17);MA20:=MA(C,20);MA24:=MA(C,24);MA30:=MA(C,30);MA43:=MA(C,43);MA72:=MA(C,72);MA200:=MA(C,200);TJ4:=MA5>=MA24 AND MA24>=MA72 AND MA72>=MA200;TJ5:=MA10>=MA30 AND MA20>=MA30;TJ7:=TJ4 OR TJ5;牛股:=TJ2 AND TJ3 AND TJ7;牛股考量:=(TJ1 AND TJ2)*66;AAA:=EVERY(V<=REF(V,1),1) OR V/REF(V,1)>=1.5;牛股出炉:AAA AND 牛股 AND C>=MA(C,24);2023-07-04 14:15:273
同花顺指标公式翻译,非常急
下边就是你要的指标公式翻译:VAR1赋值:1日前的最低价VAR2赋值:最低价-VAR1的绝对值的3日[1日权重]移动平均/最低价-VAR1和0的较大值的3日[1日权重]移动平均*100VAR3赋值:如果收盘价*1.2,返回VAR2*10,否则返回VAR2/10的3日指数移动平均VAR4赋值:38日内最低价的最低值VAR5赋值:38日内VAR3的最高值VAR6赋值:如果90日内最低价的最低值,返回1,否则返回0VAR7赋值:如果最低价<=VAR4,返回(VAR3+VAR5*2)/2,否则返回0的3日指数移动平均/618*VAR6VAR8赋值:((收盘价-21日内最低价的最低值)/(21日内最高价的最高值-21日内最低价的最低值))*100VAR9赋值:VAR8的13日[8日权重]移动平均输出底线:0,COLOR00FFFF输出主力吸货:VAR7,COLOR0000FF输出吸筹1:当满足条件VAR7时,在0和VAR7位置之间画柱状线,宽度为6,0不为0则画空心柱.,COLOR0000FF输出吸筹2:当满足条件VAR7时,在0和VAR7位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLOR6600FF输出吸筹3:当满足条件VAR7时,在0和VAR7位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLORBB00FF输出吸筹4:当满足条件VAR7时,在0和VAR7位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLORFF00FF输出吸筹5:当满足条件VAR7时,在0和VAR7位置之间画柱状线,宽度为2,0不为0则画空心柱.,COLORFF33FF输出吸筹6:当满足条件VAR7时,在0和VAR7位置之间画柱状线,宽度为1,0不为0则画空心柱.,COLORFF66FF输出吸筹7:当满足条件VAR7时,在0和VAR7位置之间画柱状线,宽度为0,0不为0则画空心柱.,COLORFF99FF输出风险:VAR9的13日[8日权重]移动平均的向上舍入,线宽为2,画绿色输出涨跌:3*(收盘价-27日内最低价的最低值)/(27日内最高价的最高值-27日内最低价的最低值)*100的5日[1日权重]移动平均-2*(收盘价-27日内最低价的最低值)/(27日内最高价的最高值-27日内最低价的最低值)*100的5日[1日权重]移动平均的3日[1日权重]移动平均的5日简单移动平均,线宽为2,画红色希望能够帮助你!2023-07-04 14:16:211
通达信三色线是什么意思
通达信三色线~~~~~~~~~~~~~~~~~~~红色是持股!绿色代表洗盘还有一个是逃顶2023-07-04 14:16:312
请高手将红色柱子出来改为选股公式(通达信),万分感谢
VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(VAR3*10,3);VAR5:=LLV(LOW,13);VAR6:=HHV(VAR4,13);VAR7:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618;VAR8:=IF(VAR7>500,500,VAR7);选股:VAR8>1 AND "KDJ.J">REF("KDJ.J",1) AND REF("KDJ.J",1)<REF("KDJ.J",2);2023-07-04 14:16:511
请老师给这个指标做个选股公式啊,要出现火焰山时的选股公式!
VARK1:=EMA(HHV(HIGH,500),21);VARK2:=EMA(HHV(HIGH,250),21);VARK3:=EMA(HHV(HIGH,90),21);VARK4:=EMA(LLV(LOW,500),21);VARK5:=EMA(LLV(LOW,250),21);VARK:=EMA(LLV(LOW,90),21);VARK7:=EMA((VARK4*0.96+VARK5*0.96+VARK*0.96+VARK1*0.558+VARK2*0.558+VARK3*0.558)/6,21);VARK8:=EMA((VARK4*1.25+VARK5*1.23+VARK*1.2+VARK1*0.55+VARK2*0.55+VARK3*0.65)/6,21);VARK9:=EMA((VARK4*1.3+VARK5*1.3+VARK*1.3+VARK1*0.68+VARK2*0.68+VARK3*0.68)/6,21);VARKA:=EMA((VARK7*3+VARK8*2+VARK9)/6*1.738,21);VARKB:=REF(LOW,1);VARKC:=SMA(ABS(LOW-VARKB),3,1)/SMA(MAX(LOW-VARKB,0),3,1)*100;VARKD:=EMA(IF(CLOSE*1.35<=VARKA,VARKC*10,VARKC/10),3);VARKE:=LLV(LOW,30);VARKF:=HHV(VARKD,30);VARK10:=IF(MA(CLOSE,58),1,0);火焰山:=EMA(IF(LOW<=VARKE,(VARKD+VARKF*2)/2,0),3)/618*VARK10;XG:火焰山>0;(信号很多的)2023-07-04 14:17:022
求高手改一个指标,从文化财经复制到通达信通不过,跪求老师帮忙!
VARA:=LLV(LOW,35);VARB:=HHV(HIGH,30);VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;QS:=VARC,COLORWHITE;STICKLINE(VARC<10 && 100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))>97,0,25,3,0),COLORYELLOW;STICKLINE(VARC>90,100,85,3,0),COLORRED;VARD:=87.5;VARE:=(VARC-LLV(VARC,4))/(HHV(VARC,4)-LLV(VARC,4))*4*25;DRAWTEXT(IF(CROSS(QS,VARD) && VARE=100,50,0),56,"目标");DRAWTEXT(IF(CROSS(VARD,QS),87,0),85,"");DRAWTEXT(IF(CROSS(QS,VARE) && QS>87,87,0),70,"");VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR8:=LLV(LOW,30);VARAA:=HHV(HIGH,30);B:=EMA((VAR6-VAR8)/(VARAA-VAR8)*100,8);B1:=EMA(B,5);STICKLINE(B>0 && B-B1>=0,79,80,3,0),COLORWHITE;STICKLINE(B>0 && B-B1<0,79,80,3,0),COLORCYAN;STICKLINE(B>0 && B-B1>=0,49,50,3,0),COLORRED;STICKLINE(B>0 && B-B1<0,49,50,3,0),COLORRED;STICKLINE(B>0 && B-B1>=0,19,20,3,0),COLORWHITE;STICKLINE(B>0 && B-B1<0,19,20,3,0),COLORCYAN;STICKLINE(B-B1>0,B,B1,3,1),COLORRED;STICKLINE(B-B1<0,B,B1,3,1),COLORWHITE;V1:=(2*CLOSE+HIGH+LOW)/4; V2:=LLV(LOW,21);VA:=HHV(HIGH,34);FB:=EMA((V1-V2)/(VA-V2)*100,13);FBB:=EMA((0.667*REF(FB,1)+0.333*FB),2);ZLX:EMA(0.382*REF(FB,2)+0.618*FB,12),COLORYELLOW;2023-07-04 14:17:091
压力支撑自动画线指标是什么
压力支撑自动画线指标是通过通达信、同花顺等软件通过自定义公式调出的指标,该指标主要用于K线主图的分析,使用该指标可以有效发现个股支撑点位和压力位,帮助投资者分析当前走势。通达信压力支撑自动画线指标公式(仅供参考)AA05:=MA(C,5),COLOR0099CC;五日乖离率:=(C-AA05)/AA05*100;BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);加速度5:EMA((速度5-REF(速度5,1)),3),NODRAW;AA10:=MA(C,10);AA20:=MA(C,20);BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;AA30:=MA(C,30);三拾日乖离率:=(C-AA30)/AA30*100;VAR11:=(AA20-AA30)>REF((AA20-AA30),1)AND AA20>REF(AA20,1) AND AA30>REF(AA30,1);VAR22:=(AA30-AA20)AA30BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;强势狙击:=FILTER(BB30>30 AND BB10>45 ANDCROSS(BB05,60),10);加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 ANDAA05>REF(AA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) ANDAA10>REF(AA10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>AA30 OR O>AA30) ANDAA05AA10DRAWICON(加仓 ,LOW*0.99,23);DRAWICON(清仓 ,HIGH*1.01,15);DRAWICON(强势狙击 ,LOW*0.99,13);TYP := (HIGH + LOW + CLOSE)/3;CCI1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,6));差值1:=ABS(REF(CCI1,1)-CCI1),LINETHICK0;CCI2:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));差值2:=ABS(REF(CCI2,1)-CCI2),LINETHICK0;CCI3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20));差值3:=ABS(REF(CCI3,1)-CCI3),LINETHICK0;CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));差值4:=ABS(REF(CCI4,1)-CCI4),LINETHICK0;CCI5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60));差值5:=ABS(REF(CCI5,1)-CCI5),LINETHICK0;CCI:=CCI1+CCI2+CCI3+CCI4+CCI5;AAA:=(3*C+H+L+O)/6;VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;短线:VAR1,COLORWHITE;中线:VAR6,COLORYELLOW;下跌:IF(VAR1=VAR6,VAR6, DRAWNULL),COLORGREEN;TJ1:= CCI1>差值4;立桩量:=FILTER(TJ1,0);TJ2:=IF(BARSLAST(立桩量)=1 ,1,IF(BARSLAST(立桩量)=2 ,1,IF(BARSLAST(立桩量)=3 ,1,0)));成立1:=TJ2;条件成立1:=FILTER(成立1,5);TJ11:= CCI1<-差值4 ;立桩量2:=FILTER(TJ11,0);TJ22:=IF(BARSLAST(立桩量2)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量2)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量2)=3 AND CLOSE>REF(HIGH,3),1,0)));成立2:=TJ22;条件成立2:=FILTER(成立2,5);TJ111:=(ABS(CCI1)>CCI AND ABS( 差值1)> ABS(差值5))OR (VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1);立桩量3:=FILTER(TJ111,5);TJ222:=IF(BARSLAST(立桩量3)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量3)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量3)=3 AND CLOSE>REF(HIGH,3),1,0)));突破3:=TJ222=1;STICKLINE(CLOSE AND 下跌!= VAR6,REF(HIGH,BARSLAST(立桩量3)),REF(HIGH,BARSLAST(立桩量3)),10,1),COLORCYAN;STICKLINE(CLOSE AND 下跌!= VAR6,REF(LOW,BARSLAST(立桩量3)),REF(LOW,BARSLAST(立桩量3)),10,1),COLORYELLOW;TJ3:=IF(BARSLAST(立桩量3)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量3)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量3)=3 AND CLOSE>REF(LOW,3),1,0)));三天法则:=TJ3=1;成立:=三天法则 AND 突破3;条件成立:=FILTER(成立,5);TJ31:=(VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1);TJ32:=FILTER(TJ31,1);IF(条件成立 AND 下跌!= VAR6 AND AA30>=REF(AA30,1),H*1.03,DRAWNULL),CROSSDOT,LINETHICK6,COLORFF33FF;IF(条件成立 AND 下跌!= VAR6 AND AA30>=REF(AA30,1),H*1.03,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;STICKLINE(C>=O,L,H,0,0),COLORRED;STICKLINE(CSTICKLINE(C>O,C,O,3.2,0),COLORRED;STICKLINE(1,C,O,2.8,0),COLOR454500;STICKLINE(1,C,O,2,0),COLOR555500;STICKLINE(1,C,O,1.5,0),COLOR656500;STICKLINE(1,C,O,1,0),COLOR757500;STICKLINE(1,C,O,0.5,0),COLOR858500;STICKLINE(立桩量,C,O,2.8,0),COLOR000045;STICKLINE(立桩量,C,O,2.8,0),COLOR000065;STICKLINE(立桩量,C,O,2,0),COLOR000085;STICKLINE(立桩量,C,O,1.5,0),COLOR0000A5;STICKLINE(立桩量,C,O,1,0),COLOR0000C5;STICKLINE(立桩量,C,O,0.5,0),COLOR0000E5;DRAWICON(条件成立1,REF(HIGH,BARSLAST(立桩量3)),12);DRAWICON(条件成立2,REF(LOW,BARSLAST(立桩量3)),11);2023-07-04 14:17:171
通达信指标中有一个直线拟合指标(ZXNH),请问这个指标的源码是什么,这个指标有什么用处。
这个指标是通达信加密指标,直线拟合指标是查找区间内的股价的最高价,最低价的一个指标,是属于带未来函数性质的一个指标,它所发出的信号会发生漂移。没有具体源码公式。1、直线拟合指标是寻找阶段内代表性高点、低点的工具;2、直线拟合本身没有预测功能,即不能利用直线拟合指标直接研判,但可以利用直线拟合指标辅助判断顶背离、底背离等。该指标在赋值以后就与DRAWLINE、DCLOSE、XMA等函数类似了,此时信号将发生偏移。这种特性完全是未来函数。扩展资料:通达信的市场应用:在中国股票分析软件领域,通达信的事业、研究开发的力量正处于鼎盛时期。公司一贯注重客户服务和售后支持,制定了一套完整健全的客户服务制度,开设了多个分支机构。凭借诚信严谨、始终如一的服务,赢得了业界广泛认同。现在,公司发展迅速,业务遍及全国30多个省市,90多家证券公司总部网上服务系统,600多个网上行情服务器,证券营业部客户600百多家。中央台、深圳台等知名媒体使用本公司的产品评解股市。目前公司有员工近200人,其中武汉研发中心有160多人,其它为各分公司、办事处人员。公司本科以上学历占95%以上,公司主要股东和技术领导均为硕士研究生,在学校期间及创业期间陆续出版了:DOS深入剖析、NOVELL内核研究、LINUX内核深入剖析等多本书籍,被相关学校推荐为教学用书。通达信在证券分析领域、在证券网上电子商务领域,凭借其雄厚的技术实力及公司相对稳定、充足资产状况,已经与其它公司在这些领域内拉开了距离。我们希望能为证券业的电子商务服务提供强有力的技术支撑及行业经验保证。参考资料来源:百度百科-通达信2023-07-04 14:17:344
恳请老师们帮忙编写一通达信选股公式,当天出现大黑马的,非常感谢!
XG:FILTER(TROUGHBARS(3,15,1)<4,3);2023-07-04 14:18:022
这一句如何修改才能在通达信软件里测试通过呢?
STICKLINE(A>B,OPEN,CLOSE*0.9999,10,1) ,COLORRED;这句要这样改2023-07-04 14:18:103
通达信 选股 下面公式中出现流入信号,写成选股公式,谢谢!
VAR1:=(C+H+O+L)/4;卖出:=XMA(VAR1,20)*(1+80/1000),COLORYELLOW,LINETHICK2;买入:=XMA(VAR1,32)*(1-100/1000),COLORRED,LINETHICK2;CROSS(LOW,买入);2023-07-04 14:18:332
求大师把通达信牛气冲天指标公式
可以把牛气冲天改为选股公式,但建议使用通达信2023-07-04 14:18:531
请老师们帮忙把下面这个幅图指标写个第一天高度控盘的选股指标,谢谢
可以编写选出第一天出现高度控盘的选股公式效果如图2023-07-04 14:19:271
求老师给下面这个水手突破指标做个选股公式,选出第一天出现黄色柱子的!非常感谢!
上趋势:=MA(LOW,20)*1.2,COLORFF00FF,LINETHICK1,CROSSDOT;次上趋势:=MA(LOW,20)*1.1,COLORYELLOW;次下趋势:=MA(HIGH,20)*0.9,COLORWHITE;下趋势:=MA(HIGH,20)*0.8,COLORGREEN,LINETHICK1,CROSSDOT;趋势强度:=IF(C>次上趋势,IF(C>上趋势,4,3),IF(C>次下趋势 AND C<次上趋势,2,IF(C<下趋势,0,1)));XG:趋势强度=3;2023-07-04 14:19:432
求帮助把这个指标改成选股公式
XG:CROSS(C,EMA(CLOSE,55)) AND C>=O;2023-07-04 14:19:502
黑马选股公式(黑马选股器源码)
黑马选股公式公式如下:A1:=EMA-EMA;A2:=EMA;获利回吐:*A2,COLORWHITE,LINETHICK0;大黑马:*A1,COLORRED,LINETHICK0;STICKLINE,COLORWHITE;{网址:水鸭的投资日记}STICKLINE,COLORRED;VAR8:=VOL2*MA;VAR9:="DMI.ADX";VARA:="DMI.ADXR";VARB:=CLOSEMAANDCLOSEVARC:=MAREF,1);VARD:=BARSLAST,MA))VARF:=TROUGHBARSVAR10:=EMAREF,2);VAR11:=IF;多空:EMA/4,30))/MA/4,30)*100,3),COLORWHITE;0,COLORRED;STICKLINEAND多空STICKLINE,50,0,8,0),COLORYELLOW;DRAWTEXT,25,"黑马出现"),COLORRED;STICKLINE,COLORRED;拓展资料:选股公式就是依托个股的历史数据和当今走势,根据个人经验认定的上涨趋势K线,利用已知的公式语句,写出能选出符合该K线形态个股的公式。选股公式的运用方法:1、打开选股软件找到A股部分,将换手率指数大于2的股票放入自选股和板块;2、使用股票软件功能,将换手率指数大于2的股票一次性放入到一个自选股之中;3、打开自选股列表,然后点工具,在点指标排序,随后点开趋向指标,选择MACD,因为MACD比较大众化,,所以先把指标线设为MACD,这时分析周期显示是日线,最后点确定。4、点击MACD两次,使负MACD排名第一,用股票软件功能一步删除负值。5、右键点MACD,然后点技术指标,将分析周周期设置为60分钟,然后点确定。6、点击MACD两次,将负MACD放在前面,然后删除负值。7、重复上述步骤,右健点击MACD将打开提示,点击技术指标,设置分析周周期为30分钟,点击确定。然后删除负值。8、点击右边的MACD,系统会弹出提示。按阶段排序,将时间设置为最新的周,点击涨幅,点击确定,并删除太大的涨幅。9、点击右边的MACD打开提示,按阶段排序,设置时间为最新的周,点击换手率,点击确定,删除太小的周换手率,只留下几十只股票。从分时度假到日线,的MACD,这些股票都处于多头状态,而且都处于倒挂状态。黑马选股器源码XG:FILTER4,6);你要求的这个是未来函数,建议不用。所谓未来,通俗一点就是“马后炮”。当你能看到这个:黑码出现的时候,都已经成为过去,成为历史了。或这你今天可以看到,当出现比现在的价格更低的时候,那这个线会随着价格的走低而变化,俗称:信号漂移。几乎100胜率选股公式1、通达信分时指标公式——高抛低吸AAA:=MAX,DYNAINFO);BBB:=MIN,DYNAINFO);CCC:=AAA-BBB;2、竞价量比选股公式lt:=/10000=1.00andZF拓展资料:一、多方炮,多方炮为一种K线形态,走势上呈现两阳夹一阴的K线技术形态。价格连续下跌或横盘震荡,第一天多方发力上攻,高开高走,创下近期新高。但第二天出现回调整理的走势,第三天则多方再度放量上攻,形成突破大阳线,再创新高。操作策略:多方炮形态形成之后,关注第四天K线形态走势再做买卖决定,若股价第四天跳空高开或者继续放量,则可以果断买入;若没有出现跳空或者放量上攻形态,则有可能是哑炮,观望为好。二、早晨之星。早晨之星是股市中比较常见的底部或是阶段性底部的信号之一。在理论上,它是由三根K线组成,先是拉出一根有力度的阴线,再是一根小阳或小阴线、螺旋桨、锤头线、倒锤头线等,最后拉出一根有力度的阳线。三条K线就组成了早晨之星K线组合。早晨之星又称为希望之星。操作要领:1、第三天阳线买入。对于短线投资者来说,在早晨之星形态当中,第三天出现的阳线是一个较好的买点。稳妥的做法是临近收盘时介入,不过建议半仓甚至1/3仓操作。因为出现标准的早晨之星,事后出现昙花一现的情况也有。2、5日均线处买入。如果已经出现早晨之星,但是又不敢轻易买入,怕无功而返,又怕错过短线反弹机会。那么可以选择在突破5日均线,或者回踩5日均线处买入,建议轻仓操作。三、成功率100的选股公式主要看三个地方:第一是公式中是否为顺势而为,逆势而动,即个股当前所处的环境如何,整个环境如何。第二是从成交额和换手上看该股当前的股性如何,是活跃还是比较低迷。第三是从技术上看当前该股是否多头发散,技术上是否支持它进一步大涨。当然,成功率100的选股公式是离不开市场配合的。黑马起爆点指标公式源码VAR1:=)/MA*100;VAR2:=)/-LLV)*100;VAR3:=SMA;天:100+),COLORRED;下:SMA;无:ABS,COLORGREEN;敌:50,COLORFFAA00,LINETHICK3;A:80;B:20;买:STICKLINE,3,20,2,0),COLORRED,LINETHICK1;STICKLINE,20,25,2,0),COLORFF9900,LINETHICK1;DRAWTEXT,30,"黑马起爆"),COLORFFFFCC;卖:STICKLINE,70,90,2,0),COLORRED,LINETHICK1;STICKLINE,90,99,2,0),COLORFF9900,LINETHICK1;DRAWTEXT,70,"走人"),COLORFFFFCC;选股2:IF,1,0);DRAWICON),20,1);DRAWICON),-20,25);============================={选股}VAR1:=)/MA*100;VAR2:=)/-LLV)*100;VAR3:=SMA;下:=SMA;无:=ABS;XG:CROSS;2023-07-04 14:20:041
求把涨停跌停K线在主图上标出来的公式,用于通达信。涨停K线为桃红色,跌停K线为蓝色。
指股票交易过程中,为限制涨跌幅,设置一定的幅度,若达到这一幅度,即涨停或跌停. 并不是说涨停或跌停了就不能买卖了,只要你想买,你仍然可以排队买进,也可以在跌停板上挂单卖出手中的持股。涨跌停板是证券管理部门为了防止过度的投机而采取的一种措施,是指一只个股每天的最大涨跌幅度不能超过前一交易日的百分比。普通的股票最大涨跌幅为前一交易日的10%。特别处理股每天的最大涨跌幅不能超过前一交易日的5%。对价股份上市日或新股上市首日不设涨跌幅限制。 在K线上就是一根大的阳线或者一根大的阴线。交纳哪些费用?a.印花税:成交金额×1‰ b.手续费(佣金):成交金额×券商设置的佣金(‰)(不足5元的按5元收取) c.上交所手续费:成交金额×0.018‰ d.深交所手续费:成交金额×0.0207‰ e.过户费:成交金额×0.013‰(上海收取,深圳不收。不足一元的按一元收取) a+b+c+d+e = 实收的所有费用!2023-07-04 14:20:132
通达信,帮忙解决这个问题
M1:=5;M2:=35;M3:=135;〖量〗:VOL,NODRAW,VOLSTICK; STICKLINE(V>=3*REF(V,1),V/3,V/3,3.9,0),COLORWHITE;STICKLINE(V>=2*REF(V,1),V/2,V/2,3.9,0),COLORYELLOW;流通〖亿〗:CAPITAL/1000000,LINETHICK0;内外比:DYNAINFO(51),COLORYELLOW,NODRAW;单日量比:V/REF(V,1),COLORWHITE,NODRAW;五日量比:V/(REF(MA(V,5),1)/240*FROMOPEN),COLORYELLOW,NODRAW;换5:SUM(100*V/CAPITAL,5),LINETHICK0;换10:SUM(100*V/CAPITAL,10),LINETHICK0;换20:SUM(100*V/CAPITAL,20),LINETHICK0;VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;VOLUME:VOL,VOLSTICK;MAVOL1:MA(VOLUME,M1);MAVOL2:MA(VOLUME,M2);MAVOL3:MA(VOLUME,M3);虚拟VOL:=IF(CURRBARSCOUNT=1 AND PERIOD=2,V*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=2,虚拟VOL,0,-1,-1),NODRAW;换手率:V/CAPITAL*100,NODRAW; 虚量:VVOL;虚换手:VVOL/CAPITAL*100;十日换手:SUM(V/CAPITAL*100,3),COLORLICYAN,NODRAW;量比:V/REF(MA(V,5),1); 倍量:=(V>REF(V,1)*2 OR 虚量>REF(V,1)*2) AND C>REF(C,1);STICKLINE(倍量,V,0,2,0),COLORYELLOW;倍缩量:=(V<HHV(REF(V,1),5)/2 OR 虚量<HHV(REF(V,1),5)/2) AND C<REF(C,1);STICKLINE(倍缩量,V,0,2,0),COLORRED;STICKLINE((V>REF(V,1) AND REF(倍量,1)=1) AND C>REF(C,1),0,V,2,0),COLORYELLOW;STICKLINE((V>REF(V,1) AND REF(V,1)>REF(V,2) AND REF(倍量,2)=1) AND C>REF(C,1),0,V,2,0),COLORYELLOW;STICKLINE((V>REF(V,1) AND REF(V,1)>REF(V,2) AND REF(V,2)>REF(V,3) AND REF(倍量,3)=1) AND C>REF(C,1),0,V,2,0),COLORYELLOW;STICKLINE((V>REF(V,1) AND REF(V,1)>REF(V,2) AND REF(V,2)>REF(V,3) AND REF(V,3)>REF(V,4) AND REF(倍量,4)=1) AND C>REF(C,1),0,V,2,0),COLORYELLOW;STICKLINE((V>REF(V,1) AND REF(V,1)>REF(V,2) AND REF(V,2)>REF(V,3) AND REF(V,3)>REF(V,4) AND REF(V,4)>REF(V,5) AND REF(倍量,5)=1) AND C>REF(C,1),0,V,2,0),COLORYELLOW;2023-07-04 14:20:351
stickline柱的长度怎样改短
在价位1和价位2之间画N号柱宽,改变长度。Stickline是一种在图形上绘制柱线的绘图软件。STICKLINE(A,价位1,价位2,柱宽,是否透明)。如果A条件成立,就在价位1和价位2之间画N号柱宽,透明或者不透明的柱子。stickline函数,通用格式为stickline(A二、STICKLINE(COND,PRICE1,PRICE2,WIDTH,EMPTY),当COND条件满足时,在PRICE1和PRICE2位置之间画柱状线,宽度为WIDTH(10为标准间距),EMPTH为0画实心柱,-1画虚线空心柱,否则画实线空心柱。例如,stickline(close>open,close,open,0.8,1)表示K线中公线的空心柱部分。2023-07-04 14:21:021
STICKLINE 画线
STICKLINE;在图形上绘制柱线。 用法:STICKLINE(COND,PRICE1,PRICE2,WIDTH,EMPTY),当COND条件满足时,在PRICE1和PRICE2位置之间画柱状线,宽度为WIDTH(10为标准间距),EMPTH为0画实心柱,-1画虚线空心柱,否则画实线空心柱。 例如:STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.8,1)表示画K线中阳线的空心柱体部分。u200d在编制之前,你自己首先要明确的知道要满足什么条件,上例中要满足收盘价大于开盘价时,就在收盘价与开盘价之间画宽度为0.8的空心K线,颜色可以自定义在句尾。再一个,不是我们想像的一个条件,系统就会计算和满足的,有不少的内容系统是无法计算的(函数有限),并且,软件的功能也有限,好多是无法满足的。2023-07-04 14:21:102
请教高手,通达信函数STICKLINE的用法,请详细指教,我是新手,请注明语句里每个函数的意思,谢谢,感激
STICKLINE---绘图函数,在图形上绘制柱线.用法:STICKLINE(COND,PRICE1,PRICE2,WIDTH,EMPTY),当COND条件满足时,在PRICE1和PRICE2位置之间画柱状线,宽度为WIDTH(10为标准间距),EMPTH为0画实心柱,-1画虚线空心柱,否则画实线空心柱。例如:STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.8,1)表示画K线中阳线的空心柱体部分。2023-07-04 14:21:191
大智慧STICKLINE函数 STICKLINE((VAR3E-REF(3E,1)>0),VAR3E,0,0,0),COLOR0055CC怎么翻译?
这个写的不对,请看函数说明:在图形上绘制柱线。用法:STICKLINE(COND,PRICE1,PRICE2,WIDTH,ATTR),当COND条件满足时,在PRICE1和PRICE2位置之间画柱状线,宽度为WIDTH(10为标准间距),ATTR的个位不为0则画空心柱,ATTR的十位以上部分表示左右移动,范围是-1000—1000,表示移动位置的千分比。例如:STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.8,501)表示画K线中阳线的空心柱体部分,向右移动K线宽度的50%。2023-07-04 14:21:261
错误信息: 函数:stickline 参数1类型不匹配!,, 错位位置: [5行,54列] 到 [5行,1列] 之间 请问如何修改
在vb中执行过程或函数时,提示"byref参数类型不符" 分析问题主要由于对应参数的类型不符造成的。造成这种情况一般有几种情况:1。传递参数未定义类型,假如参数在调用前未定义类型,系统自动将他定义为variant类型,由于和过程或函数中的对就参数类型不相同,所以提示"byref参数类型不符"2。传递参数类型已定义,但由于定义方法不对,所以提示"byref参数类型不符"。具体情况如下: 当vb中如此定义变量时,将会出现以上错误信息的出现 private sub command1_click() dim i , j as integer i = 3 j = 4 call get1(i, j) text1.text = i end sub private sub get1(byref para1 as integer, para2 as integer) para1 = para1 + para2 end sub 假如将 dim i , j as integer 改为 dim i as integer dim i as integer 程式执行正常。也就是说,第一种方法的变量定义,只是对 j 做了定义,并未对前面的 i 进行定义 一般在过程和函数中定义参数时采用byref,则需要参数声明的类型和实际参数的类型完全相同,否则vb就会报告错误。参考资料:以上为复制的,如果不能解决问题,请你把源码贴出来2023-07-04 14:21:331
通达信公式怎样画实心柱
STICKLINE(N,0,100,8,0);解释:当条件N成立时,在0-100之间画宽度为8的实心柱。是否画实心柱由最后一个参数“0”确定,为零画实心柱,为-1画虚线空心柱,否则画实线空心柱。2023-07-04 14:21:422
求航海家智能辅助线指标
智能辅助线:MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;牛线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;马线:MA(牛线,6),COLORGREEN;五日线:MA(CLOSE,5),POINTDOT,COLORLIBLUE;水平面:MA(CLOSE,60),POINTDOT,COLORYELLOW;是主图公式。这还有几个航海家的指标:{水手突破}上趋势:MA(LOW,20)*1.2,color0080ff,linethick2;次上趋势:MA(LOW,20)*1.1,COLORYELLOW;次下趋势:MA(HIGH,20)*0.9,COLORWHITE;下趋势:MA(HIGH,20)*0.8,COLORGREEN,linethick2;ZD:=(C-REF(C,1))/REF(C,1)*100;HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));趋势强度:=IF(C>次上趋势,IF(C>上趋势,4,3),IF(C>次下趋势ANDC<次上趋势,2,IF(C<下趋势,0,1)));STICKLINE(趋势强度=0,H,L,6,1),COLORBLUE;STICKLINE(趋势强度=1,H,L,6,1),COLORGREEN;STICKLINE(趋势强度=2,H,L,6,1),COLORGRAY;STICKLINE(趋势强度=3,H,L,6,1),COLORYELLOW;STICKLINE(趋势强度=4,H,L,6,1),COLORMAGENTA;STICKLINE(趋势强度=0,C,O,5,0),COLORBLUE;STICKLINE(趋势强度=1,C,O,5,0),COLORGREEN;STICKLINE(趋势强度=2,C,O,5,0),COLORGRAY;STICKLINE(趋势强度=3,C,O,5,0),COLORYELLOW;STICKLINE(趋势强度=4,C,O,5,0),COLORMAGENTA;代码:{智能辅助线1}{主图}MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;牛线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;马线:MA(牛线,6),COLORGREEN;五日线:MA(CLOSE,5),POINTDOT,COLORLIBLUE;水平面:MA(CLOSE,60),POINTDOT,COLORYELLOW;代码:{智能辅助2}{主图叠加}HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;HHJSJDB:(20*HHJsjda+19*REF(HHJsjda,1)+18*REF(HHJsjda,2)+17*REF(HHJsjda,3)+16*REF(HHJsjda,4)+15*REF(HHJsjda,5)+14*REF(HHJsjda,6)+13*REF(HHJsjda,7)+12*REF(HHJsjda,8)+11*REF(HHJsjda,9)+10*REF(HHJsjda,10)+9*REF(HHJsjda,11)+8*REF(HHJsjda,12)+7*REF(HHJsjda,13)+6*REF(HHJsjda,14)+5*REF(HHJsjda,15)+4*REF(HHJsjda,16)+3*REF(HHJsjda,17)+2*REF(HHJsjda,18)+REF(HHJsjda,20))/210,coloryellow;HHJSJDC:MA(HHJSJDB,5),colorred;代码:{主力追踪}MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;主力:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;代码:{捕捞季节}WY1001:=(2*CLOSE+HIGH+LOW)/4;WY1002:=EMA(WY1001,4);WY1003:=EMA(WY1002,4);WY1004:=EMA(WY1003,4);XYS0:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;STICKLINE(XYS0>=0,XYS0,0,2,0),COLORRED;STICKLINE(XYS0<0,XYS0,0,2,0),COLORGREEN;PJGJ:=AMOUNT/VOL/100;SSRYDJX:=MA(PJGJ,13);SSRCJL:=EMA(VOL,13);SSRCJE:=EMA(AMOUNT,13);SSRCBJX:=SSRCJE/SSRCJL/100;CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;XYSHSL:=EMA(VOL/CAPITAL*100,13);ZZX:0,COLORWHITE;STICKLINE(XYSHSL>6.1ANDCYS13>5,2,0,2,0),COLORGREEN;STICKLINE(XYSHSL>3.8ANDCYS13>5,1.5,0,2,0),COLORYELLOW;STICKLINE(XYSHSL>2.1ANDCYS13>5,1,0,2,0),COLORCYAN;STICKLINE(XYSHSL>1.8ANDCYS13>5,0.5,0,2,0),COLORBLUE;XYS1:MA(XYS0,2);XYS2:MA(XYS0,1);代码:{海洋追涨}HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;HHJSJDB:=(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)+13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)+7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+REF(HHJSJDA,20))/210;HHJSJDC:=MA(HHJSJDB,5);QQ1:=MA(MA(CLOSE,3),3);QQ2:=MA(MA(CLOSE,15),9);XYSQS1:=(QQ1-REF(QQ1,1))/REF(QQ1,1)*100;XYSQS2:=(QQ2-REF(QQ2,1))/REF(QQ2,1)*100;XYSHSL:=EMA(VOL/CAPITAL*100,13);STICKLINE(XYSQS2>=REF(XYSQS2,1)ANDXYSHSL>1,0,40,2,0),COLORYELLOW;STICKLINE(XYSQS2>=REF(XYSQS2,1)ANDXYSHSL>1ANDC>HHJSJDBANDHHJSJDB>HHJSJDC,41,88,2,0),COLORRED;IF(XYSQS2>=REF(XYSQS2,1)ANDXYSHSL>1,XYSQS1*178,0);代码:{海洋寻底}P1:=5;P2:=4;SSRCJL:=EMA(VOL,13);SSRCJE:=EMA(AMOUNT,13);SSRCBJX:=((SSRCJE/SSRCJL)/100);SSRGL:=(((CLOSE-SSRCBJX)/SSRCBJX)*100);绝对底:=SSRGL<(0-18);大底:=SSRGL<(0-14);中底:=SSRGL<(0-10);短底:=SSRGL<(0-6);STICKLINE((SSRGL<(0-18)),60,80,3,0),COLORRED;STICKLINE((SSRGL<(0-14)),40,60,3,0),COLORBLUE;STICKLINE((SSRGL<(0-10)),20,40,3,0),COLORYELLOW;STICKLINE((SSRGL<(0-6)),0,20,3,0),COLORWHITE;高卖:80,POINTDOT,COLORRED;低吸:20,POINTDOT,COLORGREEN;VAR1:=LLV(LOW,P1);VAR2:=HHV(HIGH,P1);牛线:EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P2),COLORRED,LINETHICK1;马线:EMA(0.667*REF(牛线,1)+0.333*牛线,2),COLORGREEN,LINETHICK1;代码:{分时买卖}{主图叠加}input:p1(5,0,300),p2(10,0,300),p3(30,0,300),p4(60,0,300);MA1:MA(CLOSE,P1);MA2:MA(CLOSE,P2);MA3:MA(CLOSE,P3);MA4:MA(CLOSE,P4);wyA001:=(2*Close+High+Low)/4;wyA002:=EMA(wyA001,4);wyA003:=EMA(wyA002,4);wyA004:=EMA(wyA003,4);wyA柱:=(wyA004-REF(wyA004,1))/REF(wyA004,1)*100;wyA线1:=MA(wyA柱,2);wyA线2:=MA(wyA柱,1);wy分时1线:=MA(CLOSE,1);wy分时21线:=MA(CLOSE,21);DRAWICON(WYA线1>0.25ANDWYA线2>0.25ANDCROSS(WYA线1,WYA线2),high*1.0128,9);DRAWICON(WYA线1<0ANDWYA线2<0ANDCROSS(WYA线1,WYA线2),high*1.0128,9);DRAWICON(CROSS(wy分时21线,wy分时1线),high*1.0128,9);DRAWICON(WYA线1<-0.25ANDWYA线2<-0.25ANDCROSS(WYA线2,WYA线1),LOW,8);DRAWICON(WYA线1>0ANDWYA线2>0ANDCROSS(WYA线2,WYA线1),LOW,8),coloryellow;DRAWICON(cross(wy分时1线,wy分时21线),low,8),coloryellow;这些指标其实都不怎么样,不要迷信指标。2023-07-04 14:21:511
我这边有个公式,麻烦,大神帮我变成一个选股公式。公示中贵宾建仓并成选股公式?
选股信号效果如下图2023-07-04 14:21:591
CCl逃顶公式
通达信cci主升浪+抄底逃顶指标公式DRAWBAND(350,RGB(100,120,180),-300,RGB(100,120,180));CC1:CCI(25),COLORSTICK,COLOR40FF00;DRAWICON(CROSS(200,CCI),250,2);DRAWICON( CROSS(CCI,-200),-250,1);转强:CCI>0,COLOR0000D5,NODRAW;STICKLINE(CCI>0,0,CCI,2,0),COLOR0000D5;弱转强:CROSS(CCI,-200) AND CCI>REF(CCI,1),COLOR00DFDF,NODRAW;STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,2,0),COLOR00DFDF;强转弱:CROSS(200,CCI) AND CCI<REF(CCI,1),COLOR00CA00,NODRAW;STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,2,0),COLOR00CA00;生命CCI线:CCI(84),COLORWHITE;底部线:-100.00,COLORYELLOW,LINETHICK2;警戒线:300.00,COLORWHITE,LINETHICK2;生命线:100.00,COLORRED,LINETHICK2;DRAWTEXT(CROSS(生命CCI线,底部线),底部线,"★主升浪")COLORRED;DRAWTEXT(CROSS(生命CCI线,警戒线),警戒线,"★警惕")COLORRED;DRAWTEXT(CROSS(生命CCI线,生命线),生命线,"★强")COLORMAGENTA;200;-200;2023-07-04 14:22:141
通达信金牛判势指标源码和机构震仓指标怎么写,如下图效果
TJ:=FILTER(C,239)>0,NODRAW;TJJ:=SUM(TJ,0),NODRAW;TJA:=CONST(TJJ),NODRAW;C1:=CLOSE;V1:=TIME;A1:=COUNT(BARSCOUNT(C)=1 AND TIME<102000 ,0 );T:=IF(V1<130000,(FLOOR(V1/10000)-9.5)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)),(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000))),NODRAW;成交额:=AMOUNT,NODRAW;VV2:=SUM(AMOUNT,T),NODRAW;VV3:=VV2/T;SS:=IF(CAPITAL>150000000,0.3,IF(CAPITAL>20000000,0.5,IF(CAPITAL>10000000,0.8,IF(CAPITAL<200000,5,IF(CAPITAL<1000000,3,IF(CAPITAL<5000000,1.5,1)))))),NODRAW;VV5:=(REF(VV3,T-1)/CEILING(REF(VV3,T-1)/CAPITAL *10000+0.1))*SS,NODRAW;大额线:=IF(REF(VV3,T)=REF(VV3,T-1),VV5,REF(VV3,T)),NODRAW;起算量:=大额线*100,COLOR00FFFF,NODRAW;初正1:=IF(T=1 AND DYNAINFO(4)>=DYNAINFO(3),VV2,0);初负1:=IF(T=1 AND DYNAINFO(4)<DYNAINFO(3),VV2,0);初正:=SUM(IF(初正1>=大额线 AND T=1,初正1,0),T),NODRAW;初负:=SUM(IF(初负1>=大额线 AND T=1,初负1,0),T),NODRAW;初正2:=SUM(初正1,T),NODRAW;初负2:=SUM(初负1,T),NODRAW;T00:=IF(C1>REF(C1,1),0.9,-0.9);T01:=IF(C1<REF(C1,1),-0.9,0.9);T02:=T00+T01,NODRAW;TT1:=BARSLAST(CROSS(T02,+1.5)),NODRAW;TT2:=BARSLAST(CROSS(-1.5,T02)),NODRAW;TT:=IF(T02=1.8,1,IF(T02=-1.8,-1,0));正V1:=IF(TT=1 OR (TT=0 AND TT1<TT2),成交额,0),NODRAW;负V1:=IF(TT=-1 OR (TT=0 AND TT1>TT2),成交额,0),NODRAW;正负0:=IF(成交额!= 0 AND (正V1=0 AND 负V1=0),成交额,0);正V0:=IF(正负0!= 0 AND REF(正V1,1)!= 0 ,正负0,0);负V0:=IF(正负0!= 0 AND REF(负V1,1)!= 0 ,正负0,0);正V11:=正V1+正V0,NODRAW;负V11:=负V1+负V0,NODRAW;正V:=IF(正V11>=大额线,正V11,0);负V:=IF(负V11>=大额线,负V11,0);正V2:=IF(正V11<大额线,正V11,0);负V2:=IF(负V11<大额线,负V11,0);正总:=IF(TJJ<2,初正,0)+SUM(正V,T),NODRAW,COLOR0000FF;负总:=IF(TJJ<2,初负,0)+SUM(负V,T),NODRAW,COLOR00FF00;正总1:=IF(TJJ<2,初正2,0)+SUM(正V11,T),NODRAW,COLOR0000FF;负总1:=IF(TJJ<2,初负2,0)+SUM(负V11,T),NODRAW,COLOR00FF00;大差%:(正总-负总)/(正总+负总)*100,COLOR00FF00,NODRAW;小差%:(正总1-负总1)/(正总1+负总1)*100,COLOR00FF00,NODRAW;TJJB:=IF(FILTER(T,239)>0 AND TJA>1,REF((正总-负总),T),0),NODRAW;TJJJB:=SUM(TJJB,0)+IF(TJA>1,(正总-负总),0),NODRAW;TJJC:=IF(FILTER(T,239)>0 AND TJA>1,REF((正总+负总),T),0),NODRAW;TJJJC:=SUM(TJJC,0)+IF(TJA>1,(正总+负总),0),NODRAW;N今:TJJJB/10000,NODRAW;TJJJB/TJJJC*100,NODRAW;TJJB2:=IF(FILTER(T,239)>0,REF((正总-负总),T),0),NODRAW;TJJJB2:=SUM(TJJB2,0),NODRAW;TJJC2:=IF(FILTER(T,239)>0,REF((正总+负总),T),0),NODRAW;TJJJC2:=SUM(TJJC2,0),NODRAW;N昨:TJJJB2/10000,NODRAW;TJJJB2/TJJJC2*100;KL:=1;DRAWBAND(12000*KL,RGB(50,50,50),-5000*KL,DRAWNULL);Q4:=IF(大差%>=0,12000*KL,0),NODRAW;Q5:=IF(大差%>=0,-5000*KL,0),NODRAW;DRAWBAND(Q4,RGB(100,100,100),Q5,RGB(50,50,50));STICKLINE(CROSS(大差%,0),Q4,Q5,10,0),COLOR777777;STICKLINE(CROSS(0,大差%),Q4,Q5,10,0),COLOR777777;DIF:=EMA(CLOSE,20)-EMA(CLOSE,5);DEA:=EMA(DIF,10);MACD:=300*(DIF-DEA)*2/EMA(C,30);VARA:=EMA(REF(CLOSE,1),4); 青山:=(SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100); 绿水:=青山<3.5,COLORDBDBDB;火红的:=FILTER(MACD<0 AND MACD>REF(MACD,1) AND 青山<20,5);太阳:=CROSS(青山,90),COLOR00FF00;DRAWBAND(IF((TJA<2 OR PERIOD!= 0),12000*KL,0),RGB(150,00,100),0,DRAWNULL);DD:=IF(MACD>=0,MACD,DRAWNULL)*1.5;STICKLINE(DD AND DD>REF(DD,1),0,DD*80*KL,4,0),COLOR0000FF;STICKLINE(DD AND DD<REF(DD,1),0,DD*80*KL,3,1),COLOR0000FF;IF(TJA<2,(青山-25)*150*KL,DRAWNULL),COLOR5BE000,LINETHICK6;DRAWBAND(IF((TJA<2 OR PERIOD!= 0) AND (青山-25)*1.5>0,(青山-25)*150*KL,0),RGB(00,200,50),0,DRAWNULL);DRAWBAND(0,RGB(00,180,120),IF((TJA<2 OR PERIOD!= 0),-5000*KL,0),DRAWNULL);ZJ2:=V/((H-L)*2-ABS(C-O));ZJ3:=IF(C>O,ZJ2*(H-L),IF(C<O,ZJ2*(H-O+(C-L)),V/2))+IF(C>O,0-ZJ2*(H-C+(O-L)),IF(C<O,0-ZJ2*(H-L),0-V/2));攻击流量:=ZJ3/20/1.15;ZJ5:=攻击流量*0.55+REF(攻击流量,1)*0.33+REF(攻击流量,2)*0.22;日流量:=EMA(ZJ5,3);STICKLINE(C>0 AND 日流量>=0,日流量,0,2,0),COLORFF38FF;STICKLINE(C>0 AND 日流量<=0,日流量,0,2,0),COLORFA3300;AR1:=LLV(LOW,10);AR2:=HHV(H,25);AR3:=EMA((C-AR1)/(AR2-AR1)*4,4);红红的天:=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),LINETHICK0;IF((TJA<2 OR PERIOD!= 0) AND CROSS(红红的天,2),7000*KL,-5000*KL),COLOR0000FF;IF(红红的天>10,-5000*KL,DRAWNULL),CIRCLEDOT,COLORGREEN;IF(红红的天<=10,-5000*KL,DRAWNULL),CIRCLEDOT,COLOR0000CC;N:=IF(TJA<2 AND PERIOD=0,20,6);L1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*200-60;有心就有:IF((TJA<2 OR PERIOD!= 0) AND CROSS(红红的天,2),7000*KL,DRAWNULL),CROSSDOT,LINETHICK6,COLORFF77FF;好运!:IF((TJA<2 OR PERIOD!= 0) AND CROSS(红红的天,2),7000*KL,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;STICKLINE(CROSS(3.5,AR3),10000*KL,12000*KL,2,0), COLOR00FFFF,LINETHICK2;STICKLINE(CROSS(AR3,0.3),-5000*KL,-3000*KL,2,0),COLORRED,LINETHICK2;DRAWTEXT(CROSS( 0,MACD)AND 青山>75 OR 太阳,9800*KL,"ヲ"),COLORDBDBDB;DRAWTEXT(绿水,-3000*KL,"ャ"),COLORDBDBDB;DRAWTEXT(绿水,-3000*KL,"︼"),COLOR688EC1;IF(PERIOD=0,2500,DRAWNULL),COLORAAAAAA,LINETHICK2;{盘龙驸凤}望喜:IF(PERIOD=0,小差%*100+2500,DRAWNULL),COLOR000000,LINETHICK1;IF(PERIOD=0 AND TJA>1,小差%*100+2500,DRAWNULL),COLORFFFF00;盘龙:IF(PERIOD=0,大差%*100+2500,DRAWNULL),COLOR00FFFF,LINETHICK2;STICKLINE(PERIOD=0 AND FILTER(T,239)>0,12000*KL,-5000*KL,1,0),COLORWHITE;A7:=C-REF(C,1);A8:=IF(((TJA<2 OR PERIOD!= 0) OR PERIOD!= 0),5000*EMA(EMA(A7,11),11)/EMA(EMA(ABS(A7),11),11),DRAWNULL),LINETHICK2;SHORT:=3; LONG:=19;RMA:=EMA(CLOSE,SHORT);NMA:=EMA(CLOSE,LONG);UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0);DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0);买进:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);卖出:=(HHV(A8,2)=HHV(A8,7) OR A8=HHV(A8,2)) AND DOWN>REF(UP,1);DRAWICON(买进=0,A8*1.1,1);DRAWICON(买进=1,A8,23);RV:=((CLOSE-LLV(LOW,5))/(HHV(HIGH,27)-LLV(LOW,27))*200-60)*100*KL;VAR4:=SMA(RV,3,1);VAR5:=SMA(VAR4,3,1);龙K:IF(((TJA<2 OR PERIOD!= 0) OR PERIOD!= 0),SMA(L1,3,1)*100*KL,DRAWNULL),COLORRED;凤D:IF(((TJA<2 OR PERIOD!= 0) OR PERIOD!= 0),SMA(龙K,3,1),DRAWNULL),COLORBBFFBB;N1:=7; LC:=REF(CLOSE,1); X:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*1000,COLORMAGENTA; 牛相:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),X,1);TJ1:=X=牛相;TJ2:=X<REF(X,1);DRAWICON(TJ1 AND TJ2,X,1);DRAWTEXT(TJ1 AND TJ2,X,"买")COLORRED;VAR1R:=(HIGH+LOW+CLOSE*2)/4;VAR2R:=EMA(VAR1R,21);VAR3R:=STD(VAR1R,21);VAR4R:=((VAR1R-VAR2R)/VAR3R*100+200)/4;VAR5R:=(EMA(VAR4R,5)-25)*1.56;AK:=EMA(VAR5R,2)*1.22;AD1:=EMA(AK,2);拐点:=CROSS(AD1,AK);DRAWTEXT(拐点,X,"变盘"); VAR6R:=((C+2*L)/3-LLV(L,8))/(HHV(H,8)-LLV(L,8))*100;VAR7R:=SMA(VAR6R,2,1);DRAWTEXT(X>50 AND X<=80 AND CROSS(X,VAR7R),X,"追"),COLORYELLOW;DRAWTEXT(CROSS(X,70) AND VAR7R<15,X,"底"),COLORRED;DRAWTEXT(CROSS(X,85) AND VAR7R<10,X,"涨"),COLORMAGENTA;DRAWTEXT(VAR7R<11 AND VAR7R>REF(VAR7R,1),VAR7R,"涨"),COLORRED;DRAWTEXT(CROSS(X,70) AND VAR7R<20,X,"底"),COLORRED;DRAWTEXT(ISLASTBAR,X," 金牛判势"),COLORRED;2023-07-04 14:22:241
请帮忙修改这个指标
修改后的代码:必买:=IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,1,-1);必卖:=IF(PEAKBARS(3,15,1)=1,1,2);STICKLINE(REF(必买,1)=1,O,C,3,0),COLORRED;STICKLINE(REF(必买,1)=1,L,H,0,0),COLORRED;DRAWTEXT(REF(必买,1)=1,L-0.1, "必买"),COLORRED;STICKLINE(必卖=1,O,C,3,0),COLORWHITE;STICKLINE(必卖=1,L,H,0,0),COLORWHITE;DRAWTEXT(必卖=1,H+0.1, "必卖"),COLORGREEN;使用方法:在你想叠加的主图上点右键,选择修改指标公式,然后在原来的主图公式代码的最后面加入上面的代码。然后保存即可。备注:你的这个指标中TROUGHBARS和PEAKBARS都属于ZIG转向未来函数,所以劝你最好不用。如果你不明白未来函数是什么意思。你可以百度一下。在这里就不多说了。2023-07-04 14:22:482
求通达信公式:怎么让下面公式的白柱变高变长一点?谢谢
STICKLINE(COND,PRICE1,PRICE2,WIDTH,EMPTY),当COND条件满足时,在PRICE1和PRICE2位置之间画柱状线,宽度为WIDTH(10为标准间距),想调整白柱,就在于PRICE1,PRICE2的数值调整,你的例子中,加大H的数值。比如2H2023-07-04 14:22:561
通达信有红彩带的公式
1.通达信有红彩带的公式。2.公式详情:N1:=12;AAA1:=EMA((2*CLOSE+HIGH+LOW)/4,N1);AAA2:=EMA(AAA1,2);A3:=EMA(AAA2,2);A4:=EMA(A3,2);A5:=EMA(A4,2);A6:=EMA(A5,2);A7:=EMA(A6,2);A8:=EMA(A7,2);A9:=EMA(A8,2);A10:=EMA(A9,2);A11:=EMA(A10,2);A12:=EMA(A11,2);A13:=EMA(A12,2);A14:=EMA(A13,2);A15:=EMA(A14,2);DRAWBAND(AAA1,RGB(255,0,0),A15,RGB(0,100,100)); {画区间彩带}{ 爱约股_通达信股票指标公式}STICKLINE(AAA1>A15,AAA1,A15,0,-1),COLORFF00FF; {画区间彩带的竖线}DRAWKLINE(H,O,L,C);{涨跌停颜色}涨跌:=REF(C,1);涨停:=IF((C-涨跌)*100/涨跌>=(10-0.01*100/涨跌),1,0);STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;STICKLINE(涨停,H,L,0,0),COLORYELLOW;跌停:=IF((涨跌-C)*100/涨跌>=(10-0.01*100/涨跌),1,0);STICKLINE(跌停,OPEN,CLOSE,2,0),COLORBLUE;STICKLINE(跌停,H,L,0,1),COLORBLUE;{重心}重心:=AMOUNT/VOL/100,POINTDOT,COLORWHITE;Z1:EMA(重心,1);IF(重心>LLV(重心,3),Z1,DRAWNULL),COLORWHITE;IF(重心<HHV(重心,2),Z1,DRAWNULL),COLORBLUE,LINETHICK6;2023-07-04 14:23:141
通达信-来个老铁帮忙改下错误句
这应该是一个分时成交量公式,不过应该不是通达信软件的。VOL,VOLSTICK,PRECIS0;IF PFFIN(4251,0)>0 THEN BEGINMM:=PFFIN(4251,0);END;BL:=SUM(V,0)/"引用.V1#DAY"*100;大概看了一下,这个公式错误的地方太多,不适合通达信,”PRECIS0;“通达信没有这个,IF后面应该是括号,另外,里面还有需要引用的公式,你有没有? 估计你没有。无法修复,别用了。 送给你一个,下面的。成交额:=V*C/100;{万元} JGM:=IF(((成交额/8>(20*6)) AND (CLOSE>(REF(CLOSE,1)))),VOL,0);主力攻击:JGM/4; A2:=SUM((IF(((成交额/8>20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);A3:=SUM((IF(((成交额/8>20) AND (CLOSE<(REF(CLOSE,1)))),成交额,0)),0);A4:=SUM((IF(((成交额/8<20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);A5:=SUM((IF(((成交额/8<20) AND (CLOSE<(REF(CLOSE,1)))),成交额,0)),0);A6:=((A2+A3)+A4)+A5;机构买:(A2),LINETHICK1,COLORRED; 机构卖:(A3),LINETHICK1,COLORFFFF55;机买:(100*A2)/A6,COLORWHITE; 机卖:(100*A3)/A6,COLORYELLOW;散户买:(A4),COLOR5555FF;{细红线}散户卖:(A5),COLOR55FF55;{细绿线}散买大:散户买>散户卖,COLORGREEN;机构进出:=机构买-机构卖,NODRAW;强势:=((100*A2)/A6>50);STICKLINE(强势,机构买*1.02,机构买*1.1,1,0),COLORYELLOW;拉升:=((100*A2)/A6-(100*A3)/A6)>18 AND (100*A2)/A6-(100*A5)/A6>18;STICKLINE(拉升,机构买*1.1,机构买*1.2,1,0),COLORFF00FF;DRAWTEXT(ISLASTBAR=1,机构买*0.95,"●机构买"),LINETHICK2,COLORRED;DRAWTEXT(ISLASTBAR=1,机构卖*0.95,"○机构卖"),LINETHICK2,COLORFFFF55;DRAWTEXT(机构进出>0 AND REF(机构进出,1)<=0,机构买*1.02,"●机买"),COLORRED;DRAWTEXT(机构进出<0 AND REF(机构进出,1)>=0,机构买*0.98,"○机卖"),COLORFFFF55;DD1:=1; AAA1:=STRCAT(STRCAT("机构买",CON2STR((100*A2)/A6,0)),"%");AAA2:=STRCAT(STRCAT("机构卖",CON2STR((100*A3)/A6,0)),"%");AAA3:=STRCAT(STRCAT("散户买",CON2STR((100*A4)/A6,0)),"%");AAA4:=STRCAT(STRCAT("散户卖",CON2STR((100*A5)/A6,0)),"%");DRAWTEXT_FIX(DD1=1,0,0.02,0,AAA1),COLORRED;DRAWTEXT_FIX(DD1=1,0,0.13,0,AAA2),COLORFFFF55;DRAWTEXT_FIX(DD1=1,0,0.24,0,AAA3),COLOR5555FF;DRAWTEXT_FIX(DD1=1,0,0.35,0,AAA4),COLOR55FF55;2023-07-04 14:23:221
请老师帮忙做个选股公式,即MACD绿柱出现红色箭头时
A:=EMA(CLOSE,9)-EMA(CLOSE,18);B:=EMA(A,7),LINETHICK1;MACD:=2*(A-B);HHV(MACD,4)<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3);2023-07-04 14:23:281
求高手写个通达信当天开盘价在分时图上自动画线的分时主图指标?谢谢!
用这个代码:DYNAINFO(4),COLORFF00AA;很好用的分时主图指标公式:M1:=36;N1:=13;N:=100;Q:=5;SHORT:=21;LONG:=44;MID:=11;P2:=11;DRAWGBK(C>0,RGB(50,60,250),RGB(17,21,89),0,"11",0);H1:=maX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:L1+P1*7/8,COLORGREEN;支撑:L1+P1*0.5/8,COLORRED;中:(支撑+阻力)/2,COLORWHITE,POINTDOT;现价:CLOSE,COLORWHITE,LINETHICK2;顶卖:stICKLINE(C>阻力,阻力,C,5,0),COLORGREEN;底买:STICKLINE(C<支撑,支撑,C,5,0),COLORRED;MR:=C<支撑ANDcrOSS(C,REF(C,2));DRAWTEXT(CROSS(现价,支撑),中,"★买"),COLORRED;STICKLINE(CROSS(现价,支撑),C,中,2,0),COLORRED;STICKLINE(MR=1,支撑,中,2,0),COLORRED;DRAWICON(MR=1ORCROSS(现价,支撑),中,1);STICKLINE(CROSS(支撑,现价),支撑,(支撑-中)/5+支撑,2,0),COLORYELLOW;DRAWTEXT(CROSS(支撑,现价),(支撑-中)/5+支撑,"★底"),COLORYELLOW;MC:=C>阻力ANDCROSS(REF(C,2),C);DRAWTEXT(CROSS(阻力,现价),中,"★卖"),COLORGREEN;STICKLINE(CROSS(阻力,现价),C,中,2,0),COLORGREEN;STICKLINE(MC=1,阻力,中,2,0),COLORGREEN;DRAWICON(MC=1ORCROSS(阻力,现价),中,2);STICKLINE(CROSS(现价,阻力),阻力,阻力-(支撑-中)/5,2,0),COLORMAGENTA;DRAWTEXT(CROSS(现价,阻力),阻力-(支撑-中)/5,"★顶"),COLORMAGENTA;DRAWTEXT(ISLASTBAR,阻力,"顶"),COLORGREEN;DRAWTEXT(ISLASTBAR,支撑,"底"),COLORRED;DRAWTEXT(ISLASTBAR,(支撑+阻力)/2,"中"),COLORWHITE;每股净资产:=STRCAT(STRCAT("每股净资产:",CON2STR(FINANCE(34),2)),"元");DRAWTEXT_FIX(1,0.22,0.92,0,每股净资产),COLORWHITE;主营同比增长:=STRCAT(STRCAT("主营同比增长:",CON2STR(FINANCE(44),2)),"%");DRAWTEXT_FIX(1,0.33,0.99,0,主营同比增长),COLORCYAN;净利润同比增长:=STRCAT(STRCAT("净利润同比增长:",CON2STR(FINANCE(43),2)),"%");DRAWTEXT_FIX(1,0.33,0.92,0,净利润同比增长),COLORYELLOW;{销售毛利率:=STRCAT(STRCAT("销售毛利率:",CON2STR(FINANCE(21)/FINANCE(20)*100,2)),"%");}销售毛利率:=STRCAT(STRCAT("销售毛利率:",CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2)),"%");DRAWTEXT_FIX(1,0.22,0.99,0,销售毛利率),COLORCYAN;DRAWTEXT_FIX(1,0.11,0.99,0,"每股收益:")COLORYELLOW;DRAWTEXT_FIX(1,0.16,0.99,0,STRCAT(CON2STR(FINANCE(30)/FINANCE(1),2),"元"))COLORYELLOW;DRAWTEXT_FIX(1,0.11,0.92,0,"每股市盈率:")COLORYELLOW;DRAWTEXT_FIX(1,0.17,0.92,0,STRCAT(CON2STR(C/FINANCE(33),2),"倍"))COLORYELLOW;DRAWTEXT_FIX(1,0.01,0.99,0,"流通A股:")COLORCYAN;DRAWTEXT_FIX(1,0.06,0.99,0,STRCAT(CON2STR(CAPITAL/1000000,2),"亿股"))COLORCYAN;DRAWTEXT_FIX(1,0.11,0.87,0,"每股未分配:元")COLORYELLOW;DRAWTEXT_FIX(1,0.17,0.87,0,CON2STR(FINANCE(32),2))COLORYELLOW;DRAWTEXT_FIX(1,0.01,0.92,0,"经营现金流:元")COLORYELLOW;DRAWTEXT_FIX(1,0.07,0.92,0,CON2STR(FINANCE(25)/FINANCE(1),2))COLORYELLOW;DRAWTEXT_FIX(1,0.50,0.99,0,"☆[热点概念]:")COLORYELLOW;DRAWTEXT_FIX(1,0.57,0.99,0,EXTERNSTR(0,1))COLORYELLOW;DRAWTEXT_FIX(1,0.50,0.92,0,"☆[主营行业]:")COLORCYAN;DRAWTEXT_FIX(1,0.57,0.92,0,EXTERNSTR(0,2))COLORCYAN;{DRAWTEXT_FIX(1,0.00,0.63,0,"[高送转信号]:")COLORCYAN;DRAWTEXT_FIX(1,0.05,0.63,0,EXTERNSTR(0,3))COLORCYAN;};所属板块:=STRCAT("☆【所属板块】",STRCAT(STRCAT(STRCAT("[行业]—",HYBLOCK),STRCAT("[地域]—",DYBLOCK)),STRCAT("[概念]—",GNBLOCK)));DRAWTEXT_FIX(ISLASTBAR,0.50,0.87,0,所属板块),COLORYELLOW;今日人气:=DYNAINFO(60)/DYNAINFO(61);DRAWTEXT_FIX(1,0,0.87,0,"◆大盘人气:"),COLORYELLOW,LINETHICK4;DRAWNUMBER_FIX(1,0.07,0.87,0,CONST(今日人气)),COLORYELLOW;TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME<0.5,TOTAL,MTIME);虚拟量:=IF(CURRBARSCOUNT=1,vol*TOTAL/CTIME,DRAWNULL);虚拟量比:=虚拟量/REF(VOL,1),COLORWHITE,LINETHICK0;虚量值:=(虚拟量-VOL)/VOL,COLORWHITE,LINETHICK0;DRAWTEXT_FIX(1,0.33,0.87,0,"▲量比:"),COLORYELLOW;DRAWNUMBER_FIX(1,0.37,0.87,0,CONST(虚拟量比)),COLORYELLOW;量价:=(VOL/CLOSE)/3;统计主动买量:=SUM((IF(((量价>0.20)AND(CLOSE>(REF(CLOSE,1)))),量价,0)),0);统计主动卖量:=SUM((IF(((量价>0.20)AND(CLOSE<(REF(CLOSE,1)))),量价,0)),0);涨停能量:=((统计主动买量)/统计主动卖量)*10,COLOR4080FF;DRAWTEXT_FIX(1,0.22,0.87,0,"★涨停能量:"),COLORYELLOW;DRAWNUMBER_FIX(1,0.28,0.87,0,CONST(涨停能量)),COLORYELLOW;2023-07-04 14:23:389