最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信强势主力资金指标公式

    正文概述    2024-05-04 04:35:52  

    以下是通达信强势指标公式源码和使用说明


    通达信强势主力资金指标公式源码:

       去ST:=NOT(NAMELIKE('ST')ORNAMELIKE('*ST')ORNAMELIKE('S'));

       去停牌:=DYNAINFO(4)

       PC:=去STAND去停牌;

       AA05:=MA(C,5);

       BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;

       :(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,LINETHICK1,coloryellow;

       中户:(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,LINETHICK1,colorgreen;

       大户:(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,LINETHICK1;

       :(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,LINETHICK2,colorred;

       AA10:=MA(C,10);

       BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;

       AA30:=MA(C,30);

       BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;

       强势:FILTER(BB30 30ANDBB10 45ANDcrOSS(BB05,60),10)ANDCODELIKE('300')

       A:=*CLOSE;

       B:=SUM(A,1)/SUM(VOL,1);

       B1:=EMA(B,17);

       主力:(B-B1)*100/B,COLORREDNODRAW;

       进:STICKLINE(主力 =0AND0 =REF(0,1),0,主力,2,0),COLORRED;

       出:STICKLINE(主力 0AND0 =REF(0,1),0,主力,2,0),COLORGREEN;

       中轴线:=0,COLORBLacK;

       强势主力资金:(PCAND强势选股=1ANDCROSS(主力,O)AND主力 0)*10,NODRAW,COLORYELLOW,LINETHICK5;

       STICKLINE(强势主力资金,0,10,3,0),COLORYELLOW;

       VAR2:=HIGH-LOW;

       VAR3:=ABS(OPEN-CLOSE);

       VAR4:=HIGH-IF(CLOSE OPEN,CLOSE,OPEN);

       VAR5:=IF(CLOSE OPEN,OPEN,CLOSE)-LOW;

       VAR6:=VAR3/VAR2*VOL;

       VAR7:=VAR4/VAR2*VOL;

       VAR8:=VAR5/VAR2*VOL;

       VAR9:=IF(VOL/CAPITAL 0.001,1,EXP(ABS(LOG(VOL/CAPITAL*100))));

       VARA:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;

       VARB:=MA(CLOSE,5) MA(CLOSE,10)ANDMA(CLOSE,10) MA(CLOSE,30)ANDMA(CLOSE,30) MA(CLOSE,60);

       VARC:=MA(CLOSE,5) MA(CLOSE,10)ANDMA(CLOSE,10) MA(CLOSE,30);

       {多头成交:}STICKLINE(CLOSE MA(CLOSE,30),0,VOL,4,1),COLORRED;

       {空头成交:}STICKLINE(CLOSE MA(CLOSE,30),0,VOL,4,1),COLORGREEN;

       {向上攻击量:}STICKLINE(VAR6 =VAR7ANDVAR6 =VAR8ANDCLOSE OPEN,0,VAR6,4,0),COLORRED;

       {向下攻击量:}STICKLINE(VAR6 =VAR7ANDVAR6 =VAR8ANDCLOSE OPEN,0,VAR6,4,0),COLORGREEN;

       {上探量:}STICKLINE(VAR7 VAR6ANDVAR7 VAR8,0,VAR7,4,0),COLORCCCC66;

       {下探量:}STICKLINE(VAR8 VAR6ANDVAR8 VAR7,0,VAR8,4,0),COLORFF6633;

       {相对地量:}STICKLINE(VAR9 2ANDVOL MA(VOL,5)/2,0,VOL,2.5,0),COLORYELLOW;

       DRAWTEXT(VAR9 2ANDVOL MA(VOL,5)/2,VOL,'地量'),COLORYELLOW;

       {放量:}STICKLINE(VOL MA(VOL,5)*2.5,0,VOL,2.5,0),COLORWHITE;

       DRAWTEXT(VAR7 VAR6ANDVARA 2ANDVAR7 VAR8ANDCLOSE MA(CLOSE,5)ANDCLOSE MA(CLOSE,30)ANDHIGH MA(CLOSE,60)ANDVOL MA(VOL,5)ANDVAR7 =MA(VOL,5),VOL,'逢高出货'),COLORGREEN;

       DRAWTEXT(VAR8 VAR6ANDVAR8 VAR7ANDVARA -2ANDCLOSE MA(CLOSE,30)ANDVAR8 MA(VOL,5)/2ANDMA(VOL,5) MA(VOL,10),VOL,'逢低跟进'),COLORMAGENTA;

       DRAWTEXT(VAR6 MA(VOL,5)*2ANDVAR6 =VAR7ANDVAR6 =VAR8ANDCLOSE OPENORVOL MA(VOL,5)*3ANDVARB,VOL,'强势参与'),COLORCC99CC;

       DRAWTEXT(VAR6 =VAR7ANDVAR6 =VAR8ANDCLOSE OPENANDVAR6/VOL 0.7ANDVARCANDVAR6 MA(VOL,5),VAR6*2,'空头释放'),COLORGREEN;

       V5:MA(VOL,5),COLORWHITE;

       V10:MA(VOL,10),COLORGREEN;

       V20:MA(VOL,20),COLORYELLOW;




    通达信强势主力资金指标公式截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信强势主力资金指标公式 加入收藏