以下是通达信红是小行情涨 绿是小行情跌(无源码的请下载附件导入)
N3:=BARSLAST(CROSS(C,MA(C,9))),NODRAW;
N4:=BARSLAST(CROSS(MA(C,9),C)),NODRAW;
N5:=BARSLAST(CROSS(C,MA(C,26))),NODRAW;
N6:=BARSLAST(CROSS(MA(C,26),C)),NODRAW;
涨:IF(N3<N4,N3+100,0),COLORRED,LINESTICK,LINETHICK2;
跌:IF(N3>N4,N4+100,0),COLORGREEN,LINESTICK,LINETHICK2;
市值:(CAPITAL/100*C)/10000,NODRAW,COLORYELLOW;
大涨:=IF(N5<N6,N5+150,0),NODRAW;
大跌:=IF(N5>N6,N6+150,0),NODRAW;
STICKLINE(大涨,-25,-5,2,0),COLORRED;
STICKLINE(大跌,-25,-5,2,0),COLORGREEN;
A:=IF(CLOSE>SAR(3,3,28),SAR(3,3,28)-0.2,DRAWNULL),CIRCLEDOT,COLORRED;
STICKLINE(A,135,145,2,0),COLORRED;
B:=IF(CLOSE<SAR(3,3,28),SAR(3,3,28)+0.2,DRAWNULL),CIRCLEDOT,COLORGREEN;
STICKLINE(B,135,145,2,0),COLORGREEN;
建议价格:CYC(5)LINETHICK0;
749300627.jpg
|