资源描述:
《通达信指标:主力动向abc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、通达信指标:主力动向ABC(自创:主力动向+主升浪+组合买点)指标简介:1主力动向明确知道主力进出、主力买卖、主力轨迹等,波浪曲线底顶和升降用不同颜色标出一看便知。2.主升浪:图中下面的粗黄柱,表示主升浪部分。3组合买点:有选股买点、组合买、黑马线等。4主力动向ABC:集主力动向,主升浪,组合买点为一体。源码:VAR1:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3);STICKLINE(VAR1>20ANDVAR1<80,VAR1,VAR1,10,1),
2、COLORRED;STICKLINE(VAR1[80,VAR1,VAR1,8,1),COLOR00FF00;STICKLINE(VAR1<20,VAR1,VAR1,8,1),COLORYELLOW;ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE]3、LOSE-REF(CLOSE,1);MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));MTGJ:=C-REF(C,1);ZLGJ:=100*EMA(EMA(MTGJ,9),9)/EMA(EMA(ABS(MTGJ),9),9);MAZ
4、L:=MA(ZLGJ,5);A:=((VOL)/(CAPITAL))*(100);S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60));Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60));X:=1;V1:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5);V2:=REF(V1,1);V3:=MAX(V1-V2,0);V4:=ABS(V1-V2);V5:=SMA(V3,10,1);V6:=SMA(V4,10,1);V8:=COUNT(((V5
5、)/(V6)<0.2),5);V9:=COUNT((LLV(V1,10)=V1),10);主力进出:IF((MMS>REF(MMS,1)ANDZLGJ>REF(ZLGJ,1)ANDCROSS(ABV,M2)ANDABV>REF(ABV,1)ANDM1>REF(M1,1)ANDM2>REF(M2,1)),65,0),COLORWHITE,POINTDOT;主进主轨:=ABV>M2ANDCROSS(ABV,M1)ANDCROSS(ZLGJ,MAZL);STICKLINE(主力进出OR主进主轨,65,0,2,1),COLORWHITE;精准买卖:
6、=V8>=1ANDV9>=1ANDCLOSE>OPENANDREF(CLOSE,1)>REF(OPEN,1)AND(VOL>REF(VOL,1))ANDMMS>MMLANDCROSS(ABV,M2);短线买点:=V8>=1ANDV9>=1ANDCLOSE>OPENANDREF(CLOSE,1)>REF(OPEN,1)AND(VOL>REF(VOL,1))ANDCROSS(MMS,MML)ANDABV>REF(ABV,1);中线买点:=V8>=1ANDV9>=1ANDCLOSE>OPENANDREF(CLOSE,1)>REF(OPEN,1)A
7、ND(VOL>REF(VOL,1))ANDABV>REF(ABV,1)ANDMMS>MMLANDCROSS(MMM,MML)ANDMMS>REF(MMS,1)ANDMMM>REF(MMM,1)ANDMML>REF(MML,1);主进主买:=ABV>M2ANDZLGJ>MAZLANDCROSS(MMS,MML)ANDMMS>REF(MMS,1)ANDMMM>REF(MMM,1)ANDMML>REF(MML,1);短中精:=精准买卖OR短线买点OR中线买点OR主进主买;主力买卖:IF(短中精,60,0),COLORFF00FF,POINTDOT
8、;STICKLINE(主力买卖,60,0,2,1),COLORFF00FF;主力轨迹:IF(ABV>M2ANDMMS>MMLANDCROSS(ZLGJ,MAZL)ANDZLGJ>