通达信趋势为王指标公式
MA10:MA(CLOSE,10)COLORYELLOW,;
MA20:=MA(C,20)COLORWHITE,LINETHICK3;
MA30:=MA(C,30);
MA60:MA(CLOSE,55);
MA90:MA(CLOSE,90);
DRAWBAND(MA60,RGB(255,0,255),MA90,RGB(169,169,169));
M10:MA10,COLORBLUE,LINETHICK3;
M10升:IF(MA10 REF(MA10,1),MA10,DRAWNULL),COLORYELLOW,LINETHICK3;
M10降:IF(MA10 REF(MA10,1),MA10,DRAWNULL),COLORGREEN,LINETHICK3;
DRAWBAND(MA20,RGB(255,255,0),MA30,RGB(0,0,0));
DRAWBAND(MA10,RGB(255,0,0),MA20,RGB(0,0,0));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
MA120:MA(CLOSE,120);
MA250:MA(CLOSE,250);
MA0:=MA(C,1);
MA5:MA(CLOSE,5)COLORWHITE;
M20:MA(C,20)COLORGREEN,LINETHICK1;
M30:MA(C,30)COLORMAGENTA,LINETHICK1;
BB:MA60,COLORBLUE,LINETHICK2;
BB升:IF(BB REF(BB,1),BB,DRAWNULL),COLORRED,LINETHICK2;
BB降:IF(BB REF(BB,1),BB,DRAWNULL),COLORGREEN,LINETHICK2;