飞狐DMICD指标公式,飞狐寻庄迹指标公式
admin888
|飞狐DMICD指标公式,飞狐寻庄迹指标公式
飞狐DMICD指标公式
input:p(14,2,100),m(6,1,100);
TRr := SUM(maX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),P);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),P);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),P);
pdi:= DMP*100/TRr;
mdi:= DMM*100/TRr;
0,colorgreen;
//20,colorred;
//-20,colorred;
ADX6: MA((pdi-mdi)/(MDI+PDI)*100,m),colorwhite,linethick1;
ADX12: MA((pdi-mdi)/(MDI+PDI)*100,m*2),coloryellow,linethick1;
ADX26:= MA((pdi-mdi)/(MDI+PDI)*100,m*2.5),colorcyan,linethick1;
fillrgn(adx6>=adx12,adx6,adx12),color3333cc;
fillrgn(adx6
mpdi:ema(pdi,6),colorred;
mmdi:-ema(mdi,6),colorred;
difF := adx6 - adx26;
DEA := EMA(DIFF,5);
adxCD : 2*(DIFF-DEA), COLORstICK;
飞狐寻庄迹指标公式
均价:=(2*C+(C+H+L+O)/4+O)/4;
R:=(3*L+2*均价)/5;R1:=(3*H+2*均价)/5;
kX:=(R+R1)/2;
跟庄线:=ema(SUM(r*V,3)/SUM(V,3),2),COLORWHITE,LINETHICK1,PRECISION2;
工作线:=Ema(SUM(kx*V,3)/SUM(V,3),13);
CCC:=Abs(kx-MA(工作线,13))/MA(工作线,13);
济安线:=dma(kx,CCC);
行情线:=(EMA((COst(75)),13)+工作线)/2;
CC:=ABS(工作线-MA(行情线,13))/MA(行情线,13);
xS:=DMA(工作线,CC);
sm:=(济安线+xS)/2;
smD:=if(STKTYPE=0,SM*(1-6.91/100),SM*(1-13.82/100)),COLORFFCCAA,COLORFFC0FF,LINETHICK2,PRECISION2;
smT:=if(STKTYPE=0,SM*(1+6.91/100),SM*(1+13.82/100));
相对成本:=MA(C,BARPOS),COLORFFC0FF;
绝对成本:=IF(STKTYPE=0,相对成本,SUM(AMOUNT,BARPOS)/(SUM(V,BARPOS)*100)),,COLOR6600FF,LINETHICK2;
SD:=MAX(跟庄线,MAX(sm,绝对成本));
sX:=MIN(跟庄线,MIN(sm,绝对成本));
庄迹:(KX/绝对成本-1)*100,COLORRED,LINETHICK2;
趋势:(sm/绝对成本-1)*100,LINETHICK2;
地:(smD/绝对成本-1)*100,COLORFFCCAA;
天:(smT/绝对成本-1)*100,COLORFFC0FF;
PARTLINE(庄迹<=趋势,庄迹),COLORAAAA00,LINETHICK2;
0;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。