当前位置:首页 > 公式 > 飞狐公式 >
飞狐MACD面积指标公式
来源:互联网浏览次数: 整理:股票入门学习大学网

N:=10;

DRAWGBK(c>0,colorrgb(0,0,0),colorrgb(0,0,0),1);

cs:=0.01;

macd:1.5*N/10*slOPE(c,N),colorstick;

STICKLINE(MACD<=REF(MACD,1)AND MACD>0,0,MACD,3,0 ),COLOR00AAFF;

STICKLINE(macd<=REF(macd,1)AND macd>0,0,macd,1.8,0 ),COLOR00BBFF;

STICKLINE(macd<=REF(macd,1)AND macd>0,0,macd,1.3,0 ),COLOR00CCFF;

STICKLINE(macd<=REF(macd,1)AND macd>0,0,macd,1.2,0 ),COLOR00DDFF;

{股旁网-股票公式网站 www.GUpang.com}

STICKLINE(macd<=REF(macd,1)AND macd>0,0,macd,1,0 ),COLOR00EEFF;

STICKLINE(macd<=REF(macd,1)AND macd>0,0,macd,0.5,0 ),COLOR00FFFF;

STICKLINE(macd>REF(macd,1)AND macd>0,0,macd,3.4,0 ),COLOR0000AA;

STICKLINE(macd>REF(macd,1)AND macd>0,0,macd,3.2,0),COLOR0011BB;

STICKLINE(macd>REF(macd,1)AND macd>0,0,macd,3,0),COLOR0022CC;

STICKLINE(macd>REF(macd,1)AND macd>0,0,macd,2,0),COLOR0033DD;

STICKLINE(macd>REF(macd,1)AND macd>0,0,macd,1,0),COLOR0044EE;

STICKLINE(macd>REF(macd,1)AND macd>0,0,macd,0.5,0),COLOR0055FF;

STICKLINE(macd>REF(macd,1)AND macd<=0,0,macd,3.4,0),COLORAA00BB;

STICKLINE(macd>REF(macd,1)AND macd<=0,0,macd,3.2,0),COLORBB11BB;

STICKLINE(macd>REF(macd,1)AND macd<=0,0,macd,3,0),COLORCC22BB;

STICKLINE(macd>REF(macd,1)AND macd<=0,0,macd,2,0 ),COLORDD33BB;

STICKLINE(macd>REF(macd,1)AND macd<=0,0,macd,1,0),COLOREE44BB;

STICKLINE(macd>REF(macd,1)AND macd<=0,0,macd,0.5,0 ),COLORFF55BB;

STICKLINE(macd<=REF(macd,1)AND macd<=0,0,macd,3,0 ),COLORFF7700;

STICKLINE(macd<=REF(macd,1)AND macd<=0,0,macd,1.5 ,0 ),COLORFF8811;

STICKLINE(macd<=REF(macd,1)AND macd<=0,0,macd,1.2,0 ),COLORFFAA22;

STICKLINE(macd<=REF(macd,1)AND macd<=0,0,macd,1.0 ,0 ),COLORFFBB33;

STICKLINE(macd<=REF(macd,1)AND macd<=0,0,macd,0.8 ,0 ),COLORFFDD44;

STICKLINE(macd<=REF(macd,1)AND macd<=0,0,macd,0.5 ,0 ),COLORFFFF55;

BV:=SUM(MACD/cs,0);

BA:=IF(MAX(BV,REF(BV,2))<REF(BV,1) OR MIN(BV,REF(BV,2))>REF(BV,1),1,0);

BC:=BARSLAST(BA)+1;

SMACD:=BV-REF(BV,BC);

var3:=if(macd>0,HHV(abs(macd),bc),LLV(macd,bc));

var4:=(macd)/20;{图形比例缩小1/20,可修改}

var5:=SMACD;

//背离线//

DIFF : EMA(CLOSE,N*12/10) - EMA(CLOSE,N*26/10);

DEA : EMA(DIFF,N*9/10);

drawnumber(ref(var4,1)>0 and var4<=0 ,ref(var3,1),ref(var5,1),0);

drawnumber(ref(var4,1)<0 and var4>=0 ,ref(var3,1),ref(abs(var5),1),0),coloryellow;

drawnumber(islastbar and var4<0,ref(var3,1),abs(var5),0),align2,colorred{,pxup40};

drawnumber(islastbar and var4>0,ref(var3,1),var5,0),align2,colorgreen{,pxdn100};

飞狐MACD面积指标公式

股票公式结合软件的应用属于进阶阶段的股票学了,我们整理网上提出的飞狐MACD面积指标公式的问题一些解决方案仅供辅助你学习飞狐公式参考,具体内容可能需要具体解决或者找网上其他高手帮忙,也感谢文字和图片来源于股旁网的一些资源分享,帮助新手快速学习提高炒股技能。

声明:飞狐MACD面积指标公式的文字和图片来源于网络,版权归原作者所有,仅代表个人观点,于本站无关。

随便说说

评论精选

    还没有相关评论,快来抢沙发吧!