通达信1选股指标源码08

{水手突破选股}
上趋势:=MA(LOW,20)*1.2;
次上趋势:=MA(LOW,20)*1.1;
次下趋势:=MA(HIGH,20)*0.9;
下趋势:=MA(HIGH,20)*0.8;
ZD:=(C-REF(C,1))/REF(C,1)*100;
HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));
趋势强度:=IF(C>次上趋势,IF(C>上趋势,4,3),IF(C>次下趋势 AND C<次上趋势,2,IF(C<下趋势,0,1)));
条件:REF(趋势强度,1)=2 AND (趋势强度=3 OR 趋势强度=4);
 

 

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

{海洋寻中底}
P1:=5;
P2:=4;

SSRCJL:=EMA(VOL,13);
SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=((SSRCJE / SSRCJL) / 100);
SSRGL:=(((CLOSE - SSRCBJX) / SSRCBJX) * 100);
中底:SSRGL<(0-10);
 

 

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

{海洋绝对底}
P1:=5;
P2:=4;

SSRCJL:=EMA(VOL,13);
SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=((SSRCJE / SSRCJL) / 100);
SSRGL:=(((CLOSE - SSRCBJX) / SSRCBJX) * 100);
绝对底:SSRGL<(0-18);
 

 

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

{海洋寻短底}
P1:=5;
P2:=4;

SSRCJL:=EMA(VOL,13);
SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=((SSRCJE / SSRCJL) / 100);
SSRGL:=(((CLOSE - SSRCBJX) / SSRCBJX) * 100);
短底:SSRGL<(0-6);
 

 

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

{海洋寻大底}
P1:=5;
P2:=4;

SSRCJL:=EMA(VOL,13);
SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=((SSRCJE / SSRCJL) / 100);
SSRGL:=(((CLOSE - SSRCBJX) / SSRCBJX) * 100);
大底:SSRGL<(0-14);

 

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

{银边选股}
TJ_5:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
TJ_10:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
TJ_20:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
TJ_30:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));

(TJ_5=100 AND REF(TJ_5,2)=100 AND REF(TJ_5,1)=100 AND TJ_10=100 AND TJ_20=100 AND TJ_30=100 AND REF(TJ_10,2)<100 AND REF(TJ_20,2)<100 AND REF(TJ_30,2)<100) OR (TJ_5=100 AND REF(TJ_5,3)=100 AND REF(TJ_5,2)=100 AND REF(TJ_5,1)=100 AND TJ_10=100 AND TJ_20=100 AND TJ_30=100 AND REF(TJ_10,3)<100 AND REF(TJ_20,3)<100 AND REF(TJ_30,3)<100);
 

 

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

{超短线}
DYNAINFO(14)>-0.02 AND CAPITAL<5000000 AND
 DYNAINFO(26)/DYNAINFO(32)>2 AND
 DYNAINFO(27)/DYNAINFO(33)>2 AND
 DYNAINFO(41)/DYNAINFO(43)>2 AND
 DYNAINFO(48)/DYNAINFO(50)>2 AND
 DYNAINFO(26)>1000 AND
 DYNAINFO(27)>1000 AND
 DYNAINFO(41)>1000 AND DYNAINFO(48)>1000;

 

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

{黄金选股}
GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A:=BARSLAST(CROSS(GJTJ4,GJTJ1))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;
B:=BARSLAST(CROSS(GJTJ4,GJTJ2));
D:=GJTJ3
E:=BARSLAST(CROSS(GJTJ4,GJTJ3))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;
F:=GJTJ2
B1:=A>0 AND REF(A,1)=0 AND REF(A,2)>0;
ENTERLONG:A AND B AND D AND E AND F;
 

 

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

{铂金选股}
GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A:=BARSLAST(CROSS(50,GJTJ1))<3 AND BARSLAST(CROSS(GJTJ1,50))<3;
B:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4;
ENTERLONG:A AND B;
 

 

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

{钻石选股}
GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A:=BARSLAST(CROSS(30,GJTJ1))<2 AND BARSLAST(CROSS(GJTJ1,50))<2;
B:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4;
E:=GJTJ1>60 AND GJTJ4>70;
ENTERLONG:A AND B AND E;
 

 

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

{中线主图选股}
A1:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);
A4:=EMA(A1,5);
A5:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA  :=EMA(DIFF,9);
基础:=(DIFF<-0.1 AND DIFF>DEA);
中线:CROSS(A1,A4)AND (A5-A4)>40 AND 基础;
 

 

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

{小密期指选股}
SRSI:=(60.21)/100,COLORFF00FF;
WR:=(HHV(HIGH,18)-CLOSE)/(HHV(HIGH,18)-LLV(LOW,18)),COLORFFFFFF; MTM:=C-REF(C,1);
势:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6),COLORWHITE;
财:=MA(势,5),COLORYELLOW ; 

XG:CROSS(势,财);

 

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

{叶烨选股}
VAR1:=1992231;
VAR2:=IF(DATE<=VAR1,1,0);
VAR3:=1/WINNER(CLOSE);
VAR4:=MA(CLOSE,13);
VAR5:=100-ABS((CLOSE-VAR4)/VAR4*100);
VAR6:=LLV(LOW,75);
VAR7:=HHV(HIGH,75);
VAR8:=(VAR7-VAR6)/100;
VAR9:=SMA((CLOSE-VAR6)/VAR8,20,1);
VARA:=SMA((OPEN-VAR6)/VAR8,20,1);
VARB:=3*VAR9-2*SMA(VAR9,15,1);
VARC:=3*VARA-2*SMA(VARA,15,1);
VARD:=100-VARC;
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR11:=EMA(VAR10,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR17:=BARSCOUNT(CLOSE);
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR19:=(-200)*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<55 AND VAR17>50;
明天低买CGL90%:= IF(CROSS(VAR20,0.5),8,0)*VAR2,COLOR00FFFF ,LINETHICK2;
AA:=LLV(LOW,34);
BB:=HHV(HIGH,30);
DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
绝谷:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);
买入成功率80%:=IF(CROSS(绝谷,90) AND (DD<40),8,0),COLORFFFF00;
XG:明天低买CGL90% OR 买入成功率80%;
 

 

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

{优选}
VAR1:=100*(C-LLV(L,4))/(HHV(C,4)-LLV(L,4));
优选:IF(BARSLAST(CROSS(38.2,VAR1))<3 ,10,0);

 

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

{天堂得筹码流}
筹码比例:=(WINNER(C)-WINNER(LLV(L,0)))/WINNER(HHV(H,0))*100;
AA:=EMA(EMA(筹码比例,3),3);
BB:=EMA(AA,3);
CC:=EMA(BB,4);
DD:=EMA(CC,5);
EE:=EMA(DD,6);
FF:=EMA(EE,7);
GG:=EMA(FF,8);
HH:=EMA(GG,9);
II:=REF(AA,1)
XG:CROSS(AA,BB) AND II  AND CC<50;
 

 

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

{铜板保证}
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
SJ:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
SD:=MA(SJ,2);
XG:=SJ>0 AND SD>0;

DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA  := EMA(DIFF,9);
XG1:=CROSS(DIFF,DEA);


XG2:=VOL/REF(VOL,1)>2;

选股:XG AND XG1 AND XG2;

 

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

{大单选股}
 {当日单笔金额大于100万元或
单笔大于500手且金额大于70万元的买入卖出大单之和跟流通总股本大于等于8%}
P1:=DYNAINFO(9)*C*100>1000000 OR DYNAINFO(9)>500;
P2:=SUM(DYNAINFO(9)*C*100>700000,1)/(CAPITAL*100*C);
{前一日单笔金额大于100万元或
单笔大于500手且金额大于70万元的买入卖出大单之和跟流通总股本小于等于4%}
P3:=P1 OR P2>=0.08;
P4:=REF(P1,1) OR REF(P2,1)<=0.04;
DD:P1 OR P2 OR P3 OR P4;

 

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

{短买奇准}
你:=MA(CLOSE,1);
老:=(LOW+HIGH+CLOSE)/3;
板:= MA(老,5);
好:= HHV(板,10);
急卖奇准:=IF(HHV((你<好),5),100,50),COLORBLUE;
短卖奇准:=IF(HHV((你<好),10),100,50),COLORGREEN;

老板:= MA(老,5);
买卖:=LLV(老板,10);
急买奇准:=IF(LLV((你<买卖),5),50,0),COLORRED;
短买奇准:=IF(LLV((你<买卖),10),50,0),COLORWHITE;

TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);
神偷线:=(((DMP ) * 100) / TR);
辅助线:=((DMM * 100) / TR);
动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));
ADXR:=((动向趋势线 + REF(动向趋势线,3)) / 2);
VAR1:=MA(LOW,1);
VAR2:=MA(HIGH,2);
VAR3:=MA(CLOSE,2);
VAR7:=REF(VAR3,1);
【强弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100);
没神的只有不错:(动向趋势线 > 88) AND (神偷线 < 5.8);
 

 

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

{筹码选股2}
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
K:= EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,8),COLORYELLOW ;
D:= EMA(0.667*REF(K,1)+0.333*K,2),COLORWHITE;
VAR3:=LLV(LOW,55);
VAR4:=HHV(HIGH,34);
VAR5:=EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,3);
VAR6:=(K+VAR5)/2;
VAR7:=EMA(0.667*REF(VAR5,1)+0.333*K,2);
VAR8:=EMA(VAR6,5);
VAR9:=EMA(0.667*REF(VAR8,1)+0.333*VAR8,2);
A:=CROSS(K,D);
B:=CROSS(K,VAR9);
P:=CROSS(D,VAR9);
E:=A AND B AND P;
E1:=REF(A,1) AND B AND P;
E2:=REF(A,2) AND B AND P;
E3:=REF(A,1) AND REF(B,1) AND P;
E4:=REF(A,2) AND REF(B,1) AND P;
E5:=REF(A,2) AND REF(B,2) AND P;
XG:E OR E1 OR E2 OR E3 OR E4 OR E5;
 

 

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

{筹码空间选股}
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
K:= EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,8),COLORYELLOW ;
D:= EMA(0.667*REF(K,1)+0.333*K,2),COLORWHITE;
VAR3:=LLV(LOW,55);
VAR4:=HHV(HIGH,34);
VAR5:=EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,3);
VAR6:=(K+VAR5)/2;
VAR7:=EMA(0.667*REF(VAR5,1)+0.333*K,2);
VAR8:=EMA(VAR6,5);
VAR9:=EMA(0.667*REF(VAR8,1)+0.333*VAR8,2);
A:CROSS(K,D);

 

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

 

★★ 含DATA等句需作修改 ★★



上一篇:通达信1选股指标(01)    下一篇:通达信大盘风控指标副图不是一般的准



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

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

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