【通達(dá)信】五線開花主圖+選股指標(biāo)公式
攻城獅 2016.02.06 19:12
MA1:MA(CLOSE,5),COLORFFFFFF;
MA2:MA(CLOSE,15),COLOR00FFFF;
MA3:MA(CLOSE,25),COLORFF00FF;
MA4:MA(CLOSE,30),COLOR00FF00;
MA5:MA(CLOSE,60),COLORFFFF00,LINETHICK2;
開花:=MAX(MA(C,15),MAX(MA(C,25),MA(C,30)))/MIN(MA(C,15),MIN(MA(C,25),MA(C,30)))<1.01 AND ATAN((MA(C,60)/REF(MA(C,60),1)-1)*100)*57.3>1 AND ATAN((MA(C,60)/REF(MA(C,60),1)-1)*100)*57.3<5 AND
CROSS(MA(C,5),MA(C,15)) AND CROSS(MA(C,5),MA(C,25))AND CROSS(MA(C,5),MA(C,30)) AND COUNT(KDJ.J>0 AND KDJ.J<30,5)>1 AND((CROSS(MACD.MACD,0)) OR
(MACD>REF(MACD,1) AND MACD<0));
DRAWTEXT(開花,C*1.02,’開花’),COLORFF00FF;
DRAWICON(開花,C*0.96,17);
STICKLINE(開花,C,O,7,0),COLOR00FFFF;
STICKLINE(開花,L,H,1,0),COLOR00FFFF;
DRAWKLINE(H,O,L,C);選股公式:
開花:MAX(MA(C,15),MAX(MA(C,25),MA(C,30)))/MIN(MA(C,15),MIN(MA(C,25),MA(C,30)))<1.01 AND ATAN((MA(C,60)/REF(MA(C,60),1)-1)*100)*57.3>1 AND ATAN((MA(C,60)/REF(MA(C,60),1)-1)*100)*57.3<5 AND
CROSS(MA(C,5),MA(C,15)) AND CROSS(MA(C,5),MA(C,25))AND CROSS(MA(C,5),MA(C,30)) AND COUNT(KDJ.J>0 AND KDJ.J<30,5)>1 AND((CROSS(MACD.MACD,0)) OR
(MACD>REF(MACD,1) AND MACD<0));
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點(diǎn),亦不對其真實(shí)性負(fù)責(zé),投資決策請建立在獨(dú)立思考之上。