通达信顺势量价幅图指标
顺1:=AMOUNT/100/VOL;
顺2:=EMA(顺1,6);
顺3:=EMA(顺2,5);
顺4:=EMA(顺3,12);
顺5:=EMA(顺4,5);
顺势15:EMA(C,15),COLORBLUE,LINETHICK2;
顺6:=EMA(顺势15,1);
顺7:=EMA(顺6,2);
顺8:=EMA(顺7,10);
顺9:=EMA(顺8,8);
顺势2:EMA(C,3);
STICKLINE(顺2>=顺3,顺势2,顺势15,1,0),LINETHICK1,COLORRED;
STICKLINE(顺2<=顺3,顺势2,顺势15,1,0),LINETHICK1,COLORGREEN;
STICKLINE(顺4>=顺5,顺8,顺9,1,0),LINETHICK1,COLORYELLOW;
STICKLINE(顺4<=顺5,顺8,顺9,1,0),LINETHICK1,COLORBLUE;
IF(顺势15<REF (顺势15,1),顺势15,DRAWNULL),LINETHICK3,COLOR666600;
IF(顺势15>=REF(顺势15,1),顺势15,DRAWNULL),COLORMAGENTA,LINETHICK3;
势2:EMA(C,3),COLORWHITE,LINETHICK2;