通达信抓主升浪 波段金指副图指标(源码 附图)

2017-06-12 11:23:00来源:本站整理浏览:909

MA10:=MA(CLOSE,10),COLORYELLOW,LINETHICK0;

MA54:=MA(CLOSE,54),COLORFFCCCC,LINETHICK0;

PL1:=(((CLOSE - MA54) / MA54) < 0.1);PL2:=(((CLOSE - MA10) / MA10) < 0.3);

偏离率:=(((PL1 = 1) AND (PL2 = 1)) * 0.2);

平台突破:=((((偏离率 = 0) AND (REF(偏离率,1) = 0.2)) AND (REF((COUNT((偏离率 = 0.2),10) = 10),1) = 1)) * 1);

突破:IF(平台突破,1,0),STICK;

DRAWTEXT(突破,0.95,' 突破'),COLOR80FFFF;

EMA13:=EMA(C,13),COLORWHITE;

EMA21:=EMA(C,21),COLORYELLOW;

N1:=3;N2:=5;N3:=9;N4:=13;N5:=21;N6:=34;

DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4);

DEA:=EMA(DIFF,N2);

A1:=DIFF>DEA;

RSV1:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;

K0:=SMA(RSV1,N1,1);

D0:=SMA(K0,N1,1);

A2:=K0>D0;

LC0:=REF(CLOSE,1);

RSI1:=(SMA(MAX(CLOSE-LC0,0),N2,1))/(SMA(ABS(CLOSE-LC0),N2,1))*100;

RSI2:=(SMA(MAX(CLOSE-LC0,0),N4,1))/(SMA(ABS(CLOSE-LC0),N4,1))*100;

A3:=RSI1>RSI2;

RSV0:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100;

LWR1:=SMA(RSV0,N1,1);

LWR2:=SMA(LWR1,N1,1);

A4:=LWR1>LWR2;

BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;

A5:=CLOSE>BBI;

MTM:=CLOSE-REF(CLOSE,1);

MMS:=100*EMA(EMA(MTM,N2),N1)/EMA(EMA(ABS(MTM),N2),N1);

MMM:=100*EMA(EMA(MTM,N4),N3)/EMA(EMA(ABS(MTM),N4),N3);

A6:=MMS>MMM;

BIAS:=(C-MA(C,N2))/MA(C,N2);

DIF:=(BIAS-REF(BIAS,16));

DBCD:=SMA(DIF,76,1);

MM1:=MA(DBCD,5);

A7:=DBCD>MM1;

持股:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE

-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK0,COLORRED;

支撑:=LLV(持股,3),LINETHICK0,COLOR00FFFF;

下跌:=MA(持股,12),COLOR6B8E23,LINETHICK0;

转向:=CROSS(持股,下跌){ AND 下跌<30};

MA1:=MA(持股,5);

向下:=CROSS(MA1,持股) AND MA1>80;

A8:=持股>下跌;

MT:=C-REF(C,1);

ZLGJ:=100*EMA(EMA(MT,N3),N3)/EMA(EMA(ABS(MT),N3),N3);

MAZL:=MA(ZLGJ,5);

A9:=ZLGJ>MAZL;

PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);

JJ:=REF(EMA(PJJ,3),1);

QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

XVL:=IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF

(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2));

HSL:=(XVL/20)/1.15;

攻击流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));

GJJ:=EMA(攻击流量,8);

LLJX:=EMA(攻击流量,3);

资金流量:=LLJX,LINETHICK0,COLOR0000FF;

A10:=资金流量>0;

指导线:=(A1+A2+A3+A4+A5+A6+A7+A8+A9+A10),LINETHICK0,COLORFFFF00;

跟庄操作:IF(指导线 >6 ,2.38,1),LINETHICK1,COLOR118DFD;

倍量柱:(VOL/REF(VOL,1)>2 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>2),COLORA4A4FF,STICK;

DRAWTEXT(倍量柱,0.55,' BL'),COLORA4A4FF;

地量柱:LLV(VOL,100)=VOL,STICK,COLORFFB76F;

DRAWTEXT(地量柱,0.5,' DL'),COLOR00FF00;

倍缩量:VOL/REF(VOL,1)<0.5,STICK,COLOR00FF00;

DRAWTEXT(倍缩量,0.2,' SL'),COLOR00FF00;

DRAWICON(倍缩量>0,倍缩量,2);

价涨量缩:COUNT(C>REF(C,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2,STICK,COLORGREEN;

放量柱:IF(LOW>REF(HIGH,1) AND COUNT(OPEN<CLOSE,1),0.5,0),STICK,COLORFF2693;

DRAWTEXT(放量柱,0.2,' FL'),COLORFF2693;

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

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

HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O;

黄金柱:=FILTER(HJZ3,5),STICK,COLORYELLOW;

综价:=(3*C+O)/4;

综价均3:=WMA(综价,3);

短升:=综价均3>REF(综价均3,1);

买升:短升 AND COUNT(短升,2)=1,STICK;

DRAWICON(买升>0,买升,1);

DRAWTEXT(买升,0.5,' 短升'),COLORFFFFFF;

N:=18;

M1:=3;

M2:=3;

RSV:=(CLOSE - LLV(LOW,N))/(HHV(HIGH,N) - LLV(LOW,N))*100;

K:=EMA(RSV,M1);

D:=EMA(K,M2);

J:=(3*K-2*D);

KDJ1:=REF(COUNT(J<REF(J,1),5)>=3,1) AND REF(J,1)<20;

KDJ2:=J>REF(J,1);

VAR22:=REF(LOW,1);

VAR33:=SMA(ABS(LOW-VAR22),3,1)/SMA(MAX(LOW-VAR22,0),3,1)*100;

VAR44:=EMA(IF(CLOSE*1.3,VAR33*10,VAR33/10),3);

VAR55:=LLV(LOW,13);

VAR66:=HHV(VAR44,13);

VAR77:=IF(MA(CLOSE,34),1,0);

VAR888:=EMA(IF(LOW<=VAR55,(VAR44+VAR66*2)/2,0),3)/618*VAR77;

VAR999:=IF(VAR888>100,100,VAR888);

吸筹:=VAR999,LINETHICK1,COLORCD7F32 ;

吸筹下:=吸筹 < REF(吸筹,1);

趋势线:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLORFF6666,LINETHICK2;

趋势线上:=趋势线 > REF(趋势线,1);

金钻:吸筹下 AND 趋势线上 AND CROSS(趋势线,吸筹)COLOR00FFFF,STICK;

DRAWICON(金钻>0,金钻,26);

DRAWTEXT(金钻,0.5,'升浪'),COLOR00FFFF;

止跌:=(REF(EVERY(C<O,2),1) AND C>O);

MTM0:=C-REF(C,1);

D0X:=100*EMA(EMA(MTM0,6),6)/EMA(EMA(ABS(MTM0),6),6);

买:=LLV(D0X,2)=LLV(D0X,7) AND COUNT(D0X<0,2) AND CROSS(D0X,MA(D0X,2));

[1] [2]  下一页

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式