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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信1选股指标(03)


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

以下是通达信1选股指标(03)

{领头羊选股}
白色:=SMA(HIGH,21,2)*1.05,;
黄色:=SMA(LOW,21,2)*0.95;
粉色:=SMA(LOW,5,1);
绿色:=SMA(CLOSE,2,1),;
波段买入:=IF(CROSS(绿色,粉色),白色*1.05,粉色);
领头羊:=IF(CROSS(绿色,白色),白色*1.10,黄色);
领头羊>黄色 OR 波段买入>粉色
{ 绿线上穿紫线时,可作波段买入,绿线上穿白线时很可能是大牛股。
可作为预警选股公式}
{结合寻找领头羊指标使用};

======================================================

{猎庄}
VAR2:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
VAR3:=SMA(VAR2,20,1);
VAR4:=SMA(VAR3,15,1);
猎庄:=VAR3-VAR4;
多空分界:=1;
CROSS(猎庄,多空分界) AND 猎庄>=REF(MA(猎庄,多空分界),1);

======================================================

{中短波选股}
HZ:=EMA(CLOSE,13);
短波:=EMA(HZ,1);
中波:=EMA(HZ,26);
均线148天:=EMA(C,148);
成本:=SUM(AMOUNT,0)/SUM(VOL,0)/100;
HZ2:=EMA(HZ,8);
CROSS(短波,HZ2);
{结合中短波主图使用};

======================================================

{超跌买点}
A1:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*100;
A2:=A1>REF(A1,1);
A1<-0.18 AND A2;

======================================================

{缺口回补}
V1:=BARSLAST(L>REF(H,1) AND C/O>1.05);
L

======================================================

{天堂星踏金浪1}
VARC:=(2*CLOSE+HIGH+LOW)/4;
VARD:=LLV(LOW,34);
VARE:=HHV(HIGH,34);
VARF:=LLV(LOW,13);
VAR10:=HHV(HIGH,13);
VAR11:=EMA((VARC-VARF)/(VAR10-VARD)*100,5);
VAR12:=EMA((VARC-VARD)/(VARE-VARD)*100,8);
金浪:= VAR11;
AA:=EMA(VAR11,7);
海浪:= VAR12;
IF(CROSS(金浪,AA) AND AA<=25 ,1,0);

======================================================

{来抢钱吧}
VAR1:=88;
VAR2:=68;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1);
VAR6:=3*VAR4-2*VAR5;
VAR7:=SMA(CLOSE/HHV(HIGH,120),3,1)*100;
VAR7<68 AND BARSLAST(CROSS(VAR2,VAR7))>2 AND VAR5<30 AND CROSS(VAR6,VAR5);

======================================================

{起攀选股}
VAR6:=(2*C+H+L)/4;
VAR7:=LLV(L,27);
VAR8:=HHV(H,27);
攀登:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13)-50;
金山:=EMA(0.618*REF(攀登,1)+0.382*攀登,3);
起攀:CROSS(攀登,金山) AND C/REF(C,1)>1.02;
{根据起攀图指标改编,这是精简后的指标};

======================================================

{波段底部}
YTC1:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.02;
底部吸筹指标:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100*YTC1, ;
波段底部:IF(CROSS(底部吸筹指标,-24),0,15)*YTC1;

======================================================

{黑马起步}
A1:=VOL=HHV(VOL,120);
A2:=CLOSE/OPEN>1.05;
TJ:=A1 AND A2;
TJ AND (REF(BARSLAST(TJ),1)>80 OR BARSSINCE(TJ)=0);

======================================================

{黑马摇篮之大黑马}
SS1:=(LOW+HIGH+CLOSE*2)/4;
SS2:= MA(SS1,4);
SS3:=HHV(SS2,10);
SS4:=MA(SS3,3);
SS5:=1.25*SS4-0.25*SS3;
XKKJ:=IF(SS5>SS3,SS3,SS5);
FF1:=LLV(SS2,10);
FF2:=MA(FF1,3);
FF3:=1.25*FF2-0.25*FF1;
DKKJ:=IF(FF3
MA13:=MA(C,13);
ZDHM:=CROSS(C,DKKJ) AND CROSS(C,MA13) AND CROSS(C,XKKJ);
ZHM:=CROSS(C,MA13) AND CROSS(C,XKKJ);
大黑马:ZDHM OR ZHM;

======================================================

{黑马摇篮之小黑马}
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/211;
D2:=EMA(D1,2);
D3:=EMA(D2,2);
K1:=EMA(D3,2);
小黑马:CROSS(D1,K1);

======================================================

{短线套利选股}
MA6:=MA(C,6);
MA18:=MA(C,18);
买进价:=((C-REF(MA6,1))/6+MA6)*1.004;
白买进:=CROSS(C,买进价) AND 买进价>REF(买进价,1);
加码价:=((C-REF(MA18,1))/18+MA18)*1.004;
黄加码:=CROSS(C,加码价) AND 加码价>REF(加码价,1);
白买进 OR 黄加码;

======================================================

{两涨一缩}


A1:=MA(CLOSE,5);
A2:=MA(CLOSE,10);
A3:=MA(CLOSE,20);
A4:=MA(CLOSE,30);
A5:=COUNT(A1> A2 AND A2> A3 AND A3> A4,3)=3 AND CLOSE> OPEN;
A6:=COUNT(C> REF(C,1),2)=2;
A7:=COUNT(C> O,2)=2;
A8:=COUNT(VOL< REF(VOL,1),2)=2;
A5 AND A6 AND A7 AND A8;

======================================================

{大幅缩量 }


REF(C> O,1) AND VOL< REF(VOL,1) AND VOL/REF(VOL,1)< 40/100;

======================================================

{黑马绝技选股}
EMA13:=EMA(C,13);
EMA30:=EMA(C,30);
EMA60:=EMA(C,60);
EMA90:=EMA(C,90);
EMA120:=EMA(C,120);
EMA250:=EMA(C,250);
F1:=EMA30-EMA60<130/1000 AND EMA30-EMA90<230/1000 AND EMA30-EMA120<330/1000;
F2:=EMA60-EMA30<130/1000 AND EMA60-EMA90<230/1000 AND EMA60-EMA120<330/1000;
F3:=EMA90-EMA30<130/1000 AND EMA90-EMA60<230/1000 AND EMA90-EMA120<330/1000;
F4:=EMA120-EMA30<130/1000 AND EMA120-EMA60<230/1000 AND EMA120-EMA90<330/1000;
F5:=EMA30-EMA60<100/1000 AND EMA30-EMA90<200/1000;
FF1:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA30,EMA60);
FF2:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA(C,13),EMA30);
FF3:=F5 AND C>EMA250 AND CROSS(EMA30,EMA60);
G1:=EMA60-EMA90<220/1000 AND EMA60-EMA120<320/1000 AND EMA60-EMA250<420/1000;
G2:=EMA90-EMA30<220/1000 AND EMA90-EMA60<320/1000 AND EMA90-EMA250<420/1000;
G3:=EMA120-EMA60<220/1000 AND EMA120-EMA90<320/1000 AND EMA120-EMA250<420/1000;
G4:=EMA250-EMA60<220/1000 AND EMA250-EMA90<320/1000 AND EMA250-EMA120<420/1000;
GG1:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA13,EMA30);
GG2:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA30,EMA60);
FF1 OR FF2 OR FF3 OR GG1 OR GG2;

======================================================

{信号共振}

黑马一:=((((VOL/120)>(MA(VOL,5)/120)) AND (CLOSE>(OPEN*(1+(4.8/100))))) AND (CLOSE<(MA(CLOSE,30)*1.6)));
VAR1:=((MA(VOL,5)/120) AND (CLOSE>(REF(CLOSE,1)*1)));
VAR2:=((((((CLOSE/REF(CLOSE,1))>=1.05) AND (((VOL/CAPITAL)*100)<10)) AND (CLOSE<18)) AND ((HIGH/CLOSE)<1.01)) AND (VAR1>0));
VAR3:=(((CLOSE-REF(CLOSE,1))/REF(CLOSE,1))*100);
VAR4:=((EMA(CLOSE,12)-EMA(CLOSE,26))*100);
FNZH:=((VAR4<(0-50)) AND (VAR3>7));
黑马二:=((VAR2>9) OR FNZH);
AR1:=(((CLOSE AND (MA(VOL,5)/120)) AND (CLOSE>(REF(CLOSE,1)*1))) AND CLOSE);
VARR:=((((((CLOSE/REF(CLOSE,1))>1.05) AND (((VOL/CAPITAL)*100)<10)) AND (CLOSE<17)) AND ((HIGH/CLOSE)<1.01)) AND (VAR1>0));
黑马三:=(VARR>90);
黑马一 AND 黑马二 AND 黑马三;

======================================================

{周线寻马}
VV1:=EMA(C,35)>EMA(C,70) AND EMA(C,35)>EMA(C,170) AND EMA(C,170)>REF (EMA(C,170),1);
VV2:=VV1 AND CROSS(EMA(C,70),EMA(C,170));
VV3:=EMA(C,35)>EMA(C,170) AND EMA(C,70)>EMA(C,170) AND EMA(C,170)>REF (EMA(C,170),1);
VV4:=VV3 AND CROSS(EMA(C,35),EMA(C,70));
VV2 OR VV4;

======================================================

{突破指标.}

W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
W4 AND COUNT(W4,5)=1;

======================================================

{粘与发选股}

主线:=EMA(EMA(C,1),5);
本:=EMA(HHV(主线,5),1);
急:=EMA(HHV(本,21),1);
稳:=EMA(HHV(急,21),2);
投:=EMA(HHV(稳,21),3);
散:=EMA(HHV(投,21),4);
集:=EMA(HHV(散,21),5);
马:=EMA(HHV(集,21),6);
V0:=急>稳 AND 稳>投 AND 投>散 AND 散>集;
V1:=CROSS(C,马) AND CROSS(C,集) AND CROSS(C,散) AND CROSS(C,投) AND CROSS(C,稳) AND CROSS(C,急);
V2:=V0 AND CROSS(C,集) AND CROSS(C,散) AND CROSS(C,投) AND CROSS(C,稳) AND CROSS(C,急);
V3:=CROSS(散,马) OR CROSS(散,集);
V1 OR V2 OR V3;



回复

举报

QQ|

GMT+8, 2024-11-18 08:52

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