月金:STICKLINE(CROSS("MACD.DIF#MONTH","MACD.DEA#MONTH"),LOW,CLOSE,9,0),COLORRED;DRAWKLINE(H,O,L,C);
月死:STICKLINE(CROSS("MACD.DEA#MONTH","MACD.DIF#MONTH"),LOW,CLOSE,9,0),COLORBLUE;DRAWKLINE(H,O,L,C);
周金:STICKLINE(CROSS("MACD.DIF#WEEK","MACD.DEA#WEEK"),LOW,CLOSE,5,0),COLORYELLOW;DRAWKLINE(H,O,L,C);
周死:STICKLINE(CROSS("MACD.DEA#WEEK","MACD.DIF#WEEK"),LOW,CLOSE,5,0),COLOR00FF00;DRAWKLINE(H,O,L,C);
DRAWICON(CROSS("MACD.DIF#MONTH","MACD.DEA#MONTH"),(H,O,L,C),26);
DRAWICON(CROSS("MACD.DEA#MONTH","MACD.DIF#MONTH"),(H,O,L,C),6);
DRAWICON(CROSS("MACD.DIF#WEEK","MACD.DEA#WEEK"),(H,O,L,C),34);
DRAWICON(CROSS("MACD.DEA#WEEK","MACD.DIF#WEEK"),(H,O,L,C),35);
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA60:MA(CLOSE,60);
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORRED;
STICKLINE(涨停,OPEN,CLOSE,0.5,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
一半MAX(C,O)+MIN(C,O))/2,NODRAW;
上三分MAX(C,O)-MIN(C,O))/3*2+MIN(C,O),NODRAW;
下三分MAX(C,O)-MIN(C,O))/3+MIN(C,O),NODRAW;
发主图源码了!!1! |