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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 会用的是宝贝不会用的是草根.发一个自用选股指标


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

以下是会用的是宝贝不会用的是草根.发一个自用选股指标

会用的是宝贝。不会用的是草根.发一个自用选股指标.

下面是预警选股公式
过滤:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST')) AND IF(CODELIKE('300'),0,1) AND C<16.90

AND CAPITAL<12000000 AND DYNAINFO(14)*100>1.65 AND VOL*100/CAPITAL>1.30;

赚钱钱:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-

3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);

启动线:=27.72,LINETHICK2;

买进:=CROSS(赚钱钱,启动线);

涨幅大于6%:=COUNT(C/REF(C,1)>1.06,20)>=1;

ZTTJ:=(C-REF(C,1))*100/REF(C,1)<=-9.5;

出现跌停:= COUNT(ZTTJ,15)>=1;

会用是宝贝:买进=1 && 涨幅大于6% && 出现跌停 && 过滤;




DRAWGBK(O>C,RGB(40,0,40),RGB(0,0,120),0,'01',0),LINETHICK2;

VAR21:4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-

3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1),LINETHICK2;

VAR2:100,LINETHICK2;

VAR22:8,LINETHICK2;

VAR23:27.72,LINETHICK2;

QQ:CROSS(VAR21,VAR22);

DRAWTEXT(QQ,L*0.98,'买进!'),COLOR0099FF,LINETHICK2;

DRAWTEXT(CROSS(VAR21,VAR22),-0.13*0.98,'↖买 '),COLORYELLOW ;

DRAWICON(CROSS(VAR21,VAR22),0.35,7);

STICKLINE(CROSS(VAR21,VAR22),0.1,VAR22,2,0),COLOR0080FF;

STICKLINE(CROSS(VAR21,VAR23),0.1,27.72,2,0),COLORRED;



主图中:


DRAWGBK(O>C,RGB(40,0,40),RGB(0,0,120),0,'01',0),LINETHICK2;

AAA:=(3*C+H+L+O)/6;

VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;

VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;

VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;

VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;

VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;

VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;

DRAWBAND(VAR1,RGB(155,50,50),VAR6,RGB(250,250,0));

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

短线:VAR1,COLORWHITE,LINETHICK2;

中线:VAR6,COLORYELLOW,LINETHICK2;

MA20:MA(C,20)LINETHICK3;

VAR21:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);

VAR22:=27.72;

QQ:CROSS(VAR21,VAR22),NODRAW;

DRAWTEXT(QQ,L*0.98,'买进!'),COLOR0099FF;






回复

举报

QQ|

GMT+8, 2024-11-18 12:18

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