大智慧多空红绿指标公式,大智慧出于MACD胜过MACD指标公式
admin888
|大智慧多空红绿指标公式,大智慧出于MACD胜过MACD指标公式
大智慧多空红绿指标公式
VV:=IF(CAPITAL<1,INDEXV,vol);
VVC:=IF(CAPITAL<1,SUM(INDEXV,71),CAPITAL);
换手:=VV/VVC;
机构意图:=ma(换手,21)*100;
大户意图:=MA(换手,13)*100;
中户意图:=MA(换手,8)*100;
散户意图:=MA(换手,5)*100;
均量:=(机构意图+大户意图+中户意图+散户意图)/4;
机构0:=机构意图-均量;
大户0:=大户意图-均量;
中户0:=中户意图-均量;
散户0:=散户意图-均量;
VIRVOL:=Abs(机构0)+ABS(大户0)+ABS(中户0)+ABS(散户0);
机构:=机构0/VIRVOL*VV;
大户:=大户0/VIRVOL*VV;
中户:=中户0/VIRVOL*VV;
散户:=散户0/VIRVOL*VV;
机构1日:机构,LINETHICK0,Color0000FF,PRECIS1;
大户1日:大户,LINETHICK0,ColorFF00FF,PRECIS1;
中户1日:中户,LINETHICK0,Color0080FF,PRECIS1;
散户1日:散户,LINETHICK0,Color00FFFF,PRECIS1;
{--------------------机构户量----------------}
KC4:=ABS(机构)+ABS(大户)+ABS(中户)+ABS(散户);
KO4:=ABS(大户)+ABS(中户)+ABS(散户);
stICKLINE(机构>0,KC4,KO4,5,0 ),Color0000AA;
STICKLINE(机构>0,KC4,KO4,3,0 ),Color0000FF;
STICKLINE(机构<=0,KC4,KO4,5,0 ),Color009300;
STICKLINE(机构<=0,KC4,KO4,3,0 ),Color00FF00;
{--------------------大户量----------------}
KC3:=ABS(大户)+ABS(中户)+ABS(散户);
KO3:=ABS(中户)+ABS(散户);
STICKLINE(大户>0,KC3,KO3,5,0 ),ColorA600A6;
STICKLINE(大户>0,KC3,KO3,3,0 ),ColorFF00FF;
STICKLINE(大户<=0,KC3,KO3,5,0 ),Color999900;
STICKLINE(大户<=0,KC3,KO3,3,0 ),ColorFFFF00;
{--------------------中户量----------------}
KC2:=ABS(中户)+ABS(散户);
KO2:=ABS(散户);
STICKLINE(中户>0,KC2,KO2,5,0 ),Color0053A6;
STICKLINE(中户>0,KC2,KO2,3,0 ),Color0080FF;
STICKLINE(中户<=0,KC2,KO2,5,0 ),Color9F0000;
STICKLINE(中户<=0,KC2,KO2,3,0 ),ColorC5753A;
{--------------------散户量----------------}
KC1:=ABS(散户);
KO1:=0;
STICKLINE(散户>0,KC1,KO1,5,0 ),Color009999;
STICKLINE(散户>0,KC1,KO1,3,0 ),Color00FFFF;
STICKLINE(散户<=0,KC1,KO1,5,0 ),Color7C7C7C;
STICKLINE(散户<=0,KC1,KO1,3,0 ),ColorE1E1E1;
DRAWTEXTABS(0,0,'■机红多'),Color0000FF;
DRAWTEXTABS(50,0,'■机绿空'),Color00FF00;
DRAWTEXTABS(100,0,'■大紫多'),ColorFF00FF;
DRAWTEXTABS(150,0,'■大青空'),ColorFFFF00;
DRAWTEXTABS(200,0,'■中橙多'),Color0080FF;
DRAWTEXTABS(250,0,'■中兰空'),ColorC5753A;
DRAWTEXTABS(300,0,'■散黄多'),Color00FFFF;
DRAWTEXTABS(350,0,'■散灰空'),ColorE1E1E1;
STICKLINE(c>=ref(c,1),0,V,7,1),Colorred,layer7;
{乖离率}l1:=6;{6 1 300}
L2:=12;{12 1 300}
l3:=24;{24 1 300}
bia6: (CLOSE-MA(CLOSE,L1))/MA(CLOSE,L1)*100,LINETHICK0,PRECIS1;
BIAS12: (CLOSE-MA(CLOSE,L2))/MA(CLOSE,L2)*100,LINETHICK0,PRECIS1;
BIAS24: (CLOSE-MA(CLOSE,L3))/MA(CLOSE,L3)*100,LINETHICK0,PRECIS1;
V5:ma(V,5),Color808080,PRECIS0,DOTLINE,LAYER3;
大智慧出于MACD胜过MACD指标公式
SQX:=(C-ma(CLOSE,13))*100;
difF:ema(MA(SQX,7),1),COLORWHITE;
DEA:EMA(DIFF,7),COLORYELLOW;
macd:(DIFF-DEA)*2,COLORstICK;
PARTLINE(15,crOSS(DIFF,DEA) AND DIFF<-0.1),COLORYELLOW,LINETHICK4,CROSSDOT;
低位金叉:IF(CROSS(DIFF,DEA) AND DIFF<-0.1,15,0),COLORYELLOW,LINETHICK0;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BArslAST(DEA>=0));
PARTLINE(28,CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1),COLORFF00FF,LINETHICK4,CROSSDOT;
二次金叉:IF(CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,28,0),COLORFF00FF,LINETHICK0;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
PARTLINE(40,REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA)),COLORRED,LINETHICK4,CROSSDOT;
底背离:IF(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),40,0),COLORRED,LINETHICK0;
势: DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORGREEN;{,COLORRED;}
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)
PARTLINE(66,REF(CLOSE,A2+1)
顶背离_:IF(REF(CLOSE,A2+1)
压: DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORFFBB99;
A3:=CROSS(DIFF,DEA) AND DEA<0;
PARTLINE(53,FILTER(COUNT(A3,21)=2,10)),COLORWHITE,LINETHICK4,CROSSDOT;
零下二次金叉_:IF(FILTER(COUNT(A3,21)=2,10),53,0),COLORWHITE,LINETHICK0;
DRAWICON(CROSS(DIFF,DEA) ,DIFF,7),LAYER0,ALIGN1;
DRAWICON(CROSS(DEA,DIFF) , DEA,8),LAYER0,ALIGN1;
金叉:if(CROSS(DIFF,DEA),diff,0),color00ff00,stick,linethick1;
死叉:if(CROSS(DEA,DIFF),diff,0),colorff0099,stick,linethick1;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。