此指標(biāo)是本人根據(jù)均線和macd指標(biāo)的相對位置編寫的,黃色K線為買入信號。出現(xiàn)信號后根據(jù)大盤的走勢分倉進(jìn)入。也可以在周線主圖中選股,根據(jù)日線確定買入點(diǎn)。一年賺一倍不成問題。切記貪婪。股市有風(fēng)險(xiǎn),入市需謹(jǐn)慎,指標(biāo)不是萬能的。
源碼: MA5:MA(CLOSE,5); MA10:MA(CLOSE,10); MA20:MA(CLOSE,20),; MA60:MA(CLOSE,60); C3:=REF(C,1); 漲停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0); STICKLINE(漲停,OPEN,CLOSE,2.5,0),COLORRED; 跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0); STICKLINE(跌停,OPEN,CLOSE,2.5,0),COLORGREEN; VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; DRAWTEXT(REF(C,1)>D AND C<D AND D>REF(D,1),H*0.95, 'S'),COLORGREEN; DRAWTEXT(REF(C,1)<D AND C>D AND D<REF(D,1),L*0.98 ,'B'),COLORRED; 日漲幅:=(C-REF(C,1))/REF(C,1)*100; P1:=CROSS(KDJ.K,KDJ.D) AND CROSS(C,MA(C,5))AND OPEN<MA(C,5) ; P:=P1; STICKLINE(P,MIN(C,O),MAX(C,O),2.5,0),COLORYELLOW; |
|