【股票指标公式下载】-【通达信】庄家控盘(无庄控盘、有庄控盘、主力出货)
主力控盘优化版通达信指标公式源码
主力控盘优化版通达信指标公式源码按照技术分析思路编写,适合大部分股票{主力控盘优化版,简称主力PK}1、量能筛选:MA1:=MA(VOL,10);MA2:=MA(VOL,20);MA3:=MA(VOL,30);买入:IF(MA3>MA2ANDMA2>MA1ANDC>REF(C,1),1,0);2、短线快速平反LC2:=REF(C,2);LC3:=REF(C,3);LC4:=REF(C,4);LC5:=REF(C,5);LC1:=REF(C,1);PandF:IF(LC2<LC3 AND LC3<LC4 AND LC4<LC5 AND C>LC1,1,0);3、布林带突破MID:=MA(C,5);UPER:MID*1.025;LOWER:MID*0.975;XG:IF(C>UPER,1,IF(C<LOWER,-1,0));4、趋势支撑突破MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);QS:IF(MA5<MA10ANDMA10<MA20ANDMA20<MA30ANDC>MA20,1,0);5、量价配合VAR1:=EMA(VOL,3);VAR2:=EMA(VOL,6);VAR3:=EMA(VOL,12);VAR4:=EMA(VOL,24);LV:IF(VAR1>VAR2ANDVAR2>VAR3ANDVAR3>VAR4,1,0);{主力PK}买入:IF(买入AND短线快速平反AND布林带突破AND趋势支撑突破AND量价配合,1,0);提示:本公式通过将量能筛选、短线快速平反、布林带突破、趋势支撑突破、量价配合五个技术指标结合在一起,形成了主力PK操纵股价的有效技术支撑条件。
此外,本指标也可用于抓住上涨和下跌趋势的突破点,使用者可根据自身投资风格和行情变化调整买入和卖出的判断条件,从而更好地发挥主力PK技术指标的操纵股价能力。
庄家控盘通达信指标公式源码
PJGJ:=AMOUNT/VOL/0;SSRYDJX:=MA(PJGJ,13);SSRCJL:=EMA(VOL,13);SSRCJE:=EMA(AMOUNT,13);SSRCBJX:=SSRCJE/SSRCJL/100;CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;XYSHSL:=EMA(VOL/CAPITAL*100,13);STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,2,0 ),COLORGREEN;STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,2 ,0 ),COLORYELLOW;STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,2 ,0 ),COLORCYAN;STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,2 ,0 ),COLORBLUE;DIF:EMA(CLOSE,9)-EMA(CLOSE,21);DEA:EMA(DIF,5);MACD1:(DIF-DEA)*2,COLORSTICK;VAR14:=EMA(EMA(CLOSE,9),9);控盘:=(VAR14-REF(VAR14,1))/REF(VAR14,1)*70;STICKLINE(控盘<0,控盘,0,0.00001,0),COLORWHITE;A10:=CROSS(控盘,0);无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,NODRAW;开始控盘:IF(A10,5,0),LINETHICK1,COLORYELLOW,NODRAW;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLORRED;有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;VAR15:=100*WINNER(CLOSE*0.95);STICKLINE(VAR15>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,0),COLORFF00FF; 高度控盘:IF(VAR15>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF,NODRAW;STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLOR00FF00;主力出货:IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),COLOR00FF00,NODRAW;攻击量:=((HSL*0.50+REF(HSL,1)*0.33)+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPE N;攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0; 攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0; 攻击流量:=攻击量A+攻击量B,COLORSTICK;攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;资金攻击度:=IF(攻击比>=0,(攻击比+50),100-ABS((攻击比-50)));资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;资金出入:=资金流入+资金流出,COLORSTICK;资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2)); DRAWTEXT_FIX(1,0.000,0.00,0,STRCAT(STRCAT('【资金流量比】',CON2STR(资金流量比,2)),'%买')),COLORCYAN;DRAWTEXT_FIX(1,0.120,0.00,0,STRCAT(STRCAT('【资金攻击度】',CON2STR(资金攻击度,2)),' %买')),COLORMAGENTA;DRAWTEXT_FIX(ISLASTBAR,0,1,0,EXTERNSTR(0,1)),COLORFFFF00;{};AA:=RANGE(MA(C,5) ,O,C)+RANGE(MA(C,8) ,O,C)+RANGE(MA(C,13) ,O,C)+RANGE(MA( C,21) ,O,C)+RANGE(MA(C,34) ,O,C)+RANGE(MA(C,55) ,O,C)+RANGE(MA(C,89) ,O,C);AAA:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1); AA>=3 AND AAA>=1;AA>=3 AND AAA>=1;起爆:"KDJ.J"-REF("KDJ.J",1)>30 AND C/REF(C,1)>1.043 AND "MACD.MACD">0 AND "MACD.DEA">0;。
通达信三色主力控盘指标源码
通达信三色主力控盘指标源码摘要:1.通达信三色主力控盘指标简介2.指标原理及算法3.主力控盘指标的应用方法4.实战案例解析5.结论与建议正文:【一、通达信三色主力控盘指标简介】通达信三色主力控盘指标是一款用于分析主力资金动向的实用工具,通过判断主力资金的流入、流出和持仓情况,帮助投资者更好地把握市场趋势,挖掘潜力股票。
该指标基于通达信软件平台,以红、绿、蓝三种颜色直观地展示主力资金的运作情况。
【二、指标原理及算法】通达信三色主力控盘指标主要通过计算主力资金的流入、流出和持仓量,以及结合市场成交量、换手率等数据,综合判断主力资金的控盘程度。
具体算法包括:1.主力资金流入:计算一段时间内主力资金净流入的金额。
2.主力资金流出:计算一段时间内主力资金净流出的金额。
3.主力资金持仓量:计算一段时间内主力资金的平均持仓量。
4.主力控盘系数:根据主力资金流入、流出和持仓量计算得出,用以衡量主力控盘程度。
【三、主力控盘指标的应用方法】1.选择主力控盘系数较高的股票,表示主力资金运作活跃,潜在投资机会较大。
2.结合其他技术指标,如K线、均线、MACD等,进行分析判断。
3.关注主力资金流入、流出的变化,把握市场趋势。
4.注意主力控盘系数突然飙升的股票,可能存在主力拉升迹象。
【四、实战案例解析】以某一时间段内的股票为例,通过观察三色主力控盘指标的变化,发现主力资金持续流入,主力控盘系数逐渐上升,同时结合其他技术指标,可以判断该股票具备投资价值。
在实际操作中,可适当跟进,把握短期收益。
【五、结论与建议】通达信三色主力控盘指标作为一种辅助分析工具,可以帮助投资者更好地挖掘市场潜力股票。
在应用过程中,需结合其他技术指标进行分析,同时关注市场动态,做好风险控制。
庄家控盘通达信指标公式源码
PJGJ:=AMOUNT/VOL/0;SSRYDJX:=MA(PJGJ,13);SSRCJL:=EMA(VOL,13);SSRCJE:=EMA(AMOUNT,13);SSRCBJX:=SSRCJE/SSRCJL/100;CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;XYSHSL:=EMA(VOL/CAPITAL*100,13);STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,2,0 ),COLORGREEN;STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,2 ,0 ),COLORYELLOW;STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,2 ,0 ),COLORCYAN;STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,2 ,0 ),COLORBLUE;DIF:EMA(CLOSE,9)-EMA(CLOSE,21);DEA:EMA(DIF,5);MACD1:(DIF-DEA)*2,COLORSTICK;VAR14:=EMA(EMA(CLOSE,9),9);控盘:=(VAR14-REF(VAR14,1))/REF(VAR14,1)*70;STICKLINE(控盘<0,控盘,0,0.00001,0),COLORWHITE;A10:=CROSS(控盘,0);无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,NODRAW;开始控盘:IF(A10,5,0),LINETHICK1,COLORYELLOW,NODRAW;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLORRED;有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;VAR15:=100*WINNER(CLOSE*0.95);STICKLINE(VAR15>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,0),COLORFF00FF; 高度控盘:IF(VAR15>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF,NODRAW;STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLOR00FF00;主力出货:IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),COLOR00FF00,NODRAW;攻击量:=((HSL*0.50+REF(HSL,1)*0.33)+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPE N;攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0; 攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0; 攻击流量:=攻击量A+攻击量B,COLORSTICK;攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;资金攻击度:=IF(攻击比>=0,(攻击比+50),100-ABS((攻击比-50)));资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;资金出入:=资金流入+资金流出,COLORSTICK;资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2)); DRAWTEXT_FIX(1,0.000,0.00,0,STRCAT(STRCAT('【资金流量比】',CON2STR(资金流量比,2)),'%买')),COLORCYAN;DRAWTEXT_FIX(1,0.120,0.00,0,STRCAT(STRCAT('【资金攻击度】',CON2STR(资金攻击度,2)),' %买')),COLORMAGENTA;DRAWTEXT_FIX(ISLASTBAR,0,1,0,EXTERNSTR(0,1)),COLORFFFF00;{};AA:=RANGE(MA(C,5) ,O,C)+RANGE(MA(C,8) ,O,C)+RANGE(MA(C,13) ,O,C)+RANGE(MA( C,21) ,O,C)+RANGE(MA(C,34) ,O,C)+RANGE(MA(C,55) ,O,C)+RANGE(MA(C,89) ,O,C);AAA:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1); AA>=3 AND AAA>=1;AA>=3 AND AAA>=1;起爆:"KDJ.J"-REF("KDJ.J",1)>30 AND C/REF(C,1)>1.043 AND "MACD.MACD">0 AND "MACD.DEA">0;。
通达信主力控盘指标公式
V AR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);V AR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);V AR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);V AR5:=(((V AR2 + (2 * V AR3)) + (3 * V AR4)) / 6);V AR6:=MA(V AR5,3);开始控盘:=STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR00AAFF; STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR0044FF; STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),2.5,0),COLOR0088FF; STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),3,0),COLOR00AAFF;V AR1:=EMA(EMA(CLOSE,3),1);控盘:=(V AR1-REF(V AR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,3.5,0),COLORFFAA00;STICKLINE(控盘<0,控盘,0,3.5.2,0),COLORFF4400;STICKLINE(控盘<0,控盘,0,2.5,0),COLORFF8800;STICKLINE(控盘<0,控盘,0,0,0),COLORFFAA00;主力出货:0,COLORFFAA00;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR000088; STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR0000AA; STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR0000CC; STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR0000EE; 主力吸货:0,COLOR0000FF;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR008800; STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR00AA00; STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR00CC00; STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR00EE00; STICKLINE(DDX<0,0,DDX,3.5,0),COLOR008800;STICKLINE(DDX<0,0,DDX,2.5,0),COLOR00AA00;STICKLINE(DDX<0,0,DDX,1.5,0),COLOR00CC00;STICKLINE(DDX<0,0,DDX,1,0),COLOR00EE00;对倒出货洗盘:0,COLOR00FF00;黄色底部吸货:0,COLORYELLOW;DRAWTEXT(CROSS(控盘,0),0-3,'买。
主力控盘系数通达信指标公式源码
主力控盘系数通达信指标公式源码
指标名称:主力控盘系数
指标公式:
N:=14;V1:=VOL/MA(VOL,N);V2:=MA(V1,N);AA:=V2<1.15;BB:=V2>1.08;CC: =V2>1.02;DD:=V2<0.98;II1:=AAANDBB;II2:=CCANDDD;VAR8:=IF(II1,1,IF (II2,-
1,0));VAR91:=SUM(VAR8,N);VAR92:=SUM(ABS(VAR8),N);VAR9:=IF(VAR92= 0,0,VAR91/VAR92)
{主力控盘系数}
N:=14;
V1:=VOL/MA(VOL,N);
V2:=MA(V1,N);
AA:=V2<1.15;
BB:=V2>1.08;
CC:=V2>1.02;
DD:=V2<0.98;
II1:=AAANDBB;
II2:=CCANDDD;
VAR8:=IF(II1,1,IF(II2,-1,0));
VAR91:=SUM(VAR8,N);
VAR92:=SUM(ABS(VAR8),N);
VAR9:=IF(VAR92=0,0,VAR91/VAR92);
绿:VAR9>0;
红:VAR9<0;
图表显示:
绿色,虚线;
红色,虚线;
{用途:
1、该指标用于分析主力控盘的情况,若指标数值大于0,表明主力当前控盘;若指标数值小于0,表明当前主力失去控盘;
2、主力控盘系数成正负摆动,可以用来确定市场买卖双方的力量对比;
3、该指标还可以当做买卖点,若指标由负变正,可以买入;若指标由正变负,则可以卖出。
股票指标公式通达信分时控盘无庄控盘、有庄控盘、主力出货
K2:=EMA(C,5),COLORFFFF00;K3:=EMA(C,10),COLORFFFF00;K5:=EMA(C,30),COLORFFFF00;KK5:=EMA(INDEXC,30),COLORFFFF00;K6:=2*(K2-K5);K7:=2*(K2-K3);K8:=2*(K7+K6),COLORRED;STICKLINE(CROSS(K8,0),0,10,8,0),COLORRED;K1:=IF(K8>REF(K8,5)ANDK3<REF(K3,5),1,0),COLORYELLOW;K21:=IF(K8>REF(K8,7)ANDK3<REF(K3,7),1,0),COLORYELLOW;K31:=IF(K8>REF(K8,9)ANDK3<REF(K3,9),1,0),COLORYELLOW;K4:=IF(K8>REF(K8,11)ANDK3<REF(K3,11),1,0),COLORYELLOW;底部:=STICKLINE((K1ORK21ORK31ORK4)ANDK8<0ANDK8>REF(K8,1),5,0,8,0); 天:,COLORMAGENTA;风险:80,COLORGRAY;地:10,COLORGREEN;散户:=EMA(CLOSE,5),COLORWHITE;操盘:=MA(CLOSE,9),COLORCYAN,LINETHICK2;界点:=MA(CLOSE,20),COLORMAGENTA;BU1:=CROSS(散户,操盘);买线1:=EMA(C,2);卖线1:=EMA(SLOPE(C,21)*20+C,42);BU2:=CROSS(买线1,卖线1);KAAA:=BU2ANDBU1ANDK6;AA:=LLV(LOW,36);BB:=HHV(HIGH,30);DD:=EMA((CLOSE-AA)/(BB-AA)*4,4)*25;操作线:DD,COLORRED,LINETHICK2;股海:=(DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21))*4*25;目标出现:IF(CROSS(股海,90)AND操作线<40,70,0),COLORBLUE;注意:IF(COUNT(操作线>REF(操作线,1),1)=1ANDREF(操作线,1)<REF(REF(操作线,1),1)AND操作线<地,50,0),COLORYELLOW;黑马:EMA(EMA(C,12)-EMA(C,25),2),COLORCC00CC,LINETHICK2;MA1:EMA(黑马,6),COLORYELLOW,LINETHICK2;MA2:(MA1<(MA(C,3)*C))*MA1,LINETHICK0;WWW:EMA(EMA(C,12)-EMA(C,25),2),COLORYELLOW,LINETHICK0;XDKXGS:EMA(黑马,6),COLORYELLOW,LINETHICK0;CN:(MA1<(MA(C,3)*C))*MA1,COLORYELLOW,LINETHICK0;MA3:DRAWICON((MA2ORMA1<(MA(C,3)*C))ANDCROSS(黑马,MA1)ANDV>REF(MA(V,5),1)*>MA(C,125)ANDC>REF(C,1)*,MA1,5),COLORCC00CC;MA4:IF((MA2ORMA1<(MA(C,3)*C))ANDCROSS(黑马,MA1)ANDV>REF(MA(V,5),1)*>MA(C,125)ANDC>REF(C,1)*,MA1*,MA1),COLORD4FF7F;DRAWTEXT((MA2ORMA1<(MA(C,3)*C))ANDCROSS(黑马,MA1)ANDV>REF(MA(V,5),1)*>MA(C,125)ANDC>REF(C,1)*,MA1*,'关注启动'),COLORRED;K2:=EMA(C,5),COLORFFFF00;K3:=EMA(C,10),COLORFFFF00;K5:=EMA(C,30),COLORFFFF00;KK5:=EMA(INDEXC,30),COLORFFFF00;K6:=2*(K2-K5);K7:=2*(K2-K3);K8:=2*(K7+K6),COLORRED;STICKLINE(CROSS(K8,0),0,10,8,0),COLORRED;K1:=IF(K8>REF(K8,5)ANDK3<REF(K3,5),1,0),COLORYELLOW;K21:=IF(K8>REF(K8,7)ANDK3<REF(K3,7),1,0),COLORYELLOW;K31:=IF(K8>REF(K8,9)ANDK3<REF(K3,9),1,0),COLORYELLOW;K4:=IF(K8>REF(K8,11)ANDK3<REF(K3,11),1,0),COLORYELLOW;底部:=STICKLINE((K1ORK21ORK31ORK4)ANDK8<0ANDK8>REF(K8,1),5,0,8,0);天:,COLORMAGENTA;风险:80,COLORGRAY;地:10,COLORGREEN;散户:=EMA(CLOSE,5),COLORWHITE;操盘:=MA(CLOSE,9),COLORCYAN,LINETHICK2;界点:=MA(CLOSE,20),COLORMAGENTA;BU1:=CROSS(散户,操盘);买线1:=EMA(C,2);卖线1:=EMA(SLOPE(C,21)*20+C,42);BU2:=CROSS(买线1,卖线1);KAAA:=BU2ANDBU1ANDK6;AA:=LLV(LOW,36);BB:=HHV(HIGH,30);DD:=EMA((CLOSE-AA)/(BB-AA)*4,4)*25;操作线:DD,COLORRED,LINETHICK2;股海:=(DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21))*4*25;目标出现:IF(CROSS(股海,90)AND操作线<40,70,0),COLORBLUE;注意:IF(COUNT(操作线>REF(操作线,1),1)=1ANDREF(操作线,1)<REF(REF(操作线,1),1)AND操作线<地,50,0),COLORYELLOW;黑马:EMA(EMA(C,12)-EMA(C,25),2),COLORCC00CC,LINETHICK2;MA1:EMA(黑马,6),COLORYELLOW,LINETHICK2;MA2:(MA1<(MA(C,3)*C))*MA1,LINETHICK0;WWW:EMA(EMA(C,12)-EMA(C,25),2),COLORYELLOW,LINETHICK0;XDKXGS:EMA(黑马,6),COLORYELLOW,LINETHICK0;CN:(MA1<(MA(C,3)*C))*MA1,COLORYELLOW,LINETHICK0;MA3:DRAWICON((MA2ORMA1<(MA(C,3)*C))ANDCROSS(黑马,MA1)ANDV>REF(MA(V,5),1)*>MA(C,125)ANDC>REF(C,1)*,MA1,5),COLORCC00CC;MA4:IF((MA2ORMA1<(MA(C,3)*C))ANDCROSS(黑马,MA1)ANDV>REF(MA(V,5),1)*>MA(C,125)ANDC>REF(C,1)*,MA1*,MA1),COLORD4FF7F;DRAWTEXT((MA2ORMA1<(MA(C,3)*C))ANDCROSS(黑马,MA1)ANDV>REF(MA(V,5),1)*>MA(C,125)ANDC>REF(C,1)*,MA1*,'关注启动'),COLORRED;黑马:EMA(EMA(C,12)-EMA(C,25),2),COLORCC00CC,LINETHICK2;MA1:EMA(黑马,6),COLORYELLOW,LINETHICK2;MA2:(MA1<(MA(C,3)*C))*MA1,LINETHICK0;WWW:EMA(EMA(C,12)-EMA(C,25),2),COLORYELLOW,LINETHICK0;XDKXGS:EMA(黑马,6),COLORYELLOW,LINETHICK0;CN:(MA1<(MA(C,3)*C))*MA1,COLORYELLOW,LINETHICK0;MA3:DRAWICON((MA2ORMA1<(MA(C,3)*C))ANDCROSS(黑马,MA1)ANDV>REF(MA(V,5),1)*>MA(C,125)ANDC>REF(C,1)*,MA1,5),COLORCC00CC;MA4:IF((MA2ORMA1<(MA(C,3)*C))ANDCROSS(黑马,MA1)ANDV>REF(MA(V,5),1)*>MA(C,125)ANDC>REF(C,1)*,MA1*,MA1),COLORD4FF7F;DRAWTEXT((MA2ORMA1<(MA(C,3)*C))ANDCROSS(黑马,MA1)ANDV>REF(MA(V,5),1)*>MA(C,125)ANDC>REF(C,1)*,MA1*,'关注启动'),COLORRED;圣灵石:EMA(EMA(C,12)-EMA(C,25),2),COLORCC00CC,LINETHICK2;MA1:EMA(圣灵石,6),COLORYELLOW,LINETHICK2;MA2:(MA1<(MA(C,3)*C))*MA1,LINETHICK0;WWW:EMA(EMA(C,12)-EMA(C,25),2),COLORYELLOW,LINETHICK0;XDKXGS:EMA(圣灵石,6),COLORYELLOW,LINETHICK0;CN:(MA1<(MA(C,3)*C))*MA1,COLORYELLOW,LINETHICK0;MA3:DRAWICON((MA2ORMA1<(MA(C,3)*C))ANDCROSS(圣灵石,MA1)ANDV>REF(MA(V,5),1)*>MA(C,125)ANDC>REF(C,1)*,MA1,5),COLORCC00CC;MA4:IF((MA2ORMA1<(MA(C,3)*C))ANDCROSS(圣灵石,MA1)ANDV>REF(MA(V,5),1)*>MA(C,125)ANDC>REF(C,1)*,MA1*,MA1),COLORD4FF7F;DRAWTEXT((MA2ORMA1<(MA(C,3)*C))ANDCROSS(圣灵石,MA1)ANDV>REF(MA(V,5),1)*>MA(C,125)ANDC>REF(C,1)*,MA1*,'关注启动'),COLORRED;输出圣灵石:收盘价的12日指数移动平均-收盘价的25日指数移动平均的2日指数移动平均,COLORCC00CC,LINETHICK2输出MA1:圣灵石的6日指数移动平均,画黄色,LINETHICK2输出均线:(MA1<(收盘价的3日简单移动平均*收盘价))*MA1,LINETHICK0输出WWW:收盘价的12日指数移动平均-收盘价的25日指数移动平均的2日指数移动平均,画黄色,LINETHICK0输出XDKXGS:圣灵石的6日指数移动平均,画黄色,LINETHICK0输出CN:(MA1<(收盘价的3日简单移动平均*收盘价))*MA1,画黄色,LINETHICK0输出MA3:当满足条件(MA2ORMA1<(收盘价的3日简单移动平均*收盘价))ANDCROSS(圣灵石,MA1)ANDV>昨日成交量(手)的5日简单移动平均*>收盘价的125日简单移动平均ANDC>昨收*时,在MA1位置画5号图标,COLORCC00CC输出MA4:如果(MA2ORMA1<(收盘价的3日简单移动平均*收盘价))ANDCROSS(圣灵石,MA1)ANDV>昨日成交量(手)的5日简单移动平均*>收盘价的125日简单移动平均ANDC>昨收*,返回MA1*,否则返回MA1,COLORD4FF7F当满足条件(MA2ORMA1<(收盘价的3日简单移动平均*收盘价))ANDCROSS(圣灵石,MA1)ANDV>昨日成交量(手)的5日简单移动平均*>收盘价的125日简单移动平均ANDC>昨收*时,在MA1*位置书写文字,画红色上(*^四__哥^*)23:48:27黑马:EMA(EMA(C,12)-EMA(C,25),2),COLORCC00CC,LINETHICK2;MA1:EMA(黑马,6),COLORYELLOW,LINETHICK2;MA2:(MA1<(MA(C,3)*C))*MA1,LINETHICK0;WWW:EMA(EMA(C,12)-EMA(C,25),2),COLORYELLOW,LINETHICK0;XDKXGS:EMA(黑马,6),COLORYELLOW,LINETHICK0;CN:(MA1<(MA(C,3)*C))*MA1,COLORYELLOW,LINETHICK0;MA3:DRAWICON((MA2ORMA1<(MA(C,3)*C))ANDCROSS(黑马,MA1)ANDV>REF(MA(V,5),1)*>MA(C,125)ANDC>REF(C,1)*,MA1,5),COLORCC00CC;MA4:IF((MA2ORMA1<(MA(C,3)*C))ANDCROSS(黑马,MA1)ANDV>REF(MA(V,5),1)*>MA(C,125)ANDC>REF(C,1)*,MA1*,MA1),COLORD4FF7F;DRAWTEXT((MA2ORMA1<(MA(C,3)*C))ANDCROSS(黑马,MA1)ANDV>REF(MA(V,5),1)*>MA(C,125)ANDC>REF(C,1)*,MA1*,'关注启动'),COLORRED;上:ISSUEDATE;{上市时间}均:ref(CAPITAL/HOLDERNUM,1)*100,pointdot;{人均持股}高:HHV(HIGH,0);{历史最高}低:LLV(LOW,0),colorred;{历史最低}总:FINANCE(1),pointdot;{总股本}流:IF(VOL>0,CAPITAL/100,0),pointdot;{流通盘}量:vol;额:amount;{成交额}益:finance(33);{每股收益}换:100*v/capital;{换手率}盈:dynainfo(39);{市盈率}积:finance(18);{公积金}净:finance(34);{每股净资产}{基本面选股==基本面选股好!}{jbmxg基本面选股}{基本面选股==基本面选股好已可用}{jbmxg基本面选股}总股本:=FINANCE2(35)/10000<100;流通股:=FINANCE2(37)/10000<20;限售A股:=FINANCE2(41);每股收益:=FINANCE2(3)>;市盈率:=DYNAINFO(39)<30;每股公积金:=FINANCE2(7);价:=c<30andc>5;涨幅1:=c/ref(c,1)>;量:=v>ref(v,1)*;xg:if(总股本and每股收益and市盈率and价and涨幅1and量,1,0);{选股方法:1。
通达信庄家仓位综合主图指标公式
通达信庄家仓位综合主图指标公式MA5:MA(C,5);MA6:=MA(C,6);MA13:MA(C,13);MA21:=MA(C,21);MA30:MA(C,30);MA55:MA(C,55);MA120:MA(C,120);A2:=REF(MA21,1);J1:=(MA21-A2)/A2*100;MJ1:=MA(J1,3);乖离2:=(MA21-MA30)/MA30*100;VAR1:=IF(BETWEEN(乖离2,-2,5),2,0);MAX1:=MAX(MA21,MA30);MAX2:=MAX(MAX1,MA55);MIN1:=MIN(MA21,MA30);MIN2:=MIN(MIN1,MA55);K1:=(MAX2/MIN2-1)*100;{粘合度符合条件}VAR2:=IF(K1<=8,1,0);上火车轨:=MA21>MA30 AND MA21>REF(MA21,1) AND MA30>REF(MA30,1) AND MA21-MA30>REF((MA21-MA30),1) ;STICKLINE(上火车轨,MA21,MA30,0,0),COLORRED;神枪手:=DRAWTEXT(FILTER(上火车轨 AND "MACD.DIF"<0.15 AND "MACD.DIF">REF("MACD.DIF",1) AND MA(V,60)>REF(MA(V,60),1) AND MA(V,5)>MA(V,10) AND J1>REF(J1,1) AND( L<=MA21 AND C>MA21 OR (CROSS(MA5,MA21)) ),5),L*0.98,'←神枪手');神枪手选股:FILTER(上火车轨AND "MACD.DIF"<0.15 AND "MACD.DIF">REF("MACD.DIF",1) AND MA(V,60)>REF(MA(V,60),1) AND MA(V,5)>MA(V,10) AND J1>REF(J1,1) AND( L<=MA21 AND C>MA21 OR (CROSS(MA5,MA21)) ),5);{44.40%15240}短线暴涨:DRAWTEXT(FILTER( (VAR1 OR VAR2) AND MA13>REF(MA13,1) AND COUNT(MA30>REF(MA30,1),3)=3 AND MA30>MA55 AND COUNT(CROSS(MA5,MA30),3) AND J1>MJ1 AND MA(V,5)>MA(V,60)AND MA(V,60)>REF(MA(V,60),1),5),MA55*0.99,'短线暴涨'),COLORRED;DRAWTEXT(CROSS("KDJ.K"(5,2,3),"KDJ.D"(5,2,3)) AND "KDJ.D"(5,2,3)<30 AND J1>MJ1 AND MA55>REF(MA55,1) AND COUNT(J1<1,3)>=1 ,L*0.995,'←买入'),COLORYELLOW;DRAWTEXT(CROSS("KDJ.D"(5,2,3),"KDJ.K"(5,2,3)) AND "KDJ.D"(5,2,3)>65 AND J1<MJ1 AND COUNT(J1>1,3)>=1,H*1.005,'←卖出'),COLORGREEN;DRAWTEXT(CROSS("KDJ.D"(18,9,6),"KDJ.K"(18,9,6)) AND "KDJ.D"(18,9,6)>60 AND "KDJ.J"(45,15,15)>90,H*1.03,'←顶'),COLORRED;DRAWTEXT(CROSS(MA5,MA6) AND "KDJ.K"(5,3,3)>=50 AND "KDJ.J"(5,3,3)<31 ,L*0.92,'←再买'),COLORMAGENTA;XL1:=((LLV(LOW,3) = LLV(LOW,60)) AND ((CLOSE / REF(CLOSE,1)) >= 1.04));XL2:=(((CLOSE - EMA(CLOSE,21)) / EMA(CLOSE,21)) * 100);XL3:=CROSS(XL2,(0 - 20));DRAWTEXT(FILTER(((XL1 > 0) AND LOW),5),(LOW - 0.4),'●买点');DRAWTEXT((XL3 > 0),(LOW - 0.2),'●绝对底部');X6:=REF(CLOSE,1);X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(ABS((CLOSE - X6)),7,1)) * 100);X8:=CROSS(79,X7);X9:=FILTER(X8,4);DRAWTEXT(X9,(HIGH * 1.02),'●出货'),COLOR9000F5;STICKLINE(C>1.098*REF(C,1),C,O,0,0),COLORYELLOW;AAA:=CONST(HHV(H,90));R1:=MA(CLOSE,1);R2:=MA(CLOSE,3);R3:=(MA(R2,1)*1);R4:=(MA(R2,3)*1);DRAWTEXT(CROSS(R3,R4),(LOW-0.1),'进'),COLORYELLOW;X1:=(C+L+H)/3;DD:=TOTALCAPITAL;SS:=FINANCE(7);GG:=FINANCE(33);TH:=DYNAINFO(39);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);LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'出'),COLORGREEN;{双线持币:HHV(MA(HIGH,(3)),2),LINETHICK1,COLOR00FF00;单线持股:LLV(MA(HIGH,(3)),1),LINETHICK1,COLOR0000FF;}VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VAR12:=(HIGH+LOW+CLOSE)/3;VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));VAR15:=IF(VAR13>=150 AND VAR13<200 ANDVAR14>=150 AND VAR14<200,10,0);VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15);VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR18:=100-ABS(VAR17);VAR19:=IF(VAR18<90,VAR18,100);VAR1A:=IF(VARE>0,VARE,0);VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60;VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100;DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,HIGH*1.02,'大笔出货'),LINETHICK1,COLORFFCC66;AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;老鼠仓:=BB1 AND CC1 AND DD1 AND EE1,LINETHICK0;DRAWTEXT(老鼠仓,(LOW* 0.99),'老鼠仓'),COLOR40CCFF;A74:=MA(CLOSE,20);A75:=(CLOSE > MA(CLOSE,5));A76:=(MA(CLOSE,5) > MA(CLOSE,10));A77:=(CLOSE > MA(CLOSE,10));A78:=(MA(CLOSE,5) > MA(CLOSE,20));A79:=(CLOSE > MA(CLOSE,20));A710:=REF(A74,1);A711:=(A74 > A710);AVX:=(((((IF(A75,10,(0 - 10)) + IF(A76,10,(0 - 10))) + IF(A77,10,(0 - 10)))+ IF(A78,10,(0 - 10))) + IF(A79,10,(0 - 10))) + IF(A711,10,(0 -10)));DSLX:=(CLOSE / INDEXC);DSLX1:=MA(DSLX,5);DSLX2:=MA(DSLX,10);V1:=MA(VOL,5);V2:=MA(VOL,10);T1:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T2:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T3:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 > V2)) AND (DSLX < DSLX1)),1,0));T4:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 <= V2)) AND (DSLX < DSLX1)),1,0));T5:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T6:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T7:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));T8:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));T9:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T10:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T11:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));T12:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));T13:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T14:=CONST(IF( C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T15:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));T16:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));T17:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 >= V2)),1,0));T18:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 >= V2)),1,0));T19:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 < V2)),1,0));T20:=CONST(IF(C>200 AND (CROSS(1,AVX) AND (V1 >= V2)),1,0));T21:=CONST(IF(C>200 AND (CROSS(1,AVX) AND (V1 < V2)),1,0));T22:=CONST(IF(C>200 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)),1,0));T23:=CONST(IF(C>200 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)),1,0));T24:=CONST(IF(C>200 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)),1,0));T25:=CONST(IF(C>200 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)),1,0));DRAWTEXT(T1=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03),'量能理想,明显走强,中线参与,仓位在2/3左右'),COLORFF00FF ;DRAWTEXT(T2=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03),'走势趋强,还显不足,短线进场,仓位在1/2左右'),COLORFF00FF ;DRAWTEXT(T3=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03),'量价良好,没有明显走强,短线进场,仓位1/2左右'),COLORFF00FF ;DRAWTEXT(T4=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03),'形态尚可,量能不足,未完全走强,短线参与,仓位1/3左右'),COLORFF00FF ;DRAWTEXT(T5=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03),'形态变坏,重仓者减持大半,清仓者观望'),COLORFF00FF ;DRAWTEXT(T6=1 AND CURRBARSCOUNT=70,AAA*0.98,'随大盘一起下跌,明显缩量走势,考虑到风险,减持或清仓'),COLORFF00FF ;DRAWTEXT(T7=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03),'该股放量下跌,走势明显偏弱,离场观望'),COLORFF00FF ;DRAWTEXT(T8=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03),'该股缩量下跌,走势偏弱,离场观望。
【股票指标公式下载】-【通达信】分时控盘(无庄控盘、有庄控盘、主力出货)
【通达信】分时控盘(无庄控盘、有庄控盘、主力出货)-指标公式源码VAR1:=EMA(EMA(CLOSE,13),13);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,1,1),COLOR00FF00;STICKLINE(控盘>REF(控盘,1) AND 控盘<0,控盘,0,1,1),COLORFF00FF;无庄控盘:=控盘<0;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,1),COLOR0000FF;有庄控盘:=控盘>REF(控盘,1) AND 控盘>0;VAR2:=100*WINNER(CLOSE*0.95);STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,1),COLORFFFF00;主力出货:=控盘<REF(控盘,1) AND 控盘>0;STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,1),COLOR00FFFF;高度控盘: VAR2>50 AND COST(85)<CLOSE AND 控盘>0,COLOR00FFFF,LINETHICK2; A10:=CROSS(控盘,0);控盘B:=FILTER(IF(A10,1,0),5);{分时价格原码}JJ:=DYNAINFO(11);{波段买卖原码}P:=55;S:=8;M1:=3;财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,COLORRED,LINETHICK2;神:=EMA(财,M1),COLORGREEN,LINETHICK1;DRAWBAND(财,RGB(255,0,0),神,RGB(0,100,50));{股价与均线偏离买卖条件}BTJ1:=(C-JJ)/JJ<-0.03;BTJ11:=(C-JJ)/JJ<-0.03;BTJ12:=LAST(JJ>=REF(JJ,1),5,1) AND (C-JJ)/JJ<0.005;STJ1:=(C-JJ)/JJ>0.005;{控盘买卖条件}STJ01:=控盘<REF(控盘,1) AND 控盘>0.5;STJ02:=控盘>0;BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;BTJ22:=控盘>REF(控盘,1) AND 控盘<0 ;{波段买卖条件}BTJ3:=CROSS(财,神) AND 财<-0.3;BTJ32:=CROSS(财,神) AND 财<-0.1;STJ31:=CROSS(神,财);STJ32:=CROSS(神,财) AND 财>1.618;{以下为信号};BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13);DRAWTEXT(BTJ81,神,'↑买底'),COLORRED;DRAWTEXT(BTJ811,神*1.2,'↑有庄'),COLORWHITE;STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13);STJ82:=FILTER(STJ02 AND STJ32 ,13);STJ83:=STJ81 AND STJ82;DRAWTEXT(STJ83,神,'↓卖'),COLOR00FF00;DIFF: (EMA(CLOSE,8) - EMA(CLOSE,55))*10,COLORRED;DEA: EMA(DIFF,3),COLORGREEN;庄:= BTJ11 AND BTJ2 AND BTJ3;有庄:FILTER(庄,55),COLORWHITE;DRAWTEXT(BTJ811,有庄,'有庄'),COLORWHITE;【通达信】分时控盘(无庄控盘、有庄控盘、主力出货)-指标公式效果图 (文档来源:若水财经社区)。
通达信主力资金监控指标公式
通达信主力资金监控指标公式副图指标,可以看资金特大单、大单、中小单,以及主力筹码集中度指标源码:资金:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));资金买:=IF(CLOSE>OPEN,资金*(HIGH-LOW),IF(CLOSE<OPEN,资金*((HIGH-OPEN)+ (CLOSE-LOW)),VOL/2)),LINETHICK0,COLORRED;资金卖:=IF(CLOSE>OPEN,0-资金*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0- 资金*(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;买卖0:= (HIGH+LOW+CLOSE)/3;买卖1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));买卖2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-买卖0);买卖3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);买卖4:=IF(HIGH=LOW,1,买卖0-MIN(CLOSE,OPEN));买卖5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));买卖6:='MACD.DIF'>'MACD.DEA' AND 'MACD.DEA'<0;买卖7:='KDJ.K'>'KDJ.D' AND 'KDJ.D'<30;买卖8:='MACD.DIF'<'MACD.DEA';买卖9:='KDJ.K'<'KDJ.D' AND 'KDJ.K'>80;特大:买卖4*买卖5,NODRAW;大单:买卖3*买卖5,NODRAW;中单:买卖1*买卖5,NODRAW;小单:买卖2*买卖5,NODRAW;综合:=SUM(大单,N)+SUM(特大,N);W2:=SUM(小单,N)+SUM(中单,N);量振1:=特大>大单 AND 大单>小单;量振2:=特大<小单 AND 大单<小单;标振1:=买卖6 AND 买卖7;标振2:=买卖8 AND 买卖9;A:=综合-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;。
主力控盘(副图 源码 控盘 高度控盘 对倒出货)通达信指标公式源码
主力控盘(副图源码控盘高度控盘对倒出货)VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);VAR6:=MA(VAR5,3);开始控盘:STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR00AAFF; STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR0044FF; STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),2.5,0),COLOR0088FF; STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3,0),COLOR00AAFF;VAR1:=EMA(EMA(CLOSE,3),1);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,3.5,0),COLORFFAA00;STICKLINE(控盘<0,控盘,0,3.5.2,0),COLORFF4400;STICKLINE(控盘<0,控盘,0,2.5,0),COLORFF8800;STICKLINE(控盘<0,控盘,0,0,0),COLORFFAA00;无控盘:0,COLORFFAA00;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR000088; STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR0000AA; STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR0000CC; STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR0000EE; 高度控盘:0,COLOR0000FF;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR008800; STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR00AA00; STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR00CC00; STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR00EE00; STICKLINE(DDX<0,0,DDX,3.5,0),COLOR008800;STICKLINE(DDX<0,0,DDX,2.5,0),COLOR00AA00;STICKLINE(DDX<0,0,DDX,1.5,0),COLOR00CC00;STICKLINE(DDX<0,0,DDX,1,0),COLOR00EE00;对倒出货:0,COLOR00FF00;。
通达信最新版真正的庄家指标公式
通达信最新版真正的庄家指标公式编程思路破译通达信真正的赋值:收盘价的3日指数移动平均庄家指标公式赋值:收盘价的5日指数移动平均输出FFDDDS1:庄家指标公式的3日指数移动平均,COLORFA471B,线宽为3画带状线如果FFDDDS1>1日前的FFDDDS1,返回FFDDDS1,否则返回无效数,COLOR8000FF,线宽为3CCDD赋值:(开盘价+最高价+最低价+收盘价)/4CCDD1赋值:CCDD的5日指数移动平均CCDD2赋值:1日前的CCDD1输出EESSS:如果CCDD1>=CCDD2,返回CCDD1,否则返回CCDD2*1.02,COLORFA471B,线宽为3CCDD3赋值:如果CCDD2-CCDD1,返回CCDD2,否则返回CCDD1*1.02如果EESSS>CCDD3,返回EESSS,否则返回无效数,COLOR8000FF,线宽为2程序源码通达信真正的:=EMA(C,3);庄家指标公式:=EMA(C,5);ffddds1:EMA(庄家指标公式,3),COLORFA471B,LINETHICK3;DRAWBAND(通达信真正的,RGB(255,152,0),庄家指标公式,RGB(0,255,0));IF(ffddds1>REF(ffddds1,1),ffddds1,DRAWNULL),COLOR8000 FF,LINETHICK3;ccdd:=(O+H+L+C)/4;ccdd1:=EMA(ccdd,5);ccdd2:=REF(ccdd1,1);eesss:IF(ccdd1>=ccdd2,ccdd1,ccdd2)*1.02,COLORFA471B,LI NETHICK3;ccdd3:=IF(ccdd2-ccdd1,ccdd2,ccdd1)*1.02;IF(eesss>ccdd3,eesss,DRAWNULL),COLOR8000FF,LINETHICK 2;注:馆内各种公式为学习编程而保存,实战使用前一定要看其成功率回测数据和风险提示或者自己亲自测试近期成功率,决不能依据公式名称的描述和形容去投资,据此入市造成投资损失由投资者自己承担。
主力控盘系数通达信指标公式源码
主力控盘系数通达信指标公式源码
下面是主力控盘系数通达信指标的公式源码:
/*
计算方法:主力控盘系数=主力买入成交额/主力资金流入
在通达信软件中没有直接提供主力控盘系数这个指标,但可以通过以下几个步骤计算得到。
1.首先需要计算主力买入成交额,可以使用以下公式:
主力买入成交额=主力资金流入*成交额/成交量
其中,主力资金流入可以通过计算正的资金流入减去负的资金流入得到:
主力资金流入=资金流入-资金流出
2.然后需要计算主力资金流入,可以使用以下公式:
主力资金流入=大单资金流入+中单资金流入
其中,大单资金流入可以通过计算大单买入金额减去大单卖出金额得到:
大单资金流入=大单买入金额-大单卖出金额
中单资金流入可以通过计算中单买入金额减去中单卖出金额得到:中单资金流入=中单买入金额-中单卖出金额
3.最后,需要计算主力买入成交额、成交额和成交量。
其中,主力买入成交额已经在第1步计算得到,成交额和成交量可以从股票交易数据中获取。
以上就是主力控盘系数的计算方法,通过这个指标可以反映出主力资金对于股票的操控程度。
一般来说,主力控盘系数越高,说明主力资金对于该股票的控制能力越强。
但是需要注意的是,主力控盘系数只是一个衡量指标,不能单独作为买入卖出的依据,还需要结合其他技术分析指标和基本面分析来进行综合判断。
庄家控盘通达信指标公式源码
PJGJ:=AMOUNT/VOL/0;SSRYDJX:=MA(PJGJ,13);SSRCJL:=EMA(VOL,13);SSRCJE:=EMA(AMOUNT,13);SSRCBJX:=SSRCJE/SSRCJL/100;CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;XYSHSL:=EMA(VOL/CAPITAL*100,13);STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,2,0 ),COLORGREEN;STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,2 ,0 ),COLORYELLOW;STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,2 ,0 ),COLORCYAN;STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,2 ,0 ),COLORBLUE;DIF:EMA(CLOSE,9)-EMA(CLOSE,21);DEA:EMA(DIF,5);MACD1:(DIF-DEA)*2,COLORSTICK;VAR14:=EMA(EMA(CLOSE,9),9);控盘:=(VAR14-REF(VAR14,1))/REF(VAR14,1)*70;STICKLINE(控盘<0,控盘,0,0.00001,0),COLORWHITE;A10:=CROSS(控盘,0);无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,NODRAW;开始控盘:IF(A10,5,0),LINETHICK1,COLORYELLOW,NODRAW;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLORRED;有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;VAR15:=100*WINNER(CLOSE*0.95);STICKLINE(VAR15>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,0),COLORFF00FF; 高度控盘:IF(VAR15>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF,NODRAW;STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLOR00FF00;主力出货:IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),COLOR00FF00,NODRAW;攻击量:=((HSL*0.50+REF(HSL,1)*0.33)+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPE N;攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0; 攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0; 攻击流量:=攻击量A+攻击量B,COLORSTICK;攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;资金攻击度:=IF(攻击比>=0,(攻击比+50),100-ABS((攻击比-50)));资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;资金出入:=资金流入+资金流出,COLORSTICK;资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2)); DRAWTEXT_FIX(1,0.000,0.00,0,STRCAT(STRCAT('【资金流量比】',CON2STR(资金流量比,2)),'%买')),COLORCYAN;DRAWTEXT_FIX(1,0.120,0.00,0,STRCAT(STRCAT('【资金攻击度】',CON2STR(资金攻击度,2)),' %买')),COLORMAGENTA;DRAWTEXT_FIX(ISLASTBAR,0,1,0,EXTERNSTR(0,1)),COLORFFFF00;{};AA:=RANGE(MA(C,5) ,O,C)+RANGE(MA(C,8) ,O,C)+RANGE(MA(C,13) ,O,C)+RANGE(MA( C,21) ,O,C)+RANGE(MA(C,34) ,O,C)+RANGE(MA(C,55) ,O,C)+RANGE(MA(C,89) ,O,C);AAA:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1); AA>=3 AND AAA>=1;AA>=3 AND AAA>=1;起爆:"KDJ.J"-REF("KDJ.J",1)>30 AND C/REF(C,1)>1.043 AND "MACD.MACD">0 AND "MACD.DEA">0;。
庄家控盘通达信指标公式源码
PJGJ:=AMOUNT/VOL/0;SSRYDJX:=MA(PJGJ,13);SSRCJL:=EMA(VOL,13);SSRCJE:=EMA(AMOUNT,13);SSRCBJX:=SSRCJE/SSRCJL/100;CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;XYSHSL:=EMA(VOL/CAPITAL*100,13);STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,2,0 ),COLORGREEN;STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,2 ,0 ),COLORYELLOW;STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,2 ,0 ),COLORCYAN;STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,2 ,0 ),COLORBLUE;DIF:EMA(CLOSE,9)-EMA(CLOSE,21);DEA:EMA(DIF,5);MACD1:(DIF-DEA)*2,COLORSTICK;VAR14:=EMA(EMA(CLOSE,9),9);控盘:=(VAR14-REF(VAR14,1))/REF(VAR14,1)*70;STICKLINE(控盘<0,控盘,0,0.00001,0),COLORWHITE;A10:=CROSS(控盘,0);无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,NODRAW;开始控盘:IF(A10,5,0),LINETHICK1,COLORYELLOW,NODRAW;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLORRED;有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;VAR15:=100*WINNER(CLOSE*0.95);STICKLINE(VAR15>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,0),COLORFF00FF; 高度控盘:IF(VAR15>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF,NODRAW;STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLOR00FF00;主力出货:IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),COLOR00FF00,NODRAW;攻击量:=((HSL*0.50+REF(HSL,1)*0.33)+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPE N;攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0; 攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0; 攻击流量:=攻击量A+攻击量B,COLORSTICK;攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;资金攻击度:=IF(攻击比>=0,(攻击比+50),100-ABS((攻击比-50)));资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;资金出入:=资金流入+资金流出,COLORSTICK;资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2)); DRAWTEXT_FIX(1,0.000,0.00,0,STRCAT(STRCAT('【资金流量比】',CON2STR(资金流量比,2)),'%买')),COLORCYAN;DRAWTEXT_FIX(1,0.120,0.00,0,STRCAT(STRCAT('【资金攻击度】',CON2STR(资金攻击度,2)),' %买')),COLORMAGENTA;DRAWTEXT_FIX(ISLASTBAR,0,1,0,EXTERNSTR(0,1)),COLORFFFF00;{};AA:=RANGE(MA(C,5) ,O,C)+RANGE(MA(C,8) ,O,C)+RANGE(MA(C,13) ,O,C)+RANGE(MA( C,21) ,O,C)+RANGE(MA(C,34) ,O,C)+RANGE(MA(C,55) ,O,C)+RANGE(MA(C,89) ,O,C);AAA:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1); AA>=3 AND AAA>=1;AA>=3 AND AAA>=1;起爆:"KDJ.J"-REF("KDJ.J",1)>30 AND C/REF(C,1)>1.043 AND "MACD.MACD">0 AND "MACD.DEA">0;。
通达信主力控盘主力状态指标公式
通达信主力控盘主力状态指标公式【通达信】主力控盘主力状态指标公式主力控盘主力状态指标公式主力控盘N:=35;M:=35;N1:=3;B1:=(HHV(H,N)-C)/(HHV(H,N)-LLV(LOW,N))*100- M;B2:=SMA(B1,N,1)+100;B3:=(C-LLV(L,N))/(HHV(H,N)- LLV(L,N))*100;B4:=SMA(B3,3,1);B5:=SMA(B4,3,1)+100;B6:=B5-B2;控盘程度:(IF(B6>N1,B6-N1+2,0))*,COLORYELLOW;控盘度:100,COLORRED;STICKLINE( 控盘程度,0,控盘程度,,0 ),COLOR00FFFF; STICKLINE( 控盘程度 AND 控盘程度>100,100,控盘程度 ,,0 ),COLORRED;主力状态ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算} SHCM:=EMA((WINNER(CLOSE*-WINNER(CLOSE*)*80,3);{//散户筹码估算}ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//散户套牢筹码比率} ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{//主力控盘筹码比率} ZCMZL:=MA(ZLCM+SHCM,13);{//市场筹码总量}ZZNTS:=BARSLAST(ZSHTL90);{//走牛天数}ZSHJJ:=EMA(ZSHTL,89);{//散户警戒}ZZLJJ:=EMA(ZZLKP,89);{//主力警戒}ZJLRQD:=INTPART(ZZLKP-ZZLJJ);{//资金流入强度}SH8:=EMA(ZSHTL,8);DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0); {散户套牢筹码}STICKLINE(C>0,ZSHTL,ZZLKP,1,0),COLORFFFFFF;{散户筹码警戒}STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLOR00FF00;{主力控盘筹码}STICKLINE(C>0,ZZLKP,0,1,0),COLORA4A4A4;{筑顶风险区}STICKLINE(ZZLKP>75,ZZLKP,0,1,0),COLORFFFFFF;{顶部:(ZZLKP>75),COLORFFFFFF;}{主力筹码警戒}STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2,0),COLOR RED;{筑底散兵坑}STICKLINE(ZSHTL>=90,ZZLKP,0,2,0),COLOR66FFCC;{底部:(ZSHTL>=90),COLOR66FFCC;}{筹码总量上升}IF(ZCMZL,ZCMZL>REF(ZCMZL,1),0),COLOR0066FF,LINETHIC K1;{增量资金};{//------【数值显示】}散户套牢系数:INTPART(ZSHTL),COLORCYAN,LINETHICK2;主力控盘系数:INTPART(ZZLKP),COLORYELLOW,LINETHICK2;资金流入强度:ZJLRQD,LINETHICK2,COLORRED;资金流入强度2:IF(ZJLRQD<10,ZJLRQD,0),LINETHICK2,COLORWHITE;市场筹码总量:INTPART(ZCMZL),COLORWHITE,LINETHICK0; DRAWICON(CROSS(主力控盘系数,散户套牢系数),散户套牢系数-5,11);DRAWICON(CROSS(资金流入强度,散户套牢系数),散户套牢系数-5,17);。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
【通达信】庄家控盘(无庄控盘、有庄控盘、主力出货)-指标公式源码
{N1 100 5}
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
STICKLINE(控盘<0,控盘,0,1,0),COLORWHITE;
A10:=CROSS(控盘,0);
无庄控盘:IF(控盘<0,控盘,0),COLORWHITE;
开始控盘:IF(A10,5,0),LINETHICK1,COLORYELLOW;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLORRED;
有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控
盘,0,1,0),COLORFF00FF;
高度控盘:IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF; STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLOR00FF00;
主力出货:IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),COLOR00FF00;
VAR3:=AMOUNT/VOL/7;
VAR4:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR5:=SUM(AMOUNT,N)/VAR3/7;
VAR6:=DMA(VAR4,VOL/VAR5);
准备抄底:(CLOSE-VAR6)/VAR6*100,COLORFF6666;
VAR7:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR8:=SMA(ABS(LOW-VAR7),13,1)/SMA(MAX(LOW-VAR7,0),10,1);
VAR9:=EMA(VAR8,10);
VAR10:=LLV(LOW,33);
VAR11:=EMA(IF(LOW<=VAR10,VAR9,0),3);
进场:IF(VAR11>REF(VAR11,1),VAR11,0),COLORRED;
STICKLINE(VAR11>REF(VAR11,1),0,VAR11,1,0 ),COLORRED;
洗盘:IF(VAR11<REF(VAR11,1),VAR11,0),COLORFFFF00;
STICKLINE(VAR11<REF(VAR11,1),0,VAR11,1,0),COLORFFFF00;
【通达信】庄家控盘(无庄控盘、有庄控盘、主力出货)-指标公式效果图
(文档来源:若水财经社区)。