大智慧中期方向线指标公式

时间:DATE+1900/00/00,LINETHICK0 ,COLORWHITE;

EXP12:=EMA(C,12);

EXP50:=EMA(C,50);

DIR:EXP12-EXP50,LINETHICK0;

FILLRGN(DIR,0,DIR>0,RGB(190,0,0),DIR<0,RGB(0,130,0));

MB:EMA(DIR,20),LINETHICK0;

UPPER:MB+1.96*stD(DIR,10),COLORYELLOW;

LOWER:MB-1.96*STD(DIR,10),COLORCYAN;