分享

精选【六脉神剑】3.0版副图选股

 通达指标公式 2024-04-15 发布于江苏

提醒:本指标适用于“通达信软件“,文中测试指标截图为电脑版软件截图,能否支持手机请复制源码新建指标测试。本文种指标公式源码仅供学习交流,请勿用于股票交易。所有内容仅供学习,不保证任何效果,不作任何投资建议股市有风险,入市谨慎

【六脉神剑】:副图选股指标

通达信六脉神剑多指标共振是一个综合运用多个指标来判断股票走势和投资机会的方法。(指标仅供学习参考)

  

  

  

  

  

副图指标源码 {直接用tn6导入---查看指标 【六脉神剑全套】}

DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA:=EMA(DIFF,5);
DRAWICON(DIFF>DEA,1,1);
DRAWICON(DIFF<DEA,1,2);
DRAWTEXT(ISLASTBAR=1,1,'.MACD'),COLORFFFFFF;
ABC1:=DIFF>DEA;
股市客栈1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:=SMA(股市客栈1,3,1);
D:=SMA(K,3,1);
DRAWICON(K>D,2,1);
DRAWICON(K<D,2,2);
DRAWTEXT(ISLASTBAR=1,2,'.KDJ'),COLORFFFFFF;
ABC2:=K>D;
GSKZZB:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-GSKZZB,0),5,1))/(SMA(ABS(CLOSE-GSKZZB),5,1))*100;
RSI2:=(SMA(MAX(CLOSE-GSKZZB,0),13,1))/(SMA(ABS(CLOSE-GSKZZB),13,1))*100;
DRAWICON(RSI1>RSI2,3,1);
DRAWICON(RSI1<RSI2,3,2);
DRAWTEXT(ISLASTBAR=1,3,'.RSI'),COLORFFFFFF;
ABC3:=RSI1>RSI2;
股市客栈:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR1:=SMA(股市客栈,3,1);
LWR2:=SMA(LWR1,3,1);
DRAWICON(LWR1>LWR2,4,1);
DRAWICON(LWR1<LWR2,4,2);
DRAWTEXT(ISLASTBAR=1,4,'.LWR'),COLORFFFFFF;
ABC4:=LWR1>LWR2;
BBI:=(MA(CLOSE,3)+MA(CLOSE,5)+MA(CLOSE,8)+MA(CLOSE,13))/4;
DRAWICON(CLOSE>BBI,5,1);
DRAWICON(CLOSE<BBI,5,2);
DRAWTEXT(ISLASTBAR=1,5,'.BBI'),COLORFFFFFF;
ABC10:=7;
ABC5:=CLOSE>BBI;
GSK:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(GSK,5),3)/EMA(EMA(ABS(GSK),5),3);
GSKZ:=100*EMA(EMA(GSK,13),8)/EMA(EMA(ABS(GSK),13),8);
DRAWICON(MMS>GSKZ,6,1);
DRAWICON(MMS<GSKZ,6,2);
DRAWTEXT(ISLASTBAR=1,6,'.ZLMM'),COLORFFFFFF;
ABC6:=MMS>GSKZ;
买入:IF(ABC1 AND ABC2 AND ABC3 AND ABC4 ANDABC5 AND ABC6=1 
AND REF(ABC1 AND ABC2 AND ABC3 AND ABC4 ANDABC5 AND ABC6,1)=0,6,0),COLORYELLOW,LINETHICK2;
持有:IF(ABC1 AND ABC2 AND ABC3 AND ABC4 ANDABC5 AND ABC6,6,0),COLORMAGENTA,LINETHICK2;
共振:=ABC1 AND ABC2 AND ABC3 AND ABC4 ANDABC5 AND ABC6 ;
STICKLINE(共振,0,6,0.6,1),COLORMAGENTA;
STICKLINE(买入,0,6,0.6,0),COLORYELLOW;
DRAWICON(DIFF>DEA,1,1);
DRAWICON(DIFF<DEA,1,2);
DRAWICON(K>D,2,1);
DRAWICON(K<D,2,2);
DRAWICON(RSI1>RSI2,3,1);
DRAWICON(RSI1<RSI2,3,2);
DRAWICON(LWR1>LWR2,4,1);
DRAWICON(LWR1<LWR2,4,2);
DRAWICON(CLOSE>BBI,5,1);
DRAWICON(CLOSE<BBI,5,2);
DRAWICON(MMS>GSKZ,6,1);
DRAWICON(MMS<GSKZ,6,2);
DRAWICON(买入,6.6,9);

公:DRAWNULL,COLORCCCCCC;

众:DRAWNULL,COLORCCCCCC;

号:DRAWNULL,COLORCCCCCC;

指标公式合集:DRAWNULL, COLORFF00FF;


选股指标源码

DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);

DEA:=EMA(DIFF,5);

ABC1:=DIFF>DEA;

股市客栈1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;

K:=SMA(股市客栈1,3,1);

D:=SMA(K,3,1);

ABC2:=K>D;

股市客栈:=REF(CLOSE,1);

RSI1:=(SMA(MAX(CLOSE-股市客栈,0),5,1))/(SMA(ABS(CLOSE-股市客栈),5,1))*100;

RSI2:=(SMA(MAX(CLOSE-股市客栈,0),13,1))/(SMA(ABS(CLOSE-股市客栈),13,1))*100;

ABC3:=RSI1>RSI2;

GSKZZB:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;

LWR1:=SMA(GSKZZB,3,1);

LWR2:=SMA(LWR1,3,1);

ABC4:=LWR1>LWR2;

BBI:=(MA(CLOSE,3)+MA(CLOSE,5)+MA(CLOSE,8)+MA(CLOSE,13))/4;

ABC10:=7;

去新三板:=NOT(CODELIKE('4'));

去科创板:=NOT(CODELIKE('688'));

去ST:=IF(NAMELIKE('S'),0,1);

去星星:=IF(NAMELIKE('*'),0,1);

去北交:=NOT(CODELIKE('8'));

条件限定:=去新三板 AND 去ST AND 去科创板 AND 去星星AND 去北交;

ABC5:=CLOSE>BBI;

GSK:=CLOSE-REF(CLOSE,1);

MMS:=100*EMA(EMA(GSK,5),3)/EMA(EMA(ABS(GSK),5),3);

GSKZ:=100*EMA(EMA(GSK,13),8)/EMA(EMA(ABS(GSK),13),8);

ABC6:=MMS>GSKZ;

六脉共振:IF(ABC1 AND ABC2 AND ABC3 AND ABC4 ANDABC5 AND ABC6=1

AND REF(ABC1 AND ABC2 AND ABC3 AND ABC4 ANDABC5 AND ABC6,1)=0,6,0) AND 条件限定;

{直接用tn6导入---查看指标 【六脉神剑全套】}

本文中分享的指标公式源码都是测试截图,文章种指标源码复制--到通达信软件新建指标使用。复制源码注意复制完整,主图副图选股分开复制新建---

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多