通达信【金钻擒妖】主副图指标 采用了强势股加速的思路编制 源码

{金钻擒妖主图源码如下}

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);



{金钻擒妖副图源码如下}

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);


未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图