趨勢線2:=3*SMA((CLOSE-LLV(LOW,MM))/(HHV(HIGH,MM) -LLV(LOW,MM))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,MM)) /(HHV(HIGH,MM)-LLV(LOW,MM))*100,5,1),3,1); 見底信號:=10; 買點準(zhǔn)備:=IF(趨勢線2<=10,50,0); 買入時間:=IF(CROSS(趨勢線2,見底信號),100,0); BIAS11:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; BIAS12:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; BIAS13:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; 短跌選股:=IF(BIAS11<=-6,1,0); 中跌選股:=IF(BIAS12<=-10,1,0); 長跌選股:=IF(BIAS13<=-16,1,0); A111:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1) -2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1); 黑馬線A:=EMA(A111,5),LINETHICK2,COLOR6600FF; A22:=(黑馬線A-REF(黑馬線A,1))/REF(黑馬線A,1)*100; A33:=EMA(C,5); A44:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100; 趨勢線:=(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2)), LINETHICK2,COLORYELLOW; A55:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100; 底部B:=(A22<-10 AND A22>REF(A22,1))*25,COLORRED; 機會來臨:=REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORF00FF0; 大勢已去:=IF(CROSS(黑馬線,A111)AND 黑馬線>70 AND 趨勢線>80,90,100),COLORFF0000; VAR1A:="DMI.PDI"; VAR2A:="DMI.MDI"; VAR3A:=VAR1A>65 AND VAR1A>REF(VAR1A,1); VAR4A:=LLV(VAR1A,0); VAR5A:=BARSLAST(VAR4A=VAR1A); VAR6A:=(0-REF(VAR2A,4))/(VAR4A-REF(VAR2A,VAR5A))>2; VAR7A:=VAR1A>REF(VAR1A,1); VAR8A:=VOL>2*MA(VOL,30); VAR9A:="DMI.ADX"(12,6); VARAA:="DMI.ADXR"(12,6); VARBA:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04; VARCA:=MA(CLOSE,30)>REF(MA(CLOSE,30),1); VARDA:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10))) <BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5))); VAREA:=0-"MACD.DIF"(7,21,3); VARFA:=TROUGHBARS(3,15,1)<4; VAR10A:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2); VAR11A:=IF(VARFA=1,50,0); VAR12A:=CROSS(VAR2A,VAR1A) AND CROSS(VARAA,VAR9A); VAR13A:=CROSS(VAR2A,VAR1A) AND CROSS(VAR9A,VARAA); VAR14A:=VARBA AND VARCA AND VARDA AND VAR10A AND VAR6A AND VAR7A AND VAR8A*50; VAR15A:=BARSLAST(CROSS(VAR2A,VAR1A)=1); VAR16A:=BARSLAST(CROSS(VAR1A,VAR2A)=1); VAR17A:=HHV(VAR1A,VAR16A); VAR18A:=BARSLAST(VAR1A=VAR17A); 多空:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30)) /MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE; VAR19:=VAR3 OR VAR12 OR VAR13*100; VAR1AA:=VAR13*100; TT:=FILTER(VARFA=1,3); 底部買入:=IF(FILTER(VARFA=1,3),33333,0)COLORF00FF0,LINETHICK2; 黑馬:= EMA(CLOSE,7)-EMA(CLOSE,21); 黑馬0:= EMA(黑馬,7), COLORSTICK; VAR1B:=CLOSE/REF(LLV(LOW,35),5)<1; 黑馬6:= IF(VAR1B,0.5,0), STICK; 黑馬1:= IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,1,-1); 黑馬2:= DRAWICON(PEAKBARS(3,15,1)=1,1,2); 黑馬3:= (EMA(WINNER(CLOSE),7)-EMA(WINNER(CLOSE),35))*5,COLOR00FF00; 黑馬4:= EMA(CLOSE/REF(HHV(CLOSE,7),50),1); 金牛抄底1:IF(急買奇準(zhǔn) AND 黑馬1 AND 底部到了 AND 沒神的只有不錯 AND 加速探底 AND 買點準(zhǔn)備 AND 金牛出世 AND 中跌選股 AND 長跌選股 AND 機會來臨,88888,0)COLORGREEN,LINETHICK6; 金牛抄底2:IF(沒神的只有不錯AND 加速探底 AND TT AND 買點準(zhǔn)備 AND 短跌選股 AND 金牛出世,66666,0)COLORBLUE,LINETHICK6; 金牛抄底3:IF(急買奇準(zhǔn) AND 底部到了 AND 加速探底 AND 中跌選股 AND 金牛出世 AND 黑馬1,44444,0)COLORWHITE,LINETHICK6;
五、近期的“金牛抄底”參考股票(不是推薦,不可買入): 600491龍元建設(shè) 600359新農(nóng)開發(fā) 600677航天通信 000859國風(fēng)塑業(yè) 300028金亞科技 300014億緯鋰能 |
|