通達信【金鉆擒妖】主/副圖/選股指標 源碼
今天事情較多,發(fā)布的晚了些,這里分享一套金鉆指標。
【金鉆擒妖】套裝指標包含1個主圖+1個副圖+1個選股,這套源碼采用了強勢股加速的思路編制而成;用于快速尋找到支撐較強的個骨信號;可以在集合競價期間進行選股/預(yù)警。指標作了些優(yōu)化,在此免費分享給更多有需求的股友參考。
以下舉例:
1、金鉆擒妖主圖指標:
STICKLINE((C-REF(C,1))/REF(C,1)>=0.099,O,C,2,0),COLORYELLOW;
操盤線:MA(C,5)DOTLINE;
趨勢線:MA(C,30)COLORMAGENTA ;
ABC1:=IF(NAMELIKE(1),1,0)=0;
ABC2:=IF(NAMELIKE(2),1,0)=0;
ABC3:=IF(NAMELIKE(3),1,0)=0;
ABC4:=IF(CODELIKE(4),1,0)=0;
ABC5:=IF(CODELIKE(5),1,0)=0;
ABC6:=IF(CODELIKE(6),1,0)=0;{微信公眾號:尊重市場}
ABC7:=ABC1 AND ABC2 AND ABC3 AND ABC5 AND ABC6;
ABC8:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
ABC9:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
ABC10:=SUM(ABC8,5);
ABC11:=SUM(ABC9,5);
ABC12:=IF(ABC10>ABC11,(ABC10-ABC11)/ABC10,IF(ABC10=ABC11,0,(ABC10-ABC11)/ABC11));
ABC13:=MA(ABC12,5);
ABC14:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
ABC15:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
ABC16:=SUM(ABC14,3);{微信公眾號:尊重市場}
ABC17:=SUM(ABC15,3);
ABC18:=IF(ABC16>ABC17,(ABC16-ABC17)/ABC16,IF(ABC16=ABC17,0,(ABC16-ABC17)/ABC17));
ABC19:=MA(ABC18,3);
ABC20:=HHV(CLOSE,2);
ABC21:=BARSLAST(ABC20<REF(ABC20,2));
ABC22:=IF(INBLOCK(1),0.2,IF(INBLOCK(2),0.2,IF(INBLOCK(3),0.05,0.1)));
ABC23:=CLOSE>=ZTPRICE(REF(CLOSE,1),ABC22) AND CLOSE=HIGH AND OPEN!=HIGH;
ABC24:=REF(BARSLASTCOUNT(ABC23),1);
ABC25:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100;
ABC26:=DYNAINFO(15)/OPEN/100;{微信公眾號:尊重市場}
ABC27:=IF(CAPITAL<100000,100000,CAPITAL);
ABC28:=ABC26/REF(MA(VOL,5),1)*240;
ABC29:=ABC25*ABC26/ABC27*100;
ABC30:=DYNAINFO(15)/OPEN/FINANCE(46)*100;
DRAWTEXT(RANGE(ABC25,4,9) AND ABC24=1 AND ABC28>20 AND ABC29>4 AND ABC30>1.5 AND ABC7 AND CLOSE<40,L*0.99,' ★金鉆擒妖'),COLORFF00FF;
DRAWICON(RANGE(ABC25,4,9) AND ABC24=1 AND ABC28>20 AND ABC29>4 AND ABC30>1.5 AND ABC7 AND CLOSE<40,L,25);
2、金鉆擒妖副圖指標:
ABC1:=IF(NAMELIKE(1),1,0)=0;
ABC2:=IF(NAMELIKE(2),1,0)=0;
ABC3:=IF(NAMELIKE(3),1,0)=0;
ABC4:=IF(CODELIKE(4),1,0)=0;
ABC5:=IF(CODELIKE(5),1,0)=0;
ABC6:=IF(CODELIKE(6),1,0)=0;{微信公眾號:尊重市場}
ABC7:=ABC1 AND ABC2 AND ABC3 AND ABC5 AND ABC6;
ABC8:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
ABC9:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
ABC10:=SUM(ABC8,5);
ABC11:=SUM(ABC9,5);
ABC12:=IF(ABC10>ABC11,(ABC10-ABC11)/ABC10,IF(ABC10=ABC11,0,(ABC10-ABC11)/ABC11));
ABC13:=MA(ABC12,5);
ABC14:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
ABC15:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
ABC16:=SUM(ABC14,3);{微信公眾號:尊重市場}
ABC17:=SUM(ABC15,3);
ABC18:=IF(ABC16>ABC17,(ABC16-ABC17)/ABC16,IF(ABC16=ABC17,0,(ABC16-ABC17)/ABC17));
ABC19:=MA(ABC18,3);
ABC20:=HHV(CLOSE,2);
ABC21:=BARSLAST(ABC20<REF(ABC20,2));
ABC22:=IF(INBLOCK(1),0.2,IF(INBLOCK(2),0.2,IF(INBLOCK(3),0.05,0.1)));
ABC23:=CLOSE>=ZTPRICE(REF(CLOSE,1),ABC22) AND CLOSE=HIGH AND OPEN!=HIGH;
ABC24:=REF(BARSLASTCOUNT(ABC23),1);
ABC25:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100;
ABC26:=DYNAINFO(15)/OPEN/100;{微信公眾號:尊重市場}
ABC27:=IF(CAPITAL<100000,100000,CAPITAL);
ABC28:=ABC26/REF(MA(VOL,5),1)*240;
ABC29:=ABC25*ABC26/ABC27*100;
ABC30:=DYNAINFO(15)/OPEN/FINANCE(46)*100;
金鉆擒妖:RANGE(ABC25,4,9) AND ABC24=1 AND ABC28>20 AND ABC29>4 AND ABC30>1.5 AND ABC7 AND CLOSE<40 COLORYELLOW LINETHICK2;
DRAWTEXT(金鉆擒妖,0.9,'★金鉆擒妖'),,COLORMAGENTA;
DRAWICON(金鉆擒妖,1,25);
3、金鉆擒妖選股指標:
ABC1:=IF(NAMELIKE(1),1,0)=0;
ABC2:=IF(NAMELIKE(2),1,0)=0;
ABC3:=IF(NAMELIKE(3),1,0)=0;
ABC4:=IF(CODELIKE(4),1,0)=0;
ABC5:=IF(CODELIKE(5),1,0)=0;