標籤:

唐能通短線是銀幅圖

短線是銀全套指標源碼:

非常喜歡千股奇觀,希望能在這裡多學東西。

<短線是銀>10合1指標:(副圖){參數;N:5,30,8;ZF:1,10,5;m:1.100.3;n10:1.100.9;p1:1.100.3;p2:1.100.3}MA5 := MA(close,5);MA10 := MA(close,10);MA60 := MA(close,60);pday1 := barslast(cross(ma60,ma5));{5日均線下穿60日均線}pday2 := barslast(cross(ma60,ma10));{10日均線下穿60日均線,至此形成鴨頸部}pday3 := barslast(low=llv(low,pday2));{形成頭部,要反彈}pday4 := barslast(cross(ma5,ma10));{反彈後,5日均線和10日均線金叉}pday5 := barslast(cross(ma10,ma5));{反彈不久,5日均線和10日均線形成死叉,形成嘴部}a1:= pday1>pday2 and pday2>pday3 and pday3>pday4 and pday4>pday5 and pday5<5;a2:= count(cross(ma10,ma5),pday2)=1;唐鴨頭:A1 AND A2,COLORffff00;DRAWTEXT(唐鴨頭,0.8 , "唐鴨頭"),COLORred;Var1:=MA(CLOSE,5);Var2:=MA(CLOSE,10);Var3:=MA(CLOSE,60);Var4:=BARSLAST(CROSS(Var1,Var3));Var5:=BARSLAST(CROSS(Var2,Var3));Var6:=BARSLAST(HIGH=HHV(HIGH,Var5));Var7:=BARSLAST(CROSS(Var2,Var1));Var8:=BARSLAST(CROSS(Var1,Var2));Var9:=Var4>Var5 AND Var5>Var6 AND Var6>Var7 AND Var7>Var8 AND Var8<5;VarA:=COUNT(CROSS(Var2,Var1),Var5)=1;老鴨頭:Var9 AND VarA and Var3>ref(Var3,1),COLORFF00FF;DRAWTEXT(老鴨頭 ,0.8 , "老鴨頭"),COLORred;nA1:=MIN(MA(C,5),MA(C,10))>MA(C,60) AND CROSS(MA(C,5),MA(C,10));nA2:=MIN(MA(C,5),MA(C,10))/MA(C,60)<1.05;nA3:=COUNT(V<MA(V,10),10)>6;青龍取水:nA1 AND nA2 AND nA3,COLOR00FF00,LINETHICK2;DRAWTEXT(青龍取水 ,0.8 , "青龍取水"),COLORred;線:=ma(c,180)>ref(ma(c,180),2) and count(cross(ma(c,5),ma(c,180)),6)>=1 and c/ma(c,180)>1.04,COLORblue;穿180線:ma(c,180)>ref(ma(c,180),2) and count(cross(ma(c,5),ma(c,180)),6)>=1 and c/ma(c,180)>1.04,COLORblue;DRAWTEXT(穿180線,0.8 , "180"),COLORblue;VAR32:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR33:=SMA(SMA(VAR32,3,1),3,1)/28.57;VAR34:=EMA(VAR33,5);VAR35:=3*VAR33-2*VAR34;絕買:CROSS(VAR35,VAR33) AND VAR33<2.1 and c>o,COLORred;DRAWTEXT(絕買,0.9,"絕買"),COLORred;ss1:=(LOW+HIGH+CLOSE*2)/4;ss2:= MA(ss1,4);ss3:=HHV(ss2,10);ss4:=ma(ss3,3);ss5:=1.25*ss4-0.25*ss3;xkkj:=if(ss5>ss3,ss3,ss5);ff1:=LLV(ss2,10);ff2:=ma(ff1,3);ff3:=1.25*ff2-0.25*ff1;dkkj:=if(ff3<ff1,ff1,ff3);ma13:=ma(c,13);zdhm:=cross(c,dkkj) and cross(c,ma13) and cross(c,xkkj);zhm:=cross(c,ma13) and cross(c,xkkj);的盧:zdhm or zhm,COLORgreen;DRAWTEXT(的盧,0.5,"的盧"),COLORred;MA111:=MA(CLOSE,20);MA112:=MA(CLOSE,40);MA113:=MA(CLOSE,60);A11:=OPEN<MA111 OR OPEN<MA112 OR OPEN<MA113,COLORred;A12:=C>MAX(MA111,MAX(MA112,MA113)),COLORred;A13:=V/MA(V,30)>1.2,COLORred;A14:=C/REF(C,1)>1.049,COLORred;芙蓉:A11 AND A12 AND A13 AND A14,COLORwhite;DRAWTEXT(芙蓉,0.3,"出水芙蓉"),COLORwhite;J:=(C*2+H+L)/4;K:=(EMA(J,13) - EMA(J,21))*180;D:=EMA(K,2);kk:=(K-D);dd:=-1*(K-D);ss:=CROSS(kk,dd);VARbb:=EMA(EMA(CLOSE,5),5);ll:=(VARbb-REF(VARbb,1))/REF(VARbb,1)*1000;mm:=CROSS(ll,0);黃買藍出:ss and mm,COLORyellow;DRAWTEXT(黃買藍出,0.5,"黃買藍出"),COLORred;RSV100:=(CLOSE-LLV(LOW,N10))/(HHV(HIGH,N10)-LLV(LOW,N10))*100;K10:=SMA(RSV100,P1,1);D10:=SMA(K10,P2,1);J10:=3*K10-2*D10;kdj買點:j10<0,COLOR0066ff;DRAWTEXT(kdj買點,0.2,"kdj買點"),COLOR0066ff;Var201:=CLOSE-REF(CLOSE,1);Var202:=IF(CLOSE-REF(CLOSE,1)>=0,Var201,0);Var203:=REF(CLOSE,1)-CLOSE;Var204:=IF(CLOSE-REF(CLOSE,1)<=0,Var203,0);Var205:=SUM(Var202,8)/SUM(Var204,8);Var206:=1-1/(1+Var205);短線: EMA(Var206,3),COLORyellow;Var207:=LLV(LOW,50);Var208:=HHV(HIGH,50);Var209:=EMA(CLOSE,2);中線: EMA((Var209-Var207)/(Var208-Var207),8),COLOR00FF00;

短線是銀收費指標---快馬加鞭:

說明:發出的信號太多,有時很難確定有用的信號,要靠自己的分析了。

上:=(SMA(HIGH,21,2) * 1.05);下軌道:=(SMA(LOW,21,2) * 0.969),POINTDOT,colorFFFF00;阻擋:=(SMA(HIGH,21,2) * 1.05);RSV:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=((3 * K) - (2 * D));RSV12:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100);K12:=SMA(RSV12,3,1);D12:=SMA(K12,3,1);J12:=((3 * K12) - (2 * D12));RSV24:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);K24:=SMA(RSV24,3,1);D24:=SMA(K24,3,1);J24:=((3 * K24) - (2 * D24));支撐位:=IF(CROSS(J,J24),LOW,REF(LOW,BARSLAST(CROSS(J,J24))));壓力位:=IF(CROSS(J24,J),HIGH,REF(HIGH,BARSLAST(CROSS(J24,J)))),colorFF00ff;U2L:=IF((CLOSE >= MA(CLOSE,20)),80,50);L2L:=IF((CLOSE >= MA(CLOSE,20)),50,20);RH1:=IF(((J < U2L) AND (REF(J,1) >= U2L)),HHV(REF(HIGH,1),(BARSLAST(((J >= U2L) AND (REF(J,1) < U2L))) - 1)),REF(HHV(REF(HIGH,1),(BARSLAST(((J >= U2L) AND (REF(J,1) < U2L))) - 1)),BARSLAST(((J < U2L) AND REF(J,1)))));RH4:=IF((HIGH > RH1),LOW,REF(LOW,BARSLAST((HIGH > RH1))));RH42:=IF((HIGH > RH1),J,REF(J,BARSLAST((HIGH > RH1))));RH5:=IF((((HIGH > RH4) AND (J < RH42)) AND (J < J24)),HIGH,REF(HIGH,BARSLAST((((HIGH > RH4) AND (J < RH42)) AND (J < J24)))));RL1:=IF(((J > L2L) AND (REF(J,1) <= L2L)),LLV(REF(LOW,1),(BARSLAST(((J <= L2L) AND (REF(J,1) > L2L))) - 1)),REF(LLV(REF(LOW,1),(BARSLAST(((J <= L2L) AND (REF(J,1) > L2L))) - 1)),BARSLAST(((J > L2L) AND REF(J,1)))));RL4:=IF((LOW < RL1),HIGH,REF(HIGH,BARSLAST((LOW < RL1))));RL42:=IF((LOW < RL1),J,REF(J,BARSLAST((LOW < RL1))));RL5:=IF((((LOW < RL4) AND (J > RL42)) AND (J > J24)),LOW,REF(LOW,BARSLAST((((LOW < RL4) AND (J > RL42)) AND (J > J24)))));黑馬趨勢:=MA(CLOSE,3);AA5:=MA(CLOSE,21);AA10:=MA(CLOSE,8),colorFF0000;追擊:FILTER(((((((CLOSE / OPEN) > 1.04) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (CLOSE > 下軌道)) AND ((AA10 - REF(AA10,1)) > 0)) AND (CLOSE < 上)),3)*10,linethick0;STICKLINE(FILTER(((((((CLOSE / OPEN) > 1.04) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (CLOSE > 下軌道)) AND ((AA10 - REF(AA10,1)) > 0)) AND (CLOSE < 上)),3),10,0,8,0),colorred;DRAWTEXT(FILTER(((((((CLOSE / OPEN) > 1.04) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (CLOSE > 下軌道)) AND ((AA10 - REF(AA10,1)) > 0)) AND (CLOSE < 上)),3),10,"追擊"),colorD1E768;VARD:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);支撐:=EMA(VARD,5);短期底部:=LLV(OPEN,30);機會難得:FILTER((((((((LOW <= 短期底部) AND ((CLOSE - REF(CLOSE,1)) > CLOSE)) AND ((MA(CLOSE,10) - REF(MA(CLOSE,10),1)) > 0)) AND (WINNER(CLOSE) < 0.05)) AND (短期底部 = RL5)) AND (LOW <= RL5)) AND (HIGH < 壓力位)),3)*8,linethick0;STICKLINE(FILTER((((((((LOW <= 短期底部) AND ((CLOSE - REF(CLOSE,1)) > CLOSE)) AND ((MA(CLOSE,10) - REF(MA(CLOSE,10),1)) > 0)) AND (WINNER(CLOSE) < 0.05)) AND (短期底部 = RL5)) AND (LOW <= RL5)) AND (HIGH < 壓力位)),3),8,0,8,0),coloryellow;DRAWTEXT(FILTER((((((((LOW <= 短期底部) AND ((CLOSE - REF(CLOSE,1)) > CLOSE)) AND ((MA(CLOSE,10) - REF(MA(CLOSE,10),1)) > 0)) AND (WINNER(CLOSE) < 0.05)) AND (短期底部 = RL5)) AND (LOW <= RL5)) AND (HIGH < 壓力位)),3),8,"機會難得"),colorFFFFFF;歷史大底:FILTER((((((LLV(LOW,0) AND (WINNER(CLOSE) < 0.08)) AND (LOW <= 短期底部)) AND (CLOSE > 短期底部)) AND (J < 80)) AND ((CLOSE / OPEN) > 1.08)),20)*12,linethick1 ,colorgreen;STICKLINE(FILTER((((((LLV(LOW,0) AND (WINNER(CLOSE) < 0.08)) AND (LOW <= 短期底部)) AND (CLOSE > 短期底部)) AND (J < 80)) AND ((CLOSE / OPEN) > 1.08)),20),12,0,8,0),colorgreen;DRAWTEXT(FILTER((((((LLV(LOW,0) AND (WINNER(CLOSE) < 0.08)) AND (LOW <= 短期底部)) AND (CLOSE > 短期底部)) AND (J < 80)) AND ((CLOSE / OPEN) > 1.08)),20),LOW,"歷史大底"), colorgreen;黑馬登天:FILTER(((((((((LOW <= 短期底部) AND (CLOSE > 壓力位)) AND ((AA5 - REF(AA5,1)) > 0)) AND (J < 80)) AND (CLOSE > 支撐位)) AND ((黑馬趨勢 - REF(黑馬趨勢,1)) > 0)) AND (WINNER(CLOSE) < 0.1)) AND (CLOSE > OPEN)),5)*15,linethick0;DRAWTEXT(FILTER(((((((((LOW <= 短期底部) AND (CLOSE > 壓力位)) AND ((AA5 - REF(AA5,1)) > 0)) AND (J < 80)) AND (CLOSE > 支撐位)) AND ((黑馬趨勢 - REF(黑馬趨勢,1)) > 0)) AND (WINNER(CLOSE) < 0.1)) AND (CLOSE > OPEN)),5),(LOW - 0.15),"黑馬登天"),colorCDEEC5;X1:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);X2:=EMA(X1,10);均線:=MA(CLOSE,16);均線20:=MA(CLOSE,20);均線120:=MA(CLOSE,120);VA:=CROSS(MA(CLOSE,19),MA(CLOSE,120));跳馬:FILTER(((((((((OPEN > 均線120) AND (均線20 < 均線120)) AND (LOW <= 均線120)) AND ((均線20 - REF(均線20,1)) > 0)) AND (CLOSE > OPEN)) AND ((均線120 - REF(均線120,1)) > 0)) AND (HIGH < RH5)) AND (CLOSE >= 均線120)),15)*5,color00ff00 ,linethick0;DRAWTEXT(FILTER(((((((((OPEN > 均線120) AND (均線20 < 均線120)) AND (LOW <= 均線120)) AND ((均線20 - REF(均線20,1)) > 0)) AND (CLOSE > OPEN)) AND ((均線120 - REF(均線120,1)) > 0)) AND (HIGH < RH5)) AND (CLOSE >= 均線120)),15),LOW,"120跳馬"),color00ff00;寶馬望月:((((VA AND ((均線120 - REF(均線120,1)) > 0)) AND (HIGH < RH5)) AND (CLOSE > OPEN)))*15,linethick0;DRAWTEXT((((VA AND ((均線120 - REF(均線120,1)) > 0)) AND (HIGH < RH5)) AND (CLOSE > OPEN)),LOW,"寶馬望月"),colorFFFFFF;三線開花:((((((均線 - REF(均線,1)) > 0) AND CROSS(均線20,均線120)) AND (LOW <= 均線120)) AND (CLOSE >= 均線120)))*3,linethick0;DRAWTEXT((((((均線 - REF(均線,1)) > 0) AND CROSS(均線20,均線120)) AND (LOW <= 均線120)) AND (CLOSE >= 均線120)),LOW,"三線開花"),colorFFFFFF;快馬加鞭:FILTER(((((((((((OPEN < X2) AND (CLOSE > X2)) AND ((支撐 - REF(支撐,1)) > 0)) AND ((支撐 - REF(支撐,1)) > 0)) AND (CLOSE < 阻擋)) AND ((均線 - REF(均線,1)) > 0)) AND (CLOSE >= 均線)) AND (HIGH < 阻擋)) AND ((AA10 - REF(AA10,1)) > 0)) AND ((阻擋 - REF(阻擋,2)) > 0)),11)*8,linethick0;DRAWTEXT(FILTER(((((((((((OPEN < X2) AND (CLOSE > X2)) AND ((支撐 - REF(支撐,1)) > 0)) AND ((支撐 - REF(支撐,1)) > 0)) AND (CLOSE < 阻擋)) AND ((均線 - REF(均線,1)) > 0)) AND (CLOSE >= 均線)) AND (HIGH < 阻擋)) AND ((AA10 - REF(AA10,1)) > 0)) AND ((阻擋 - REF(阻擋,2)) > 0)),11),(LOW - 0.11),"快馬加鞭"),colorFF0000;黑馬狂奔:FILTER(((((((OPEN < X2) AND (WINNER(CLOSE) < 0.2)) AND (CLOSE > X2)) AND ((X2 - REF(X2,1)) > 0)) AND (HIGH < 阻擋)) AND ((CLOSE - REF(CLOSE,1)) > 0.35)),4)*13,linethick0,colorff00ff;DRAWTEXT(FILTER(((((((OPEN < X2) AND (WINNER(CLOSE) < 0.2)) AND (CLOSE > X2)) AND ((X2 - REF(X2,1)) > 0)) AND (HIGH < 阻擋)) AND ((CLOSE - REF(CLOSE,1)) > 0.35)),4),(LOW - 0.05),"黑馬狂奔"),colorff00ff;

多方疊疊炮Var1:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN;Var2:=Var1 AND REF(BARSLAST(Var1),1)<9 AND CLOSE/REF(CLOSE,10)>1.1;Var2;東方紅大陽升Var1:=VOL/CAPITAL*100;Var2:=Var1>4 AND CLOSE>REF(CLOSE,1);Var3:=COUNT(Var2,13)>=3;Var4:=CLOSE/REF(CLOSE,1)>1.049 AND Var1>5;Var5:=REF(SUMBARS(VOL,CAPITAL),13)>89;Var6:=HIGH/CLOSE<1.021;Var7:=COUNT(CLOSE/REF(CLOSE,1)>1.04,10)<5;Var8:=IF(COUNT(Var1>4,5)>=3,0,1);Var9:=Var3 AND Var4 AND Var5 AND Var6;Var9 AND (REF(BARSLAST(Var9),1)>20 OR BARSSINCE(Var9)=0);多方炮Var1:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN;Var1;DIF上穿零線Var1:=EMA(CLOSE,12)-EMA(CLOSE,26);COUNT(Var1>=0,60)=1 AND Var1>=0;DIF下穿零線Var1:=EMA(CLOSE,12)-EMA(CLOSE,26);COUNT(Var1<=0,60)=1 AND Var1<=0;放量過頭Var1:=HHV(HIGH,60);Var2:=CLOSE>Var1;Var3:=VOL>MA(VOL,5)*2.5 OR COUNT(VOL>MA(VOL,10),6)>4;Var2 AND Var3;黑馬草上飛Var1:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;Var2:=COUNT(MA(CLOSE,60)>REF(MA(CLOSE,60),1),100)>95;Var3:=COUNT(Var1<20,100)>95;Var4:=COUNT(CLOSE>MA(CLOSE,60),100)>80;Var5:=CLOSE/REF(CLOSE,1)>1.04;Var6:=VOL/CAPITAL*100>2.8;Var7:=Var2 AND Var3 AND Var4 AND Var5 AND Var6;Var7 AND (REF(BARSLAST(Var7),1)>20 OR BARSSINCE(Var7)=0);空方炮REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN;D!LBCJVar1:=MA(CLOSE,60);Var2:=COUNT(CLOSE<Var1,33)>31;Var3:=CROSS(CLOSE,Var1);Var4:=CLOSE/REF(CLOSE,1)>1.045;Var2 AND Var3 AND Var4;老鴨頭Var1:=MA(CLOSE,5);Var2:=MA(CLOSE,10);Var3:=MA(CLOSE,60);Var4:=BARSLAST(CROSS(Var1,Var3));Var5:=BARSLAST(CROSS(Var2,Var3));Var6:=BARSLAST(HIGH=HHV(HIGH,Var5));Var7:=BARSLAST(CROSS(Var2,Var1));Var8:=BARSLAST(CROSS(Var1,Var2));Var9:=Var4>Var5 AND Var5>Var6 AND Var6>Var7 AND Var7>Var8 AND Var8<5;VarA:=COUNT(CROSS(Var2,Var1),Var5)=1;Var9 AND VarA;量芝麻點Var1:=MA(VOL,40);Var2:=VOL/CAPITAL*100;Var3:=COUNT(VOL/Var1<1.3,14)>11;Var4:=CROSS(Var2,2);Var5:=CLOSE/REF(CLOSE,1)>1.025 AND CLOSE>OPEN;Var6:=Var3 AND Var4 AND Var5;Var6;青龍取水Var1:=MIN(MA(CLOSE,5),MA(CLOSE,10))>MA(CLOSE,60) AND CROSS(MA(CLOSE,5),MA(CLOSE,10));Var2:=MIN(MA(CLOSE,5),MA(CLOSE,10))/MA(CLOSE,60)<1.05;Var3:=COUNT(VOL<MA(VOL,10),10)>6;Var1 AND Var2 AND Var3;三死叉見頂Var1:=5;Var2:=HHV(HIGH,20)/HIGH<=1.15;Var3:=MA(CLOSE,5);Var4:=MA(CLOSE,10);Var5:=MA(VOL,5);Var6:=MA(VOL,10);Var7:=EMA(CLOSE,12)-EMA(CLOSE,26);Var8:=EMA(Var7,9);Var9:=BARSLAST(CROSS(Var4,Var3));VarA:=BARSLAST(CROSS(Var6,Var5));VarB:=BARSLAST(CROSS(Var8,Var7));VarC:=IF(Var9<=Var1 AND VarA<=Var1 AND VarB<=Var1,1,0);VarC;

條件選股公式——短線是銀之三金叉見底nday := 5;down := close/llv(low,60)<=1.2;pma1 := ma(close,5);pma2 := ma(close,10);vma1 := ma(vol,5);vma2 := ma(vol,10);diff := ema(close,12) - ema(close,26);dea := ema(diff,9);ppday := barslast(cross(pma1,pma2));vvday := barslast(cross(vma1,vma2));macdday := barslast(cross(diff,dea));sjcjd:= if((ppday<=nday and vvday<=nday and macdday<=nday),1,0);

條件選股公式——短線三金叉見底(優化):

說明:是短線選股的好指標,但也要配合其它指標進行買進,才能保證盈利的機會。

當5日價均線上穿10價格均線,並且5日量均線和10量均線金叉,並且macd金叉,買入,短線目標10%。

優化後防止金叉後變為死叉。MA5:=MA(CLOSE,5),COLORYELLOW;MA10:=MA(CLOSE,10),COLORBROWN;VOL5:=MA(VOL,5),COLORLIBLUE;VOL10:=MA(VOL,10),COLORLIRED;條件1:=CROSS(MA5,MA10);條件2:=CROSS(VOL5,VOL10);條件3:=CROSS(MACD.DIF,MACD.DEA);TIAOJIAN1:=COUNT(條件1,10)>0,COLORRED;TIAOJIAN2:=COUNT(條件2,10)>0,COLORRED;TIAOJIAN3:=COUNT(條件3,10)>0,COLORRED;買入:TIAOJIAN1 AND TIAOJIAN2 AND TIAOJIAN3 and macd.dif<0 and macd.dif>macd.dea and ma5>ma10 and vol5>vol10;天上井地下井Var1:=MA(CLOSE,5);Var2:=MA(CLOSE,10);Var3:=MA(CLOSE,20);Var4:=MA(CLOSE,30);Var5:=COUNT(CROSS(Var3,Var1),21)=1 AND COUNT(CROSS(Var4,Var1),21)>0 AND COUNT(CROSS(Var3,Var2),21)>0 AND COUNT(CROSS(Var4,Var2),21)>0;Var6:=MA(VOL,5);Var7:=MA(VOL,10);Var8:=MA(VOL,20);Var9:=MA(VOL,30);VarA:=COUNT(CROSS(Var8,Var6),21)=1 AND COUNT(CROSS(Var9,Var6),21)>0 AND COUNT(CROSS(Var8,Var7),21)>0 AND COUNT(CROSS(Var9,Var7),21)>0;VarB:=COUNT(Var5,13)>0 AND COUNT(VarA,13)>0;VarB AND (REF(BARSLAST(VarB),1)>20 OR BARSSINCE(VarB)=0);量托n1=5,n2=10,n3=20Var1:=MA(VOL,N1);Var2:=MA(VOL,N2);Var3:=MA(VOL,N3);Var4:=COUNT(CROSS(Var1,Var2),21)=1 AND CROSS(Var2,Var3) AND COUNT(CROSS(Var1,Var3),21)=1 AND BARSLAST(CROSS(Var1,Var2))>BARSLAST(CROSS(Var1,Var3)) AND BARSLAST(CROSS(Var1,Var3))>BARSLAST(CROSS(Var2,Var3)) AND Var1>REF(Var1,1);Var4;量壓n1=5,n2=10,n3=20Var1:=MA(VOL,N1);Var2:=MA(VOL,N2);Var3:=MA(VOL,N3);Var4:=COUNT(CROSS(Var2,Var1),21)=1 AND CROSS(Var3,Var2) AND COUNT(CROSS(Var3,Var1),21)=1 AND BARSLAST(CROSS(Var2,Var1))>BARSLAST(CROSS(Var3,Var1)) AND BARSLAST(CROSS(Var3,Var1))>BARSLAST(CROSS(Var3,Var2)) AND Var1<REF(Var1,1);Var4;一陽上穿三角托n1=20,n2=40,n3=60Var1:=MA(CLOSE,N1);Var2:=MA(CLOSE,N2);Var3:=MA(CLOSE,N3);Var4:=COUNT(CROSS(Var1,Var2),21)=1 AND CROSS(Var2,Var3) AND COUNT(CROSS(Var1,Var3),21)=1 AND BARSLAST(CROSS(Var1,Var2))>BARSLAST(CROSS(Var1,Var3)) AND BARSLAST(CROSS(Var1,Var3))>BARSLAST(CROSS(Var2,Var3)) AND Var1>REF(Var1,1);Var5:=CLOSE>MAX(Var1,MAX(Var2,Var3)) AND OPEN<MIN(Var1,MIN(Var2,Var3));Var6:=COUNT(Var5,21)=1;Var4 AND Var6;短線是銀之價托m1=20,m2=40,m3=60,NDAY=1Var1:=MA(CLOSE,M1);Var2:=MA(CLOSE,M2);Var3:=MA(CLOSE,M3);Var4:=BARSLAST(CROSS(Var1,Var2));Var5:=BARSLAST(CROSS(Var1,Var3));Var6:=BARSLAST(CROSS(Var2,Var3));Var7:=IF(Var4>Var5 AND Var5>Var6 AND Var6<=NDAY,1,0);Var8:=IF(Var1>Var2 AND Var2>Var3 AND CLOSE>Var1,1,0);Var7 AND Var8;短線是銀之量托m1=20,m2=40,m3=60,NDAY=1Var1:=MA(VOL,M1);Var2:=MA(VOL,M2);Var3:=MA(VOL,M3);Var4:=BARSLAST(CROSS(Var1,Var2));Var5:=BARSLAST(CROSS(Var1,Var3));Var6:=BARSLAST(CROSS(Var2,Var3));Var7:=IF(Var4>Var5 AND Var5>Var6 AND Var6<=NDAY,1,0);Var8:=IF(Var1>Var2 AND Var2>Var3 AND VOL>Var1,1,0);Var7 AND Var8;短線是銀之絕對量頂天n=125IF(HHV(VOL,N)=VOL,1,0);交叉5日線上穿10日線且本次交叉距上次交叉50天以上Var1:=MA(CLOSE,5);Var2:=MA(CLOSE,10);Var3:=BARSLAST(CROSS(Var1,Var2));Var4:=REF(Var3,1);IF(Var4>=50 AND Var3=0,1,0);短線頭部組合指標:(倒掛老鴨頭+天上井地下井+DIF下穿零線)

MA5 := MA(CLOSE,5);MA10 := MA(CLOSE,10);MA60 := MA(CLOSE,60);

PDAY1 := BARSLAST(CROSS(MA60,MA5));{5日均線下穿60日均線}PDAY2 := BARSLAST(CROSS(MA60,MA10));{10日均線下穿60日均線,至此形成鴨頸部}PDAY3 := BARSLAST(LOW=LLV(LOW,PDAY2));{形成頭部,要反彈}PDAY4 := BARSLAST(CROSS(MA5,MA10));{反彈後,5日均線和10日均線金叉}PDAY5 := BARSLAST(CROSS(MA10,MA5));{反彈不久,5日均線和10日均線形成死叉,形成嘴部}

A1:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5<5;

A2:= COUNT(CROSS(MA10,MA5),PDAY2)=1;

倒掛老鴨頭:A1 AND A2;

M1:=MA(C,5);M2:=MA(C,10);M3:=MA(C,20);M4:=MA(C,30);

TSJ:=COUNT(CROSS(M3,M1),21)=1 AND COUNT(CROSS(M4,M1),21)>0 ANDCOUNT(CROSS(M3,M2),21)>0 AND COUNT(CROSS(M4,M2),21)>0;MM1:=MA(V,5);MM2:=MA(V,10);MM3:=MA(V,20);MM4:=MA(V,30);

DXJ:=COUNT(CROSS(MM3,MM1),21)=1 AND COUNT(CROSS(MM4,MM1),21)>0 ANDCOUNT(CROSS(MM3,MM2),21)>0 AND COUNT(CROSS(MM4,MM2),21)>0;

ZTJ:=COUNT(TSJ,13)>0 AND COUNT(DXJ,13)>0;

天上井地下井:ZTJ AND (REF(BARSLAST(ZTJ),1)>20 OR BARSSINCE( ZTJ)=0);

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DIF下穿零線:COUNT(DIF<=0,60)=1 AND DIF<=0;

短線底部組合指標:(DIF上穿零線+老鴨頭)

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DIF上穿零線:COUNT(DIF>=0,60)=1 AND DIF>=0;

MA5 := MA(CLOSE,5);MA10 := MA(CLOSE,10);MA60 := MA(CLOSE,60);

PDAY1 := BARSLAST(CROSS(MA5,MA60));{5日均線上穿60日均線}PDAY2 := BARSLAST(CROSS(MA10,MA60));{10日均線上穿60日均線,至此形成鴨頸部}PDAY3 := BARSLAST(HIGH=HHV(HIGH,PDAY2));{形成頭部,要下跌}PDAY4 := BARSLAST(CROSS(MA10,MA5));{下跌後,5日均線和10日均線死叉}PDAY5 := BARSLAST(CROSS(MA5,MA10));{回落不久,5日均線和10日均線形成金叉,形成嘴部}

A1:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5<5;

A2:= COUNT(CROSS(MA10,MA5),PDAY2)=1;

老鴨頭:A1 AND A2;


推薦閱讀:

「絕秘三招」捕捉短線牛股
龍虎榜復盤:佛山4000萬不走尋常路,魯抗醫藥洗心革面變價投
超短迷思之氛圍篇
傳統釣,長竿短線釣野生大板鯽魚,這些技巧與方法就是絕招
長竿短線釣法

TAG:短線 |