通达信135战法系统主图指标 经实战检验 源码通达信公式

2018-01-21    来源:原创    编辑:翔博软件
问:如何才能每天都能免费收到这种原创好指标呢? 答:只需加微信:396950280申请加入爱公式VIP微信群即可,天天有更新! 公式 源码: MA13:MA(C,13),COLORYELLOW; MA21:MA(C,21
问:如何才能每天都能免费收到这种原创好指标呢?

答:只需加微信:396950280申请加入爱公式VIP微信群即可,天天有更新!


 

公式源码:

 

 

 

 

MA13:MA(C,13),COLORYELLOW;

MA21:MA(C,21),POINTDOT,COLORGREEN;

MA34:MA(C,34),COLORWHITE;

MA55:MA(C,55),COLORFF00FF;

MA89:MA(C,89),COLORFFCC66;

EMA13:=EMA(C,13);

EMA34:=EMA(C,34);

EMA55:=EMA(C,55);

AA1:=EMA55>EMA34 AND EMA34>MA13;

AA2:=MA13>O;

AA3:=EMA13>=REF(EMA13,1);

AA4:=CROSS(C,MA13);

红杏:=AA1 AND AA2 AND AA3 AND AA4;

DRAWTEXT(红杏,L*0.98,'红杏'),COLORGREEN;

BA1:=MA13>MA55; BA2:=COUNT(C>=O,5)=5; BA3:=COUNT((C-REF(C,1))/REF(C,1)*100<5,5)=5; BA4:=COUNT(BETWEEN((O-REF(C,1))/REF(C,1)*100,-2,2),5)=5; BA5:=COUNT(((H-C)/(C-O)*100<2 OR (H-C)/C*100<3),5)=5; BA6:=COUNT(((O-L)/(C-O)*100<2 OR (O-L)/O*100<3),5)=5; BA7:=(V>REF(V,1) AND REF(V,1)>REF(V,2)) OR (REF(V,1)>REF(V,2) AND REF(V,3)) OR (REF(V,2)>REF(V,3) AND REF(V,3)>REF(V,4)) OR (REF(V,3)>REF(V,4) AND REF(V,4)>REF(V,5));

BA8:= (C-MA13)/MA13*100<12; BA:=BA1 AND BA2 AND BA3 AND BA4 AND BA5 AND BA6 AND BA7 AND BA8 AND REF(C,5)-REF(O,5)<0; BB1:=MA13<MA55 AND MA34<MA55 AND C>MA55; BB2:=COUNT(C>=O,5)=5; BB3:=COUNT((C-REF(C,1))/REF(C,1)*100<5,5)=5; BB4:=COUNT(BETWEEN((O-REF(C,1))/REF(C,1)*100,-2,2),5)=5; BB5:=COUNT(((H-C)/(C-O)*100<2 OR (H-C)/C*100<3),5)=5; BB6:=COUNT(((O-L)/(C-O)*100<2 OR (O-L)/O*100<3),5)=5; BB7:=(V>REF(V,1) AND REF(V,1)>REF(V,2)) OR (REF(V,1)>REF(V,2) AND REF(V,3)) OR (REF(V,2)>REF(V,3) AND REF(V,3)>REF(V,4)) OR (REF(V,3)>REF(V,4) AND REF(V,4)>REF(V,5)); BB:=BB1 AND BB2 AND BB3 AND BB4 AND BB5 AND BB6 AND BB7 AND REF(C,5)-REF(O,5)<0; 蚂蚁:=BA OR BB;

DRAWTEXT(蚂蚁,H*1.06,'蚂蚁'),COLORYELLOW;

CA1:=O<MA13 AND O<MA34 AND O<MA55;

CA2:=C>MA13 AND C>MA34 AND C>MA55;

CA3:=(C-REF(CLOSE,1))/REF(CLOSE,1)*100 > 5;

一阳穿:=CA1 AND CA2 AND CA3;

DRAWTEXT(一阳穿,H*1.03,'一阳穿'),COLORYELLOW;

DA1:=MA13>MA55;

DA2:=C>MA13;

DA3:=(O<=REF(C,1) AND (C-REF(C,1))/REF(C,1)*100>6) OR (O>REF(C,1) AND (C-O)/O*100>6);

DA4:=(C-MA13)/MA13*100 < 12;

DA5:=(O-MA13)/MA13*100 < 3;

DA6:=(O-MA13)/MA13*100 > -3;

DA7:=(O-MA55)/MA55*100 < 12;

DA8:=(MA13-MA55)/MA55*100 < 12;

DA:=DA1 AND DA2 AND DA3 AND DA4 AND DA5 AND DA6 AND DA7 AND DA8;

DB1:=MA13<MA55 AND MA34<MA55;

DB2:=O>MA13 AND O>MA34 AND C>MA55;

DB3:=(O<=REF(C,1) AND (C-REF(C,1))/REF(C,1)*100>6) OR (O>REF(C,1) AND (C-O)/O*100>6);

DB4:=(O-MA55)/MA55*100 < 3;

DB5:=(O-MA55)/MA55*100 > -3;

DB:=DB1 AND DB2 AND DB3 AND DB4 AND DB5;

揭竿起:=DA OR DB;

DRAWTEXT(揭竿起,H*1.03,'揭竿起'),COLORYELLOW;

FA1:=MA34<MA55 AND C>MA13 AND C>MA55;

FA2:=CROSS(MA13,MA55) AND C>O;

FA3:=(O-MA13)/MA13*100<5;

FA4:=(H-C)/(C-O)*100<2 OR (H-C)/C*100<3;

FA5:=(O-L)/(C-O)*100<2 OR (O-L)/O*100<3;

FA6:=V>REF(V,1) OR V>MA(V,5) OR (MA(V,5)>MA(V,10) AND V>MA(V,10));

FA:=FA1 AND FA2 AND FA3 AND FA4 AND FA5 AND FA6;

FB1:=MA34<MA55 AND C>MA13 AND C>MA55;

FB2:=CROSS(MA13,MA55) AND C<=O;

FB3:=(C-MA13)/MA13*100<5;

FB4:=(H-O)/(O-C)*100<2 OR (H-O)/C*100<3;

FB5:=(C-L)/(O-C)*100<2 OR (C-L)/O*100<3;

FB6:=V<REF(V,1) OR V<MA(V,5) OR (MA(V,5)>MA(V,10) AND V<MA(V,10));

FB:=FB1 AND FB2 AND FB3 AND FB4 AND FB5 AND FB6;

红黑客:=FA OR FB;

DRAWTEXT(红黑客,H*1.02,'红黑客'),COLORFF00FF;

GA1:=MA13>MA55 AND MA34>MA55; GA2:=CROSS(MA13,MA34); GA3:=C>MA13 AND C>MA34; GA4:=(C-MA13)/MA13*100<12; GA5:=MA(V,5)>MA(V,21); 梅二开:=GA1 AND GA2 AND GA3 AND GA4 AND GA5;

DRAWTEXT(梅二开,MA34*0.98,'梅二开'),COLORWHITE;

GB1:=MA13>MA34 AND MA13>MA55 AND C>MA55;

GB2:=CROSS(MA34,MA55);

GB3:=(C-MA13)/MA13*100<12 AND (MA13-MA55)/MA55*100<10;

GB:=GB1 AND GB2 AND GB3;

DRAWTEXT(GB,MA55*0.95,'均线互换'),COLORWHITE;

GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );

GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);

GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);

GR4:=H=HHV(H,GR1);

GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);

GR6:=GR2 AND GR3 AND GR4;

GR7:=GR2 AND GR3 AND GR4 AND GR5;

DRAWTEXT(GR6 AND GR7,H+0.13,'见好收'),COLOR00FF00;

通达信电脑版公式导入方法

A:源码导入

1、把要导入的公式(源码)复制下来:方法是用左键先把源码变蓝,之后点右键,点复制;

2、进入主界面,即K线图模式,同时按住CTRL+F,出现公式管理器-->用鼠标左键单击任何一个公式组的名称(选择技术指标公式或者条件选股公式)-->单击其他-->点新建公式-->在出现的公式编辑区的下面的空白处,把刚拷的源码粘贴上,将公式名称复制后粘贴到公式名称栏-->确定-->退出;

3.如有参数的,如:N 1 100 15 之类,则需将这类数据填充到参数表中;

B:文件指标导入

1、先把指标文件复制到桌面(或者你知道的路径);

2、打开通达信,按CTRL+F打开公式管理器点击“导入”按钮;

3、找到桌面上要导入的公式选中”公式“后单击左键,后点击“打开”;

4、把“+”号单击展开,在公式名前的空方框里单击成“勾选”后,在点击下方的“确认”;

5、输入指标名称,回车即可。

特别提示:

选股预警指标编写 ,不同主流行情软件间指标转换。 请联系微信:396950280

一个聚百万原创指标公式圈子


 

原创价值分享公众号

ID:yungongshi

1
3
点击进入翔博软件旗下官方微店--指标超市