通达信组合寻底指标(源码)

2014-12-22 22:28:00来源:本站整理浏览:816

线:=MA(VAR5B,3);
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((C- LC),0),5,1) / SMA(ABS((C-LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((H- LOW),ABS((H-REF(C,1)))),ABS((L- REF(C,1)))),10);
HD:=(H-REF(H,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD>0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD>0) AND (LD > HD)),LD,0),10);
PDI:=((DMP*100)/TR1);
MDI:=((DMM*100)/TR1);
ADX:=MA(((ABS((MDI-PDI))/(MDI+PDI)) * 100),5);
AV:=(RSI5 + ADX);
WR10:=((100 *(HHV(H,10)-C)) / (HHV(H,10) - LLV(L,10)));
NEW:=(RSI5 - WR10);
回调:=(AV + NEW);
GG2:=CROSS(回调,0);
KTB:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);
DTB:=SMA(KTB,3,1);
JTB:=3*KTB-2*DTB;
出击:=CROSS(CLOSE,REF(EMA(DMA((((HIGH+LOW)+(CLOSE*2))/4.15),0.9),3),1))AND JTB<55;
狙击:=CROSS(J,0) AND 线<=-7 AND GG2 AND 出击;
DRAWICON(狙击=1,9,28);
AAA:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
趋势:=IF(AAA>65,65,AAA),COLORYELLOW;
底部:=-21,COLORGREEN;
技术高位:=21,COLORWHITE;
顶区:=36,COLORGREEN;
技术低位:=-10,COLORWHITE;
牛熊分界:=0,COLORRED;
选股1:=CROSS(趋势,技术低位);
选股2:=CROSS(趋势,牛熊分界);
DRAWICON(选股1=1,11,24);
DRAWICON(选股2=1,13,13);
SM01:=MA((2*C+H+L)/4,5);
SM02:=SM01*(200-102)/100;
SM03:=(1-7/100)*DMA(C,ABS((2*C+H+L)/4-MA(C,20))/MA(C,20));
SM04:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
SM05:=3*SMA(SM04,3,1)-2*SMA(SMA(SM04,3,1),3,1);
SM06:=((H+L+C)/3-MA((H+L+C)/3,14))/(0.015*AVEDEV((H+L+C)/3,14));
SM07:=SM02<SM03&&SM05>REF(SM05,1)&&REF(SM05,1)<REF(SM05,2)&&SM06<-100&&SM06>REF(SM06,1);
STICKLINE(SM07,0,0.5,2,0),COLORYELLOW;
神秘买点:SM07,COLORRED,LINETHICK3;
LC20:=REF(CLOSE,1);
RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100;
底:CROSS(RSI20,11)*1;
DRAWICON(底=1,4,7);
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
加仓:IF(FILTER(YXF=1,5),1,0),STICK,COLORRED;
DRAWICON(加仓=1,6,23);
选股3:=COUNT(C/REF(C,1)<0.96,6)>=1 AND LAST(C<O,2,1) AND (REF(L,1)/REF(C,4)<0.85 OR
L/REF(C,3)<0.85) AND C>O;
DRAWICON(选股3=1,7,34);
MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA60:=MA(C,60);
CBFB:=MA(C,2);
JL:=IF(C>CBFB,V,0);
CL:=IF(C<CBFB,V,0);
JLH:=SUM(JL,4);
CLH:=SUM(CL,4);
LHB:=CLH/JLH;
TJ1:=IF(HHV(LHB,5)>4 AND CROSS(2,LHB) AND C>=O,1,0);
DRAWICON(TJ1=1,15,9);
VAR1P:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
VAR2P:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR3P:=(SMA(VAR2P,3,1)-18)*1.55;
VAR4P:=SMA(VAR3P,3,1);
VAR5P:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
VAR6P:=SMA(VAR5P,10,1);
VAR7P:=(EMA(SMA(VAR6P,8,1),34)-25)*2.6;
VAR8P:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VAR9P:=POW(MA(LOW,5),2)+MA(LOW,5);
VARAP:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARBP:=((VAR8P-LLV(VAR9P,64))/(HHV(VARAP,64)-LLV(VAR9P,64))*150+65-10)/2;
VARCP:=SMA(VARBP,3,1)*1.5-46;
VARDP:=SMA(VARCP,3,1);
VAREP:=3*VARCP-2*VARDP;
VARFP:=(VAR1P+VAR2P+VAR5P)/3;
VAR10P:=((VAR3P+VAR3P+VAR6P+VARCP)/4-15)*1.67;
VAR11P:=((VAR4P+VAR4P+VAR7P+VARDP)/4-15)*1.67;
VAR12P:=((VAR1P+VAR5P*2+VARFP+VAR10P+VAR11P+VARBP+VARCP+VARDP+VAREP)/10-15)*1.67;
VAR13P:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;
VAR14P:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92;
VAR15P:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93;
VAR16P:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94;
VAR17P:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95;
VAR18P:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91;
VAR19P:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96;
VAR1AP:=((VAR13P*8+VAR14P*8+VAR15P*8+VAR16P+VAR17P+VAR18P+VAR19P)/28-0.1)*185;
VAR1B:=SMA(VAR1AP,3,1);
VAR1C:=(SMA(VAR1B,8,1)-8)*1.18;
VARA1:=(CLOSE-LLV(LOW,60.13547854))/(HHV(HIGH,60.13547854)-LLV(LOW,60))*80;
VARB1:=SMA(VARA1,7,1);
VARC1:=SMA(VARB1,5,1);
英雄:=IF(CROSS(VARBP,VARCP) AND VARBP<20,100,0);
VAR2N:=LLV(LOW,3)<=LLV(LOW,60);
VAR3N:=C>O AND (C/O>1.03 OR C>1.03*REF(C,1));
绝地反击:IF(VAR2N AND VAR3N,30,0)COLOR00FF00;
VAR1A:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2A:=SMA(ABS(LOW-VAR1A),13,1)/SMA(MAX(LOW-VAR1A,0),10,1);
VAR3A:=EMA(VAR2A,10);
VAR4A:=LLV(LOW,33);
VAR5A:=EMA(IF(LOW<=VAR4A,VAR3A,0),3);
主力进场2:=(VAR5A>REF(VAR5A,1));
DRAWICON(主力进场2,30,1);
QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
QVAR1C:=SMA(QVAR1B,13,8);
QVAR1D:=SMA(QVAR1A,21,8);
机会来临:=SMA(QVAR1C,13,8);
AAS:=FILTER((COUNT((机会来临-QVAR1D<(-65)),3)=3),34);
DRAWICON(AAS,29,29);
DRAWICON( CROSS(CCI,-200),28,16);

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

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式