当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

通达信源码:无敌龙门,擒龙抓妖,三角形和黑马

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

1、无敌龙门

公式的信号太少了。。。。。。( 顶尖 财经 股票学院: http://www.58188.com )

 {无敌龙门}

 
VAR1:=REF(CLOSE,3)/REF(CLOSE,4)>1.095 AND REF(CLOSE,3)=REF(HIGH,3) AND REF(CLOSE,3)/REF(OPEN,3)>1.03 AND REF(CLOSE,3)/REF(OPEN,1)>1.02;
VAR2:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.041 AND REF(OPEN,1)<REF(CLOSE,3) AND REF(CLOSE,1)<REF(CLOSE,3) AND OPEN<REF(CLOSE,3);
VAR3:=REF(CLOSE,1)/REF(CLOSE,2)<1.09 AND REF(CLOSE,2)/REF(CLOSE,3)<1.09;
VAR4:=COUNT(LOW=LLV(LOW,25),10) AND REF(LOW,3)/OPEN<1.05 AND CLOSE>REF(OPEN,4) AND OPEN/REF(OPEN,3)<1.05;
VAR5:=VAR1 AND VAR2 AND VAR3 AND VAR4;
VAR6:=REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(CLOSE,4)=REF(HIGH,4) AND REF(CLOSE,4)/REF(OPEN,4)>1.03;
VAR7:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.041 AND REF(OPEN,1)<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,4) AND OPEN<REF(CLOSE,4);
VAR8:=REF(CLOSE,1)/REF(CLOSE,2)<1.09 AND REF(CLOSE,2)/REF(CLOSE,3)<1.09 AND REF(CLOSE,3)/REF(CLOSE,4)<1.09;
VAR9:=COUNT(LOW=LLV(LOW,26),11) AND REF(LOW,4)/OPEN<1.05 AND CLOSE>REF(OPEN,4) AND OPEN/REF(OPEN,4)<1.05;
VAR10:=VAR6 AND VAR7 AND VAR8 AND VAR9;
VAR11:=REF(CLOSE,5)/REF(CLOSE,6)>1.095 AND REF(CLOSE,5)=REF(HIGH,5) AND REF(CLOSE,5)/REF(OPEN,5)>1.03;
VAR12:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.041 AND REF(OPEN,1)<REF(CLOSE,5) AND REF(CLOSE,1)<REF(CLOSE,5) AND OPEN<REF(CLOSE,5);
VAR13:=REF(CLOSE,1)/REF(CLOSE,2)<1.09 AND REF(CLOSE,2)/REF(CLOSE,3)<1.09 AND REF(CLOSE,3)/REF(CLOSE,4)<1.09 AND REF(CLOSE,4)/REF(CLOSE,5)<1.09;
VAR14:=COUNT(LOW=LLV(LOW,27),12) AND REF(LOW,5)/OPEN<1.05 AND CLOSE>REF(OPEN,5) AND OPEN/REF(OPEN,5)<1.05;
VAR15:=VAR11 AND VAR12 AND VAR13 AND VAR14;
VAR16:=REF(CLOSE,6)/REF(CLOSE,7)>1.095 AND REF(CLOSE,6)=REF(HIGH,6) AND REF(CLOSE,6)/REF(OPEN,6)>1.03;
VAR17:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.041 AND REF(OPEN,1)<REF(CLOSE,6) AND REF(CLOSE,1)<REF(CLOSE,6) AND OPEN<REF(CLOSE,6);
VAR18:=REF(CLOSE,1)/REF(CLOSE,2)<1.09 AND REF(CLOSE,2)/REF(CLOSE,3)<1.09 AND REF(CLOSE,3)/REF(CLOSE,4)<1.09 AND REF(CLOSE,4)/REF(CLOSE,5)<1.09 AND REF(CLOSE,5)/REF(CLOSE,6)<1.09 AND OPEN/REF(OPEN,6)<1.05;
VAR19:=COUNT(LOW=LLV(LOW,28),13) AND REF(LOW,6)/OPEN<1.05 AND CLOSE>REF(OPEN,6);
VAR20:=VAR16 AND VAR17 AND VAR18 AND VAR19;
VAR21:=REF(CLOSE,7)/REF(CLOSE,8)>1.095 AND REF(CLOSE,7)=REF(HIGH,7) AND REF(CLOSE,7)/REF(OPEN,7)>1.03 AND REF(CLOSE,8)/REF(CLOSE,9)<1.09;
VAR22:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.041 AND REF(OPEN,1)<REF(CLOSE,7) AND REF(CLOSE,1)<REF(CLOSE,7) AND OPEN<REF(CLOSE,7);
VAR23:=REF(CLOSE,1)/REF(CLOSE,2)<1.09 AND REF(CLOSE,2)/REF(CLOSE,3)<1.09 AND REF(CLOSE,3)/REF(CLOSE,4)<1.09 AND REF(CLOSE,4)/REF(CLOSE,5)<1.09 AND REF(CLOSE,5)/REF(CLOSE,6)<1.09 AND REF(CLOSE,6)/REF(CLOSE,7)<1.09 AND OPEN/REF(OPEN,7)<1.05;
VAR24:=COUNT(LOW=LLV(LOW,28),13) AND REF(LOW,7)/OPEN<1.05 AND CLOSE>REF(OPEN,7);
VAR25:=VAR21 AND VAR22 AND VAR23 AND VAR24;
VAR26:=OPEN/LLV(HIGH,30)<1.05;
VAR27:=VAR25 OR VAR5 OR VAR10 OR VAR15 OR VAR20 OR VAR25 AND VAR26;
VAR28:=VAR27 AND NOT(REF(VAR27,1));
龙门无敌:VAR28 AND NOT(COUNT(REF(VAR28,1),10)) AND REF(HIGH,1)/REF(CLOSE,2)<1.041;



2、擒龙抓妖

{公式名称: 擒龙抓妖-

公式描述: 翔哥擒龙}
 
VAR1:=1;
VAR2:=MACD.DIF#MONTH;
VAR3:=MACD.DEA#MONTH;
VAR4:=MACD.DIF#WEEK;
VAR5:=MACD.DEA#WEEK;
VAR6:=MACD.DIF;
VAR7:=MACD.DEA;
VAR8:=CROSS(VAR6,VAR7);
VAR9:=CROSS(VAR4,VAR5);
VAR10:=CROSS(VAR2,VAR3);
VAR11:=IF(CROSS(VAR4,VAR5),MACD.DIF+0.1,0);
VAR12:=IF(VAR6>VAR7 AND VAR4>VAR5 AND VAR10 OR (VAR4>VAR5 AND VAR2>VAR3 AND VAR8) AND CLOSE/REF(CLOSE,1)>1.08 OR (VAR2>VAR3 AND VAR6>VAR7 AND VAR9) OR (VAR8 AND VAR9 AND VAR10),MACD.DIF+0.2,0);
VAR12 AND CLOSE/REF(CLOSE,1)>1.05 AND VAR1;
 


3、三角形和黑马

{三角形和黑马

公式类型: 条件选股公式-其他类型}
 
VAR1:=(OPEN+HIGH+LOW+CLOSE)/4;
VAR2:=IF(BETWEEN(CLOSE,VAR1,HIGH) OR CLOSE=OPEN,VOL,0);
VAR3:=IF(BETWEEN(CLOSE,VAR1,LOW),VOL,0);
VAR4:=IF(VAR2 AND VAR3,0,VOL/3);
VAR5:=10*(VAR2-(VAR3+VAR4))/IF(CAPITAL<1,SUM(VOL,13),CAPITAL);
VAR6:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*1,5,1)-2*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*1,5,1);
VAR7:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*1;
VAR8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR9:=SMA(VAR8,3,1);
VAR10:=SMA(VAR9,3,1);
VAR11:=3*VAR9-2*VAR10;
VAR12:=EMA(CLOSE,3);
VAR13:=EMA(CLOSE,5);
VAR14:=EMA(VAR13,5);
VAR15:=COUNT(CROSS(VAR12,VAR14),2)=1;
VAR16:=COUNT(CROSS(VAR13,VAR14),2)=1;
VAR17:=FILTER(VAR15 AND VAR16,2);
VAR18:=VAR17=1 AND VAR5>0 AND CROSS(VAR9,VAR10);
XG:CROSS(VAR6,EMA(VAR6,5)) AND EMA(VAR6,5)<VAR7 AND VAR5>0 AND CROSS(VAR9,VAR10) AND VAR18,COLORYELLOW;
 

上一篇:通达信源码:智能MACD,新一脚临门 ,绝对底部

下一篇:通达信公式下载:MACD美丽云 VOL美丽云,缠论分笔分段,超级MACD