大智慧交易分时指标公式介绍
大智慧交易分时指标公式
大智慧
DRAWTEXTABS(20,10,'★ 中线以上,见红一路高,转绿前是高点(出现第一黄柱是卖点)。★ '),COLORFFFFFF,LINETHICK1;
DRAWTEXTABS(20,150,'★ 中线以下,见绿一路低,转红前是低点(出现第一紫柱是买点)。★ '),COLORGREEN,LINETHICK1;
DIFF:=EMA(C,6) - EMA(C,21);
DIF:=EMA(DIFF,6);
DEA:=EMA(DIF,6);
PARTLINE(DIF,DIF>=REF(DIF,1),RGB(255,0,0),DIF<=REF(DIF,1),RGB(0,255,0)),LINETHICK2;
MACD :=2*(DIF-DEA);
ZERO:0,COLORFFFFFF,LINETHICK1;
STICKLINE(((MACD<REF(MACD,1)) AND (MACD>0)),0,MACD,1,0),COLORYELLOW;
STICKLINE(((MACD>REF(MACD,1)) AND (MACD<0)),0,MACD,1,0),COLORMAGENTA;
STICKLINE(((MACD>REF(MACD,1)) AND (MACD>0)),0,MACD,1,0),COLORRED;
STICKLINE(((MACD<REF(MACD,1)) AND (MACD<0)),0,MACD,1,0),COLORGREEN;
gd28183