通达信【临门一脚+强者恒强】主副图指标 在起爆点选龙头 源码附图

{强势决策主图源码如下}

主力线:=(EMA(CLOSE,10)*7+EMA(CLOSE,20)*3)/10;
好股网:=主力线,COLORRED,LINETHICK2;
动能做多线:IF(C>好股网,好股网,DRAWNULL),COLORRED,LINETHICK2;
动能做空线:IF(C< 好股网,好股网,DRAWNULL),COLORGREEN,LINETHICK2;
ABC1:=COST(0.001);
ABC2:=COST(99.999001);
ABC3:=(ABC2-ABC1)/10;
ABC4:=(WINNER(ABC1+ABC3*3)-WINNER(ABC1))*100;
ABC5:=(WINNER(ABC1+ABC3*7)-WINNER(ABC1+ABC3*4))*100;
ABC6:=(WINNER(ABC2)-WINNER(ABC1+ABC3*7))*100;
ABC7:=ABC4< 50 AND ABC5< 50;
ABC8:=ABC4< 50 AND ABC6< 50;
ABC9:=ABC5< 50 AND ABC6< 50;
ABC10:=MAX(ABC4,ABC6)-MIN(ABC4,ABC6)< 20;
ABC11:=MAX(ABC4,ABC5)-MIN(ABC4,ABC5)< 20;
ABC12:=MAX(ABC6,ABC5)-MIN(ABC6,ABC5)< 20;
ABC13:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND NOT(CODELIKE(8091));
ABC14:=ABC7 AND ABC10 AND ABC13;
ABC15:=ABC7 AND ABC11 AND ABC13;
ABC16:=ABC7 AND ABC12 AND ABC13;
ABC17:=ABC8 AND ABC10 AND ABC13;
ABC18:=ABC8 AND ABC11 AND ABC13;
ABC19:=ABC8 AND ABC12 AND ABC13;
ABC20:=ABC9 AND ABC10 AND ABC13;
ABC21:=ABC9 AND ABC11 AND ABC13;
ABC22:=ABC9 AND ABC12 AND ABC13;
ABC23:=ABC14 OR ABC15 OR ABC16 OR ABC17 OR ABC18 OR ABC19 OR ABC20 OR ABC21 OR ABC22;
DRAWICON(BARSLAST(ABC23< 1),L,7);
STICKLINE(BARSLAST(ABC23< 1),OPEN,CLOSE,2,0),COLORYELLOW;
DRAWICON(BARSLAST(ABC23>=1),H,8);
DRAWTEXT(BARSLAST(ABC23< 1)=1 AND ABC23=1,L*0.98,2),COLORMAGENTA;
DRAWTEXT(BARSLAST(ABC23< 1)=2 AND ABC23=1,L*0.98,3),COLORYELLOW;
DRAWTEXT(BARSLAST(ABC23< 1)=3 AND ABC23=1,L*0.98,3),COLORYELLOW;
DRAWTEXT(BARSLAST(ABC23< 1)=4 AND ABC23=1,L*0.98,3),COLORYELLOW;
DRAWTEXT(BARSLAST(ABC23< 1)=5 AND ABC23=1,L*0.98,3),COLORYELLOW;
DRAWTEXT(BARSLAST(ABC23< 1)=6 AND ABC23=1,L*0.98,3),COLORYELLOW;
DRAWTEXT(BARSLAST(ABC23< 1)=7 AND ABC23=1,L*0.98,3),COLORYELLOW;
DRAWTEXT(BARSLAST(ABC23< 1)=8 AND ABC23=1,L*0.98,3),COLORYELLOW;
DRAWTEXT(BARSLAST(ABC23< 1)=9 AND ABC23=1,L*0.98,3),COLORYELLOW;
DRAWTEXT(BARSLAST(ABC23< 1)=10 AND ABC23=1,L*0.98,3),COLORYELLOW;

{强势决策副图源码如下}

ABC1:=COST(0.001);
ABC2:=COST(99.999001);
ABC3:=(ABC2-ABC1)/10;
ABC4:=(WINNER(ABC1+ABC3*3)-WINNER(ABC1))*100;
ABC5:=(WINNER(ABC1+ABC3*7)-WINNER(ABC1+ABC3*4))*100;
ABC6:=(WINNER(ABC2)-WINNER(ABC1+ABC3*7))*100;
ABC7:=ABC4< 50 AND ABC5< 50;
ABC8:=ABC4< 50 AND ABC6< 50;
ABC9:=ABC5< 50 AND ABC6< 50;
ABC10:=MAX(ABC4,ABC6)-MIN(ABC4,ABC6)< 20;
ABC11:=MAX(ABC4,ABC5)-MIN(ABC4,ABC5)< 20;
ABC12:=MAX(ABC6,ABC5)-MIN(ABC6,ABC5)< 20;
ABC13:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND NOT(CODELIKE(8091));
ABC14:=ABC7 AND ABC10 AND ABC13;
ABC15:=ABC7 AND ABC11 AND ABC13;
ABC16:=ABC7 AND ABC12 AND ABC13;
ABC17:=ABC8 AND ABC10 AND ABC13;
ABC18:=ABC8 AND ABC11 AND ABC13;
ABC19:=ABC8 AND ABC12 AND ABC13;
ABC20:=ABC9 AND ABC10 AND ABC13;
ABC21:=ABC9 AND ABC11 AND ABC13;
ABC22:=ABC9 AND ABC12 AND ABC13;
ABC23:=ABC14 OR ABC15 OR ABC16 OR ABC17 OR ABC18 OR ABC19 OR ABC20 OR ABC21 OR ABC22;
DRAWBAND(ABC23=1,RGB(255,0,0),ABC23< 1,RGB(0,100,0));
DRAWICON(BARSLAST(ABC23< 1),8,0);
DRAWTEXT(BARSLAST(ABC23< 1)=1 AND ABC23=1,3,'↙临门一脚')COLORMAGENTA;
STICKLINE(BARSLAST(ABC23< 1)=1 AND ABC23=1,3,0,1.6,0),COLORYELLOW;



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

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

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