飞狐多空资金主图指标公式,飞狐DMI暴涨指标公式
admin888
|飞狐多空资金主图指标公式,飞狐DMI暴涨指标公式
飞狐多空资金主图指标公式
KS:=(C-ma(C,13))/MA(C,13)*(-100);
RKS:=REF(KS,1);
MLS:=RKS/KS>=1.23 AND RKS>=8 AND C/REF(C,1)>=1.02;
超跌:stICKLINE(KS>=8,H,L,0,1),colorwhite,linethick2;
反弹:STICKLINE(MLS=1,H,L,0,1),Color80FF80,linethick2;
STICKLINE(C>=O,C,O,4,0) ,COLORred;
STICKLINE(C<=O,C,O,4,0) ,ColorFFFF00;
STICKLINE(KS>=8,O,C,4,0),colorwhite,linethick2;
STICKLINE(MLS=1,O,C,4,0),colorYELLOW,linethick2;
ema(C,10),colorYELLOW;
EMA(KS/10+EMA(C,10),3),colorwhite;
上涨:EMA(C,10),Color4080FF;
下跌:EMA(KS/10+EMA(C,10),3),ColorC0C0C0;
分水岭:EMA(C,55),coloryellow,LINETHICK1;
飞狐DMI暴涨指标公式
n:=4;m:=3;
TRTR := SUM(maX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),N);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),N);
pdi:= DMP*100/TRTR;
mdi:= DMM*100/TRTR;
ADX:= MA(ABS(MDI-PDI)/(MDI+PDI)*100,M);
ADXR:=(ADX+REF(ADX,M))/2;
预警:if(ADX>90 and PDI=0,30,0),coloryellow,linethick2;
买:if(cross(PDI,MDI) and (C >1.05*ref(C,1) or ref(C,1)>1.05*ref(C,2)) and (V>2*ref(V,1) or ref(V,1)>2*ref(V,2))and ma(V,5)>ma(V,60) ,20,0),colorred,linethick2;
买2:if(cross(PDI,MDI) and count(预警,10)>=1,10,0),colorff00ff,linethick3;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。