1、牛暴涨,低了就买过了就卖 {牛暴涨} 不确定线:=MA(CLOSE,15); 固定线:MA(CLOSE,43),LINETHICK2,COLORYELLOW; DRAWTEXT(ISLASTBAR,固定线,STRCAT('低了就买:',CON2STR(固定线,2))),COLORYELLOW; 操作:=MA(C,3); K线分界:HHV(操作,15),LINETHICK1,COLORRED,DOTLINE; DRAWTEXT(ISLASTBAR,K线分界,STRCAT('K线分界:',CON2STR(K线分界,2))),COLORRED; A1:=REF(HIGH,5)=HHV(HIGH,2*6+1); B1:=FILTER(A1,5); C1:=BACKSET(B1,5+1); D1:=FILTER(C1,5+1); A2:=REF(LOW,5)=LLV(LOW,2*10+1); B2:=FILTER(A2,5+1); C2:=BACKSET(B2,5+1); D2:=FILTER(C2,5); E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2; E2:=(HIGH+LOW)/2; H1:=(D1 AND NOT(D2 AND E1>=E2)) OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1; L1:=(D2 AND NOT(D1 AND E1<E2)); H2:=D1 AND NOT(D2 AND E1>=E2); X1:=REF(BARSLAST(H1),1)+1; F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1)); G1:=F1>REF(F1,1); I1:=BACKSET(G1,2); LD:=I1>REF(I1,1);{过滤后低点} L2:=LD OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1; X2:=REF(BARSLAST(L2),1)+1; WWW7:=REF(BARSLAST(L2),1)+1; F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2)); G2:=F2>REF(F2,1); I2:=BACKSET(G2,2); HD:=I2>REF(I2,1); J1:=BACKSET(BARSTATUS=2 ,MIN(BARSLAST(HD),BARSLAST(LD))+1); J2:=J1>REF(J1,1); C点:=BARSLAST(LD); DRAWTEXT(LD AND BARSLAST(HD)<BARSLAST(REF(LD,1)) ,L-0.1,'A'),COLORRED; DRAWTEXT(LD AND BARSLAST(HD)<BARSLAST(REF(LD,1)) ,L-0.04,'A'),COLORYELLOW; DRAWTEXT(HD,H+0.1,'B'),COLORGREEN; DRAWTEXT(HD,H+0.04,'B'),COLORWHITE; HARB:=EMA(EMA(EMA(CLOSE,5),5),5); HARX:=(HARB-REF(HARB,1))/REF(HARB,1)*100; DRAWTEXT(CROSS(HARB,HARX),REF(H,1),'傻卖'),COLORGREEN; DRAWTEXT(CROSS(HARX,0),REF(L,1),'傻买'),COLORYELLOW; NE:=IF(NAMELIKE('S') OR NAMELIKE('*S'),0.05,0.1); ZT:=C/REF(C,1)-1>=NE-0.01/REF(C,1) AND C=H AND PERIOD=5; ZX:=O+((C-O)*0.618); XJ:=DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1),LINETHICK2; XG:=ZT AND C>XJ AND ZX>XJ ; HBQQ:=FILTER(XG,3); 周M:="MACD.MACD#WEEK"; 月M:="MACD.MACD#MONTH"; 年M:="MACD.MACD#YEAR"; 日M:=MACD.MACD; HB1:= HBQQ AND 周M>0 AND 月M>0 AND 年M>0 AND 日M>0 ; T:=O>REF(H,1) AND L>REF(H,1) AND C>=O AND HBQQ; STICKLINE(HBQQ AND T,L-0.35,L-0.67,2,0),COLORYELLOW; STICKLINE(HBQQ AND T,L-0.35,L-0.67,0,0),COLORBLACK; DRAWICON(HBQQ AND T,L-0.56,18); DRAWTEXT(HBQQ AND T,L-0.57,'吃大肉'); 最小值:=LLV(LOW,10); 最大值:=HHV(HIGH,25); 波动线:=EMA((CLOSE-最小值)/(最大值-最小值)*4,4); 平均线:=EMA(波动线,3); 信息:=平均线>=REF(平均线,1); 走弱:=CLOSE<MA(CLOSE,10)AND CLOSE<MA(CLOSE,5); TZ:=(信息=0 AND REF(信息,1)=1) AND (REF(信息,2)+REF(信息,3)=2) AND 走弱=1 AND 平均线>1; DRAWTEXT(TZ=1,H+0.095,'下走确认'),COLORRED; MA13:=MA(C,13); MA34:=MA(C,34); MA55:=MA(C,55); VAR1RR:=(100-((90*(HHV(HIGH,21)-CLOSE))/ (HHV(HIGH,21)-LLV(LOW,21)))); VAR2RR:=(100-((90*(HHV(HIGH,21)-CLOSE))/ (HHV(HIGH,21)-LLV(LOW,21)))); VAR3RR:=(100-MA(((100*(HHV(HIGH,6)-CLOSE))/ (HHV(HIGH,6)-LLV(LOW,6))),34)); LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; 低吸:=CROSS(RSI,11); TZRR:=C/REF(C,1)>1.095 AND C=H; VAR7RR:=EMA(AMOUNT/VOL/100,3); VAR8RR:=EMA(VAR7RR,88); VAR9RR:=EMA(VAR7RR,88)*0.85; VARARR:=VAR9RR*0.87; JX:=CROSS(C,MA(C,5)) AND CROSS(C,MA(C,10)) AND MA(C,5)<MA(C,10); JX2:=SUM(OSC.MAOSC,15)/15<60; JX3:=EVERY(MA(C,20)>REF(MA(C,20),1),10); VARFRR:=(2*CLOSE+HIGH+LOW)/4; VA4:=LLV(LOW,34); VA5:=HHV(HIGH,34); VA6:=EMA((VARFRR-VA4)/(VA5-VA4)*100,6); VA7:=EMA(0.667*REF(VA6,1)+0.333*VA6,4); TJ:=CROSS(OSC.OSC,OSC.MAOSC) AND OSC.MAOSC>30; TJA:=DMI.ADXR>DMI.ADX AND DMI.ADX>30; TJ1:=(EVERY(VA7>VAR3RR,10) AND EVERY(VAR2RR>VAR3RR,10) AND CROSS(VAR2RR,VA7) AND TJ AND TJA); XXB:=FILTER(COUNT(TJ1,32)>0 AND TZRR,20) AND REF(C,1)/REF(C,2)<1; STICKLINE(XXB,H+0.35,L-0.45,0.1,0),COLORFF0966; DRAWTEXT(XXB,L-0.05,'更上一层楼'),COLORFF0966; ZK1:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORGREEN,LINETHICK2; DRAWTEXT(ISLASTBAR,ZK1,STRCAT('过了就卖:',CON2STR(ZK1,2))),COLORGREEN; ZD1:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED; ZD2:=EMA(ZD1,25),LINETHICK2; JJ:=(HIGH+LOW+CLOSE)/3; QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW); QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW))); QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN)))); QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE)))); QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ))); DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK; V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1); V5:=SMA(V2*120/FROMOPEN*5,2,1); V10:=SMA(V5,5,1); V20:=SMA(V10,5,1); DY:=CURRBARSCOUNT=1 AND C<REF(C,1); DY2:=REF(V2,1)-DY; XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<ZK1; DRAWTEXT(XG2 AND L<ZD1,L,'↖牛暴张'),COLORRED; 2、黄金坑,上涨机会大 安全 黄金坑公式的特点: 1、坑中有黄金,出坑就有钱了,要看你有没耐心了! 2、黄金坑都是很安全的!都已经极度暴跌了,还能跌到哪去。 TDXSTEP218:80,COLORGREEN; TDXSTEP219:20,COLORYELLOW; 趋势:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,9,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,9,1),3,1),COLORWHITE,LINETHICK2; 顶1:STICKLINE(趋势>80,80,趋势,5,0),COLORGREEN; 底1:STICKLINE(趋势<20,趋势,20,5,0),COLORYELLOW; 阶段卖: 90; 卖出: IF(CROSS(阶段卖,趋势),60,90),COLOR00FF00; VAR1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100; VAR2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100; VAR3:=BARSCOUNT(CLOSE); VAR4:=VAR1<20 AND VAR2<23 AND VAR3>35; VAR5:=VAR4 AND COUNT(VAR4,1)=1; VAR6:=EMA(CLOSE,21)-EMA(CLOSE,8); VAR7:=EMA(VAR6,5); VAR8:=TROUGHBARS(3,6,1)<4 AND CROSS(VAR6,VAR7); VAR9:=(HIGH+LOW+CLOSE)/3; VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0); VAR11:=(VAR9-MA(VAR9,14))/(0.015*AVEDEV(VAR9,14)); 见底: VAR10*6,COLORYELLOW,LINETHICK3; DRAWTEXT(VAR11<-110 AND 见底>0,25,'见底'), ,COLORYELLOW; DRAWTEXT(见底 AND VAR11<-100 AND VAR8 AND VAR5>0,4.1,'★组合5分钟线选股思路获利5%以上'), , COLORRED; DRAWICON(见底>0,4,1); XX:=EMA(CLOSE,30)-EMA(CLOSE,17); AA:=EMA(XX,5); YY:=EMA(XX,13); 短:=TROUGHBARS(3,10,1)<1 AND CROSS(XX,AA); DRAWICON(短>0,1.8,18); DRAWTEXT(短>0,1.8,'慧眼'),COLORWHITE; 枪:=TROUGHBARS(3,5,1)<1 AND XX<YY; 短1:=IF(枪>0,0.4,0),STICK,COLORF0F000,LINETHICK4; DRAWICON(短1>0,1.4,1 ); DRAWTEXT(短1>0,20.1,'套利'),COLORLIBLUE; 短2:=CROSS(XX,AA) AND TROUGHBARS(3,7,1)<1; DRAWICON(短2>0,1.4,1 ); DRAWTEXT(短2,25,'小牛'),COLORWHITE; 狙击:短 OR 短1 OR 短2,COLORWHITE,LINETHICK2; VAR12:=PEAKBARS(3,15,1)<10; {股 民 学 院 : http://www.58188.net 整理} 2、宝宝寻妖副图和选股 个人认为 DYNAINFO! 和 FINANCE! 并非未来函数 {宝宝寻妖 源码} ST:=IF(NAMELIKE('S'),0,1); XING:=IF(NAMELIKE('*'),0,1); VAR1:=(CLOSE-MA(CLOSE,35))/MA(CLOSE,21)*100; TING:=DYNAINFO(4)>0; XIAO:=FINANCE(7)<=6000000000; LTGB:= ST AND XING AND TING AND XIAO; BAOH:=ATAN((HIGH-REF(HIGH,1))/REF(HIGH,1)/0.1)/6.28*360; BAOL:=ATAN((LOW-REF(LOW,1))/REF(LOW,1)/0.1)/6.28*360; XA_1:=IF(CLOSE>OPEN AND HIGH>REF(CLOSE,1),ATAN((HIGH-REF(CLOSE,1))/REF(CLOSE,1)),0); XA_2:=IF(CLOSE>OPEN AND HIGH<REF(CLOSE,1),-ATAN((REF(CLOSE,1)-HIGH)/REF(CLOSE,1)),0); VAR2:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,43)-LLV(LOW,43))*100; VAR3:=SMA(VAR2,2,1); BAOK:=100+(-ABS(VAR1)); BAOD:=SMA(VAR3,2,1); XGQ:=CROSS(BAOD,BAOK); H10:=HHV(C,10); BAOC:=ATAN((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)/0.1)/6.28*360; BAOO:=ATAN((OPEN-REF(OPEN,1))/REF(OPEN,1)/0.1)/6.28*360; BAOAA:=MIN(MIN(MIN(BAOC,BAOO),BAOH),BAOL); HDBB:=HIGH-REF(HIGH,1); B:=MAX(MAX(MAX(BAOC,BAOO),BAOH),BAOL); XG000:=-MA(BAOAA,5); XG00:=XG000-REF(XG000,1)<0; LDBB:=REF(LOW,1)-LOW; BAOQ10:=H10; XA_3:=IF(CLOSE>OPEN AND HIGH=REF(CLOSE,1),0,0); BAOLO:=C/REF(C,1)>1.028 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12)); BAOX:=C; BBR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),15); BAOBBP:=EXPMEMA(IF(HDBB>0&&HDBB>LDBB,HDBB,0),15); XA_5:=IF(CLOSE<OPEN AND HIGH<REF(CLOSE,1),-ATAN((REF(CLOSE,1)-HIGH)/REF(CLOSE,1)),0); XA_6:=IF(CLOSE<OPEN AND HIGH=REF(CLOSE,1),0,0); XA_7:=XA_1+XA_2+XA_3+BAOLO+XA_5+XA_6; WWW58188COM:=MA(XA_7,9); XA_8:=MA(XA_7,9); XA_9:=MA(XA_7,5); XA_10:=MA(XA_7,3); XA_21:=ATAN(XA_8/0.09); XA_22:=ATAN(XA_9/0.05); XA_23:=ATAN(XA_10/0.03); XG2:=MA(B,5); XG888:=(XA_23+XA_22+XA_21)/3/6.28*360; XG88:=XG888-REF(XG888,1)>0; XG8:=XG88 AND XG888>35; VAR22:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,43)-LLV(LOW,43))*100; VAR32:=SMA(VAR22,2,1); XG666:=SMA(VAR32,2,1); XG66:=XG666-REF(XG666,1)>0 AND XG2>14; XG333:=BAOBBP*100/BBR; XG33:=XG333-REF(XG333,1)>0; XG3:=XG33 AND XG333>38; XG99:=IF(BAOX=BAOQ10,BAOX,DRAWNULL); XG:XGQ AND LTGB AND XG3 AND XG8 AND XG66 AND XG99 AND XG00; IF(XG=1,1,0); {股 民 学 院 : http://www.58188.net 整理} |