以下是通达信小股短线王指标公式源码和截图

通达信小股短线王指标公式源码:

   VAR1:=REF(CLOSE,1);

   VAR2:=SUM(vol,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);

   VAR3:=(CLOSE-VAR1)*VAR2;

   VAR4:=SUM(VAR3,0);

   VAR5:=SMA(VAR4,3,1);

   VAR6:=SMA(VAR4,8,1);

   短波:VAR5-VAR6,coloryellow;

   长波:MA(短波,3),colorgreen;

   STICKLINE(短波>0,0,短波,1,2),colormagenta;

   STICKLINE(VAR5-VAR6<0,0,VAR5-VAR6,1,2),colorcyan;

   STICKLINE(短波>长波,短波,长波,10,0),colorred;

   STICKLINE(短波<长波,短波,长波,10,0),colorcyan;

   强势:IF(CROSS(短波,长波),5,0),colorred;

   弱势:CROSS(长波,短波),COLOR00FF00;

   波界:0,COLOR331111;

   成交量:=vol;

   ma5:=MA(VOL,5);

   MA10:=MA(VOL,10);

   MA20:=MA(VOL,20);

   MA35:=MA(VOL,35);

   AAA:=VOL/((H-L)*2-Abs(C-O));

   主买:=IF(C>O,AAA*(H-L),IF(C<O,AAA*((H-O)+(C-L)),VOL/2))*0.8,LINETHICK0;

   主卖:=-IF(C>O,0-AAA*((H-C)+(O-L)),IF(C<O,0-AAA*(H-L),0-VOL/2))*0.9,LINETHICK0;

   主力净量:=(主买-主卖),LINETHICK0;

   总量:100,LINETHICK0;

   主买%:主买/成交量*100,COLORRED,LINETHICK0;

   主卖%:主卖/成交量*100,COLOR00FF00,LINETHICK0;

   比差:=主买%-主卖%;

   V1:=MA(C,3)=HHV(MA(C,3),7);

   V2:=MA(C,3)>MA(C,5);

   V3:=MA(V,5)>MA(V,10)*1.01;

   V4:=COUNT(MA(C,1)>REF(C,1),2)=2;

   LC20:=REF(C,1);

   rsi20:=SMA(MAX(C-LC20,0),4.1,1)/SMA(ABS(C-LC20),4.1,1)*100;

   stICKLINE(crOSS(RSI20,11)*1,0,16,3,0),COLORFF0080;

   VAR3A:=3;

   VAR2A:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);

   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)ANDCOUNT(DX<0,2)ANDCROSS(DX,MA(DX,2)),1,0);

   加仓:IF(FILTER(YXF=1,5),26,0),STICK,COLORRED,LINETHICK5;

   A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV

   (L,55))*100,5,1);

   FY:=EMA(A51,5);

   A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;

   地量:DRAWTEXT(CROSS(0.9,1/VOL*1000>0.01AND”kdj.J”<0),L*1,’◆D’),COLORYELLOW;

   STICKLINE(地量>0,0,20,2,0),COLOR330033;

   STICKLINE(地量>0,0,20,1.5,0),COLOR770077;

   STICKLINE(地量>0,0,20,0.8,0),COLORBB00BB;

   STICKLINE(地量>0,0,20,0.3,0),COLORFF00FF;

   A1:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;

   A2:=SMA(A1,3.1,1);

   A3:=SMA(A2,3.1,1);

   高位:110,COLOR007700,LINETHICK2;

   底部:0,COLORRED;

   强弱:50,DOTLINE,COLORLIGRAY;

   出击:3*A2-2*A3,COLORYELLOW,LINETHICK2;

   阻力:3*A3-2*A2,COLORFF8800,LINETHICK1;

   DRAWICON(CROSS(出击,阻力),阻力,1);

   DRAWICON(CROSS(阻力,出击),出击,2);

   DRAWICON(CROSS(出击,5),5,25);

   DRAWICON(CROSS(110,出击),110,27);

   VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;

   安全线:EMA(VAR1,55),CIRCLEDOT;

   SK:SLOPE(EMA(VAR1,2),7)*15+VAR1;

   SD:EMA(SK,2);

   SJ:2.8*SK-1.8*SD;

   6,POINTDOT;

   买一:IF(CROSS(SK,SD)ANDSK<安全线,9.8,6);

   买二:IF(CROSS(SK,安全线),9.8,6);

   买三:IF(CROSS(SK,SD)ANDSK>安全线,9.8,6);

通达信小股短线王指标公式截图

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。