网站首页 > 飞狐公式 正文
飞狐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
STICKLINE(macd>0 and macd
STICKLINE(macd>0 and macd
STICKLINE(macd>0 and macd
STICKLINE(macd>0 and macd
STICKLINE(macd>0 and macd
STICKLINE(macd>0 and macd
STICKLINE(macd>0 and macd
{蓝柱}
STICKLINE(macd<0 and macd
STICKLINE(macd<0 and macd
STICKLINE(macd<0 and macd
STICKLINE(macd<0 and macd
STICKLINE(macd<0 and macd
STICKLINE(macd<0 and macd
STICKLINE(macd<0 and macd
STICKLINE(macd<0 and macd
{粉柱}
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;
PARTLINE(B13
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; >股票指标网更多精彩内容,请关注公众号:实盘操手
其他说明
1、在下载过程遇到问题,请您 联系客服:QQ:2180737354 或 微信:xxs008000(常用) 备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。
2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!
⇒⇒⇒点击加入通达信指标公式交流群QQ群
- 上一篇: 东吴证券(601555):投资弹性延续 投行增长亮眼
- 下一篇: 大智慧华尔街趋势321主图指标公式
猜你喜欢
- 2023-10-17 屏幕自适应定点均线(飞狐)
- 2023-10-17 主力轨迹+庄家出现+XG(飞狐)
- 2023-10-17 安全投机(飞狐)
- 2023-10-17 共振买卖(飞狐)
- 2023-10-17 江恩轮中轮(新画法)(飞狐)
- 2023-10-17 新版KDJ飞升马(飞狐)
- 2023-10-17 七剑下天山(飞狐)
- 2023-10-17 OSC (艾略特震荡器)(飞狐)
- 2023-10-17 买入安全区远离危险区(飞狐)
- 2023-10-17 熊市好用的选股(飞狐)