股票指标用法:趋势顶底指标合并了另外两个指标。一个是“超跌”指标(绿柱体,注意此指标只表示超跌。);另一个是“趋势”指标(最下面的红绿点,红点持股,绿点持币);
VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;VAR11:=EMA(VAR10,30);VAR12:=VAR11-CLOSE;VAR13:=REF(CLOSE,1);VAR14:=SMA(MAX(CLOSE-VAR13,0),7,1)/SMA(ABS(CLOSE-VAR13),7,1)*100;VAR15:=SMA(MAX(CLOSE-VAR13,0),13,1)/SMA(ABS(CLOSE-VAR13),13,1)*100;VAR16:=BARSCOUNT(CLOSE);VAR17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;VAR18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;VAR19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR1A:=(SMA(VAR19,4,1)-50)*2;VAR1B:=SMA(VAR1A,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:=IF(VAR17<=25ANDVAR18<-95ANDVAR1F>20ANDVAR1B<-30ANDVAR1E<30ANDVAR12>=-0.25ANDVAR14<22ANDVAR15<28ANDVAR16>50,100,0),LINETHICK3,COLORYELLOW;极限反击:=VAR20;STICKLINE(极限反击>0,1,89,1.3,0),COLORGREEN;STICKLINE(极限反击>0,3,87,0.00001,0),COLORBLACK;W:80,COLOR996699;S:20,COLORGREEN;Y:10,COLORCC6633,LINETHICK2;T:90,COLOR9966FF,LINETHICK2;A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2;长期线:A+100,COLOR9900FF;短期线:B+100,COLOR888888;中期线:D+100,COLORYELLOW,LINETHICK2;见顶:(REF(中期线,1)>85ANDREF(短期线,1)>85ANDREF(长期线,1)>65)ANDCROSS(长期线,短期线);顶区:(中期线<REF(中期线,1)ANDREF(中期线,1)>80)AND(REF(短期线,1)>95ORREF(短期线,2)>95)AND长期线>60AND短期线<83.5AND短期线<中期线AND短期线<长期线+4,COLORRED;顶部:FILTER(顶区,4);底区:(长期线<12AND中期线<8AND(短期线<7.2ORREF(短期线,1)<5)AND(中期线>REF(中期线,1)OR短期线>REF(短期线,1)))OR(长期线<8AND中期线<7AND短期线<15AND短期线>REF(短期线,1))OR(长期线<10AND中期线<7AND短期线<1),COLORYELLOW;STICKLINE(顶部,99,103,4,1),COLORRED,LINETHICK2;STICKLINE(底区,-4,0,4,0),COLORGREEN;低位金叉:=长期线<15ANDREF(长期线,1)<15AND中期线<18AND短期线>REF(短期线,1)ANDCROSS(短期线,长期线)AND短期线>中期线AND(REF(短期线,1)<5ORREF(短期线,2)<5)AND(中期线>=长期线ORREF(短期线,1)<1);STICKLINE(低位金叉,0,5,4,0),COLORRED;DRAWICON(CROSS(长期线,中期线),0,2);DRAWICON(CROSS(中期线,长期线),0,1);STICKLINE(见顶,99.5,102.5,3,0),COLORGREEN;STICKLINE(见顶,100.5,101.5,1.5,0),COLORRED;VAR111:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR222:=EMA(VAR111,30);VAR333:=EMA(VAR222,30);VAR444:=3*VAR222-2*VAR333;势:=EMA(VAR444,5),COLORBLUE,LINETHICK3;持币:IF(势<REF(势,1),-5,DRAWNULL),CIRCLEDOT,COLORGREEN;持股:IF(势>REF(势,1),-5,DRAWNULL),CIRCLEDOT,COLOR000099;大牛股特点:K线走势起伏不定,而分时走势图剧烈震荡,成交量极度萎缩。庄家到了收集末期,为了洗掉短线获利盘,消磨散户持股信心,便用少量筹码做图。从日K线上看,股价起伏不定,一会儿到了浪尖,一会儿到了谷底,但股价总是冲不破箱顶也跌不破箱底。而当日分时走势图上更是大幅震荡。委买、委卖之间价格差距也非常大,有时相差几分,有时相差几毛,给人一种莫明其妙、飘忽不定的感觉。成交量也极不规则,有时几分钟才成交一笔,有时十几分钟才成交一笔,分时走势图画出横线或竖线,形成矩形,成交量也极度萎缩。上抛压极轻,下支撑有力,浮动筹码极少。通达信公式
顶底追踪副图源码:
90;
0;
ZXCD1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
ZXCD2:=SMA(ZXCD1,3,1);
ZXCD3:=SMA(ZXCD2,3,1);
ZXCD4:=SMA(ZXCD3,3,1);
ZX:ZXCD3;
CD:ZXCD4;
ZXCD6:=CROSS(ZXCD3,ZXCD4)ANDZXCD3<20;
DRAWTEXT(FILTER(ZXCD6,10)=1,40,'抄底'),LINETHICK3;
STICKLINE(FILTER(ZXCD6,10)=1,0,30,10,0),COLORGREEN;
ZXCD7:=CROSS(ZXCD4,ZXCD3)ANDZXCD3>80;
STICKLINE(FILTER(ZXCD7,5)=1,80,100,10,0),COLORYELLOW;
DRAWTEXT(FILTER(ZXCD7,5)=1,70,'逃顶'),LINETHICK3,COLORYELLOW;
ZXCD8:=CROSS(ZXCD2,ZXCD3)ANDZXCD3>80ANDZXCD3>ZXCD4;
VDD6:=MA(CLOSE,1);
VDD8:=(LOW+HIGH+CLOSE)/3;
VDD7:=MA(VDD8,5);
顶底准确率:=LLV(VDD7,10);
准确率100:=LLV((VDD6<顶底准确率),10);
STICKLINE(准确率100,0,50,3,0),COLORRED;
跟踪1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
跟踪2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
跟踪3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
庄家1:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
庄家2:=(跟踪2+2*跟踪3+3*庄家1)/7;
庄家3:=MA(庄家2,1);
分析1:STICKLINE(庄家3<=-8,20,0,2,0),,COLORBLUE;
“顶底追踪”选股源码:
ZXCD1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
ZXCD2:=SMA(ZXCD1,3,1);
ZXCD3:=SMA(ZXCD2,3,1);
ZXCD4:=SMA(ZXCD3,3,1);
ZX:=ZXCD3;
CD:=ZXCD4;
ZXCD6:=CROSS(ZXCD3,ZXCD4)ANDZXCD3<20;
FILTER(ZXCD6,10)=1;
评论(0)