大智慧指数副图 大智慧看上证深证股票时显示对应指数副图
2015-3-26 11:55:52 股票入门 http://rumen.southmoney.com
南方财富网带来大智慧指数副图 大智慧看上证深证股票时显示对应指数副图:
大智慧实现当看600开头的股票时显示上证指数副图,看00开头的股票时显示深证指数副图。
DRAWGBKLAST(C》0,STRIP(rgb(100,100,100),rgb(100,100,100),0));
TC:=STRCMP(STRLEFT(MARKETLABEL,2),‘SH’)=0;
CC:if(tc=1,“SH000001$CLOSE”,“SZ399001$CLOSE”),LINETHICK0;
OO:if(tc=1,“SH000001$OPEN”,“SZ399001$OPEN”),LINETHICK0;
HH:if(tc=1,“SH000001$HIGH”,“SZ399001$HIGH”),LINETHICK0;
LL:if(tc=1,“SH000001$LOW”,“SZ399001$LOW”),LINETHICK0;
STICKLINE(OO》=CC ,CC ,OO,8,0 ),COLOR777700;
STICKLINE(OO》=CC ,CC ,OO,7,0 ),COLOR999900;
STICKLINE(OO》=CC ,CC ,OO,5,0 ),COLORbbbb00;
STICKLINE(OO》=CC ,CC ,OO,3,0 ),COLORdddd00;
STICKLINE(OO》=CC ,HH,LL,1 ,0 ),COLORffff00;
STICKLINE(CC》OO ,CC,OO,8,0) ,COLOR000077;
STICKLINE(CC》OO ,CC,OO,7,0) ,COLOR000099;
STICKLINE(CC》OO ,CC,OO,5,0) ,COLOR0000bb;
STICKLINE(CC》OO ,CC,OO,3,0) ,COLOR0000dd;
STICKLINE(CC》OO ,HH,LL,1,0 ),COLOR0000FF;
MA5:MA(CC,5),COLOR00FFFF;
MA10:MA(CC,10),COLORFFFF00;
MA20:MA(CC,20),COLOR00FF00;
MA30:MA(CC,30),COLOR0000FF;
MA40:MA(CC,40),COLOR009FFF;
MA60:MA(CC,60),COLORFF0000;
MA120:MA(CC,120),COLORFF00FF;
MA250:MA(CC,250),COLORFFFFFF;
DRAWTEXT(DISPSTATUS=2,MA5,‘ ’+NUMTOSTRN(MA5,2)),COLOR00FFFF;
DRAWTEXT(DISPSTATUS=2,MA10,‘ ’+NUMTOSTRN(MA10,2)),COLORFFFF00;
DRAWTEXT(DISPSTATUS=2,MA20,‘ ’+NUMTOSTRN(MA20,2)),COLOR00FF00;
DRAWTEXT(DISPSTATUS=2,MA30,‘ ’+NUMTOSTRN(MA30,2)),COLOR0000FF;
DRAWTEXT(DISPSTATUS=2,MA40,‘ ’+NUMTOSTRN(MA40,2)),COLOR009FFF;
DRAWTEXT(DISPSTATUS=2,MA60,‘ ’+NUMTOSTRN(MA60,2)),COLORFF0000;
DRAWTEXT(DISPSTATUS=2,MA120,‘ ’+NUMTOSTRN(MA120,2)),COLORFF00FF;
DRAWTEXT(DISPSTATUS=2,MA250,‘ ’+NUMTOSTRN(MA250,2)),COLORFFFFFF;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。