大智慧资金流入强度指标公式,大智慧七种K线图主图指标公式
admin888
|大智慧资金流入强度指标公式,大智慧七种K线图主图指标公式
大智慧资金流入强度指标公式
ZLCM:=EMA(WINNER(CLOSE)*70,3);
{//主力筹码估算}SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
{//散户筹码估算}ZSHTL:=SHCM/(ZLCM+SHCM)*100;
{//散户套牢筹码比率}ZZLKP:=ZLCM/(ZLCM+SHCM)*100;
{//主力控盘筹码比率}ZCMZL:=MA(ZLCM+SHCM,13);
{//市场筹码总量}ZZNTS:=BARSLAST(ZSHTL<90ANDREF(ZSHTL,1)>90);
{//走牛天数}ZSHJJ:=EMA(ZSHTL,89);
{//散户警戒}ZZLJJ:=EMA(ZZLKP,89);
{//主力警戒}
ZJLRQD:=INTPART(ZZLKP-ZZLJJ+0.5);
{//资金流入强度}SH8:=EMA(ZSHTL,8);
套牢系数:ema(ZSHTL,3),COLORCYAN;
控盘系数:ema(ZZLKP,3),COLORRED;
资金流入强度:ZJLRQD,COLORMAGENTA;
资金流入均值:ema(ZJLRQD,3),COLORGREEN,DOTLINE;
强弱:0,COLORWHITE,DOTLINE;
大智慧七种K线图主图指标公式
INPUT:N(1,0,1),P(1,0,1),P1(1,0,1),M(1,0,1),Y(1,0,1),W(1,0,1);;
{K线}STICKLINE(CLOSE>OPENorCLOSE=OPENandCLOSE>REF(CLOSE,1),LOW,HIGH,0.1,0),colorred;
STICKLINE(CLOSE>OPENorCLOSE=OPENandCLOSE>REF(CLOSE,1),OPEN,CLOSE,8,0),colorred;
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,8,0),COLOR008800;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,6,0),COLOR00AA00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,5,0),COLOR00BB00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,4,0),COLOR00CC00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3,0),COLOR00DD00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2,0),COLOR00EE00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1,0),COLOR00FF00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0,0),COLOR00FF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0),COLOR000066;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0),COLOR000088;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0),COLOR0000AA;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0),COLOR0000BB;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0),COLOR0000CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR0000DD;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0),COLOR0000EE;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0),COLOR0000FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0),COLOR0000FF;
{卖黄金,RSI=80}LC:=REF(C,1);
卖黄金:((SMA(MAX((C-LC),0),3,1)/SMA(ABS((C-LC)),3,1))*100),LINETHICK0;
STICKLINE(CROSS(80,卖黄金)ANDC
STICKLINE(CROSS(80,卖黄金)ANDC
STICKLINE(CROSS(80,卖黄金)ANDC
STICKLINE(CROSS(80,卖黄金)ANDC
STICKLINE(CROSS(80,卖黄金)ANDC
STICKLINE(CROSS(80,卖黄金)ANDC
Y5:EMA(CYC(3),5),COLORFFFFFF,LINETHICK1;
PARTLINE(Y5,(Y5>REF(Y5,1))-1,rgb(0,255,0),1,rgb(255,0,0)),LINETHICK2,LAYER0;
IFN=1THENBEGIN{1.成本线A}CYC1:COST(1),COLORFF66CC;
CYC5:COST(5),COLORFF00CC;
CYC13:COST(13),COLOR00CCCC;
CYC34:COST(34),COLOR00DEEE;
CYC55:COST(55),COLOR00ACCC,LINETHICK2;
CYC79:COST(79),COLORAACC22;
CYC95:COST(95),COLORGREEN;
ENDIFP=1THENBEGIN{2.成本线B}cyc5B:CYC(5),DOTLINE;
cyc13B:cyc(13),DOTLINE;
cyc34B:cyc(34),DOTLINE;
cyc55B:cyc(55),DOTLINE;
cyc89B:cyc(89),DOTLINE;
cyc144B:cyc(144),DOTLINE;
cyc0B:MAXCYC,colorff9900,DOTLINE;
MA20:MA(CLOSE,20),COLORff00ff;
MA30:MA(CLOSE,30),COLORff99ff;
MA60:MA(CLOSE,60),COLOR00ff00;
MA120:MA(CLOSE,120),COLORff9900;
END{4.均线B}IFM=1THENBEGINMA3B:MA(CLOSE,3);
MA5B:MA(CLOSE,5);
MA8B:MA(CLOSE,8);
MA13B:MA(CLOSE,13);
MA21B:MA(CLOSE,21);
MA34B:MA(CLOSE,34);
MA55B:MA(CLOSE,55);
MA89B:MA(CLOSE,89);
MA144B:MA(CLOSE,144);
END{5.黄金比}IFY=1THENBEGINX:=BARSLAST(DISPSTATUS=1)+1;
ah:=hhvall(hhv(h,X));
al:=llvall(llv(l,X));
nnl:=DISPSTATUS=2;
ahl:=ah-al;
q191:=al+ahl*0.191;
q382:=al+ahl*0.382;
q500:=al+ahl*0.500;
q618:=al+ahl*0.618;
q809:=al+ahl*0.809
DRAWTEXT(nnl,ah,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN1,COLOR0000ff;
DRAWTEXT(nnl,q809,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN1,COLORddaa00;
DRAWTEXT(nnl,q618,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN1,COLORddaa00;
DRAWTEXT(nnl,q500,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN1,COLOR00ffff;
DRAWTEXT(nnl,q382,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN1,COLORddaa00;
DRAWTEXT(nnl,q191,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN1,COLORddaa00;
DRAWTEXT(nnl,al,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN1,COLOR00ff00;
DRAWTEXT(nnl,ah*0.998,'最高.'+ah+''),ALIGN0,Color0047FF,LINETHICK1;
DRAWTEXT(nnl,q809,'80.9%.'+q809+''),ALIGN0,Color00FFff,LINETHICK1;
DRAWTEXT(nnl,q618,'61.8%.'+q618+''),ALIGN0,Color0047FF,LINETHICK1;
DRAWTEXT(nnl,q500,'50%.'+q500+''),ALIGN0,Color00FFff,LINETHICK1;
DRAWTEXT(nnl,q382,'38.2%.'+q382+''),ALIGN0,Color0047FF,LINETHICK1;
DRAWTEXT(nnl,q191,'19.1%.'+q191+''),ALIGN0,Color00FFff,LINETHICK1;
DRAWTEXT(nnl,al*1.01,'最低.'+al+''),ALIGN0,VALIGN2,Color0047FF,LINETHICK1;
END;
IFW=1THENBEGIN{6.BOLL}BBI:=(3*C+H+L)/5;
MID:EMA(BBI,26),COLOR00ff00,DOTLINE;
UPPER:MID+2*STD(BBI,26),COLORRED,DOTLINE;
LOWER:MID-2*STD(BBI,26),COLORFF9900,DOTLINE;
END;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。