飞狐BIAS和MACD指标公式,飞狐上涨下跌买入指标公式
admin888
|飞狐BIAS和MACD指标公式,飞狐上涨下跌买入指标公式
飞狐BIAS和MACD指标公式
DRAWGBK(C=C,COLORRGB(130,130,130),COLORRGB(30,30,30),1);
bias1 := (CLOSE-ma(CLOSE,5))/MA(CLOSE,5)*100;
BIAS2 := (CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
BIAS3 := (CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100;
BIASAA:=(BIAS1+BIAS2+BIAS3)/3;
dif:=(ema(BIASAA,5)-ema(BIASAA,34));
de:=ema(dif,9);
macd:3*(dif-de);
//////////////{红柱}stICKLINE(macd>0 and macd>ref(macd,1),macd,0,3,0),COLOR0000AA;
STICKLINE(macd>0 and macd>ref(macd,1),macd,0,2.7,0),COLOR0000BB;
STICKLINE(macd>0 and macd>ref(macd,1),macd,0,2.3,0),COLOR0000CC;
STICKLINE(macd>0 and macd>ref(macd,1),macd,0,2,0),COLOR0000CC;
STICKLINE(macd>0 and macd>ref(macd,1),macd,0,1.6,0),COLOR0000DD;
STICKLINE(macd>0 and macd>ref(macd,1),macd,0,1.2,0),COLOR0000EE;
STICKLINE(macd>0 and macd>ref(macd,1),macd,0,0.8,0),COLOR0000FF;
STICKLINE(macd>0 and macd>ref(macd,1),macd,0,0.5,0),COLORRED;
{粉柱}STICKLINE(macd<0 and macd>ref(macd,1),macd,0,3,0),ColorFF00a9;
STICKLINE(macd<0 and macd>ref(macd,1),macd,0,2.7,0),ColorFF00a1;
STICKLINE(macd<0 and macd>ref(macd,1),macd,0,2.3,0),ColorFF00aa;
STICKLINE(macd<0 and macd>ref(macd,1),macd,0,2,0),ColorFF00bb;
STICKLINE(macd<0 and macd>ref(macd,1),macd,0,1.6,0),ColorFF00cc;
STICKLINE(macd<0 and macd>ref(macd,1),macd,0,1.2,0),ColorFF00dd;
STICKLINE(macd<0 and macd>ref(macd,1),macd,0,0.8,0),ColorFF00ee;
STICKLINE(macd<0 and macd>ref(macd,1),macd,0,0.5,0),ColorFF00ff;
/////////b5:=SMA(BIAS1,2,1),COLORGREEN,LINETHICK1,LINEDOT;
b13:=sma(BIAS2,2,1),LINETHICK0,COLORRED;
b34:=sMA(BIAS3,5,1),COLORWHITE,LINETHICK1;
m13_5:ema(b13,5),COLORWHITE,LINETHICK1;
m13_10:ema(b13,10),COLORCYAN,LINETHICK1;
m34_5:=ema(b34,5),COLORGREEN,,LINEDOT;
m34_10:=ema(b34,10),COLORMAGENTA,LINEDOT;
PARTLINE(B13>REF(B13,1),B13),COLORRED,LINETHICK3;
CYSm13:b13,LINETHICK0,COLORBROWN;
主力:m34_5,COLORGREEN,,LINEDOT;
游资:m34_10,COLORMAGENTA,LINEDOT;
/////////DRAWICON(crOSS(b13,m13_5),m13_5,12),ALIGN;
DRAWICON(CROSS(m13_5,b13),m13_5,11),ALIGN;
DRAWICON(cross(m13_5,m13_10) and b13>ref(b13,1),0,3),ALIGN;
DRAWICON(cross(m34_5,m13_10) and b13>ref(b13,1) ,0,1),ALIGN;
VERTLINE(cross(主力,游资)),LINEDOT,COLORRED;
/////////////AAA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AAA,0),5,1)/SMA(Abs(CLOSE-AAA),5,1)*1000;
HHH:=BBB-LLV(BBB,10);
SS:=(MA(HHH,2)*3+HHH*13)/16;
短线买点:=IF(SS>13,MA(SS,2),SS)/6;
短线出击:IF(CROSS(短线买点,1) AND (短线买点<30),10,0),COLORWHITE,LINETHICK2;
飞狐上涨下跌买入指标公式
DRAWGBK(1,colorrgb(0,0,100),colorrgb(0,0,0),1);
上涨值:=ma((h+ref(l,1))/2,3);
买进高点:=ma((h+ref(h,1))/2,3);
Var1:=((h+l+c)/3)*2-l;
突破买入值:=ma(Var1,3);
下跌值:=ma((ref(h,1)+l)/2,3);
卖出低点:=ma((ref(l,1)+l)/2,3);
Var2:=((h+l+c)/3)*2-h;
突破卖出值:=ma(Var2,3);
次日卖出点:(上涨值+买进高点+突破买入值+h)/4,linethick0;
次日买入点:(下跌值+卖出低点+突破卖出值+l)/4,linethick0;
日强弱指数:(c-l)/(h-l)*100;
x:=hhv(h,5)-ref(o,5);y:=c-llv(l,5);
z:=(hhv(h,5)-llv(l,5))*2;摆荡指标:(x+y)/z*100;50;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。