通达信1选股指标源码08

2016-03-26 22:36:00来源:本站整理浏览:203

{水手突破选股}
上趋势:=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);

[1] [2] [3]  下一页

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式