飞狐成本乖离副图指标公式
-
相关简介:飞狐成本乖离副图指标公式 飞狐源码--- DIF:(EMA(CLOSE,12) - EMA(CLOSE,26)),COLORRED,LINETHICK0; DEA:EMA(DIF,9),COLOR00FFFF,LINETHICK0; MACD:8*(DIF-DEA),LINETHICK0; GLM:COST(50)-COST(20),COLORRED,LINETHICK0; GL50:EMA(C-COST(50),5),COLOR00FFFF,LINETHICK0; GL20:EMA(C-COS
-
文章来源:股海网作者:股海网发布时间:2012-12-09浏览次数:
飞狐成本乖离副图指标公式
飞狐源码---
DIF:(EMA(CLOSE,12) - EMA(CLOSE,26)),COLORRED,LINETHICK0;
DEA:EMA(DIF,9),COLOR00FFFF,LINETHICK0;
MACD:8*(DIF-DEA),LINETHICK0;
GLM:COST(50)-COST(20),COLORRED,LINETHICK0;
GL50:EMA(C-COST(50),5),COLOR00FFFF,LINETHICK0;
GL20:EMA(C-COST(20),5),COLORFF00FF,LINETHICK0;
FILLRGN(c,GLM,0),Color008000;
FILLRGN(GL20>GLM,GLM,GL20),Color803280;
FILLRGN(GL20<=GLM,GLM,GL20),Color6AB2C1;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,5,0),COLOR000055;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,3,0),COLOR000099;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1,0),COLOR0000BB;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,5,0),COLOR888888;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,3,0),COLORBBBBBB;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,1,0),COLORDDDDDD;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,5,0),COLOR3377AA;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,3,0),COLOR3388BB;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1,0),COLOR4499CC;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,6,0),COLORFF3300;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,3,0),COLORFF5500;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,1,0),COLORFF7700;
PARTLINE(C,0),COLORRED,LINETHICK2;
PARTLINE(DIF>0 AND MACD<=0,0),COLORFFFFFF,LINETHICK2;
PARTLINE(DIF<=0 AND MACD>0,0),COLORFF09FF,LINETHICK2;
PARTLINE(DIF<=0 AND MACD<=0,0),COLORBBB000,LINETHICK2;
GLM,COLORRED,LINETHICK1;
PARTLINE(GLM<REF(GLM,1),GLM),COLOR00FF00;
STICKLINE(CROSS(GL20,GLM),GLM*2,GLM,2,0),COLORFF00FF;
GL50,COLOR00FFFF,LINETHICK1;
GL20,COLORFF00FF,LINETHICK1;
PARTLINE(GL50<=REF(GL50,1),GL50),COLORBB0000;
PARTLINE(GL20<=REF(GL20,1),GL20),COLORFFF000;