編寫要求: 股旁網(wǎng)解答: 網(wǎng)友求助: MA5:EMA(CLOSE,5),colorwhite; MA10:EMA(CLOSE,10),coloryellow; MA20:EMA(CLOSE,20),COLORFF00FF; MA40:EMA(CLOSE,40),COLOR00FF00; MA60:EMA(C,60),COLOR888888; MA250:EMA(C,250),COLORFFCC66; 月價托:=MA5>MA20 AND MA5>MA10 AND CROSS(MA10,MA20); 季價托:=MA20>MA60 AND MA20>MA40 AND CROSS(MA40,MA60); 短長價托:=MA5>MA60 AND MA5>MA10 AND CROSS(MA10,MA60); STICKLINE(月價托,H,L,4,0),colorwhite; STICKLINE(月價托,C,O,4,0),colorwhite; DRAWTEXT(月價托,L-0.10,'月價托'),colorwhite,ALIGN1; STICKLINE(季價托,H,L,4,0),coloryellow; STICKLINE(季價托,C,O,4,0),coloryellow; DRAWTEXT(季價托,L-0.10,'季價托'),coloryellow,ALIGN1; STICKLINE(短長價托,H,L,4,0),COLORFF00FF; STICKLINE(短長價托,C,O,4,0),COLORFF00FF; DRAWTEXT(短長價托,L-0.10,'短長價托'),COLORFF00FF,ALIGN1; VOL5:=MA(VOL,5); VOL10:=MA(VOL,10); VOL20:=MA(VOL,20); 量托:=VOL5>=VOL20 AND CROSS(VOL10,VOL20) AND REF(VOL10,1)[ STICKLINE(量托,H,L,4,0),COLOR0099FF; ] STICKLINE(量托,C,O,4,0),COLOR0099FF; DRAWTEXT(量托,L-0.10,'量托'),COLOR0099FF,ALIGN1; AA:=BARSLAST(MA40>MA60 AND (MA20=MA40 OR MA20>MA40)); BB:=REF(COUNT(C CC:=CROSS(C,MA60) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3; 芙蓉出水:=BB AND CC; 只要出現(xiàn)量托、價托(月、季)、短長價托等任何一個的選股公式(同花順的) 解答如下: 1。月價托: MA5:=EMA(CLOSE,5); MA10:=EMA(CLOSE,10); MA20:=EMA(CLOSE,20); MA40:=EMA(CLOSE,40); MA60:=EMA(C,60); MA250:=EMA(C,250); 月價托:MA5>MA20 AND MA5>MA10 AND CROSS(MA10,MA20); 2。季價托: MA5:=EMA(CLOSE,5); MA10:=EMA(CLOSE,10); MA20:=EMA(CLOSE,20); MA40:=EMA(CLOSE,40); MA60:=EMA(C,60); MA250:=EMA(C,250); 季價托:MA20>MA60 AND MA20>MA40 AND CROSS(MA40,MA60); 3.短長價托: MA5:=EMA(CLOSE,5); MA10:=EMA(CLOSE,10); MA20:=EMA(CLOSE,20); MA40:=EMA(CLOSE,40); MA60:=EMA(C,60); MA250:=EMA(C,250); 短長價托:MA5>MA60 AND MA5>MA10 AND CROSS(MA10,MA60);
|