三金叉的選股公式
編寫要求:
條件分別是: 1:五日均線上穿13日均線。 2:MACD黃金交叉。 3:五日 均量 線上穿100日均量線。 4:三金叉只要在:5個交易日之內發生,三者當中最後一項發生金叉時就是買入訊號。
MA5:=MA(C,5);MA13:=MA(C,13);MV5:=MA(V,5);MV100:=MA(V,100);選股:COUNT(CROSS(MA5,MA13),5)=1 AND COUNT(CROSS(MACD.DIF,MACD.DEA),5)=1 AND COUNT(CROSS(MV5,MV100),5)=1;
雞鳴見亮選股指標公式Q1:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;Q2:=SMA(Q1, 9, 1);Q3:=SMA(Q2, 3, 1);AA:=3*Q2-2*Q3;VAR1:=(2*C+H+L)/4;VAR2:=LLV(LOW,34);VARA:=HHV(HIGH,34);BB:=EMA((VAR1-VAR2)/(VARA-VAR2)*100,8);選股:CROSS(AA,BB) AND AA>REF(AA,1) AND BB>REF(BB,1) AND AA<20;
突破後動手選股指標公式V1:=IF(O<=REF(O,1),0,MAX((H-O),(O-REF(O,1))));V2:=IF(O>=REF(O,1),0,MAX((O-L),(O-REF(O,1))));V3:=SUM(V1,23);V4:=SUM(V2,23);V5:=IF(V3>V4,(V3-V4)/V3,IF(V3=V4,0,(V3-V4)/V4));V6:=MA(V5,8);V7:=C>=O;V8:=REF(V7,1);V9:=REF(V7,2);V10:=REF(V7,3);V11:=EVERY(V7,3);V12:=(C-REF(C,1))/REF(C,1);V13:=V12>=0.015 AND V12<=0.04;V14:=EXIST(V13,3);V15:=V11 AND V14;V16:=CROSS(V5,V6);V17:=EXIST(V16,3);V17 AND V15,COLORRED;
突破抓馬選股指標公式AN:=10;AA:=REF(H,AN)=HHV(H,2*AN+1);QY:=BACKSET(AA,AN+1);ACC:=FILTER(QY,AN) AND H=HHV(H,AN+1);AAA1:=CROSS(BACKSET(BARSTATUS=2,SUMBARS(ACC,1)),0.5);AB1:=CROSS(BACKSET(BARSTATUS=2,SUMBARS(ACC,2)),0.5);HQSXG:=DRAWLINE(AB1,H,AAA1,H,1);上突破:=CROSS(C,HQSXG) AND HQSXG>REF(HQSXG,1);下突破:=CROSS(C,HQSXG) AND HQSXG<REF(HQSXG,1);XG:上突破 OR 下突破;
抄底就贏選股指標公式VAR1G:=(((CLOSE / MA(CLOSE,40)) * 100) < 78);VAR2G:=(((CLOSE / MA(CLOSE,60)) * 100) < 74);VAR3G:=(HIGH > (LOW * 1.051));VAR4G:=(VAR3G AND (COUNT(VAR3G,5) > 1));AA:=IF((VAR4G AND (VAR1G OR VAR2G)),2,0);BB:=C/REF(C,25)<=1.1;CC:=(SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100)<15;V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;操盤線:=SMA(V3,2,1);V5:=SMA(操盤線,2,1);抄底:=IF(操盤線>REF(操盤線,1) AND REF(操盤線,1)<REF(操盤線,2) AND 操盤線<23 ,1.5,0);XG:BB AND AA AND CC AND 抄底;
錦鯉出水選股指標公式OK:=REF(CLOSE,1);魚:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100;RSI4:=SMA(魚,7,1);HH:=BARSLAST(魚<=15)<5;白綠線:=SMA(魚,7,1);錦鯉:=CROSS(魚,RSI4) AND 白綠線>15 AND HH;AA:=HHV(HIGH,25)-LLV(LOW,25);BB:=CLOSE-LLV(LOW,25);CC:=AA/EMA(BB,5);DD:=EMA(BB/AA*100,5);EE:=CLOSE-LLV(LOW,10);FF:=HHV(HIGH,25)-LLV(LOW,10);誘:=COUNT(CROSS(CC,DD),7)>0 AND REF(CC,2)<REF(CC,1) AND CC<REF(CC,1)AND COUNT(COUNT(CROSS(CC,DD),7)>0 AND REF(CC,2)<REF(CC,1)AND CC<REF(CC,1),5)=1 OR CROSS(EMA(EE/FF*4,4),0.3);WVAR1V:=REF(CLOSE,1);WVAR2V:=SMA(MAX(CLOSE-WVAR1V,0),7,1)/SMA(ABS(CLOSE-WVAR1V),7,1)*100;X1:=FILTER(REF(WVAR2V,1)<20 AND WVAR2V>REF(WVAR2V,1),5);BIAS1:=(C-MA(C,6))/MA(C,6)*100;BIAS2:=(C-MA(C,12))/MA(C,12)*100;BIAS3:=(C-MA(C,24))/MA(C,24)*100;BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;乖離:=MA(BIAS,3);X2:=CROSS(BIAS,乖離) AND 乖離<-9.5;餌:=X1 OR X2;VAR2V:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR3V:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR4V:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR5V:=(VAR2V+2*VAR3V+3*VAR4V)/7;VAR6V:=MA(VAR5V,1);撒:=VAR6V<=-8;誘餌:=誘 AND 餌 AND 撒;XG:錦鯉 AND 誘餌;
本底成立選股指標公式MACD:="MACD.MACD";BD:=BARSLAST(FILTERX(CROSS(0,MACD),BARSCOUNT(C)));BDTJ:=IF(MACD<0,FILTERX(MACD=LLV(MACD,BARSLAST(MACD>0)),BARSCOUNT(C)),DRAWNULL);TSBDTJ:=BARSLAST(BDTJ);本低:=IF(BD+1>=1,CONST(LLV(MACD,BD+1)),DRAWNULL);本低成立:CROSS(COUNT(CROSS(MACD>本低/2 AND MACD<0,0.5),TSBDTJ)=1,0.5) AND TSBDTJ>=0;
擒牛底選股指標公式S1:=IF(CODELIKE('300'),0,1);{通達信去掉*、S、ST}S2:=IF(NAMELIKE('S'),0,1);S3:=IF(NAMELIKE('*'),0,1);{通達信去掉停牌}S4:=DYNAINFO(17)>0;ST:=S1 AND S2 AND S3 AND S4;B:= C>REF(C,1);上線:=SMA(C,6.5,1);一號支撐線:=SMA(C,14.5,1);上線1:=SMA(C,3,1);一號支撐線1:=SMA(C,8,1);A7:=(2*C+H+L)/4;操作:=MA(A7,5);VAR1:=LLV(A7,21);CROSS(上線1,操作) AND 上線1<一號支撐線 AND 上線1<一號支撐線1 AND 上線1<上線 AND CLOSE>VAR1 AND B AND ST;
上方是我自己搭配的一套組合指標,最近用的還不錯。不知道大家感不感興趣,有喜歡的朋友可以直接轉發關注、下方評論區留言我直接給大家分享。今天就先到這裡祝大家週末愉快!!!
-
1 #
-
2 #
是我喜歡的指標謝謝老師分享
謝謝分享,需要指標