涨幅<3 VAR2T:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR3T:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34)); 涨幅:=(C-REF(C,1))/REF(C,1)*100; VARA:=C>REF(C,1) AND C>REF(C,2); VARB:=C[VAR1:=REF(VARB,1) AND C>=REF(C,1) AND C<=REF(C,2);] VAR2:=REF(VAR1,1) AND C<=REF(C,1) AND C>=REF(C,2); VAR3:=REF(VAR2,1) AND C>=REF(C,1) AND C<=REF(C,2); VAR4:=REF(VAR3,1) AND C<=REF(C,1) AND C>=REF(C,2); VAR5:=REF(VAR4,1) AND C>=REF(C,1) AND C<=REF(C,2); VAR6:=REF(VAR5,1) AND C<=REF(C,1) AND C>=REF(C,2); VAR7:=REF(VAR6,1) AND C>=REF(C,1) AND C<=REF(C,2); VAR8:=REF(VAR7,1) AND C<=REF(C,1) AND C>=REF(C,2); VAR9:=REF(VAR8,1) AND C>=REF(C,1) AND C<=REF(C,2); VAR10:=REF(VAR9,1) AND C<=REF(C,1) AND C>=REF(C,2); VAR11:=REF(VAR10,1) AND C>=REF(C,1) AND C<=REF(C,2); JIN:=VARB OR VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VAR10 OR VAR11; 宝塔线转阳信号:=VARA AND REF(JIN,1); MID:=REF(HIGH+LOW,1)/2; CR:=SUM(MAX(0,HIGH-MID),26)/SUM(MAX(0,MID-LOW),26)*100; 股海四剑客之四:CROSS(VAR2T,MA(VAR3T,6)) AND 宝塔线转阳信号 AND CR>REF(CR,1) AND 涨幅<3; 老慢给的 VAR2T:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR3T:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34)); 涨幅:=(C-REF(C,1))/REF(C,1)*100; VARA:=C>REF(C,1) AND C>REF(C,2); VARB:=C[VAR1:=REF(VARB,1) AND C>=REF(C,1) AND C<=REF(C,2);] VAR2:=REF(VAR1,1) AND C<=REF(C,1) AND C>=REF(C,2); VAR3:=REF(VAR2,1) AND C>=REF(C,1) AND C<=REF(C,2); VAR4:=REF(VAR3,1) AND C<=REF(C,1) AND C>=REF(C,2); VAR5:=REF(VAR4,1) AND C>=REF(C,1) AND C<=REF(C,2); VAR6:=REF(VAR5,1) AND C<=REF(C,1) AND C>=REF(C,2); VAR7:=REF(VAR6,1) AND C>=REF(C,1) AND C<=REF(C,2); VAR8:=REF(VAR7,1) AND C<=REF(C,1) AND C>=REF(C,2); VAR9:=REF(VAR8,1) AND C>=REF(C,1) AND C<=REF(C,2); VAR10:=REF(VAR9,1) AND C<=REF(C,1) AND C>=REF(C,2); VAR11:=REF(VAR10,1) AND C>=REF(C,1) AND C<=REF(C,2); JIN:=VARB OR VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VAR10 OR VAR11; 宝塔线转阳信号:=VARA AND REF(JIN,1); MID:=REF(HIGH+LOW,1)/2; CR:=SUM(MAX(0,HIGH-MID),26)/SUM(MAX(0,MID-LOW),26)*100; 股海四剑客之四:CROSS(VAR2T,MA(VAR3T,6)) AND 宝塔线转阳信号 AND CR>REF(CR,1) AND 涨幅>3; 看主力散户的指标可用 STICKLINE(C,90,90,0.9,0.9),COLOR883333; STICKLINE(C,10,10,0.9,0.9),COLOR883333; 散户:= 100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)); RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100; RSV1:=(C-MA(C,4))/MA(C,4)*100; VAR2:=REF(LOW,1); VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100; VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3); VAR5:=LLV(LOW,30); VAR6:=HHV(VAR4,30); VAR7:=IF(MA(CLOSE,58),1,0); VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7; VAR9:=IF(VAR8>100,100,VAR8); K:=SMA(RSV,5,1); D:=SMA(K,3,1); J:=3*K-2*D; 主力:=EMA(J,6),COLORYELLOW; AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; AA5:=SMA(AA4,13,8); 走势:=CEILING(SMA(AA5,13,8)),COLORRED,LINETHICK2; AA6:=SMA(AA3,21,8); 买观注: STICKLINE(走势-AA6<-65,0,7,15,1); DRAWICON(FILTER(J>REF(J,1)AND 走势>=REF(走势,1)AND 走势<25 ,5),走势,1); 卖观注: STICKLINE(走势-AA6>85,98,90,15,1),COLORFFFF00; DRAWICON(FILTER(J[85 ,5),J,2);] 吸筹:STICKLINE(VAR9>-120,50,50+(VAR9/2),8,1),COLORRED; CDMA:EMA(EMA(RSV1,7),7)*8,NODRAW,COLORWHITE; STICKLINE(CDMA>=0 AND CDMA>=REF(CDMA,1),50,50+CDMA,2.5,0),COLORDD55CC; STICKLINE(CDMA>=0 AND CDMA<=REF(CDMA,1),50,50+CDMA,2.5,1),COLORDD55CC; STICKLINE(CDMA<=0 AND CDMA>=REF(CDMA,1),50,50+CDMA,2.5,1),COLOR00D080; STICKLINE(CDMA<=0 AND CDMA<=REF(CDMA,1),50,50+CDMA,2.5,0),COLOR00D080; 快线:(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2,COLOR333333; 散户线:散户,COLORFFFFFF,LINETHICK1; 主力线:主力,COLORYELLOW; 走势线:走势,COLORRED,LINETHICK3; DRAWTEXT(ISLASTBAR,散户线,' ←散户线'),COLORFFFFFF; DRAWTEXT(ISLASTBAR,主力线,' ←主力线'),COLORYELLOW; DRAWTEXT(ISLASTBAR,走势线,' ←走势线'),COLORRED; 关注低买:IF(90>散户 AND CROSS(90,散户) ,98,0),COLORMAGENTA,STICK,NODRAW; {高抛低吸:IF(散户<10 AND CROSS(10,散户) ,20,0),COLORGREEN,STICK,NODRAW;} 风险:COUNT("RSI.RSI1"(6,12,24)>80,3)=3 AND CROSS("RSI.RSI2"(6,12,24),79.5),NODRAW; 观注顶:(散户<8 AND 主力>90 AND 走势>90 AND CDMA<=REF(CDMA,1)AND 散户线),COLORGREEN,NODRAW; DRAWTEXT(观注顶,-1,'◆'),COLORGREEN; DRAWTEXT(风险,95,'←风险'),COLOR00FFFF; STICKLINE(关注低买,0,100,0,-1),COLORMAGENTA; {STICKLINE(高抛低吸,0,100,0,-1),COLORGREEN;}; 主力持仓线 VAR2:=REF(LOW,1); VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100; VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3); VAR5:=LLV(LOW,38); VAR6:=HHV(VAR4,38); VAR7:=IF(LLV(LOW,90),1,0); VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7; ST01:STICKLINE(1,VAR8,0,3.5,1),COLORF000FF; SG:=EMA(HHV(HIGH,1),8); X1:=EMA(CLOSE,8); X30:=((X1 < REF(X1,1)) AND (CLOSE < X1)); X31:=IF(((SG < REF(SG,1)) OR X30),1,0); 全仓出击:=((((COUNT((X31 = 1),4) = 3) AND (X31 = 0)) AND (((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) > 0.085)) * 89); STICKLINE(全仓出击>=89,0,100,6,0),COLOR0000FF; DRAWICON((全仓出击 >= 89),全仓出击,1); DRAWTEXT((全仓出击 >= 89),89,'大胆杀入'); 均5:=MA(CLOSE,4); X7:=EMA(EMA(EMA(HIGH,9),9),9); 海底:=(X7 * 0.92); 海底2:=(X7 * 0.933); 中轨道:=MA(CLOSE,2); DRAWTEXT(((CROSS(中轨道,均5) AND (LOW <= 海底)) AND (CLOSE >= 海底2)),85,'-底部'),COLOR00FFFF; STICKLINE(((CROSS(中轨道,均5) AND (LOW <= 海底)) AND (CLOSE >= 海底2)),0,85,4,0),COLOR00FFFF; 加码 LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); AA:=(HHV(HIGH,20) - (2 * ATR)); BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1)); SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE); BBB:=BARSLAST(BB); SSSB:=BARSLAST(SSS); B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1))); B1B:=BARSLAST(B1); B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3)); B2B:=BARSLAST(B2); B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2)); GG:B2=1;; 上穿界点 买线:=EMA(C,2); 卖线:=EMA(SLOPE(C,21)*20+C,42); 操盘:=MA(CLOSE,9); 界点:=MA(CLOSE,20); BU:CROSS(买线,卖线) AND CROSS(操盘,界点); 黄金点灯 GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); A:=BARSLAST(CROSS(50,GJTJ1))<3 AND BARSLAST(CROSS(GJTJ1,50))<3; B:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4; ENTERLONG:A AND B; 白金点灯 GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); A:=BARSLAST(CROSS(30,GJTJ1))<2 AND BARSLAST(CROSS(GJTJ1,50))<2; B:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4; E:=GJTJ1>60 AND GJTJ4>70; ENTERLONG:A AND B AND E; 三线粘合金叉选股公式 A5:=MA(C,5); A10:=MA(C,10); A30:=MA(C,30); AA:=CROSS(A5,A10); BB:=CROSS(A5,A30); CC:=CROSS(A10,A30); COUNT(AA,3)=1 AND COUNT(BB,3)=1 AND COUNT(CC,3)=1; 四线粘合 V0:=EMA(C,5); V1:=EMA(C,10); V2:=EMA(C,15); V3:=EMA(C,30); V4:=EMA(C,60); M1:=1000*V1/V4<=1015 AND 1000*V1/V4>=975; M2:=1000*V2/V4<=1020 AND 1000*V2/V4>=980; M3:=1000*V3/V4<=1015 AND 1000*V3/V4>=985; M4:=M1 AND M2 AND M3 AND CROSS(V0,V1); M5:=M1 AND M2 AND M3 AND CROSS(V0,V3); M4 OR M5; 四线粘合一线金叉选股公式 EMA30:EMA(C,30),COLORWHITE,LINETHICK2; EMA60:EMA(C,60),COLORFF00FF; EMA90:EMA(C,90),COLORYELLOW; EMA120:EMA(C,120),COLORFFCC66; EMA250:EMA(C,250),COLORBLUE; SS:=CROSS(EMA30,EMA60) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(EMA30,EMA120) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(EMA60,EMA90) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(EMA30,EMA90) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 {AND CROSS(EMA30,EMA120)}; DRAWICON(SS,L-0.04,1); DD:=CROSS(EMA60,EMA90) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(EMA60,EMA250) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(EMA90,EMA120) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(EMA60,EMA120) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(EMA30,EMA250); {DD:=CROSS(EMA30,EMA250);}; {黑马绝技}四线粘合选股公式 EMA13:=EMA(C,13); EMA30:EMA(C,30),COLORFFCCCC; EMA60:EMA(C,60),COLORFF00FF; EMA90:EMA(C,90),COLORYELLOW; EMA120:EMA(C,120),COLORFFCC66; EMA250:EMA(C,250),COLORBLUE; F1:=EMA30-EMA60<130/1000 AND EMA30-EMA90<230/1000 AND EMA30-EMA120<330/1000; F2:=EMA60-EMA30<130/1000 AND EMA60-EMA90<230/1000 AND EMA60-EMA120<330/1000; F3:=EMA90-EMA30<130/1000 AND EMA90-EMA60<230/1000 AND EMA90-EMA120<330/1000; F4:=EMA120-EMA30<130/1000 AND EMA120-EMA60<230/1000 AND EMA120-EMA90<330/1000; F5:=EMA30-EMA60<100/1000 AND EMA30-EMA90<200/1000; FF1:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA30,EMA60); FF2:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA(C,13),EMA30); FF3:=F5 AND C>EMA250 AND CROSS(EMA30,EMA60); G1:=EMA60-EMA90<220/1000 AND EMA60-EMA120<320/1000 AND EMA60-EMA250<420/1000; G2:=EMA90-EMA30<220/1000 AND EMA90-EMA60<320/1000 AND EMA90-EMA250<420/1000; G3:=EMA120-EMA60<220/1000 AND EMA120-EMA90<320/1000 AND EMA120-EMA250<420/1000; G4:=EMA250-EMA60<220/1000 AND EMA250-EMA90<320/1000 AND EMA250-EMA120<420/1000; GG1:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA13,EMA30); GG2:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA30,EMA60); DRAWICON(FF1 OR FF2 OR FF3 OR GG1 OR GG2,L-0.1,9); 背离的公式 DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA); A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)); B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1) FILTER(B1>0,5); 黄金坑 GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); A:=BARSLAST(CROSS(GJTJ4,GJTJ1))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3; B:=BARSLAST(CROSS(GJTJ4,GJTJ2)); D:=GJTJ3E:=BARSLAST(CROSS(GJTJ4,GJTJ3))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3; F:=GJTJ2B1:=A>0 AND REF(A,1)=0 AND REF(A,2)>0; ENTERLONG:A AND B AND D AND E AND F; 震仓启动点 GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); A:=BARSLAST(CROSS(GJTJ4,GJTJ1))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3; B:=BARSLAST(CROSS(GJTJ4,GJTJ2)); D:=GJTJ3E:=BARSLAST(CROSS(GJTJ4,GJTJ3))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3; F:=GJTJ2B1:=A>0 AND REF(A,1)=0 AND REF(A,2)>0; ENTERLONG:A AND B AND D AND E AND F; 多线粘合 MA1:=MA(CLOSE,5); MA2:=MA(CLOSE,10); MA3:=MA(CLOSE,20); MA4:=MA(CLOSE,60); MA5:=MA(CLOSE,120); MA6:=MA(CLOSE,250); A:MAX(MAX(MA1,MA2),MA3),LINETHICK0; B:MIN(MIN(MA1,MA2),MA3),LINETHICK0; 三线粘合:IF(RANGE(100*(A-B)/B,0,5),100*(A-B)/B,DRAWNULL),LINETHICK0; SA:MAX(MAX(MA1,MA2),MAX(MA3,MA4)),LINETHICK0; SB:MIN(MIN(MA1,MA2),MIN(MA3,MA4)),LINETHICK0; 四线粘合:IF(RANGE(100*(SA-SB)/SB,0,10),100*(SA-SB)/SB,DRAWNULL),LINETHICK0; WA:MAX((MAX(MA1,MA2),MAX(MA3,MA4)),MA5),LINETHICK0; WB:MIN((MIN(MA1,MA2),MIN(MA3,MA4)),MA5),LINETHICK0; 五线粘合:IF(RANGE(100*(WA-WB)/WB,0,15),100*(WA-WB)/WB,DRAWNULL),LINETHICK0; LA:MAX((MAX(MA1,MA2),MAX(MA3,MA4)),MAX(MA5,MA6)),LINETHICK0; LB:MIN((MIN(MA1,MA2),MIN(MA3,MA4)),MIN(MA5,MA6)),LINETHICK0; 六线粘合:IF(RANGE(100*(LA-LB)/LB,0,20),100*(LA-LB)/LB,DRAWNULL),LINETHICK0; 抄底追涨 LC:=REF(CLOSE,1); RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100); TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10); HD:=(HIGH - REF(HIGH,1)); LD:=(REF(LOW,1) - LOW); DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10); DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10); PDI:=((DMP * 100) / TR1); MDI:=((DMM * 100) / TR1); ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5); AV:=(RSI5 + ADX); DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5); WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10))); NEWVOL:=(RSI5 - WR10); 最佳买入:=(AV + NEWVOL); 最佳买入选股:=IF(CROSS(最佳买入,0),1,0),STICK,COLORRED; VAR1:=SMA(最佳买入选股,3,1); VAR2:=SMA(VAR1,3,1),COLOR0000FF; VAR3:=SMA(VAR2,3,1),COLOR00FFFF; 建仓买点:IF(CROSS(VAR2,VAR3) AND (VAR2<40),5,0* 10000),COLOR0000FF,LINETHICK2; STICKLINE(建仓买点,0,2.5,8,0),COLORRED; STICKLINE(建仓买点,0.45,4.0,2,0),COLORRED; RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 50); K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; X:=LLV(J,2)=LLV(J,8); 最佳买入时机: IF(CROSS(J,3),1,0),STICK,COLORFFFF00; STICKLINE(最佳买入时机,0,1,3,0),COLOR009999; STICKLINE(最佳买入时机,0,1,2,0),COLOR00DDDD; STICKLINE(最佳买入时机,0,1,1,0),COLOR00FFFF; 机构建仓: IF(最佳买入<5,-0.2,0),STICK,COLOR00FF00,LINETHICK1; 机构建仓日:STICKLINE(机构建仓,0,-0.2,3,0),COLOR00FF00,LINETHICK6; 获利:STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0,60,0,1,0),COLOR0000FF; RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K1:SMA(RSV9,3,1); DK1:K1-REF(K1,1); 出手就赢:IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0), STICK,COLORYELLOW;DRAWICON(出手就赢>0,50 ,1); DRAWTEXT(REF("KDJ.J",1)<0 AND "KDJ.J">0,50,'抄底'),COLORWHITE ;
精选选强势股 年认同价:=MA(C,240); 价格中枢:=(SUM(年认同价,0)/(BARSSINCE(年认同价>0)+239)); 箱顶:=价格中枢*1.2; 箱底:=价格中枢*0.8; 毛利润率:=FINANCE(21)/FINANCE(20); 成长价值:=年认同价*(1+毛利润率); 收益价值:=年认同价+FINANCE(33); 回调认同:=EMA(EXPMA(C,20),13); 多头:=(回调认同>REF(回调认同,1))AND(成长价值>REF(成长价值,1))AND(收益价值>REF(收益价值,1))AND(DYNAINFO(7)>0); 回调条件:=COUNT(C<回调认同,5)>=3; 回调突破:=(REF(C,1)<=REF(回调认同,1))AND(C>回调认同)AND(回调条件)AND 多头; 成长条件:=COUNT(C<成长价值,5)>=3; 成长突破:=(REF(C,1)<=REF(成长价值,1))AND(C>成长价值)AND(成长条件)AND 多头; 收益条件:=COUNT(C<收益价值,5)>=3; 收益突破:=(REF(C,1)<=REF(收益价值,1))AND(C>收益价值)AND(收益条件)AND 多头; 箱底条件:=COUNT(C<箱底,5)>=3; 箱底突破:=(REF(C,1)<=REF(箱底,1))AND(C>箱底)AND(箱底条件)AND 多头; 价格条件:=COUNT(C<价格中枢,5)>=3; 价格突破:=(REF(C,1)<=REF(价格中枢,1))AND(C>价格中枢)AND(价格条件)AND 多头; 箱顶条件:=COUNT(C<箱顶,5)>=3; 箱顶突破:=(REF(C,1)<=REF(箱顶,1))AND(C>箱顶)AND(箱顶条件)AND 多头; 突破买点:(回调突破+成长突破+收益突破+箱底突破+价格突破+箱顶突破); 长期横盘 LOWV:=LLV(LOW,15); {15天内的最低价} HIGHV:=HHV(HIGH,15); {15天内的最高价} HIGHVV:=HHV(HIGH,40); {40天内的最高价} V0:=V; {当天的成交量} V1:=REF(V,1); {一天前的成交量} V2:=REF(V,2); {两天前的成交量} V3:=REF(V,3); {三天前的成交量} HV22:=HHV(V,35); {35天内的最大成交量} D0U:=C>O; {今天是阳线} D1U:=REF(C,1)>=REF(C,2); {昨天是阳线} 横盘:=((HIGHV-LOWV)/HIGHV)<0.15; {半个月内价格波动小于15%} 放量1:=V0>=(1.8*((V1+V2+V3)/3)); {今天量是前三天均量的1.8倍} 放量2:=V0<=(3.8*V1); { 今天的量在昨天量的四倍范围内} 今天阳线:=D0U; {今天是阳线} 昨天阳线:=D1U; {昨天是阳线} 今天中阳:=(C-REF(C,1))/REF(C,1)>=0.018; {今天涨幅大于1.8%} 开盘非最高价:=C<=HIGHVV; {收盘非40天内最高价} 收盘非最高价:=O<=HIGHVV; {开盘非40天内最高价} 非最大成交量:=V0 横盘启动买点: 横盘 AND 放量1 AND 放量2 AND 今天阳线 AND 昨天阳线 AND 今天中阳 AND 开盘非最高价 AND 收盘非最高价 AND 非最大成交量 ;
上午横盘 放量:=VOL/REF(MA(VOL,5),1)>1.8; PZ1:=MA(CLOSE,60); PZ2:=HHV(HIGH,60); PZ3:=LLV(LOW,60); 最高价均价比:=(PZ2-PZ1)/PZ1; 最低价均价比:=(PZ1-PZ3)/PZ1; 长期横盘:=REF(最高价均价比,1)<0.10 AND REF(最低价均价比,1)<0.10; 新高:=HIGH=HHV(HIGH,60); 横盘放量突破:放量 AND 长期横盘 AND 新高; 横盘分时选股 TT:=BARSCOUNT(CLOSE); CC:=CLOSE; 均线:=SUM(AMOUNT,0)/SUM(VOL*100,0); 上均:=均线 + AVEDEV(C,TT)*2; 下均:=均线 - AVEDEV(C,TT)*2; 时长:=IF(HOUR>=13 AND HOUR<15 ,1,0); 涨幅:=(CLOSE>DYNAINFO(3))>1.02; 跌幅:=(CLOSE/DYNAINFO(3))<0.98; 横盘:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<0.03; YY:=SMA(VOL,30,1); 放量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0.92; 涨跌幅:=涨幅 OR 跌幅; 横涨:=涨跌幅=0 AND 横盘 AND 时长 AND 放量 AND CROSS(CC,上均); 突破:FILTER(横涨,100); 买卖选股2见底 主力:=EMA( (CLOSE-MA(CLOSE,3))/MA(CLOSE,3),2); 散户:=EMA( (CLOSE-MA(CLOSE,20))/MA(CLOSE,20),7); VAR2:=LLV(LOW,10); VAR3:=HHV(HIGH,25); 动能趋势线:=100*EMA((CLOSE-VAR2)/(VAR3-VAR2),4); 超准选股见底:CROSS(主力,散户) AND 主力<0 AND 散户<0,COLORRED; 上午横盘A分时图选股简单的一个 BETWEEN(ABS((C-DYNAINFO(11))/C),0,0.02) AND BETWEEN(ABS((C-DYNAINFO(4))/C),0,0.02) AND HIGH<=DYNAINFO(4)*1.02 AND LOW>=DYNAINFO(4)*0.98 AND DYNAINFO(4)>=DYNAINFO(3); 开盘量比选股 A:=(DYNAINFO(4)-DYNAINFO(3))/DYNAINFO(3)*1000<=25 AND DYNAINFO(4)>=DYNAINFO(3); B:=DYNAINFO(17)*10>15; D:=DYNAINFO(7)>=DYNAINFO(11); E:=DYNAINFO(7)>=DYNAINFO(4) AND DYNAINFO(14)*100<=4; F:=DYNAINFO(8)>1500; G:=DYNAINFO(9)>=100; XG:A AND B AND D AND E AND F AND G; 上午收盘前选 CV:=CLOSE; BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4; UPR:=BBIBOLL+6*STD(BBIBOLL,11); QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSEOPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSEHSL:=(XVL/3)/1.15; 攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22)); LLJX:=EMA(攻击,3); B1:=IF(SUM(LLJX,1)>REF(MA(SUM(LLJX,1),1),1),SUM(LLJX,1),DRAWNULL); B2:=IF(SUM(LLJX,2)>REF(MA(SUM(LLJX,2),1),1),SUM(LLJX,2),DRAWNULL); B3:=IF(SUM(LLJX,3)>REF(MA(SUM(LLJX,3),1),1),SUM(LLJX,3),DRAWNULL); B4:=IF(SUM(LLJX,4)>REF(MA(SUM(LLJX,4),1),1),SUM(LLJX,4),DRAWNULL); B5:=IF(SUM(LLJX,5)>REF(MA(SUM(LLJX,5),1),1),SUM(LLJX,5),DRAWNULL); B6:=IF(SUM(LLJX,6)>REF(MA(SUM(LLJX,6),1),1),SUM(LLJX,6),DRAWNULL); B7:=IF(SUM(LLJX,7)>REF(MA(SUM(LLJX,7),1),1),SUM(LLJX,7),DRAWNULL); B8:=IF(SUM(LLJX,8)>REF(MA(SUM(LLJX,8),1),1),SUM(LLJX,8),DRAWNULL); B9:=IF(SUM(LLJX,9)>REF(MA(SUM(LLJX,9),1),1),SUM(LLJX,9),DRAWNULL); B10:=IF(SUM(LLJX,10)>REF(MA(SUM(LLJX,10),1),1),SUM(LLJX,10),DRAWNULL); XG:B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9 AND B10 AND (CLOSE-OPEN)>=(UPR-BBIBOLL) AND V/REF(V,1)>=1.9;
分时横盘选股 TT:=BARSCOUNT(CLOSE); CC:CLOSE,COLORWHITE,LINETHICK2; 均线:SUM(AMOUNT,0)/SUM(VOL*100,0),COLOR00FFFF; 上均:均线 + AVEDEV(C,TT)*2,COLOR00FF00; 下均:均线 - AVEDEV(C,TT)*2,COLORFF6600; 时长:=IF(HOUR>=13 AND HOUR<15 ,1,0); 涨幅:=(CLOSE>DYNAINFO(3))>1.02; 跌幅:=(CLOSE/DYNAINFO(3))<0.98; 横盘:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<0.03; YY:=SMA(VOL,30,1); 放量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0.92; 涨跌幅:=涨幅 OR 跌幅; 横涨:=涨跌幅=0 AND 横盘 AND 时长 AND 放量 AND CROSS(CC,上均); 横盘上涨:CROSS(横涨,0),COLORRED,POINTDOT,LINETHICK0; DRAWTEXT(CROSS(横涨,0),均线,'上涨'),COLORRED; PP:= FILTER(横涨,100) ; DRAWTEXT(PP,上均,'突破'),COLORFF00FF; 天天涨停每天收盘后选股 T:=IF((BARSCOUNT(C) > 7),(100)*((MA(C,7))/(LLV(MA(C,7),7)) - 1),1); N:=IF((T > 0.35),6,65); W:=((-((100)*(HHV(H,N) - C))/(HHV(HIGH,N) - LLV(L,N)))); RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100; J0:=(HIGH+LOW)/2; QJ:=EMA(J0,3); J1:=IF(CLOSE>QJ,VOL,0); J2:=IF(CLOSEBB:=MA(SUM(J1-J2,22),3); 累加:=21*BB+20*REF(BB,1)+19*REF(BB,2)+18*REF(BB,3)+17*REF(BB,4) +16*REF(BB,5)+15*REF(BB,6)+14*REF(BB,7)+13*REF(BB,8)+12*REF (BB,9)+11*REF(BB,10)+10*REF(BB,11)+9*REF(BB,12)+8*REF(BB,13) +7*REF(BB,14)+6*REF(BB,15)+5*REF(BB,16)+4*REF(BB,17)+3*REF (BB,18)+2*REF(BB,19)+REF(BB,20); WMA:=累加/(21+1)/21*2; CC:=WMA; VAR3:=(BB-CC);VAR4:=SMA(RV,3,1); VAR5:=SMA(VAR4,3,1); KK:=EMA(SMA(RG,3,1),2); DD:=SMA(KK,3,1); 天天涨停:CROSS(W,-2) AND CROSS(VAR4,VAR5) AND CROSS(KK,DD);
追涨选股 DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*30; DEA:=EMA(DIF,9); VAR4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100; VAR5:=SMA(VAR4,3,1); VAR2:=SMA(VAR5,4,1)-90; CROSS(DIF,VAR2)AND VAR2[ ]跟进的选股公 LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); TR:=MAX(MAX((HIGH - LOW),ABS(REF(CLOSE,1) - HIGH)),ABS(REF(CLOSE,1) - LOW)); ATR:=MA(TR,14); AA:=(HHV(HIGH,20) - (2 * ATR)); BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1)); SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE); BBB:=BARSLAST(BB); SSSB:=BARSLAST(SSS); B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1))); B1B:=BARSLAST(B1); B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3)); B2B:=BARSLAST(B2); B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2)); HH:B1 = 1; 波段启动前兆 GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); A:=GJTJ3=100; B:=GJTJ4<90; ENTERLONG:COUNT(A,2) = 2 AND B; 底背离+跟进+操盘线上穿界点 买线:=EMA(C,2); 卖线:=EMA(SLOPE(C,21)*20+C,42); BU:=CROSS(买线,卖线); FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); EE:=CROSS(FF,MA15); TR:=MAX(MAX((HIGH - LOW),ABS(REF(CLOSE,1) - HIGH)),ABS(REF(CLOSE,1) - LOW)); ATR:=MA(TR,14); AA:=(HHV(HIGH,20) - (2 * ATR)); BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1)); SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE); BBB:=BARSLAST(BB); SSSB:=BARSLAST(SSS); B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1))); B1B:=BARSLAST(B1); B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3)); 黑牛均线:BU OR B1=1 OR B2=2 OR EE; 黑牛均线全部 买线:=EMA(C,2); 卖线:=EMA(SLOPE(C,21)*20+C,42); BU:=CROSS(买线,卖线); FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); EE:=CROSS(FF,MA15); TR:=MAX(MAX((HIGH - LOW),ABS(REF(CLOSE,1) - HIGH)),ABS(REF(CLOSE,1) - LOW)); ATR:=MA(TR,14); AA:=(HHV(HIGH,20) - (2 * ATR)); BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1)); SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE); BBB:=BARSLAST(BB); SSSB:=BARSLAST(SSS); B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1))); B1B:=BARSLAST(B1); B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3)); LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); B2B:=BARSLAST(B2); B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2)); 黑牛均线:BU OR B1=1 OR B2=2 OR EE OR B2=1; 底背离的选股 FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); CROSS(FF,MA15); 全部信号选股山东操盘手 GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); BAIJIN1:=BARSLAST(CROSS(30,GJTJ1))<2 AND BARSLAST(CROSS(GJTJ1,50))<2; BAIJIN2:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4; BAIJIN3:=GJTJ1>60 AND GJTJ4>70; M1:=BAIJIN1 AND BAIJIN2 AND BAIJIN3; HUANGJIN1:=BARSLAST(CROSS(50,GJTJ1))<3 AND BARSLAST(CROSS(GJTJ1,50))<3; HUANGJIN2:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4; M2:=HUANGJIN1 AND HUANGJIN2; XG:=BARSLAST(CROSS(GJTJ4,GJTJ1))<5 AND GJTJ1>GJTJ4; M3:=COUNT(XG,3)=1 AND XG AND C>MA(C,20); A:=BARSLAST(CROSS(97,GJTJ1))<=1 AND BARSLAST(CROSS(GJTJ1,85))<=1; B:=BARSLAST(CROSS(97,GJTJ2))<=1 AND BARSLAST(CROSS(GJTJ2,85))<=1; A1:=A AND B; AA:=BARSLAST(CROSS(97,GJTJ1))<=2 AND BARSLAST(CROSS(GJTJ1,85))<=1; BA:=BARSLAST(CROSS(97,GJTJ2))<=2 AND BARSLAST(CROSS(GJTJ2,85))<=1; A2:=AA AND BA ; AAA:=BARSLAST(CROSS(97,GJTJ1))<=3 AND BARSLAST(CROSS(GJTJ1,85))<=1; BAA:=BARSLAST(CROSS(97,GJTJ2))<=3 AND BARSLAST(CROSS(GJTJ2,85))<=1; A3:=AAA AND BAA ; B1:=REF(A1,1); B2:=REF(A2,1); B3:=REF(A3,1); D1:=GJTJ1=100 AND GJTJ2=100 AND A1; D2:=GJTJ1=100 AND GJTJ2=100 AND A2; D3:=GJTJ1=100 AND GJTJ2=100 AND A3; AQ:=BARSLAST(CROSS(GJTJ4,GJTJ1))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3; BQ:=BARSLAST(CROSS(GJTJ4,GJTJ2)); DQ:=GJTJ3EQ:=BARSLAST(CROSS(GJTJ4,GJTJ3))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3; FQ:=GJTJ2AW:=BARSLAST(CROSS(95,GJTJ1))<=2; BW:=BARSLAST(CROSS(95,GJTJ2))<=2; EW:= GJTJ4FW:=GJTJ2>50 AND GJTJ3>50; G:=GJTJ1=100 AND GJTJ2=100; TX:=COUNT(G,2)=1; AE:=GJTJ3=100; BE:=GJTJ4<90; 操盘手: M1 OR M2 OR M3 OR D1 OR D2 OR D3 OR (AQ AND BQ AND DQ AND EQ AND FQ) OR (AW AND BW AND EW AND FW AND TX) OR (COUNT(AE,2) = 2 AND BE); (黄金+启动金三角) GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); BAIJIN1:=BARSLAST(CROSS(30,GJTJ1))<2 AND BARSLAST(CROSS(GJTJ1,50))<2; BAIJIN2:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4; BAIJIN3:=GJTJ1>60 AND GJTJ4>70; M1:=BAIJIN1 AND BAIJIN2 AND BAIJIN3; HUANGJIN1:=BARSLAST(CROSS(50,GJTJ1))<3 AND BARSLAST(CROSS(GJTJ1,50))<3; HUANGJIN2:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4; M2:=HUANGJIN1 AND HUANGJIN2; XG:=BARSLAST(CROSS(GJTJ4,GJTJ1))<5 AND GJTJ1>GJTJ4; M3:=COUNT(XG,3)=1 AND XG AND C>MA(C,20); 操盘手: M1 OR M2 OR M3; 横盘突破分时横盘选股 BETWEEN(ABS((C-DYNAINFO(11))/C),0,0.02) AND BETWEEN(ABS((C-DYNAINFO(4))/C),0,0.02) AND HIGH<=DYNAINFO(4)*1.02 AND LOW>=DYNAINFO(4)*0.98 AND DYNAINFO(4)>=DYNAINFO(3); 好用均线、成交量、MACD同时金叉 MA1:=MA(CLOSE,5); MA2:=MA(CLOSE,10); AA:=CROSS(MA1,MA2); AAA:=COUNT(AA,3)>=1; T1:=MA(VOL,5); T2:=MA(VOL,10); BB:=CROSS(T1,T2); BBB:=COUNT(BB,3)>=1; DIF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*2; CC:=CROSS(DIF,DEA); CCC:=COUNT(CC,3)>=1; 三金:=AAA AND BBB AND CCC; 三金叉:FILTER(三金,3),COLORFF00FF; 买点出现 选股 HLM1:=MA(HHV(H,485),17); HLM2:=MA(HHV(H,222),17); HLM3:=MA(HHV(H,96),17); HLM4:=MA(LLV(L,485),17); HLM5:=MA(LLV(L,222),17); HLM6:=MA(LLV(L,96),17); HLM7:=MA((HLM1*0.558+HLM2*0.558+HLM3*0.558+HLM4*0.96+HLM5*0.96+HLM6*0.96)/6,17); HLM8:=MA((HLM1*0.55+HLM2*0.55+HLM3*0.65+HLM4*1.25+HLM5*1.23+HLM6*1.2)/6,17); HLM9:=MA((HLM1*0.68+HLM2*0.68+HLM3*0.68+HLM4*1.3+HLM5*1.3+HLM6*1.3)/6,17); HLM10:=MA((HLM7*3+HLM8*2+HLM9)/6*1.738,17); HLM11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100; HLM12:=MA(IF(C*1.35<=HLM10,HLM11*10,HLM11/10),3); HLMH:=HHV(HLM12,30); 关注:MA(IF(L<=LLV(L,13),(HLMH+HLM11*2)/2,0),3)/200,COLORFFFFFF; ↑↑▲:IF(CROSS(关注,1.2),1,0),COLORFF00FF; 买点出现:IF(CROSS(关注,4.5),1,0),COLOR00FFFF;
|
有话要说...