当前位置:首页 > 通达信公式 > 正文

通达信炒股软件指标公式 跟庄建仓幅图公式 源码

2018-02-08原创 编 辑:翔博软件

问:如何才能每天都能免费收到这种原创好指标呢?

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

公式源码:

 

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(趋势>80,趋势,80,0,0);
底:(CROSS(趋势,1.5)),COLORWHITE;
DRAWICON(CROSS(趋势,1.5),40,1);
DRAWTEXT(CROSS(趋势,1.5),30,'底');
STICKLINE((A09 > 0 AND (趋势<20 OR 趋势>REF(趋势,1)AND 趋势<50)),0,A09*0.65,2,0),COLORFFFF00;
((A09 > 0 AND (趋势<20 OR 趋势>REF(趋势,1)AND 趋势<50))),COLORFFFF00;
机构建仓区:0,LINETHICK0,COLORFFFF00;
VAR4:=(趋势-REF(趋势,1))/REF(趋势,1)*100;
STICKLINE(趋势<=13,0,16,0,0),COLORWHITE;
白底:IF((趋势<=13),1,0),COLORWHITE;
{DRAWTEXT(FILTER(趋势<=8,15),60,'准备现金'),COLORWHITE;}
准备现金:(FILTER(趋势<=8,15)),COLOR00FF00;
STICKLINE(趋势<=13 AND VAR4>13,0,50,0,0),COLOR0099FF;
VAR5:=FILTER((趋势<=13 AND VAR4>13),10);
买入:FILTER((趋势<=13 AND VAR4>13),10),COLORWHITE;
DRAWTEXT(VAR5,75,'买入'),COLORWHITE;
STICKLINE(趋势>=90 AND VAR4,0,30,0,0),COLORGRAY;
VAR6:=FILTER((趋势>=90 AND VAR4),10);
DRAWTEXT(VAR6,40,'清仓'),COLORGRAY;
VAR7:=LLV(LOW,30);
VAR8:=HHV(HIGH,30); 
VAR9:=EMA((CLOSE-VAR7)/(VAR8-VAR7)*4,4)*25; 
STICKLINE(VAR9>90,100,105,0,2),COLORRED;
VAR10:=(VAR9-LLV(VAR9,4))/(HHV(VAR9,4)-LLV(VAR9,4))*100; 
DRAWTEXT(IF(CROSS(VAR9,VAR10) AND VAR9>87,85,0),100,'险'),COLOR00FF00;
{DRAWICON(CROSS(90,VAR9),95,9);}
VAR11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
VAR12:=HHV(VAR11,30)*8;
火焰山:=EMA(IF(LOW<=VAR7 AND 趋势<40,(VAR11+VAR12),0),3)/618,COLORFF00FF,LINETHICK1;
STICKLINE(火焰山>0,0,火焰山*1.2,0,0 ),COLORFF00FF;
VAR13:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;
VAR14:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;
趋势线: 趋势,COLORYELLOW;
VAR16:=MAX(EMA(VAR13,2)-EMA(VAR14,5),0)*200;
VAR17:=EMA(VAR16,5);
{波浪峰:VAR17,STICK,COLORFF00FF;}
{STICKLINE(VAR17<REF(VAR17,1),0,VAR17,1,0),COLOR00FF00;}
VAR18:=MA(趋势线,8);
抄底:IF(CROSS(VAR2,VAR18) AND VAR2<15,100,0),COLOR00FF00;
DRAWTEXT(CROSS(趋势线,0.8*VAR2)AND 趋势线>REF(趋势线,1)AND 趋势线<50,50,'追涨'),COLORWHITE;
追涨:IF((CROSS(趋势线,0.8*VAR2)AND 趋势线>REF(趋势线,1) AND 趋势线<50),1,0),COLORWHITE;
{风险区:IF(趋势>100,趋势,80),COLORFF00FF;}
趋势线2:= 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), ,COLORFF6666,LINETHICK2;
DRAWTEXT(IF(CROSS(8,趋势线2),1,0), 100,'$备钱'),COLOR33FFCC,;
备钱:IF(CROSS(8,趋势线2),1,0),COLORWHITE;
{VAR22:=REF(LOW,1);}
{VAR23:=SMA(ABS(LOW-VAR22),3,1)/SMA(MAX(LOW-VAR22,0),3,1)*100;}
{VAR24:=EMA(IF(CLOSE*1.3,VAR23*10,VAR23/10),3);}
{VAR25:=LLV(LOW,30);}
{VAR26:=HHV(VAR24,30);}
{VAR27:=IF(MA(CLOSE,58),1,0);}
{VAR28:=EMA(IF(LOW<=VAR25,(VAR24+VAR26*2)/2,0),3)/618*VAR27;}
{VAR29:=IF(VAR28>100,100,VAR28);}
{火焰山:(VAR29>-150),COLORFF00FF,LINETHICK1;}
{STICKLINE(VAR29>-150,0,VAR29*1.5,4,0),COLORFF00FF;} {底部柱状线}
 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;
短买:IF(REF(J,1)<0 AND J>0,40,0),STICK,COLORRED;
 STICKLINE(REF(J,1)<0 AND J>0,0,40,3,0),COLORRED;
DRAWTEXT(REF(J,1)<0 AND J>0,40,'短买'),COLORWHITE;

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

A:源码导入

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

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

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

B:文件指标导入

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

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

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

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

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

 

【提供服务】

一、新编通达信主图、附图、选股公式

二、主图,附图改选股 预警公式

三、破解通达信指标

特别提示:

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

 

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

	

	

原创价值分享公众号

ID:yungongshi

大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标