当前位置:首页 > 国际 > 正文

通达信【黄金三角】指标套装

通达信【黄金三角】指标套装

{}

M5:=MA(C,5);

M10:=MA(C,10);

M20:=MA(C,20);

MM:=MIN(M5,M20);

MM2:=MIN(M10,M20);

HM:=MAX(M5,M20);

HM2:=MAX(M10,M20);

TC1:DRAWBAND(MM,RGB(255,0,0),MM2,0);

TC2:DRAWBAND(HM2,RGB(0,255,255),HM,0);

MA5:MA(C,5),COLORWHITE;

MA10:MA(C,10),COLORYELLOW;

MA20:MA(C,20),;{}

{副图指标源码}

MA5:=MA(CLOSE,5);

MA10:=MA(CLOSE,10);

MA20:=MA(CLOSE,20);

XG:CROSS(MA10,MA20) AND COUNT(CROSS(MA5,MA20),BARSLAST(CROSS(MA5,MA10)))=1AND COUNT(CROSS(MA10,MA20),BARSLAST(CROSS(MA5,MA10)))=1;

{选股指标源码}

MA5:=MA(C,5);

MA10:=MA(C,10);

MA20:=MA(C,20);

XG:CROSS(MA10,MA20) AND COUNT(CROSS(MA5,MA20),BARSLAST(CROSS(MA5,MA10)))=1

AND COUNT(CROSS(MA10,MA20),BARSLAST(CROSS(MA5,MA10)))=1

AND UPNDAY(MA5,2) AND UPNDAY(MA10,2) AND C/REF(C,1)>1 AND C>O;

你可能想看:

有话要说...

取消
扫码支持 支付码