利箭出鞘: BB:=EMA(CLOSE,8)-EMA(SLOPE(CLOSE,34)*20+CLOSE,75); AB:=BB>=0; AC:=BB<0; II:=HHV(HIGH,50)-LLV(LOW,50); HH:=BB>=0 AND REF(BB<0,1) AND COUNT(BB>=0,6)<=1; TYP := AMOUNT/VOL/100; GJW1:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),21)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),21); GJW2:=100-(100/(1+GJW1)); CC:=EMA(GJW2,5); CC1:=CC<50 AND CC>=40; CC2:=CC>=50 AND CC<60; CC3:=CC>=60 AND CC<80; CC4:=CC>=80; CC5:=CC<40; EE:=CC1 AND REF(CC5,1); MAA:=MA(CLOSE,8); MA50:=MA(CLOSE,50); PL1:=(((CLOSE - MA50) / MA50)<0.008); PL2:=(((CLOSE - MAA) / MAA)<0.058); FF:=(((PL1 = 1) AND (PL2 = 1)) * 0.2); DD:=((((FF = 0) AND (REF(FF,1) = 0.2)) AND (REF((COUNT((FF = 0.2),10) = 10),1) = 1)) * 1); DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA); 潜力股:=HH AND COUNT(DD,10)>=1 AND REF(MACD,1)<REF(MACD,2) AND MACD>=0 AND MACD>REF(MACD,1); DRAWICON(FILTER(潜力股=1,3),40,1),COLORFFFF00; STICKLINE(FILTER(潜力股=1,5),36,0,2.25,0),COLORRED; STICKLINE(FILTER(潜力股=1,5),35,0,0.35,1),COLORRED,COLORYELLOW; 利箭出鞘:DRAWTEXT(FILTER(潜力股=1,3),37,' 利箭出鞘'),COLORYELLOW; 突破选股: 测试成功率结果,三天成功率为58%, MA5:=MA(C,5); MA10:=MA(C,10); MA25:=MA(C,25),LINETHICK2; YCX:=MA5>=REF(MA5,1); H1:=MAX(MAX(MA5,MA10),MA25); L1:=MIN(MIN(MA5,MA10),MA25); 涨幅:=CLOSE/REF(CLOSE,1) <1.02; PZ1:=MA(CLOSE,150) ;{ PZ1是当天150日均价: } PZ2:=HHV(HIGH,150) ; {PZ2是150日的最高价,} PZ3:=LLV(LOW, 150) ; { PZ3是150日的最低价; } PZ4:=(PZ2-PZ1)/PZ1; PZ5:=(PZ1-PZ3)/PZ1; { PZ4是150日的最高价和150日均价的距离的百分比,PZ5刚好相反是最低价和均价的差的百分比; } PZ:=REF(PZ4,1)<0.5 AND REF(PZ5,1) <0.15; {设为股价在150日均线上下15%波动,也就是PZ4、PZ5都小于0.15; } YYCSX:=H1<C AND O<L1 AND YCX AND MA5>REF(MA5,1); 选股:YYCSX AND 涨幅 AND PZ ; 领先波段低位转强买点(顶尖财经 股票学院: http://58188.com): MA5:=MA(C,5); MA6:=MA(C,6); MA10:=MA(C,10); MA20:=MA(C,20); MA30:=MA(C,30); MA55:=MA(C,55); VA1:=HHV(HIGH,9)-LLV(LOW,9); VA2:=HHV(HIGH,9)-CLOSE; VA3:=CLOSE-LLV(LOW,9); VA4:=VA2/VA1*100-70; VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; VA6:=(CLOSE+HIGH+LOW)/3; VA7:=SMA(VA3/VA1*100,3,1); VA8:=LLV(LOW,34); VA9:=SMA(VA7,3,1)-SMA(VA4,9,1); A2:=REF(MA20,1); J1:=(MA20-A2)/A2*100; MJ1:=MA(J1,3); 乖离:=(MA20-MA30)/MA30*100; VAR1:=IF(BETWEEN(乖离,-2,5),2,0); MAX1:=MAX(MA20,MA30); MAX2:=MAX(MAX1,MA55); MIN3:=MIN(MA20,MA30); MIN2:=MIN(MIN3,MA55); K1:=(MAX2/MIN2-1)*100; VARA:=IF(VA9>100,VA9-100,0); VARB:=HHV(HIGH,34); VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13); VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2); VARE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25; VARF:=MA(VARE,3); 上火车轨:=MA20>MA30 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1) AND MA20-MA30>REF((MA20-MA30),1) ; VAR2:=HHV(HIGH,9)-CLOSE; VAR3:=CLOSE-LLV(LOW,9); VAR4:=((VAR2)/(VAR1))*(100)-70; VAR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100); VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4); VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1); VAR8:=LLV(LOW,34); VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1); VAR10:=IF((VAR9>100),VAR9-100,0); VAR11:=HHV(HIGH,34); 顶:IF(CROSS("KDJ.D"(18,9,6),"KDJ.K"(18,9,6)) AND "KDJ.D"(18,9,6)>60 AND "KDJ.J"(45,15,15)>90,85,100),COLORRED; DRAWTEXT(CROSS("KDJ.D"(18,9,6),"KDJ.K"(18,9,6)) AND "KDJ.D"(18,9,6)>60 AND "KDJ.J"(45,15,15)>90,80,'←顶'),COLORRED; B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8); DRAWKLINE(EMA(B1,5),EMA(B1,5),B1+1,B1); 领先:EMA(B1,5),COLORCYAN; 生命线:EMA(VARD,1),COLORYELLOW; AAA:=CONST(HHV(H,90)); R1:=MA(CLOSE,1); R2:=MA(CLOSE,3); R3:=(MA(R2,1)*1); R4:=(MA(R2,3)*1); 进:IF(CROSS(R3,R4),30,0),COLORRED,LINETHICK2; DRAWTEXT(CROSS(R3,R4),35,'买'),COLORRED; V1:=MA(C,5)=HHV(MA(C,5),20); V2:=MA(C,5)>MA(C,10); V3:=MA(V,5)>MA(V,40)*1.01; V4:=COUNT(MA(C,1)>REF(C,1),2)=2; VV:=V1 AND V2 AND V3 AND V4; LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); 出:IF(CROSS(88,RSI),75,100),COLORYELLOW,LINETHICK2; DRAWTEXT(CROSS(88,RSI),70,'卖'),COLORGREEN; A61:=EMA(CLOSE,8); A62:=EMA(A61,20); A63:=CROSS(A61,A62); A64:=A61<EMA(CLOSE,120); VAR12:=(HIGH+LOW+CLOSE)/3; VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14)); VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70)); VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0); VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15); VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; VAR18:=100-ABS(VAR17); VAR19:=IF(VAR18<90,VAR18,100); STICKLINE((A63 AND A64)OR(V1 AND V2 AND V3 AND V4),B1*1.03,B1*1.120,1,0),COLORYELLOW; A65:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2* SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1),CIRCLEDOT ,COLORFF9900 ; VAR1A:=IF(VARE>0,VARE,0); VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60; VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100; 大笔出货:IF(VAR1C AND COUNT(VAR1C,30)=1,85,100); DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,85,'大笔出货'),LINETHICK1,COLORFFCC66; 安全位:=20; 低位转强:IF(CROSS(A65,安全位),50,0),STICK,COLORMAGENTA,LINETHICK2; 开始拉升:IF(CROSS(VARC,生命线) AND VARC>VARD AND VARC<55 AND C>O,50,0), COLORLIRED,POINTDOT; A66:=LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1+9.8/100); 极地上涨:IF(A66,领先,0),COLORGREEN,LINETHICK2; STICKLINE(开始拉升>0,15,开始拉升*1.01,1,0),COLORBLUE; STICKLINE((开始拉升>0 AND 开始拉升<400) OR (极地上涨>0 AND 极地上涨<400) OR (低位转强>0 AND 低位转强<400) OR (低位转强>0),30,开始拉升,1,0),COLORRED; STICKLINE(开始拉升>0,15,开始拉升*0.6,3,0),COLORBLUE; STICKLINE(开始拉升>0,15,开始拉升*0.4,3,0),COLOR00FF00; STICKLINE(开始拉升>0,15,开始拉升*0.2,3,0),COLOR0099CC; STICKLINE(低位转强>0,15,低位转强*1.01,1,0),COLORMAGENTA; STICKLINE((低位转强>0)OR(极地上涨>0),15,低位转强*0.4,3,0),COLORYELLOW; STICKLINE(低位转强>0,15,低位转强*0.2,3,0),COLORFFCC66; STICKLINE(极地上涨>0,15,极地上涨*1.01,1,0),COLORYELLOW; AA:=BARSCOUNT(C); AH:=HHV(H,120); AL:=LLV(L,120); A0:=(AH-AL)/30; STICKLINE((AA+0)/34=FLOOR((AA+0)/34),0,15,2,0),COLORF00FF0; WWWCHNMONEYCOM:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; DRAWTEXT((AA+0)/34=FLOOR((AA+0)/34),20,'时间窗'),COLORF00FF0; VAR2S:=(2*CLOSE+HIGH+LOW)/4; VAR3S:=IF(YEAR>=2099 AND MONTH>2,0,1); VAR4S:=LLV(LOW,5); VAR5S:=HHV(HIGH,4); 散户:=EMA((VAR2S-VAR4S)/(VAR5S-VAR4S)*100,4)*VAR3S; 庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3S; 吸:IF(CROSS(散户,庄家) AND 散户<30,20,0); DRAWTEXT(CROSS(散户,庄家) AND 散户<30,23,'←吸'),COLORRED; |