以下是大涨版通达信主力筹码建仓指标公式源码和使用说明

大涨版通达信主力筹码建仓指标公式源码:

   N:=5;M:=20;

   VAR1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;

   VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

   VAR3:=(SMA(VAR2,3,1)-18)*1.55;

   VAR4:=Sma(VAR3,3,1);

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

   VAR6:=SMA(VAR5,10,1);

   VAR7:=(EMA(SMA(VAR6,8,1),34)-25)*2.6;

   VAR8:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);

   VAR9:=POW(MA(LOW,5),2)+MA(LOW,5);

   VARA:=POW(MA(HIGH,5),2)+MA(HIGH,5);

   VARB:=((VAR8-LLV(VAR9,64))/(HHV(VARA,64)-LLV(VAR9,64))*150+65-10)/2;

   VARC:=SMA(VARB,3,1)*1.5-46;

   VARD:=SMA(VARC,3,1);

   VARE:=3*VARC-2*VARD;

   VARF:=(VAR1+VAR2+VAR5)/3;

   VAR10:=((VAR3+VAR3+VAR6+VARC)/4-15)*1.67;

   VAR11:=((VAR4+VAR4+VAR7+VARD)/4-15)*1.67;

   VAR12:=((VAR1+VAR5*2+VARF+VAR10+VAR11+VARB+VARC+VARD+VARE)/10-15)*1.67;

   VAR13:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;

   VAR14:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92;

   VAR15:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93;

   VAR16:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94;

   VAR17:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95;

   VAR18:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91;

   VAR19:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96;

   VAR1A:=((VAR13*8+VAR14*8+VAR15*8+VAR16+VAR17+VAR18+VAR19)/28-0.1)*185;

   VAR1B:=SMA(VAR1A,3,1);

   VAR1C:=(SMA(VAR1B,8,1)-8)*1.18;

   浮动筹码:(VAR10+VAR11+VAR12+VARC+VARD+VARE+VAR1C+VAR7)/13;

   浮动筹码1:(VAR10+VAR11+VAR12+VARC+VARD+VARE+VAR1C+VAR7)/21;

   浮动筹码2:(VAR10+VAR11+VAR12+VARC+VARD+VARE+VAR1C+VAR7)/34;

   获利筹码:(VAR3+VAR6+VAR1B*2)/4,COLOR0000FF,LINETHICK2;

   40;

   20;

   0;

   VARA1:=(CLOSE-LLV(LOW,60.13547854))/(HHV(HIGH,60.13547854)-LLV(LOW,60))*80;

   VARB1:=SMA(VARA1,7,1);

   VARC1:=SMA(VARB1,5,1);

   英雄:IF(crOSS(VARB,VARC)ANDVARB<20,100,0),LINETHICK2,COLORRED;

   VAR2N:=LLV(LOW,3)<=LLV(LOW,60);

   VAR3N:=C>OAND(C/O>1.03ORC>1.03*REF(C,1));

   绝地反击:IF(VAR2NANDVAR3N,90,0),COLORYELLOW,LINETHICK2;

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

   快:SMA(RSV,3,1),COLORGREEN,NODRAW;

   慢:SMA(快,3,1),NODRAW;

   极强:80,COLORRED,NODRAW;

   中线:50,COLORLIBLUE,NODRAW;

   极弱:20,COLORGREEN,NODRAW;

   强势:IF(快>慢,快,DRAWNULL),LINETHICK2,COLORRED,NODRAW;

   快慢比:快/慢,NODRAW;

   介入:IF(快<M,30,0),COLORLIRED;

   N:=3;

   通达信:=(C-EMA(C,6))/EMA(C,6)*100;

   主力筹码建仓:=(C-MA(C,24))/MA(C,24)*100;

   指标公式:=(C-MA(C,32))/MA(C,32)*100;

   cssd4:=(通达信+主力筹码建仓+指标公式)/3;

   KX:MEMA(cssd4,N),NODRAW,COLORWHITE;

   DX:MEMA(KX,3),NODRAW,COLORYELLOW;

   DRAWBAND(KX,RGB(150,0,100),DX,RGB(100,100,50));

   MCD:EMA(EMA(通达信,3),N)*2,COLORSTICK;

   cssd5:=EMA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;

   cssd6:=SMA(SMA(100-3*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+SMA(2*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);

   cssd7:=cssd6<REF(cssd6,1)ANDMCD>REF(MCD,1)ANDDX>REF(DX,1)ANDV>REF(V,1)ANDC>O*1.011;

   cssd8:=LLV(cssd5,3)<cssd5;

   cssd9:=KX>DXANDDX<7;

   vddds1:IF(cssd8>=1ANDcssd9ANDREF(KX<DX,1),1,0),NODRAW,COLORRED;

   vddds2:IF(cssd7ANDcssd8ANDcssd9,1,0),NODRAW,COLORYELLOW;

   STICKLINE(vddds1,-2,0,2,0),COLORRED;

   STICKLINE(vddds2=1ANDREF(vddds2,1)<=0,0,1,2,0),COLORYELLOW;

   DRAWTEXT(vddds1,0,”),COLORWHITE;

   DRAWTEXT(vddds2ANDREF(vddds2,1)<=0,2,”),COLORYELLOW;

   主流资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLORRED,LINETHICK2;

   非主流资金:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORGREEN,LINETHICK2;

   20,POINTDOT,COLORF00FF0;

   50,POINTDOT,COLORGREEN;

   80,POINTDOT,COLORWHITE;

大涨版通达信主力筹码建仓指标公式截图

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