股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信慧眼识牛指标公式源码


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-4-18 07:31:21

{指标介绍:
1、如图所示,该指标分别从六个不同的角度为个股买卖点打分,以买点为例,符合条件的得一分,不符合条件得零分,卖点同样如此。
2、该指标的的六个条件是分别从短线、中线、长线、K线、量能以及乖离率六个方面为买卖点打分,可以说从这六个方面打分还是非常科学的。
3、卖点满分六分,买点满分也是六分,研判方法是买点得分减去卖点得分,分数越高,该股越具有投资价值,指标简单易理解。
4、当一只个股买点得分减去卖点得分为负数时,说明该股不能介入或者说该股处于持币阶段。
5、但一只个得分在0到3分时,可以继续跟踪,激进型投资者可以在3分的个股中适当介入。
6、对于稳健型投资者,一般个股得分在4分及以上(当然分数越高越好),才是我们重点关注的对象或者说可以结合其他条件在低点介入的标的。}

VAR1:=EMA(SLOPE(MA(C,2),21)*20+MA(C,2),55);
VAR2:=MA(VAR1,20);
VAR3:=IF(C>VAR1,C*0.98,L);
VAR4:=MA(VAR3,5);
VAR5:=MA(VAR4,5);
VAR6:=crOSS(C,VAR5) AND EXIST(CROSS(VAR1,C),5);
VAR7:=CROSS(C,VAR1);
VAR8:=CROSS(C,VAR2);
VAR9:=C>REF(C,1) AND C/REF(C,1)<1.031;
VAR10:=V>REF(V,1)*FROMOPEN/240;
VAR11:=C/VAR1<1.21;
VAR12:=VAR6+VAR7+VAR8+VAR9+VAR10+VAR11;
VAR13:=CROSS(VAR4,C);
VAR14:=CROSS(VAR1,C);
VAR15:=CROSS(VAR1,C);
VAR16:=C/REF(C,1)<0.98;
VAR17:=V<REF(V,1)*FROMOPEN/240;
VAR18:=C/VAR1>1.2;
VAR28:=VAR13+VAR14+VAR15+VAR16+VAR17+VAR18;
VAR29:=V/(REF(V,1)*FROMOPEN/240);
DRAwrECTREL(200,10,800,990,90);
DRAWRECTREL(500,100,501,990,60);
DRAWRECTREL(200,100,800,100,60);
DRAWRECTREL(200,200,800,200,60);
DRAWRECTREL(200,300,800,300,60);
DRAWRECTREL(200,400,800,400,60);
DRAWRECTREL(200,500,800,500,60);
DRAWRECTREL(200,600,800,600,60);
DRAWRECTREL(200,700,800,700,60);
DRAWRECTREL(200,800,800,800,60);
DRAWRECTREL(200,900,800,900,60);
DRAWTEXT_FIX(1,0.53,0.05,1,'慧 眼 识 牛'),COLORYELLOW;
DRAWTEXT_FIX(1,0.35,0.15,1,'买 入 条 件'),COLORYELLOW;
DRAWTEXT_FIX(1,0.65,0.15,1,'卖 出 理 由'),COLORYELLOW;
DRAWTEXT_FIX(1,0.29,0.25,1,'股价上穿短 B'),COLORYELLOW;
DRAWTEXT_FIX(1,0.29,0.35,1,'股价上穿中线'),COLORYELLOW;
DRAWTEXT_FIX(1,0.29,0.45,1,'股价上穿长线'),COLORYELLOW;
DRAWTEXT_FIX(1,0.317,0.55,1,'股价收阳且小于 3点'),COLORYELLOW;
DRAWTEXT_FIX(1,0.29,0.65,1,'量大于昨同期'),COLORYELLOW;
DRAWTEXT_FIX(1,0.297,0.75,1,'乖离率小于 1.2'),COLORYELLOW;
DRAWTEXT_FIX(1,0.27,0.95,1,'买入评分'),COLORYELLOW;
DRAWTEXT_FIX(1,0.585,0.25,1,'股价下穿短 A'),COLORGREEN;
DRAWTEXT_FIX(1,0.585,0.35,1,'股价下穿中线'),COLORGREEN;
DRAWTEXT_FIX(1,0.585,0.45,1,'股价下穿长线'),COLORGREEN;
DRAWTEXT_FIX(1,0.604,0.55,1,'股价收阴且小于-2'),COLORGREEN;
DRAWTEXT_FIX(1,0.585,0.65,1,'量小于昨同期'),COLORGREEN;
DRAWTEXT_FIX(1,0.592,0.75,1,'乖离率大于 1.2'),COLORGREEN;
DRAWTEXT_FIX(1,0.567,0.95,1,'卖出评分'),COLORGREEN;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.48,0.25,1,VAR6);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.48,0.35,1,VAR7);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.48,0.45,1,VAR8);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.48,0.55,1,VAR9);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.48,0.65,1,VAR10);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.48,0.75,1,VAR11);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.48,0.95,1,VAR12);
DRAWRECTREL(930,500,970,990,0);
DRAWRECTREL(930,CONST(990-VAR12*100),970,990,95);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.92,0.95,1,VAR12),COLORRED;
DRAWTEXT_FIX(1,0.98,0.75,1,'买入评分'),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.78,0.25,1,VAR13);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.78,0.35,1,VAR14);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.78,0.45,1,VAR15);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.78,0.55,1,VAR16);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.78,0.65,1,VAR17);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.78,0.75,1,VAR18);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.78,0.95,1,VAR28);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.32,0.65,1,VAR29),COLOR00FFFF;





回复

举报

QQ|

GMT+8, 2024-11-17 03:38

快速回复 返回顶部 返回列表