同花顺交易分时指标公式介绍
同花顺交易分时指标公式
同花顺
DRAWTEXT(FILTER(ISNULL(REFX(&CLOSE,230)),0),0.20,'★ 中线以上,见红一路高,转绿前是高点(出现第一黄柱是卖点)。★ '),COLORFFFFFF,LINETHICK1;
DRAWTEXT(FILTER(ISNULL(REFX(&CLOSE,230)),0),-0.20,'★ 中线以下,见绿一路低,转红前是低点(出现第一紫柱是买点)。★ '),colorgreen,LINETHICK1;
DIFF:=EMA(NEW,6) - EMA(NEW,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;
gd28184