通达信买卖好副图指标源码 值得收藏!通达信公式

2017-11-13    来源:原创    编辑:翔博软件
公式源码: VAR1:=1; VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4); 高位:90,COLORFFFF00; 低位:20,COLORMAGENTA; VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4); C1:(EMA((((VAR2-VAR4)/(VAR5-V


公式源码:

VAR1:=1;

VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);

高位:90,COLORFFFF00;

低位:20,COLORMAGENTA;

 VAR4:=LLV(LOW,5);

 VAR5:=HHV(HIGH,4);

 C1:(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),COLORFF00FF;

 C2:(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF;

 H1:IF( CROSS(C2,C1),C2,DRAWNULL),CROSSDOT,LINETHICK7,COLORYELLOW;

 F1_:IF(CROSS(C2,C1),C2,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORRED;

 DRAWTEXT(CROSS(C1,C2),REF(C2,1),'种金'),COLORRED;

 DRAWTEXT(CROSS(C2,C1),REF(C1,1),'收获'),COLORGREEN;

 H2:IF( CROSS(C1,C2),C1,DRAWNULL),CROSSDOT,LINETHICK7,COLORMAGENTA;

 F2_:IF(CROSS(C1,C2),C1,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORYELLOW;

 DRAWICON(CROSS(C1,C2) AND C2>0,C2,1);

 DRAWICON(CROSS(C2,C1) AND C2<-100,C1,2);

 DRAWICON(CROSS(C1,C2) AND C2<0,C2,1);

 DRAWICON(CROSS(C2,C1) AND C2>-100,C1,2);

条件:=CROSS(C1,C2) AND C1<40;

条件0:=CROSS(C2,C1) AND C1>90;

 TJ1:=CROSS(C1,C2);

 TJ2:=CROSS(C2,C1);

 TJ3:=CROSS(C1,C2) AND REF(C1,1)<20;

 TJ4:=CROSS(C2,C1) AND REF(C1,1)>80;

 DRAWTEXT(条件,20,'买'),COLORWHITE;

 DRAWTEXT(条件0,85,'卖'),COLORYELLOW;

 DRAWTEXT(CROSS(C1,75),70,'开始冲顶'),COLORWHITE;

 

 

承接范围:通达信.tn6 .tne .tni .tnc 大智慧.fnc、飞狐.alg、同花顺.hxf、操盘手.daf、博易大师.pio、倚天期货.wfn2、文华赢顺.fml、文华WH6文华WH8.xfml.trd.xtrd.zip、金字塔.fla、交易开拓者.tbf .fbk、财富通 .fmlUP安全投资卫士.fnc、金汇、富远先做后付!

 

特别提示:

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

 

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