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

通达信黑马检测线副图指标源码

2018-04-25原创 编 辑:翔博软件


公式源码:

N1:=14;
 VAR3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);
 VAR4:=(CLOSE-LLV(CLOSE,N1))/(HHV(CLOSE,N1)-LLV(CLOSE,N1))*100;
 VAR5:=EMA(CLOSE,2)-EMA(CLOSE,150);
 VAR6:=EMA(VAR5,100);
 VAR7:=2*(VAR5-VAR6);
 VAR8:=POW(VAR7,3)*0.1+POW(VAR7,1);
 VAR9:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
 VARA:=EMA(VAR9*0.97,3);
 VARB:=(HIGH+LOW+CLOSE)/3;
 VARC:=(VARB-MA(VARB,14))/(0.015*AVEDEV(VARB,14));
黑马线1:= IF(VAR7>0.1,VAR8,0)*5;
 VARD:=LLV(HIGH,240);
 VARE:=100*(CLOSE-VARD)/VARD;
 VARF:=AMOUNT/VOL;
 VAR10:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);
 VAR11:=INDEXC;
 VAR12:=MA(VAR11,5);
 VAR13:=MA(VAR11,20);
 VAR14:=MA(VAR11,30);
 VAR15:=VAR14>VAR12*1.08 AND VAR13>VAR12*1.055;
 VAR16:=VAR12>VAR11*1.03 AND VAR13>VAR11*1.13;
 VAR17:=VAR16;
 VAR18:=IF(FILTER(VAR10<6,5)=1,1,0);
 VAR19:=VAR10<6 AND VAR17;
 VAR1A:=CROSS(黑马线1,2);
 VAR1B:=CROSS(黑马线1,4);
 VAR1C:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
 VAR1D:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
 VAR1E:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
 VAR1F:=REF(CLOSE,1);
 VAR20:=SMA(MAX(CLOSE-VAR1F,0),5,1)/SMA(ABS(CLOSE-VAR1F),5,1)*100;
 VAR21:=(HIGH+LOW+CLOSE)/3;
 VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));
 VAR23:=(VAR1C>=-15.8 AND VAR1C<=-12.2 AND VAR1D<=-20.8 AND VAR1E<=-27.5 AND VAR20<=11.7 AND VAR22<=-145)*100;
 VAR24:=VAR4=0;
 VAR25:=VAR4=100;
 IF(VAR25>0,110,101),STICK,LINETHICK2,COLOR00FF00;101,STICK,LINETHICK2,COLOR000000;
 IF(VAR23>0,100,90),STICK,LINETHICK3,COLORRED;90,STICK,LINETHICK3,COLOR000000;
 {DRAWTEXT(VAR23>0,90,'发现大黑马加把安全锁,全部亏损问它要'), , COLORMAGENTA;}
 IF(VAR24>0,-11,0),STICK,LINETHICK3, COLORRED;0,STICK,LINETHICK3, COLOR000000;
黑马线:黑马线1,STICK ,COLOR008364,LINETHICK3;
发现: (VAR18 AND VARE<-2.5 AND VAR3<5 AND VAR4=0)*60,LINETHICK2 ,COLORYELLOW;
黑马: IF(FILTER(VAR19,1)=1,1,0)*80,STICK , LINETHICK2, COLORF0F000;
大黑马: VAR19 AND VAR18*80,STICK ,LINETHICK2, COLORYELLOW;
操盘手: VAR4,COLORF00FF0;
庄拉: IF(FILTER((VAR1A OR VAR1B) AND VAR4<40 AND VAR3<40,5)=1,35,0),LINETHICK2,COLORRED ;
 {DRAWTEXT(发现>0,25,'短线黑马2.5%')COLORCC99FF;
 DRAWTEXT(黑马>0,52,'黑马发现10%'), COLORYELLOW;
 DRAWTEXT(大黑马,70,'★日线专用大黑马获利10%以上'),COLORRED;}
 0,LINETHICK1,COLOR000999;
 100, COLORFF9966;DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信订阅号:翔博软件工作室'),COLORyellow;

 

指标修改服务包括:大智慧 通达信 博易大师 文华财经 倚天财经等主流软件

1、将您提供的源码指标修改成: 选股 - 预警 公式

2、将多个指标合并在一起或者是分解指标

3、主图 副图修改

特别提示:

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

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


原创价值分享公众号

ID:yungongshi

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