飞狐看庄均线指标公式,飞狐安全MACD指标公式
admin888
|飞狐看庄均线指标公式,飞狐安全MACD指标公式
飞狐看庄均线指标公式
投机线:ma(c,5)-ma(c,200),colorwhite;
操作线:ma(c,21)-ma(c,200)coloryellow;
底线:ma(c,55)-ma(c,200),colorgreen;
0,pointDOT;
stICKLINE( c>O,h-ma(c,200) ,l-ma(c,200) ,1 ,0 ),COLORred;
STICKLINE( c>O,C-ma(c,200) ,O-ma(c,200) ,4 ,0 ),COLORred;
STICKLINE( O>=C,h-ma(c,200) ,l-ma(c,200) ,1 ,0 ),COLORcyan;
STICKLINE( O>=C,O-ma(c,200) ,C-ma(c,200) ,4 ,0 ),COLORcyan;
飞狐安全MACD指标公式
均价:=(2*C+(C+H+L+O)/4+O)/4;
R:=(2*L+3*均价)/5;R1:=(2*H+3*均价)/5;
kX:=(R+R1)/2;
YCZXH:=(ma(HHV(R,1),5)+MA(HHV(R,2),13)+MA(HHV(R,3),21)+MA(HHV(R,4),29))/4;
YCZXL:=(MA(LLV(R,1),5)+MA(LLV(R,2),13)+MA(LLV(R,3),21)+MA(LLV(R,4),29))/4;
SMH:=ema(YCZXH,17);SML:=EMA(YCZXL,17);
{线差}AM:=(4*R+3*REF(r,1)+2*REF(r,2)+REF(r,3))/10;
DF:=AM-SMH;DFM:=EMA(DF,3);
KF:=AM-SML;KFM:=EMA(KF,3);
ZDF1:=MAX(DFM,0);ZDF2:=EMA(ZDF1,3);ZDF3:=EMA(ZDF2,7);
ZKF1:=-MIN(KFM,0);ZKF2:=EMA(ZKF1,3);ZKF3:=EMA(ZKF2,7);
AbsDK:=MAX(ZDF2,ZKF2);ABS
dkx:=max(MAX(ABSDK,ZDF3),ZKF3);
{---------------------【图】---------------------}
{显示方法一}stICKLINE(ZKF3>ZKF2,-ZKF2,-ZKF3,8,1),COLOR202020,COLOR6600FF;
STICKLINE(ZDF3>ZDF2,ZDF2,ZDF3,8,1),COLOR202020,COLORYELLOW;
STICKLINE(ZDF2>ZKF2,0,ZDF2,8,1),COLOR460046,COLORRED;
STICKLINE(ZDF2
STICKLINE(ZDF2>ZKF2,0,ZDF2,1,1),COLOR790079,COLORMAGENTA;
STICKLINE(ZDF2
{显示方法二}STICKLINE(ZKF3>ABSDK,ABSDK,ZKF3,4,0),COLOR202020,COLORMAGENTA;
STICKLINE(ZDF3>ABSDK,ABSDK,ZDF3,4,0),COLOR202020,COLOR00bb00;
STICKLINE(ZDF2>ZKF2,0,ZDF2,4,1),COLOR460046,COLORWHITE;
STICKLINE(ZDF2
STICKLINE(ZDF2>ZKF2,0,ZDF2,1,1),COLOR790079,COLORFFC0FF;
STICKLINE(ZDF2
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。