大智慧大盘指数指标公式,大智慧三微分指标公式
admin888
|大智慧大盘指数指标公式,大智慧三微分指标公式
大智慧大盘指数指标公式
M5:MA("DPSJYY.SP",5);
M10:MA("DPSJYY.SP",10);
M20:MA("DPSJYY.SP",20);
M55:MA("DPSJYY.SP",55),LINETHICK2;
M120:MA("DPSJYY.SP",125),LINETHICK2;
M250:MA("DPSJYY.SP",250),COLORCYAN,LINETHICK2;
STICKLINE("DPSJYY.SP">"DPSJYY.KP" OR "DPSJYY.SP"="DPSJYY.KP" AND "DPSJYY.SP">REF("DPSJYY.SP",1),"DPSJYY.ZD","DPSJYY.ZG",0.5,0),LINETHICK5,color010000;
STICKLINE("DPSJYY.SP">"DPSJYY.KP" OR "DPSJYY.SP"="DPSJYY.KP" AND "DPSJYY.SP">REF("DPSJYY.SP",1),"DPSJYY.KP","DPSJYY.SP",7,0),LINETHICK5,color010000;
STICKLINE("DPSJYY.SP"<"DPSJYY.KP" OR "DPSJYY.SP"="DPSJYY.KP" AND "DPSJYY.SP"<=REF("DPSJYY.SP",1),"DPSJYY.ZD","DPSJYY.ZG",0.5,0),LINETHICK5,color010000;
STICKLINE("DPSJYY.SP"<"DPSJYY.KP" OR "DPSJYY.SP"="DPSJYY.KP" AND "DPSJYY.SP"<=REF("DPSJYY.SP",1),"DPSJYY.KP","DPSJYY.SP",7,0),LINETHICK5,color010000;
STICKLINE("DPSJYY.SP">="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",7,0),color0022CC;
STICKLINE("DPSJYY.SP">="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",6,0),color0033DD;
STICKLINE("DPSJYY.SP">="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",5,0),color0044EE;
STICKLINE("DPSJYY.SP">="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",4,0),color0055FF;
STICKLINE("DPSJYY.SP">="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",3,0),color0066FF;
STICKLINE("DPSJYY.SP">="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",2,0),color0077FF;
STICKLINE("DPSJYY.SP">="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",1,0),color0088FF;
STICKLINE("DPSJYY.SP">="DPSJYY.KP","DPSJYY.SP","DPSJYY.ZG",0,0),color0088FF;
STICKLINE("DPSJYY.SP">="DPSJYY.KP","DPSJYY.KP","DPSJYY.ZD",0,0),color0088FF;
STICKLINE("DPSJYY.SP"<="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",7,0),color00AA00;
STICKLINE("DPSJYY.SP"<="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",6,0),color00BB11;
STICKLINE("DPSJYY.SP"<="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",5,0),color00CC22;
STICKLINE("DPSJYY.SP"<="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",4,0),color00DD22;
STICKLINE("DPSJYY.SP"<="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",3,0),color00EE33;
STICKLINE("DPSJYY.SP"<="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",2,0),color00FF33;
STICKLINE("DPSJYY.SP"<="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",1,0),color00FF66;
STICKLINE("DPSJYY.SP"<="DPSJYY.KP","DPSJYY.ZG","DPSJYY.ZD",0,0),color00FF66;
DRAWGBKLAST(c>1,STRIP(RGB(15,80,225),RGB(0,0,0),1));
ZG:if((STRTONUM(STKLABEL)>2000 and STRTONUM(STKLABEL)<2999 OR STRTONUM(STKLABEL)=399005),"399005$HIGH",IF((STRTONUM(STKLABEL)>300000 and STRTONUM(STKLABEL)<300500 OR STRTONUM(STKLABEL)=399006),"399006$HIGH",IF((INBLOCK('沪深300')=1 ),"399300$HIGH",INDEXH)));
ZD:if((STRTONUM(STKLABEL)>2000 and STRTONUM(STKLABEL)<2999 OR STRTONUM(STKLABEL)=399005),"399005$LOW",IF((STRTONUM(STKLABEL)>300000 and STRTONUM(STKLABEL)<300500 OR STRTONUM(STKLABEL)=399006),"399006$LOW",IF((INBLOCK('沪深300')=1 ),"399300$LOW",INDEXl)));
SP:if((STRTONUM(STKLABEL)>2000 and STRTONUM(STKLABEL)<2999 OR STRTONUM(STKLABEL)=399005),"399005$CLOSE",IF((STRTONUM(STKLABEL)>300000 and STRTONUM(STKLABEL)<300500 OR STRTONUM(STKLABEL)=399006),"399006$CLOSE",IF((INBLOCK('沪深300')=1 ),"399300$CLOSE",INDEXc)));
kP:if((STRTONUM(STKLABEL)>2000 and STRTONUM(STKLABEL)<2999 OR STRTONUM(STKLABEL)=399005),"399005$open",IF((STRTONUM(STKLABEL)>300000 and STRTONUM(STKLABEL)<300500 OR STRTONUM(STKLABEL)=399006),"399006$open",IF((INBLOCK('沪深300')=1 ),"399300$open",INDEXo)));
大智慧三微分指标公式
N:=20;
AL:=(C+L+H+O)/4;
A1:=EMA(AL,1)-EMA(AL,60);
A2:=(EMA(A1,3)-EMA(A1,20));
A3:=(EMA(A2,3)-EMA(A2,5))*100;
M5:SUM(A3,N);
M10:MA(M5,5);
M20:MA(M10,5);
STICKLINE(M5>M10,M5,M10,8,0),COLOR0000FF;
STICKLINE(M5<=M10,M5,M10,8,0),COLOR00FF00;
FILLRGN(M5,0,M5>0,RGB(155,50,50)),LINETHICK2,LAYER7;
FILLRGN(M5,0,0>M5,RGB(0,100,50)),LINETHICK2,LAYER7;
0;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。