通达信同花顺指标转换(通达信公式转为同花顺)
1、通达信公式和同花顺公式之间如何转换
[size=12px]请下次发表指标时附图,将依律加分[/size]
[quote]原帖由 [i]文武双拳[/i] 于 2007-4-3 22:18 发表
[size=12px][size=4]红色烛光选股公式
让你抓住起点,卖出高点
[/size][size=2]Var1:=vol/CAPITAL100;[/size][/size]
[size=12px][size=2]Var2:=Var1>4 AND CLOSE>REF(CLOSE,1);[/size][/size]
[size=12px][size=2]Var3:=COUNT(Var2,13)>=3;[/size][/size]
[size=12px][size=2]Var4:=HIGH/CLOSE<1.021;[/size][/size]
[size=12px][size=2]SELECT Var3 AND Var4 AND VAR1 AND VAR2[/size][/size]
飞狐
[size=4]红色烛光[/size]
[size=2]Var1:=vol/CAPITAL100;[/size]
[size=12px][size=2]Var2:=Var1>4 AND CLOSE>REF(CLOSE,1);[/size][/size]
[size=12px][size=2]Var3:=COUNT(Var2,13)>=3;[/size][/size]
[size=12px][size=2]Var4:=HIGH/CLOSE<1.021;[/size][/size]
[size=12px][size=2]Var3 AND Var4 AND VAR1 AND VAR2[/size][/size]
[size=12px][/quote][/size]
2、同花顺指标如何转到通达信?
第一个指标通达信直接可以用;
功能-----公式系统-----公式管理器---新建
写指标指标名,然后复制源码粘贴就可以
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);
DEA : EMA(DIFF,9);
MACD=2(DIFF-DEA);
Zero : 0;
gj:=MAX(C,O);
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2,0),color0000ff;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,2,0),colorffff00;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),colorff00ff;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),color00ff00;
L4:=LLV(gj,4);
jl:=(HHV(diff,55)-LLV(diff,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 diff>REF(diff,A1+1) AND gt;
DRAWLINE(A1=0,DEA,底背离,REF(DEA,A1),0),colorred,LINETHICK2;
DRAWLINE(底背离,DEA,底背离,REF(DEA,A1),0),colorred,LINETHICK2;
DRAWTEXT(底背离,REF(DEA,A1)1.18,' 底背离'),COLORFF00FF;
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 diff<REF(diff,A2+1) AND gt2;
DRAWLINE(A2=0 ,DEA,顶背离,REF(DEA,A2),0),colreen,LINETHICK2;
DRAWLINE(顶背离,DEA,顶背离,REF(DEA,A2),0),colreen,LINETHICK2;
DRAWTEXT(顶背离,REF(DEA,A2)1.18,' 顶背离'),colreen;
A0:=DIFF<0 AND DEA<0;
A11:=A0>REF(A0,1);
A3:=BARSLAST(A11);
A4:=COUNT(DEA>0 AND DIFF >0,A3)=0;
A5:=CROSS(DIFF ,DEA);
A6:=BARSLAST(A5);
A7:=REF(A6,A6+1)+A6;
A8:=(DIFF+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;
DRAWTEXT(A10,DIFF0.95,'★金叉买入'),coloryello;
第二个指标修改为通达信的了
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOLTOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
倍量:=VOL>=REF(V,1)1.8 AND C>REF(C,1);
低量:=VOL<REF(LLV(VOL,13),1);
平量:=ABS(VOL-HHV(REF(VOL,1),5))/HHV(REF(VOL,1),5)<=0.03 OR ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.03;
倍缩:=VOL<=REF(V,1)0.5;
梯量:=COUNT(V>REF(V,1),3)=3 AND COUNT(C>O,3)=3;
缩量涨:=COUNT(C>REF(C,1),2)=2 AND COUNT(V<REF(V,1),2)=2;
STICKLINE(C>=O,0,V,2,0),COLOR0000AA;
STICKLINE(C<O,0,V,2,0),COLOR00AA00;
STICKLINE(倍量,0,V,2,0),COLORYELLOW;
STICKLINE(低量,0,V,2,0),COLORBLACK;
STICKLINE(平量,0,V,2,0),COLORWHITE;
STICKLINE(倍缩,0,V,2,0),COLORCYAN;
STICKLINE(梯量,0,V,2,0),COLORGRAY;
STICKLINE(缩量涨,0,V,2,0),COLORBLUE;
3、如何把通达信的公式改成同花顺的公式
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)2;
AA:=CROSS(DIF,DEA) AND DEA>0;
BB:=BARSLAST(CROSS(DEA,DIF)) AND DEA>0;
CC:=REF(BARSLAST(CROSS(DIF,0))<20,BARSLAST(CROSS(DEA,DIF))+1);
AA AND BB AND CC;
同花顺有通达信模式,可以直接把元公式粘贴进去,不需要修改函数。
4、高手请进同花顺指标能转化成通达信指标吗?
公式修改成同花顺了,楼主可以试试看吧:
MA0:=EMA(CLOSE,0);强弱:EMA(CLOSE,00);STICKLINE((MA0强弱),MA0,强弱,1,0),COLOR0000FF;STICKLINE((MA0强弱),MA0,强弱,1,0),COLOR00FF00;H1:=MAX(PRE,HIGH);L1:=MIN(PRE,LOW);P1:=H1-L1;阻力:L1+P1,COLOR00DD00;支撑:L1+P10.,COLOR00DD00;现价:CLOSE,colorhite,LINETHICK1;STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),coloryello;DRAWTEXT(LONGCROSS(支撑,现价,),支撑1.001,'★B'),coloryello;DRAWTEXT(LONGCROSS(现价,阻力,),现价,'★'),colorred;
5、同花顺的指标能改成通达信指标吗?
VAR1:=EMA(HHV(HIGH,500),21);
VAR2:=EMA(HHV(HIGH,250),21);
VAR3:=EMA(HHV(HIGH,90),21);
VAR4:=EMA(LLV(LOW,500),21);
VAR5:=EMA(LLV(LOW,250),21);
VAR6:=EMA(LLV(LOW,90),21);
VAR7:=EMA((VAR40.96+VAR50.96+VAR60.96+VAR10.558+VAR20.558+VAR30.558)/6,21);
VAR8:=EMA((VAR41.25+VAR51.23+VAR61.2+VAR10.55+VAR20.55+VAR30.65)/6,21);
VAR9:=EMA((VAR41.3+VAR51.3+VAR61.3+VAR10.68+VAR20.68+VAR30.68)/6,21);
VARA:=EMA((VAR73+VAR82+VAR9)/61.738,21);
VARB:=REF(LOW,1);
VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)100;
VARD:=EMA(IF(CLOSE1.35<=VARA,VARC10,VARC/10),3);
VARE:=LLV(LOW,30);
VARF:=HHV(VARD,30);
VAR10:=IF(MA(CLOSE,58),1,0);寒冰谷: -EMA(IF(LOW<=VARE,(VARD+VARF2)/2,0),3)/618VAR10;
寒冰: STICKLINE(寒冰谷<0,0,寒冰谷,-4,1),STICK,LINETHICK2,COLORFF0000;
今量1: 寒冰谷;
A1:IF(寒冰谷<0,今量16,0),STICK,LINETHICK5, COLORFFFFFF;
A2:IF(寒冰谷<0,今量10.8,0),STICK,LINETHICK5, COLORFFFF00;
A3:IF(寒冰谷<0,今量10.6,0),STICK,LINETHICK5, COLORFF9933;
A4:IF(寒冰谷<0,今量10.4,0),STICK,LINETHICK5,COLORFF6633;
A5:IF(寒冰谷<0,今量10.2,0),STICK,LINETHICK5,COLORFF0000;
VAR1A:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))100-70;
VAR2A:=SMA(VAR1A,9,1)+100;
VAR3A:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))100;
VAR4A:=SMA(VAR3A,3,1);
VAR5A:=SMA(VAR4A,3,1)+100;
VAR6A:=VAR5A-VAR2A;
T1:=寒冰谷>REF(寒冰谷,1) AND REF(寒冰谷,1)<REF(寒冰谷,2);
火焰山: EMA(IF(LOW<=VARE,(VARD+VARF2)/2,0),3)/618VAR10;
火焰: IF(火焰山>0,火焰山,0),STICK,LINETHICK2, COLOR0000FF;
今量: 火焰山;
A11:IF(火焰山>0,今量1.2,0),STICK,LINETHICK5, COLOR0000FF;
A21:IF(火焰山>0,今量0.8,0),STICK,LINETHICK5, COLOR0066FF;
A31:IF(火焰山>0,今量0.6,0),STICK,LINETHICK5, COLOR0099FF;
A41:IF(火焰山>0,今量0.4,0) ,STICK,LINETHICK5,COLOR00CCFF;
A51:IF(火焰山>0,今量0.2,0) ,STICK,LINETHICK5,COLOR00FFFF;
6、通达信的指标如何用到同花顺软件上,指标如下,大神指教下?
通达信的好多函数不能用到同花顺上的。不过,有什么关系呢,
思维发散一下嘛,你开着通达信和同花顺不就行了,反正也要经常切换的。
某宝搜索 撑阻简单分时,盘中分时让你高抛低吸的神器,好不好,总要试一试才知道。
8月24日,在阻力线上站稳后,就回升涨停了。
7、通达信公式改为同花顺公式
AAA:=(3C+H+L+O)/6;
VAR1:(8AAA+7REF(AAA,1)+6REF(AAA,2)+5REF(AAA,3)+4REF(AAA,4)+3REF(AAA,5)+2REF(AAA,6)+REF(AAA,8))/36,LINETHICK2,colorred;
PARTLINE(VAR1,VAR1>=REF(VAR1,1),colorred,VAR1<=REF(VAR1,1),colreen),LINETHICK5;
VAR2:=(HHV(VAR1,2)+HHV(VAR1,4)+HHV(VAR1,8))/3;
VAR3:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,8))/3;
VAR4:(HHV(VAR2,2)+HHV(VAR2,4)+HHV(VAR2,8))/3;
VAR5:(LLV(VAR3,2)+LLV(VAR3,4)+LLV(VAR3,8))/3,colorhite;
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,8))/3;
STICKLINE(VAR4>VAR1,VAR4,VAR1,0,0),colorblue;
DRAWKLINE(H,O,L,C);
DRAWTEXT(REF(VAR5,1)=REF(VAR1,1)ANDVAR5<VAR1,L0.99,'买点'),colorred;
DRAWTEXT(REF(VAR6,1)=REF(VAR1,1)ANDVAR6<VAR1,L0.98,'加仓'),coloryello;
DRAWTEXT(REF(VAR4,1)=REF(VAR1,1)ANDVAR4>VAR1,H,'卖点'),colreen;
ZT:=REF(C,1)1.1-C<0.01ANDH=C;
STICKLINE(ZT,O,C,9,0),coloryello;
突破:=CROSS(C,VAR4)ANDZT;
DRAWTEXT(突破,L,'爆点');
DT:=C/REF(C,1)<0.913ANDC=L;
STICKLINE(DT,O,C,9,0),colreen;
基金交易
- 008638广发科技创新基金净值 008638广发科技创新基金净值是多少
- 001606基金历史净值查询 001606基金净值今日查询
- 000727基金今天净值 000727 基金净值
- 000083基金净值查询 000083基金净值查询估算
- 韩红基金会怎么捐款 韩红基金会捐款入口
- 华安a股基金 华安a股基金能返弹吗
- 040002基金历史净值查询 040002基金历史净值查询查询
- 001195基金净值查询今天 001195基金净值查询今天涨吗
- 广发基金最新消息 今天广发基金最新消息
- 广发基金网站 广发基金主页
- 博时新兴成长基金净值 博时新兴成长基金净值查询
- 大成精选基金 大成精选基金怎么样
- 定投基金推荐 定投基金排名前十名
- 大成创新基金 大成创新基金今天净值多少
- 中国基金网官方网站 中国基金网下载手机版
- 私募基金公司排名一览表 2024年私募基金公司排名一览表