1、无敌龙门主图 {公式名称: 无敌龙门主图 画线方法: 主图叠加} MA5:MA(CLOSE,5); MA10:MA(CLOSE,10); MA20:MA(CLOSE,20); MA30:MA(CLOSE,30); MA60:MA(CLOSE,60); MA120:MA(CLOSE,120); VAR1:=MA(CLOSE,5); 底部支撑:LLV(HIGH,30),COLOR9932CD,LINETHICK2; VAR2:=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; VAR3:=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); VAR4:=REF(CLOSE,1)/REF(CLOSE,2)<1.09 AND REF(CLOSE,2)/REF(CLOSE,3)<1.09; VAR5:=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; VAR6:=VAR2 AND VAR3 AND VAR4 AND VAR5; VAR7:=REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(CLOSE,4)=REF(HIGH,4) AND REF(CLOSE,4)/REF(OPEN,4)>1.03; VAR8:=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); VAR9:=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; VAR10:=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; VAR11:=VAR7 AND VAR8 AND VAR9 AND VAR10; VAR12:=REF(CLOSE,5)/REF(CLOSE,6)>1.095 AND REF(CLOSE,5)=REF(HIGH,5) AND REF(CLOSE,5)/REF(OPEN,5)>1.03; VAR13:=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); VAR14:=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; VAR15:=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; VAR16:=VAR12 AND VAR13 AND VAR14 AND VAR15; VAR17:=REF(CLOSE,6)/REF(CLOSE,7)>1.095 AND REF(CLOSE,6)=REF(HIGH,6) AND REF(CLOSE,6)/REF(OPEN,6)>1.03; VAR18:=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); VAR19:=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; VAR20:=COUNT(LOW=LLV(LOW,28),13) AND REF(LOW,6)/OPEN<1.05 AND CLOSE>REF(OPEN,6); VAR21:=VAR17 AND VAR18 AND VAR19 AND VAR20; VAR22:=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; VAR23:=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); VAR24:=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; VAR25:=COUNT(LOW=LLV(LOW,28),13) AND REF(LOW,7)/OPEN<1.05 AND CLOSE>REF(OPEN,7); VAR26:=VAR22 AND VAR23 AND VAR24 AND VAR25; VAR27:=OPEN/LLV(HIGH,30)<1.05; VAR28:=VAR26 OR VAR6 OR VAR11 OR VAR16 OR VAR21 OR VAR26 AND VAR27; VAR29:=VAR28 AND NOT(REF(VAR28,1)); VAR30:=VAR29 AND NOT(COUNT(REF(VAR29,1),10)) AND REF(HIGH,1)/REF(CLOSE,2)<1.041; STICKLINE(VAR30,OPEN,CLOSE,2.5,0),COLORYELLOW; DRAWICON(VAR30,LOW*0.97,11); DRAWTEXT(VAR30,LOW*0.93,9),COLORYELLOW; 2、私用行情 {私用行情} N:=7; M:=120; VAR1:=MA((2*CLOSE+HIGH+LOW)/4,5); VAR3:=VAR1*(200-N)/100; VAR4:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); VAR5:=DMA(CLOSE,VAR4); VAR7:=(1-M/100)*VAR5; VAR8:=(HIGH+LOW+CLOSE)/3; VAR9:=(VAR8-MA(VAR8,10))/(0.015*AVEDEV(VAR8,10)); VAR10:=CLOSE>REF(CLOSE,1); VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; VAR12:=SMA(VAR11,3,1); VAR13:=SMA(VAR12,3,1); VAR14:=3*VAR12-2*VAR13; VAR15:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14); VAR16:=HIGH-REF(HIGH,1); VAR17:=REF(LOW,1)-LOW; VAR18:=EXPMEMA(IF(VAR16>0 AND VAR16>VAR17,VAR16,0),14); VAR19:=EXPMEMA(IF(VAR17>0 AND VAR17>VAR16,VAR17,0),14); VAR20:=VAR18*100/VAR15; VAR21:=VAR19*100/VAR15; VAR22:=EXPMEMA(ABS(VAR21-VAR20)/(VAR21+VAR20)*100,6); VAR24:=VAR21>VAR20; VAR25:=CLOSE>REF(OPEN,1); VAR26:=(OPEN+HIGH+LOW+CLOSE)/4; VAR27:=IF(BETWEEN(CLOSE,VAR26,HIGH) OR CLOSE=OPEN,VOL,0); VAR28:=IF(BETWEEN(CLOSE,VAR26,LOW),VOL,0); VAR29:=IF(VAR27 AND VAR28,0,VOL/3); VAR30:=10*(VAR27-(VAR28+VAR29))/IF(CAPITAL<1,SUM(VOL,13),CAPITAL); VAR35:=VAR30>=0; VAR36:=VAR22>=60; XG:CROSS(CLOSE,VAR7) OR CLOSE>VAR7 OR CROSS(CLOSE,VAR3) AND CROSS(VAR9,(-100)) AND VAR10 AND VAR14>0 AND VAR24 AND VAR25 AND VAR35 AND VAR36; 3、怪杰_4 {公式名称: 怪杰_4 公式描述: 四星连线 参数数量: 4 参数1: 口虎有内天, 最小: 1, 最大: 10, 缺省: 1 参数2: 比同入收上以, 最小: -10, 最大: 99, 缺省: 28 参数3: 瓜顺变内天, 最小: 1, 最大: 30, 缺省: 3 参数4: 花开量内天, 最小: 1, 最大: 50, 缺省: 5 } VAR1:=VAR<=1211231; VAR2:=MA(CLOSE,3); VAR3:=MA(CLOSE,8); VAR4:=MA(CLOSE,13); VAR5:=VAR2>VAR3 AND VAR3>VAR4; VAR6:=(VAR2+VAR3+VAR4)/3; VAR7:=VAR2<VAR3 AND VAR3<VAR4; VAR8:=NOT(REF(VAR5,1)) AND VAR5; VAR9:=MA(VOL,3); VAR10:=MA(VOL,8); VAR11:=VAR9>VAR10; VAR12:=NOT(REF(VAR11,1)) AND VAR11; VAR13:=VOL>MAX(REF(VOL,1),REF(VOL,2)); VAR14:=OPEN>REF(CLOSE,1) AND CLOSE>REF(CLOSE,1); XG:COUNT(VAR14,口虎有内天)>=1 AND COUNT(VAR8,瓜顺变内天)>=1 AND VAR5 AND COUNT(VAR12,花开量内天)>=1 AND FINANCE(44)>=比同入收上以 AND VAR1; |