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

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

    以下是通达信密集指标公式源码和截图


    通达信筹码密集指标公式源码:

       M:=3;

       VAR1:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*20,1);

       多方筹码:EMA(WINNER(C)*10,1),COLORRED,LINETHICK2;

       多方筹码月均:EMA(多方筹码,21),COLORWHITE;

       长期:EMA(EMA(多方筹码,1),89),COLOR009500;

       筹码:VAR1-多方筹码+WINNER(C),COLORYELLOW;

       Y:=MA(((WINNER((C*0.9))*100)*C),3);

       D:=(IF((Y 10),Y,0)/2);

       增仓:D,STICK,LINETHICK4,COLORRED;

       资金均量:MA(D,5),COLORGREEN;

       资金增仓线:D,COLORYELLOW,LINETHICK1;

       资金均量线:MA(D,5),COLORMAGENTA;

       STICKLINE(C 0,0,0,10,0),COLORGRAY;

       STICKLINE(C 0,10,10,6,0),COLORYELLOW;

       STICKLINE(C 0,-20,-20,6,0),COLORRED;

       实涨跌:=(C-REF(C,1))/REF(C,1)*100;

       ZJ:=AMOUNT/(V*100),COLORGRAY;

       真涨跌:=(ZJ-REF(ZJ,1))/REF(ZJ,1)*100;

       涨跌幅:=IF(实涨跌 0,实涨跌*10/100,IF(实涨跌 0,实涨跌*11/100,0));

       真涨跌幅:=IF(真涨跌 0,真涨跌*10/100,IF(真涨跌 0,真涨跌*11/100,0));

       实涨幅:SUM((实涨跌+实涨跌)/2,M),COLORMAGENTA;

       涨幅M:MA(实涨幅,M*0.618),COLORGREEN;

       真涨幅:SUM(3.82*(涨跌幅+真涨跌幅),13),COLORWHITE,COLORSTICK;

       锁定因子:MA(LFS,1),COLORWHITE,NODRAW;

       换手:100*VOL/CAPITAL,NODRAW,COLORLIGREEN;

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

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

       OK:=REF(CLOSE,1);

       RSI1:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF,LINETHICK2;

       RSI2:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF,LINETHICK0;

       RSI3:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF,LINETHICK0;

       RSI4:=SMA(RSI3,7,1),LINETHICK0,COLOR00CD00;

       A:=MA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLORFFFFFF,LINETHICK0;

       趋势B:=MA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD,LINETHICK0;

       趋势C:EMA(((CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*50),17)+18,COLORMAGENTA,DOTLINE;

       W1:=MA(趋势A,7)*1.372,COLORRED,LINETHICK0;

       W2:=W1*1.0887;

       W3:(1.5*(趋势B+RSI4)-(W2+W1))+12,COLORGREEN;

       VAR1:=COST(89)-COST(11);

       VAR2:=COST(99.9)-COST(0.1);

       单峰:(1-VAR1/VAR2)*100,COLORLIGRAY;

       低密:=(COST(90)-COST(60))/VAR2*100,COLORYELLOW,POINTDOT,LINETHICK4;

       高密:=(COST(40)-COST(1))/VAR2*100,COLORRED,POINTDOT,LINETHICK4;

       赢利:SMA(WINNER(AMOUNT/VOL/99)*100,2,1),COLORYELLOW,NODRAW;

       DRAWICON(CROSS(赢利,5),5,1);

       IF(W3 单峰,W3,DRAWNULL),COLORRED,LINETHICK3;

       W:(SMA(WINNER(CLOSE),3,1)*100),COLORYELLOW,LINETHICK2;

       Z:(SMA(WINNER(CLOSE),10,1)*100),COLORBLUE,LINETHICK2;

       20,COLORWHITE;50,DOTLINE,COLORWHITE;80,COLORWHITE;

       收盘价获利比:=WINNER(C)*100,LINETHICK0;

       筹码估算:EMA(WINNER(CLOSE)*70,3),NODRAW;

       筹码估算:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3),NODRAW;

       散户套牢比率:散户筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;

       主力控盘比率:主力筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;

       市场总量:=MA(主力筹码估算+散户筹码估算,13),COLORGREEN,LINETHICK2;

       散户警戒:EMA(散户套牢比率,89),NODRAW;

       主力警戒:EMA(主力控盘比率,89),NODRAW;

       筹码总量:=IF(市场总量 REF(市场总量,1),市场总量,DRAWNULL),COLOR0066FF,LINETHICK2;

       DRAWRECTREL(0,60,240,950,RGB(80,00,100));

       DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.10,0,'主力筹码估算:'),COLORYELLOW;

       DRAWTEXT_FIX(CURRBARSCOUNT=1,0.18,0.10,0,'%'),COLORFFCC99;

       DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.12,0.10,0,主力筹码估算),COLORRED;

       DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.20,0,'主力控盘比率:'),COLORYELLOW;

       DRAWTEXT_FIX(CURRBARSCOUNT=1,0.18,0.20,0,'%'),COLORFFCC99;

       DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.12,0.20,0,主力控盘比率),COLORRED;

       DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.30,0,'散户套牢比率:'),COLORYELLOW;

       DRAWTEXT_FIX(CURRBARSCOUNT=1,0.18,0.30,0,'%'),COLORFFCC99;

       DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.12,0.30,0,散户套牢比率),COLORRED;

       DRAWTEXT_FIX(收盘价获利比 =0,0.0,1-0.61,0,'收盘价获利比:'),COLORYELLOW;

       DRAWNUMBER_FIX(收盘价获利比 =0,0.12,1-0.61,0,收盘价获利比),COLORRED;

       DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.45,0,'锁定因子:锁定筹码和解锁筹码'),COLORFFCC99;

       DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.50,0,'的相对速度,不直接监测锁定筹'),COLORFFCC99;

       DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.55,0,'码多少,但可监测筹码。'),COLORFFCC99;

       DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.60,0,'主流资金:可监控筹码资金的'),COLORYELLOW;

       DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.65,0,'背离,做决策'),COLORYELLOW;

       N:=21;

       散户套牢:(100*(1-WINNER(CLOSE))),colorFFFFFF,LINETHICK4;

       stICKLINE((CLOSE 1),散户套牢,0,0.5,0),colorFFFFFF;

       kdCM:=(100*WINNER(CLOSE));

       主力控盘:KDCM,STICK,colorAA0033,linethick4;

       STICKLINE((CLOSE 1),KDCM,0,8,1),LINETHICK2,colorAA0033;

       STICKLINE((CLOSE 1),KDCM,0,7,0),color330000;

       STICKLINE((CLOSE 1),KDCM,0,6,0),color440011;

       STICKLINE((CLOSE 1),KDCM,0,5,0),color550022;

       STICKLINE((CLOSE 1),KDCM,0,4,0),color660033;

       STICKLINE((CLOSE 1),KDCM,0,3,0),color770044;

       STICKLINE((CLOSE 1),KDCM,0,2,0),color880055;

       STICKLINE((CLOSE 1),KDCM,0,1,0),color990066;

       DDCM:=Ema((100*WINNER(CLOSE)),13);

       STICKLINE(((CLOSE 1)AND(DDCM KDCM)),KDCM,DDCM,8,1),LINETHICK2,colorAA0033;

       STICKLINE(((CLOSE 1)AND(DDCM KDCM)),KDCM,DDCM,7,0),colorFF0000;

       STICKLINE(((CLOSE 1)AND(DDCM KDCM)),KDCM,DDCM,6,0),color11FF00;

       STICKLINE(((CLOSE 1)AND(DDCM KDCM)),KDCM,DDCM,5,0),color22FF00;

       STICKLINE(((CLOSE 1)AND(DDCM KDCM)),KDCM,DDCM,4,0),color33FF00;

       STICKLINE(((CLOSE 1)AND(DDCM KDCM)),KDCM,DDCM,3,0),color44FF00;

       STICKLINE(((CLOSE 1)AND(DDCM KDCM)),KDCM,DDCM,2,0),color55FF00;

       STICKLINE(((CLOSE 1)AND(DDCM KDCM)),KDCM,DDCM,1,0),color66FF00;

       DRAWICON((KDCM 2),0,10);

       VAR1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

       VAR2:=2*Abs(VAR1);

       底部资金:IF(VAR1 0,VAR2,0),COLOR00FFFF,LINESTICK;

       获利平均值:=MA(COST(99),5);

       获利99:=MA(COST(80),5);

       获利80:=MA(CLOSE,5);

       5日:=MA(COST(20),5);

       获利20:=MA(COST(1),5);

       获利1:=(((获利平均值-获利99)/获利99)*100);

       A1:=(((获利99-均线5日)/均线5日)*100);

       A2:=(((均线5日-获利20)/获利20)*100);

       AA3:=IF((A1 10),100,0);

       A4:=IF((A1 15),50,0);

       A5:=IF((A1 20),25,0);

       密集度:A1,color0000FF;

       高密集:AA3,color00CCFF;

       中密集:A4,color0000CC;

       低密集:A5,color00FFFF;

       A6:=HHV(KDCM,N);

       乖离:EMA(((100+KDCM)-A6),3),colorFF00FF;

       成本乖离:(((CLOSE/COST(50))-1)*100),colorFFFF00;




    通达信筹码密集指标公式截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信筹码密集指标公式源码 加入收藏