大家好,我是阿牛指股,今天給大家分享一款超全實(shí)用信號(hào)點(diǎn)超多的幅圖指標(biāo),其中有9個(gè)買(mǎi)入信號(hào),3個(gè)賣(mài)出信號(hào)!這12個(gè)信號(hào)點(diǎn)位均改成選股器,下方文章中有源碼,可以直接復(fù)制使用!大黑馬買(mǎi)入看漲大黑馬買(mǎi)入看漲“紅箭頭”信號(hào)選股{買(mǎi)入選股公式一:紅箭頭} QW1:=(HIGH+LOW+CLOSE*2)/4; QW3:=EMA(QW1,10); QW4:=STD(QW1,10); QW5:=(QW1-QW3)*100/QW4; QW6:=EMA(QW5,5); 漲:=EMA(QW6,10)+100/2-5; 跌:=EMA(漲,4); 多線:=IF(CROSS(漲,跌) AND 跌<-10,30,0); 紅箭頭:多線; 大黑馬買(mǎi)入看漲“買(mǎi)入”信號(hào)選股{買(mǎi)入選股公式二:買(mǎi)入} QW1:=(HIGH+LOW+CLOSE*2)/4; QW3:=EMA(QW1,10); QW4:=STD(QW1,10); QW5:=(QW1-QW3)*100/QW4; QW6:=EMA(QW5,5); 漲:=EMA(QW6,10)+100/2-5; 跌:=EMA(漲,4); 買(mǎi)入: CROSS(漲,跌) AND 跌<20 AND 跌>-10; 大黑馬買(mǎi)入看漲“看漲”信號(hào)選股{買(mǎi)入選股公式三:看漲} QW1:=(HIGH+LOW+CLOSE*2)/4; QW3:=EMA(QW1,10); QW4:=STD(QW1,10); QW5:=(QW1-QW3)*100/QW4; QW6:=EMA(QW5,5); 漲:=EMA(QW6,10)+100/2-5; 跌:=EMA(漲,4); 多線:=IF(CROSS(漲,跌) AND 跌<-10,30,0); 看漲: 多線>0; 大黑馬買(mǎi)入看漲“做底”信號(hào)選股{買(mǎi)入選股公式四:做底} GUP18:=HHV(HIGH,30); GUP19:=LLV(LOW,30); NL:=EMA((CLOSE-GUP19)/(GUP18-GUP19)*100,5)/8*10; 做底: CROSS(5,NL); 大黑馬買(mǎi)入看漲“大黑馬”信號(hào)選股{買(mǎi)入選股公式五:大黑馬} GUP55:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5); GUP56:=INDEXC; GUP57:=MA(GUP56,5); GUP58:=MA(GUP56,20); GUP5B:=GUP57>GUP56*1.03 AND GUP58>GUP56*1.13; GUP5D:=IF(FILTER(GUP55<6,5)=1,1,0); GUP5F:=GUP55<6 AND GUP5B; GUP61:=GUP5F AND GUP5D*80; GUP7C:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0); GUP7D:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100; GUP7E:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100; GUP7F:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100; GUP80:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5; GUP81:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5; GUP82:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5; GUP83:=(GUP7D+GUP7E+GUP7F+GUP80+GUP81+GUP82)/6; GUP84:=EMA(GUP83,3); GUP85:=ABS(GUP80-GUP82); GUP86:=(GUP83+GUP85)/2; GUP87:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50; GUP88:=GUP87+GUP86; GUP89:=IF(GUP7C>0 AND GUP88<0,200,0); GUP8A:=IF(GUP86<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 ANDVOL/CAPITAL*100<5,-50,0); GUP8B:=IF(GUP88<0 AND GUP8A=-50,100,0); GUP8D:=REF(CLOSE,2)*0.865; GUP8E:=REF(CLOSE,13)*0.772; GUP8F:=MIN(GUP8D,GUP8E); GUP90:=100*VOL/CAPITAL; GUP92:=IF((CLOSE-GUP8F)/CLOSE<0.03 AND SUM(GUP90,5)/5<1.8,1,0); GUP96:=(GUP89>0 AND GUP8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR GUP92>0) AND (GUP8A<0 OR GUP7C>0); GUP97:=GUP89>0 AND GUP8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR GUP92>0 ANDREF(CLOSE,1)/REF(CLOSE,2)>0.902; GUP98:=GUP96 OR GUP97; 大黑馬: GUP61 OR GUP98; 大黑馬買(mǎi)入看漲“滿倉(cāng)”信號(hào)選股{買(mǎi)入選股公式六:滿倉(cāng)} X:=C-REF(MA(C,20),11); LGL:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 AND C/REF(C,1)>0.905 AND C/REF(C,1)<1.05 ANDVOL/CAPITAL*100<5,50,0); WR1:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*X; WR2:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100; WR3:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*X; BIAS1:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5; BIAS2:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5; BIAS3:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5; S1:=(WR1+WR2+WR3+BIAS1+BIAS2+BIAS3)/6*X; S2:=EMA(S1,3); S3:=ABS(BIAS1-BIAS3); SX:=(S1+S3)/2; XC1:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50; CCC:=XC1+SX; ZJZ:=IF( LGL>0 AND CCC<0,200,0)*X; LXL:=IF(SX<0 AND C=LLV(C,5) AND C/REF(C,1)>0.905 AND C/REF(C,1)<1.05 AND VOL/CAPITAL*100<5,-50,0); C0:=REF(C,2)*0.865; C1:=REF(C,13)*0.772; BOT:=MIN(C0,C1); HSL:=100*VOL/CAPITAL*X; CXC:=IF((C-BOT)/C<3/100 AND SUM(HSL,5)/5<1.8,1,0); VMC:=IF(CXC>0 AND (LXL<0 OR LGL>0),10,0); 滿倉(cāng):=IF((VMC>0),120,0); 滿倉(cāng)XG: 滿倉(cāng)>0 AND REF(滿倉(cāng),1)=0; 大黑馬買(mǎi)入看漲“買(mǎi)3”信號(hào)選股{買(mǎi)入選股公式七:買(mǎi)3} XX2:=(MA(CLOSE,80)-MA(CLOSE,13)/3); SQX:=MA((CLOSE-XX2)/XX2,10)*0.01; 買(mǎi)3:=IF(CROSS(SQX,0) AND LOW/REF(HIGH,1)<1.012,60,0); 買(mǎi)3XG: 買(mǎi)3>0; 大黑馬買(mǎi)入看漲“穩(wěn)賺”信號(hào)選股{買(mǎi)入選股公式八:穩(wěn)賺} XX2:=(MA(CLOSE,80)-MA(CLOSE,13)/3); SQX:=MA((CLOSE-XX2)/XX2,10)*0.01; 穩(wěn)賺:=IF(COUNT(SQX>REF(SQX,1),3)=3 AND COUNT(SQX<0,10)=10 AND REF(SQX,3)=LLV(SQX,10),60,0); 穩(wěn)賺XG: 穩(wěn)賺>0; 大黑馬買(mǎi)入看漲“買(mǎi)4”信號(hào)選股{買(mǎi)入選股公式九:買(mǎi)4} XX2:=(MA(CLOSE,80)-MA(CLOSE,13)/3); SQX:=MA((CLOSE-XX2)/XX2,10)*0.01; 買(mǎi)4:=IF(REF(SQX,2)=LLV(SQX,20) AND REF(SQX,2)<0.071 AND REF(SQX,2)<REF(SQX,1) ANDNOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),60,0); 買(mǎi)4XG: 買(mǎi)4>0; 大黑馬買(mǎi)入看漲“綠箭頭”信號(hào)選股{賣(mài)出選股公式一:綠箭頭} QW1:=(HIGH+LOW+CLOSE*2)/4; QW3:=EMA(QW1,10); QW4:=STD(QW1,10); QW5:=(QW1-QW3)*100/QW4; QW6:=EMA(QW5,5); 漲:=EMA(QW6,10)+100/2-5; 跌:=EMA(漲,4); 綠箭頭: CROSS(跌,80); 大黑馬買(mǎi)入看漲“防空警報(bào)”信號(hào)選股{賣(mài)出選股公式二:防空警報(bào)} GUP44:=REF(CLOSE,1); GUP45:=SMA(MAX(CLOSE-GUP44,0),6,1)/SMA(ABS(CLOSE-GUP44),6,1)*100; 防空警報(bào): CROSS(84,GUP45); 大黑馬買(mǎi)入看漲“賣(mài)”信號(hào)選股{賣(mài)出選股公式三:賣(mài)} YY:=SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,18,1),12,1); YT:=SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,12,1); ST:=IF(CROSS(YT,YY),30,0); GUP5PT:=(HIGH+LOW+CLOSE)/3; GUP6PT:=(GUP5PT-MA(GUP5PT,14))/(0.015*AVEDEV(GUP5PT,14)); GUP7PT:=(GUP5PT-MA(GUP5PT,85))/(0.015*AVEDEV(GUP5PT,85)); SA:=IF(GUP7PT>=200 AND GUP6PT>=150,10,0); GUP3QQ:=REF(CLOSE,1); GUP4QQ:=SMA(MAX(CLOSE-GUP3QQ,0),6,1)/SMA(ABS(CLOSE-GUP3QQ),6,1)*100; SM:=IF(CROSS(80,GUP4QQ),100,0); 賣(mài)11:=IF((SM AND (SA OR ST)),120,0); 賣(mài): 賣(mài)11>0; |
|
來(lái)自: 蔣座 > 《指標(biāo)編寫(xiě)》