以下是大智慧 用 交易分时 附图 指标公式

大智慧,交易分时,附图,指标公式

大智慧





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;



同花顺

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;

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。