大智慧L2成本乖离副图指标公式
-
相关简介:大智慧L2成本乖离副图指标公式 大智慧L2源码--- {DZH2版} DIF:(EMA(CLOSE,12) - EMA(CLOSE,26)),COLORRED,PRECIS2,LINETHICK0; DEA:EMA(DIF,9),COLOR00FFFF,PRECIS2,LINETHICK0; MACD:8*(DIF-DEA),PRECIS2,LINETHICK0; GLM:COST(50)-COST(20),PRECIS2,COLORRED,LINETHICK0; GL50:EMA(C-COS
-
文章来源:股海网作者:股海网发布时间:2012-12-09浏览次数:
大智慧L2成本乖离副图指标公式
大智慧L2源码---
{DZH2版}
DIF:(EMA(CLOSE,12) - EMA(CLOSE,26)),COLORRED,PRECIS2,LINETHICK0;
DEA:EMA(DIF,9),COLOR00FFFF,PRECIS2,LINETHICK0;
MACD:8*(DIF-DEA),PRECIS2,LINETHICK0;
GLM:COST(50)-COST(20),PRECIS2,COLORRED,LINETHICK0;
GL50:EMA(C-COST(50),5),PRECIS2,COLOR00FFFF,LINETHICK0;
GL20:EMA(C-COST(20),5),PRECIS2,COLORFF00FF,LINETHICK0;
FILLRGN(GLM,0,GLM>0,RGB(60,60,60),GLM<0,RGB(60,60,60)),PRECIS2;
FILLRGN(GL20,GLM,GL20>GLM,RGB(100,40,100),GL20<GLM,RGB(30,100,30)),PRECIS2;
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(0,C),COLORRED,LINETHICK2;
PARTLINE(0,DIF>0 AND MACD<=0),COLORFFFFFF,PRECIS2,LAYER0,LINETHICK2;
PARTLINE(0,DIF<=0 AND MACD>0),COLORFF09FF,PRECIS2,LAYER0,LINETHICK2;
PARTLINE(0,DIF<=0 AND MACD<=0),COLORBBB000,PRECIS2,LAYER0,LINETHICK2;
GLM,COLORRED,PRECIS2,LAYER0;
PARTLINE(GLM,GLM<REF(GLM,1)),COLOR00FF00,PRECIS2,LAYER0;
STICKLINE(CROSS(GL20,GLM),GLM*2,GLM,5,0),COLORFF00FF;
GL50,COLOR00FFFF,PRECIS2,LAYER0;
GL20,COLORFF00FF,PRECIS2,LAYER0;
PARTLINE(GL50,GL50<=REF(GL50,1)),COLORBB0000,PRECIS2,LAYER0;
PARTLINE(GL20,GL20<=REF(GL20,1)),COLORFFF000,PRECIS2,LAYER0;