㈠ 怎样把这个同花顺指标改成通达信的
大家好,欢迎大家收看本期内容。今天给大家来聊一聊,咱们打板该怎么样操作。
近期的大盘,相信大家最近对短线和超短线的操作还是比较频繁。那怎么样在目前的市场情况下,来观看主力和庄家的资金进出情况呢?今天给大家进行一个比较详细的教程讲解。
我们可以在通达信当中打开【同花顺数据中心】这样的一个定制版面,那么这个版面是可以通过链接导入到通达信当中的使用。
①第一步,打开系统设置选项。
②第二部,在系统设置中找到链接按钮,进行连接导入。
③设置完成后,就可以在分时图左下角查看添加的内容了。
这个版面,我们可以直接在这个版面当中实时地刷新查看龙虎榜刷新的频率是60秒一次,再也不用等到盘后再看龙虎榜了。
通过这个版面,我们可以直接看到北向资金的进出情况,可以非常明了地看到一些营业部的操作情况,可以进行跟单跟买。
这个链接的导入方式也是非常简单,我们只需要在通达信当中打开系统设置,然后找到链接的这个选项卡,将我们的同花顺数据中心,这几个字打到名称到这一栏当中,然后将链接复制进去,点击两次确定就可以直接在通达性的分时图左下角打开了,非常的方便。
文档和链接已经给大家导出集结完毕了,大家可以和我聊天交流学习,在我的主页找到小信封,发送数字22来拿到这个文档进行设置,感谢大家收看本期内容咱们下次再见。
㈡ 求助;同花顺指标改成通达信的
这段同花顺幅图指标以修改成通达信指标修改后效果如下图;一张是同花顺显示效果一张是通达信显示效果。
㈢ 同花顺指标编译成通达信
这段同花顺代码 可以修改为通达信指标代码,但是结果会存在差异,在通达信的效果如下图
㈣ 如何将以下同花顺指标转换成通达信
M:=55;
N:=21;
DC:=INDEXC;
DC1:=3;
DV:=INDEXC;
VAR11:=ZIG(DC1,6)>REF(ZIG(DC1,6),1) AND REF(ZIG(DC1,6),1)<=REF(ZIG(DC1,6),2) AND REF(ZIG(DC1,6),2)<=REF(ZIG(DC1,6),3);
VAR12:=ZIG(DC1,6)<REF(ZIG(DC1,6),1) AND REF(ZIG(DC1,6),1)>=REF(ZIG(DC1,6),2) AND REF(ZIG(DC1,6),2)>=REF(ZIG(DC1,6),3);
VAR13:=ZIG(DC1,22)>REF(ZIG(DC1,22),1) AND REF(ZIG(DC1,22),1)<=REF(ZIG(DC1,22),2) AND REF(ZIG(DC1,22),2)<=REF(ZIG(DC1,22),3);
VAR14:=ZIG(DC1,22)<REF(ZIG(DC1,22),1) AND REF(ZIG(DC1,22),1)>=REF(ZIG(DC1,22),2) AND REF(ZIG(DC1,22),2)>=REF(ZIG(DC1,22),3);
VAR15:=ZIG(DC1,51)>REF(ZIG(DC1,51),1) AND REF(ZIG(DC1,51),1)<=REF(ZIG(DC1,51),2) AND REF(ZIG(DC1,51),2)<=REF(ZIG(DC1,51),3);
VAR16:=ZIG(DC1,51)<REF(ZIG(DC1,51),1) AND REF(ZIG(DC1,51),1)>=REF(ZIG(DC1,51),2) AND REF(ZIG(DC1,51),2)>=REF(ZIG(DC1,51),3);
VAR17:=ZIG(DC1,72)>REF(ZIG(DC1,72),1) AND REF(ZIG(DC1,72),1)<=REF(ZIG(DC1,72),2) AND REF(ZIG(DC1,72),2)<=REF(ZIG(DC1,72),3);
VAR18:=ZIG(DC1,72)<REF(ZIG(DC1,72),1) AND REF(ZIG(DC1,72),1)>=REF(ZIG(DC1,72),2) AND REF(ZIG(DC1,72),2)>=REF(ZIG(DC1,72),3);
买:=(VAR11+VAR13+VAR15+VAR17);
卖:=(VAR12+VAR14+VAR16+VAR18);
新价:DC,COLORWHITE;
DRAWTEXT(买>0,DC*0.97,'必进'),COLORRED,;
DRAWTEXT(卖>0,DC*1.03,'清仓'),COLORGREEN,;
B:=TROUGHBARS(DC1,5,1)=0;
E:=PEAKBARS(DC1,5,1)=0;
DRAWICON(B,INDEXL*0.99,1),COLORRED;
DRAWICON(E,INDEXH*1.01,2);
DRAWNUMBER(E,INDEXC*0.98,INDEXH);
DRAWNUMBER(B,INDEXC*0.98,INDEXL);
突破:REF(EMA(DC,14),1),COLORYELLOW;
A1X:=(EMA(DC,10)-突破)/突破*100;
多方:=IF(A1X>=0,REF(EMA(DC,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);
空方:=IF(A1X<0,REF(EMA(DC,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);
STICKLINE(A1X>=0,多方,突破,0,0),COLOR000099;
STICKLINE(A1X<0,空方,突破,0,0),COLOR00CC66;
均价线:SUM(DC*DV,240)/SUM(DV,240),COLORMAGENTA;
AA:=ZIG(DC1,5),COLORYELLOW;
DIFF1:=-(EMA(AA,26) - EMA(AA,12));
DEA1:=-(EMA(DIFF1,9));
MACD1:=2*(DIFF1-DEA1);
X:=IF(MACD1<0 AND REF(MACD1,2)>REF(MACD1,1) AND MACD1>REF(MACD1,1),1,0);
DRAWTEXT(X,INDEXC*0.97,'建仓'),COLORYELLOW;
VPT:=SUM(DV/EMA(DV,N)*(DC-REF(DC,1))/REF(DC,1),0);
MAVPT:=EMA(VPT,M);
㈤ 能帮我把同花顺指标公式改通达信指标公式吗
这段同花顺代码可以修改为通达信指标这是没有问题的,但是这段代码中需要转换的内容因为软件不同通达信计算的结果会与同花顺计算的结果有误差。
㈥ 请哪位高手帮忙把同花顺指标修改成通达信指标,谢谢
这公式也不用改啊直接放在通达信用就可以了,把最后一行-10;删了就可以了
VAR3:=LLV(HIGH,240);
VAR4:=100*(CLOSE-VAR3)/VAR3;
VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VARA:=BARSCOUNT(CLOSE);
VARB:=VAR8<20 AND VAR9<23 AND VARA>35;
VARC:=VARB AND COUNT(VARB,1)=1;
VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);
VARE:=EMA(VARD,5);
VARF:=TROUGHBARS(3,6,1)<4 AND CROSS(VARD,VARE);
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR1A:=EMA(VAR19,100);
VAR1B:=2*(VAR19-VAR1A);
VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);
VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR1E:=EMA(VAR1D*0.97,3);
VAR1F:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));
VAR21:=CROSS(VAR1E,LOW);
选股买点: VAR10, COLORYELLOW;
组合买: (VAR11+VAR13+VAR15+VAR17), COLORRED;
组合卖: (VAR12+VAR14+VAR16+VAR18), COLORGREEN;
黑马线: IF(MONTH<2008 AND VAR1B>0.1,VAR1C,0)*1, COLOR6699CC;
黑马信号介入点: 选股买点 AND VARF AND VARC AND VAR21 AND VAR4<0 AND VAR5<2 AND VAR6=0, COLORFFFF99;
DRAWTEXT(VAR13,0.6,'●'), COLORRED;
DRAWICON(组合买,组合买,1);
DRAWICON(组合卖,组合卖,9);
DRAWTEXT(黑马信号介入点>0,4.5,'●我的黑马介入点'), COLORRED;
DRAWICON(选股买点>0,4.2,1);
DRAWTEXT(选股买点 AND VARF AND VARC,2.8,' 30%下单莫错过!'), COLORMAGENTA;
DRAWTEXT(VAR18,3,'空仓'), COLORGREEN;
DRAWTEXT(VAR20<-110 AND 选股买点>0,2,'选股买点'), COLORYELLOW;
DRAWTEXT(VAR17,1.3,'发现黑马'), COLORFF6600;
DRAWTEXT(选股买点 AND VAR20<-100 AND VARF AND VARC>0,4.1,'★组合5分钟线选股思路获利5%以上'), COLORRED;
㈦ 如何把同花顺指标变成通达信指标
MTR:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);HD:=HIGH-REF(HIGH,1);LD:=REF(LOW,1)-LOW;DMP:=EMA(IF(HD>0ANDHD>LD,HD,0),N);DMM:=EMA(IF(LD>0ANDLD>HD,LD,0),N);PDI:DMP*100/MTR;MDI:DMM*100/MTR;ADX:EMA(ABS(MDI-PDI)/(MDI+PDI)*100,MM);ADXR:EMA(ADX,MM);N和MM分别是参数,需要在参数栏设置。PS1:这位同学你可熬得真晚。身体最重要。PS2:同花顺和通达信主要是在EMA,和EXPMEMA上有区别,以及同花顺IF函数貌似不能用&&.
㈧ 同花顺指标怎么改成通达信的
VAR3:=(MA(C,5)-MA(C,120))/MA(C,120);
VAR4:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);
波段进场:IF(CLOSE>MA(C,120) AND REF(VAR4,1)<30 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2),80,50);
反弹进场:IF(REF(VAR4,1)<5 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2) AND VAR3<-0.3,80,50);
超跌进场:IF(CROSS(VAR4,5) AND VAR3<-0.4,80,50),COLORMAGENTA;
STICKLINE(C>=MA(C,10),VAR4,REF(VAR4,1),12,0),COLORRED;
STICKLINE(C<MA(C,10),VAR4,REF(VAR4,1),12,0),COLORGREEN;
股票公式专家团为你解答,希望能帮到你,祝投资顺利。
㈨ 如何将同花顺公式改成通达信公式
DIF:EMA(C,12)-EMA(C,26);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2,NODRAW;
ZERO:=0;
{MACD柱线变色标识}
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,3,0),COLORRED;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,3,0),COLORLIBLUE;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,3,0),COLORMAGENTA;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,3,0),COLORLIGREEN;
{DIF线变色标识}
多:IF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORRED,LINETHICK2;
空:IF(DIF<REF(DIF,1),DIF,DRAWNULL),COLORLIBLUE,LINETHICK1;
{MACD顶底背离标识.【注】系统提示使用未来函数是背离画线所致.不必害怕搜索}
GJ:=MAX(C,0);
L4:=LLV(GJ,4);
JL:=(HHV(DIF,55)-LLV(DIF,55))/5;
GT:=DEA>REF(DEA,1) AND REF(DEA,1)<REF(DEA,2);
A1:=BARSLAST(REF(GT,1));
底背离:=REF(L4,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND GT,COLORRED;
DRAWLINE(A1=0,DEA,底背离,REF(DEA,A1),0),COLORRED,LINETHICK1;
DRAWLINE(底背离,DEA,底背离,REF(DEA,A1),0),COLORRED,LINETHICK1;
DRAWTEXT(底背离,REF(DEA,A1)*1.18,'底背离'),COLORRED;
H4:=HHV(GJ,4);
GT2:=DEA<REF(DEA,1) AND REF(DEA,1)>REF(DEA,2);
A2:=BARSLAST(REF(GT2,1));
顶背离:=REF(H4,A2+1)<H4 AND DIF<REF(DIF,A2+1) AND GT2,COLORLIGREEN;
DRAWLINE(A2=0,DEA,顶背离,REF(DEA,A2),0),COLORLIGREEN,LINETHICK1;
DRAWLINE(顶背离,DEA,顶背离,REF(DEA,A2),0),COLORLIBLUE,LINETHICK1;
DRAWTEXT(顶背离,REF(DEA,A2)*1.18,'顶背离'),COLORLIGREEN;
{金叉死叉用符号标识}
A0:=DIF<0 AND DEA<0;
A11:=A0>REF(A0,1);
A3:=BARSLAST(A11);
A4:=COUNT(DEA>0 AND DIF>0,A3)=0;
A5:=CROSS(DIF,DEA);
A6:=BARSLAST(A5);
A7:=REF(A6,A6+1)+A6;
A8:=(DIF+DEA)/2;
A9:=(HIGH+LOW)/2;
A10:=A5 AND A7<A3 AND A4 AND A8>REF(A8,A7) AND A9<REF(A9,A7) AND MACD>0;
DRAWICON(CROSS(DIF,DEA),DIF,7);
DRAWICON(CROSS(DEA,DIF),DIF,8);
JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,NODRAW;
A51:=BARSLAST(REF(CROSS(DIF,DEA),1));
A52:=BARSLAST(REF(CROSS(DEA,DIF),1));
DRAWTEXT(二次金叉,ZERO-0.10,' 二次金叉'),COLORMAGENTA;
{MACD&KDJ金叉死叉共振标识}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9));
K:=SMA(RSV,9,3),NODRAW;
D:=SMA(K,9,3),NODRAW;
J:=3*K-2*D,NODRAW;
A:=CROSS(DIF,DEA) AND CROSS(K,D) AND CROSS(J,D);
DRAWICON(A,DEA*1.0,11);
DRAWTEXT(A,DEA*1.0,'金叉共振'),COLORMAGENTA;
B:=CROSS(DEA,DIF) AND CROSS(D,K) AND CROSS(D,J);
DRAWICON(B,DEA*1.0,12);
DRAWTEXT(B,DEA*1.0,'死叉共振'),COLORLIGREEN;
{MACD二次启动信号标识}
JLTS:=BARSLAST(CROSS(DEA,0));
MZJG:=CROSS(DIF,DEA) AND EVERY(DEA>0,JLTS) AND COUNT(CROSS(DIF,DEA),JLTS)=1 AND COUNT(CROSS(DEA,DIF),8)=1;
DRAWICON(MZJG,ZERO,1);
DRAWTEXT(MZJG,ZERO-0.05,'涨'),COLORMAGENTA;
修改完毕,如有其他指标问题可点击头像问我。
㈩ 想将同花顺的一个指标导入通达信
目前是同花顺兼容了通达信的函数库,通达信不支持同花顺的某些回函数。periodname,return之类通答达信识别不了,日线周期语法需要把periodname换成period==1,你这个需要把日线周期判断和return语句部分代码重写