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

    正文概述    2024-05-04 04:44:00  

    以下是通达信超级控盘指标公式源码和截图


    通达信超级主力控盘指标公式源码:


       AA:=/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

       买量:=IF(CLOSE OPEN,AA*(HIGH-LOW),IF(CLOSE OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,COLORRED;

       卖量:=IF(CLOSE OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;

       进出量:=买量+卖量,COLOR00FFFF;STICKLINE(进出量 0,0,进出量,1,0),COLORFF6600;

       STICKLINE(进出量 0,0,进出量,3,0),COLORFF9900;

       STICKLINE(进出量 0,0,进出量,1.5,0),COLORFFCC00;

       STICKLINE(进出量 0,0,进出量,0.5,0),COLORCYAN;

       STICKLINE(进出量 0,0,进出量,3,0),COLOR000099;

       STICKLINE(进出量 0,0,进出量,3,0),COLOR0000CC;

       STICKLINE(进出量 0,0,进出量,1.0,0),COLOR0000FF;

       STICKLINE(进出量 0,0,进出量,0.5,0),COLORCC66FF;N:=1;QJ0:=(HIGH+LOW+CLOSE)/3;

       QJ1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));

       QJ2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-QJ0);

       QJ3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);

       QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN));

       QJ5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));

       QJ6:="MACD.DIF" "MACD.DEA"AND"MACD.DEA"

       QJ7:=".K" "KDJ.D"AND"KDJ.D"

       QJ8:="MACD.DIF" "MACD.DEA";

       QJ9:="KDJ.K" "KDJ.D"AND"KDJ.K"

       特大:QJ4*QJ5,NODRAW;大单:QJ3*QJ5,NODRAW;

       中单:QJ1*QJ5,NODRAW;小单:QJ2*QJ5,NODRAW;

       W1:=SUM(大单,N)+SUM(特大,N);W2:=SUM(小单,N)+SUM(中单,N);

       量振1:=特大 大单AND大单

       量振2:=特大 小单AND大单

       标振1:=QJ6ANDQJ7;

       标振2:=QJ8ANDQJ9;

       A:=W1-W2;A0:=IF(A 0,A,0);B0:=IF(A 0,A,0);

       STICKLINE(A0,0,A0,1,0),COLOR000044;主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORFF00FF;主力集中度:WINNER(C)*100,COLORRED;

       N:=15;

       AA:=EMA(EMA(CLOSE,9),9);

       控盘:=(AA-REF(AA,1))/REF(AA,1)*1000;

       STICKLINE(控盘 0,控盘,0,1,0),COLORWHITE;

       A10:=crOSS(控盘,0);

       无庄控盘:IF(控盘 0,控盘,0),COLORWHITE,NODRAW;

       开始控盘:IF(A10,5,0),LINETHICK1,COLORCYAN;

       STICKLINE(控盘 REF(控盘,1)AND控盘 0,控盘,0,1,0),COLORRED;

       有庄控盘:IF(控盘 REF(控盘,1)AND控盘 0,控盘,0),COLORRED,NODRAW;

       WAR8:=100*WINNER(CLOSE*0.95);

       STICKLINE(WAR8 50ANDCOST(85) CLOSEAND控盘 0,控盘,0,1,0),COLORFF00FF;

       高度控盘:IF(WAR8 50ANDCOST(85) CLOSEAND控盘 0,控盘,0),COLORFF00FF,NODRAW;

       STICKLINE(控盘 REF(控盘,1)AND控盘 0,控盘,0,1,0),COLOR00FF00;

       主力出货:IF(控盘 REF(控盘,1)AND控盘 0,控盘,0),COLOR00FF00,NODRAW;

       设值:=(HIGH+LOW+CLOSE)/3;

       日:=(设值-MA(设值,70))/(0.015*AVEDEV(设值,70))*0.5;

       即变线:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60));

       AX_1:=EMA(CLOSE,12)-EMA(CLOSE,26);

       AX_2:=EMA(AX_1,9);

       AX_3:=AX_1 AX_2;

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

       AX_5:=SMA(AX_4,3,1);

       AX_6:=SMA(AX_5,3,1);

       AX_7:=AX_5 AX_6;

       AX_8:=REF(CLOSE,1);

       AX_9:=SMA(MAX(CLOSE-AX_8,0),9,1)/SMA(Abs(CLOSE-AX_8),9,1)*100;

       AX_10:=SMA(MAX(CLOSE-AX_8,0),26,1)/SMA(ABS(CLOSE-AX_8),26,1)*100;

       AX_11:=AX_9 AX_10;

       AX_12:=SMA(AX_4,3,1);

       AX_13:=SMA(AX_12,3,1);

       AX_14:=AX_12 AX_13;

       AX_15:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4;

       AX_16:=CLOSE AX_15;

       AX_17:=CLOSE-REF(CLOSE,1);

       AX_18:=100*EMA(EMA(AX_17,9),9)/EMA(EMA(ABS(AX_17),9),3);

       AX_19:=100*EMA(EMA(AX_17,26),12)/EMA(EMA(ABS(AX_17),26),12);

       AX_20:=AX_18 AX_19;

       AX_21:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);

       AX_22:=REF(EMA(AX_21,3),1);

       AX_23:=vol/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

       AX_24:=IF(CLOSE OPEN,AX_23*(HIGH-LOW),IF(CLOSE OPEN,AX_23*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE OPEN,0-AX_23*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE OPEN,0-AX_23*(HIGH-LOW),0-VOL/2));

       AX_25:=AX_24/20/1.15;

       AX_26:=AX_25*0.55+REF(AX_25,1)*0.33+REF(AX_25,2)*0.22;

       AX_27:=EMA(AX_26,8);

       AX_28:=EMA(AX_26,3);

       AX_29:=AX_28;

       AX_30:=VOL;

       AX_31:=MA(AX_30,5);

       AX_32:=MA(AX_30,10);

       AX_33:=AX_31 =AX_32;

       AX_34:=AX_29

       AX_35:=AX_34ANDAX_33;

       DRAWICON(AX_35,-1.5,1);

       AX_36:=MA(kdj.K(54,9,12),5);

       AX_37:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2);

       AX_38:=EMA(AX_37,9/2);

       AX_39:=AX_36 =REF(AX_36,1)ANDAX_37 =AX_38;

       DRAWICON(AX_39,-10.5,13);

       AX_40:=AX_39ORAX_35;

       AX_41:=AX_3ANDAX_7ANDAX_11ANDAX_14ANDAX_16ANDAX_20;

       AX_42:=COST(50)*COST(50)/COST(80);

       AX_43:=COST(40)*COST(40)/COST(60);

       AX_44:=AX_43-AX_42;

       AX_45:=AX_44 0ANDCLOSE AX_43;

       AX_46:=AX_44 0ANDCLOSE AX_42;

       AX_47:=AX_45ORAX_46OR(AX_45ANDAX_46);

       AX_48:=AX_47=0OR(AX_44 0ANDCLOSE AX_43ANDCLOSE MA(CLOSE,10))OR(AX_44 0ANDCLOSE AX_42ANDCLOSE MA(CLOSE,5));

       AX_49:=AX_47ANDREF(AX_48,1);

       AX_50:=AX_48ANDREF(AX_47,1);

       STICKLINE(AX_47,-5,-8,3,0),COLORRED;

       STICKLINE(AX_48,-5,-8,3,1),COLORGRAY;

       STICKLINE(AX_41,-5,-8,3,0),COLORMAGENTA;

       STICKLINE(即变线 80,-5,-8,4,1),COLORGREEN;

       STICKLINE(日均线 -80,-5,-8,2,0),COLORBLUE;

       DRAWICON(AX_47ORAX_41ANDREF(AX_47ORAX_41,1)=0ANDAX_40,-5,7);

       AX_51:=(HIGH+LOW+CLOSE*2)/4;

       AX_52:=EMA(AX_51,17);

       AX_53:=STD(AX_51,17);

       AX_54:=((AX_51-AX_52)/AX_53*100+200)/4;

       AX_55:=(EMA(AX_54,5)-25)*1.56;

       AX_56:=EMA(AX_55,2)*1.22;

       AX_57:=EMA(AX_56,2);

       STICKLINE(AX_56-AX_57 0,-2,-4,3,0),COLORRED;

       STICKLINE(AX_56-AX_57 0,-2,-4,3,0),COLORGREEN;

       STICKLINE(AX_56-AX_57 0ANDREF(AX_56-AX_57 0,1),-2,-4,3.05,0),COLOR000099;

       STICKLINE(AX_56-AX_57 0ANDREF(AX_56-AX_57 0,1),-2,-4,2.2,0),COLOR0000CC;

       STICKLINE(AX_56-AX_57 0ANDREF(AX_56-AX_57 0,1),-2,-4,1.5,0),COLORRED;

       STICKLINE(AX_56-AX_57 0ANDREF(AX_56-AX_57 0,1),-2,-4,0.5,0),COLORYELLOW;

       STICKLINE(AX_56-AX_57 0ANDAX_56-AX_57 REF(AX_56-AX_57,1)ANDAX_57 110,-2,-4,3,0),COLORLIRED;

       MB1:=EMA((CLOSE-MA((1.2*CLOSE+HIGH+LOW)/3,20))/MA((1.2*CLOSE+HIGH+LOW)/3,20)*100,3);

       MB3:=LLV(MB1,25);

       MB4:=REF(MB3,1);

       时针:=MB1;

       底撑:=MB4;

       动态底部:EMA(IF(L =LLV(L,99),SMA(ABS(L-REF(L,1)),99,1)/SMA(MAX(L-REF(L,1),0),99,1),0)*5,3),COLORBROWN;

       STICKLINE(动态底部 7AND时针 底撑,0,动态底部,2,1),COLORYELLOW;

       盘:=CAPITAL/1000000;

       益:=FINANCE(33);

       资:=FINANCE(34);

       换手:=VOL/CAPITAL;

       长阳:=(WINNER(C)-WINNER(O)) =0.15AND换手 =0.04;

       VAR1:=(C-REF(C,1))/REF(C,1);

       VAR2:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);

       个股:=EMA(SUM(VAR1,20),5);

       :=EMA(SUM(VAR2,20),5);

       领涨:=(个股-大盘)

       VAR1:=Ema(EMA(CLOSE,13),13);

       控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,COLORFFCCCC,POINTDOT;

       stICKLINE(控盘 0,控盘,0,2,0),COLORWHITE;

       无庄控盘:控盘 0,COLORWHITE;

       STICKLINE(控盘 REF(控盘,1)AND控盘 0,控盘,0,2,1),COLORRED;

       有庄控盘:控盘 REF(控盘,1)AND控盘 0,COLORRED;

       VAR2:=100*WINNER(CLOSE*0.95);

       STICKLINE(控盘 REF(控盘,1)AND控盘 0,控盘,0,2,0),COLOR00FF00;

       主力出货:控盘 REF(控盘,1)AND控盘 0,COLOR00FF00;

       STICKLINE(VAR2 50ANDCOST(85) CLOSEAND控盘 0,控盘,0,2,0),COLORFF00FF;

       高度控盘:VAR2 50ANDCOST(85) CLOSEAND控盘 0,COLORFF00FF;

       A10:=crOSS(控盘,0);

       开始控盘:IF(A10,6,0),COLORYELLOW;

       控盘天数:BArslASTCOUNT(有庄控盘OR高度控盘),LINETHICK0,COLORWHITE;

       出货天数:BARSLASTCOUNT(主力出货),LINETHICK0,COLORWHITE;

       WY1001:=(2*CLOSE+HIGH+LOW)/4;

       WY1002:=EMA(WY1001,4);

       WY1003:=EMA(WY1002,4);

       WY1004:=EMA(WY1003,4);

       X:=(WY1004-REF(WY1004,1))/REF(WY1004,1)*2000;

       X1:=IF(X REF(X,1),X,DRAWNULL),COLORWHITE,LINETHICK2;

       XO:=MA(X,2),COLOR9932CD;

       SI:=REF(X,1);

       DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);

       DEA1:=EMA(DIF1,9);



    通达信超级主力控盘指标公式截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信超级主力控盘指标公式源码 加入收藏