通达信 股票趋势(指标主图贴图)无未来加密

2016-12-07 21:22:00来源:本站整理浏览:768

VAR2A:=IF(MONTH<12,1,100000);
VAR3A:=(2*CLOSE+HIGH+LOW)/4;
VAR4A:=LLV(LOW,34);
VAR5A:=HHV(HIGH,34);
DIFAA:=EMA((VAR3A-VAR4A)/(VAR5A-VAR4A)*100,13);
DEAAA:=EMA(0.667*REF(DIFAA,1)+0.333*DIFAA,2);
QSA:=IF(CROSS(DIFA,DEAAA) AND DIFA<40,25,10);
买入A:=QSA=25 AND MACD>0;
DRAWTEXT(QSA=25 AND MACDA>0,LOW-0.1,'←谷底'),COLORYELLOW;

ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算}
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{//散户筹码估算}
ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//散户套牢筹码比率}
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{//主力控盘筹码比率}
ZCMZL:=MA(ZLCM+SHCM,13);{//市场筹码总量}
ZZNTS:=BARSLAST(ZSHTL<90 AND REF(ZSHTL,1)>90);{//走牛天数}
ZSHJJ:=EMA(ZSHTL,89);{//散户警戒} ZZLJJ:=EMA(ZZLKP,89);{//主力警戒}
ZJLRQD:=INTPART(ZZLKP-ZZLJJ);{//资金流入强度}
SH8:=EMA(ZSHTL,8); DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0); {散户套牢筹码}

散户套牢系数:=INTPART(ZSHTL),COLORYELLOW;
主力控盘系数:=INTPART(ZZLKP),COLORCYAN,LINETHICK2;
资金流入强度:=ZJLRQD,LINETHICK2,COLORRED;
市场筹码总量:=INTPART(ZCMZL),COLORWHITE,NODRAW;
轴:=50,COLORGREEN,DOTLINE,LINETHICK1;
XT:=(CROSS(主力控盘系数,轴)) AND 资金流入强度>0; {指标说明:资金流入强度下穿0轴,股票必抛};
DRAWTEXT(XT,L,'▲高度控盘'),COLORMAGENTA;

SHORTT:=12;LONGT:=26;MIDT:=9;
DIFAT:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEAAT:=EMA(DIFAT,MIDT);
MACDAT:=(DIFAT-DEAAT)*2;
VAR1T:=IF(DATE<1340830 AND DATE>900101,1,0);
VAR2TT:=IF(MONTH<12,1,100000);
VAR3TT:=(2*CLOSE+HIGH+LOW)/4;
VAR4TT:=LLV(LOW,34);
VAR5TT:=HHV(HIGH,34);
DIFT:=EMA((VAR3TT-VAR4TT)/(VAR5TT-VAR4T)*100,13);
DEAT:=EMA(0.667*REF(DIFT,1)+0.333*DIFT,2);
QST:=IF(CROSS(DIFT,DEAT) AND DIFT<40,25,10);
买入T:=QST=25 AND MACDAT>0;
DRAWTEXT(QST=25 AND MACDAT>0,L,'▲谷底'),COLORYELLOW;

Y:=(MA(C,5)-MA(C,30))/MA(C,5)*100;
YY1:=C>MA(C,5) AND OPEN<MA(C,5);{吃定彩虹}
YY3:=C>MA(C,10) AND OPEN<MA(C,10);
YY5:=C>MA(C,30) AND OPEN<MA(C,30);
DRAWTEXT(YY1 AND YY5 AND YY3,L,'▲吃定彩虹'),COLORRED;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
副值:=K-D;
涨前测试1:=REF(V<REF(V,1)&&副值>REF(副值,1),1);
涨前测试2:=C>O&&C>REF(C,1)&&V/1.8>REF(V,1)&&V>REF(V,1)&&V/3<REF(V,1)&&副值/2.5>REF(副值,1);
涨前测试3:=涨前测试2&&EXIST(涨前测试1,1);
涨前测试:=V>REF(V,1)&&副值/1.2>REF(副值,1)&&REF(涨前测试3,1);
前夕昨日:=REF(O,1)>REF(C,2)&&REF(C,1)<REF(C,2)&&REF(副值,1)>REF(副值,2);
前夕今日:=REF(副值,1)*2<副值&&副值>0;
大涨前夕1:=前夕昨日&&前夕今日;
大涨前夕:=大涨前夕1,NODRAW,COLORGREEN;
DRAWTEXT(大涨前夕1,L,'▲大涨前夕'),COLORWHITE;


如果介意WINNER 就把这段删除就可以了。。

主力持仓:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORMAGENTA,LINETHICK2;
主力筹码集中度:=WINNER(C)*100 ,COLORRED,LINETHICK2;
散筹筹码集中度:=(WINNER(C*1.1)-WINNER(C*0.9))*100 ,COLORGREEN,LINETHICK2;
LS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
DRAWTEXT(FILTER(LS,28)*100 AND L>REF(C,1)*0.93 AND 主力持仓>80 AND 散筹筹码集中度<50,LOW-0.2,'←黑马'),COLORWHITE;


 


上一页  [1] [2] 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式