漲幅<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;
|
有話要說...