通达信四色柱指标公式

通达信超大主力吃货线指标公式

通达信四色柱指标公式:

DRAWGBK(O>C,RGB(50,25,0),RGB(0,25,50),0,'',0);

DIF:=10*(EMA(CLOSE,20)-EMA(CLOSE,120));

DEA:=EMA(DIF,10);

macd:=(DIF-DEA)*2,COLORstICK;

A3:=DIF;

STICKLINE(A3>REF(A3,1)AND A3<0,0,A3,-1,0),COLOR003399;

STICKLINE(A3>REF(A3,1)AND A3<0,0,A3,2,0),COLOR0099BB;

STICKLINE(A3>REF(A3,1)AND A3<0,0,A3,1,0),COLOR00AADD;

STICKLINE(A3>REF(A3,1)AND A3<0,0,A3,0.1,0),COLOR00FFFF;

STICKLINE(A3>REF(A3,1)AND A3>0,0,A3,-1,0),COLOR000099;

STICKLINE(A3>REF(A3,1)AND A3>0,0,A3,2,0),COLOR0000BB;

STICKLINE(A3>REF(A3,1)AND A3>0,0,A3,1,0),COLOR0000DD;

STICKLINE(A3>REF(A3,1)AND A3>0,0,A3,0.1,0),COLOR0000FF;

STICKLINE(A3<REF(A3,1)AND A3<0,0,A3,-1,0),COLOR339900;

STICKLINE(A3<REF(A3,1)AND A3<0,0,A3,2,0),COLOR77BB00;

STICKLINE(A3<REF(A3,1)AND A3<0,0,A3,1,0),COLOR9ADD00;

STICKLINE(A3<REF(A3,1)AND A3<0,0,A3,0.1,0),COLORddfF00;

STICKLINE(A3<REF(A3,1)AND A3>0,0,A3,-1,0),COLOR330099;

STICKLINE(A3<REF(A3,1)AND A3>0,0,A3,2,0),COLOR9900BB;

STICKLINE(A3<REF(A3,1)AND A3>0,0,A3,1,0),COLORBB00DD;

STICKLINE(A3<REF(A3,1)AND A3>0,0,A3,0.1,0),COLORFF00FF;

{DRAWICON(MacD>REF(MACD,1)AND DIF<-20 AND REF(MACD,1)<REF(MACD,2),DIF,1);

DRAWICON(MACD<REF(MACD,1)AND DIF>20 AND REF(MACD,1)>REF(MACD,2),DIF,2)};

通达信轻松买卖指标公式