不多說,直接上效果如圖: ? 日線表現(xiàn) 代碼評估 技術(shù)指標(biāo)代碼評估:使用技巧 該指標(biāo)屬于大盤資金進(jìn)出指標(biāo),看清大盤下一步如何。大盤對個股起到抑揚頓挫的作用,大盤強(qiáng)個股未必強(qiáng),大盤弱,大多個股都會走弱,所以判斷大盤如何至關(guān)重要的,參考意義也可見一班,這個指標(biāo)就是從趨勢走勢方向來看清大盤如何走,希望對大家有所幫助。 LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100; 弱:=CROSS(85,RSI1)*30; DRAWTEXT(CROSS(85,RSI1),20,'逃'),COLORCYAN; STICKLINE(弱,0,20,3,0),COLORCYAN; VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100; VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100; VARD:=BARSCOUNT(CLOSE); 強(qiáng)弱分界:(VARB< 20 AND VARC< 25 AND VARD> 50 AND AR<70)*30,COLORYELLOW; BT1:=CROSS(RSI1,25); DRAWTEXT(BT1,-80,'底'),COLOR0000FF; STICKLINE(BT1,-100,-80,3,0),COLOR0000FF; 資金進(jìn)出趨勢:EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,LINETHICK2,COLORWHITE; STICKLINE(強(qiáng)弱分界,0,-資金進(jìn)出趨勢,0.01,0),,COLOR0078FF; 散戶:=EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5; BT2:=CROSS(資金進(jìn)出趨勢,散戶) AND 資金進(jìn)出趨勢<-10; 公眾號:DRAWNULL,COLOR00FF00; 量化交易研究所:DRAWNULL,COLORRED; DRAWICON(CROSS(資金進(jìn)出趨勢,-10) OR CROSS(資金進(jìn)出趨勢,10),資金進(jìn)出趨勢,26); DRAWICON(CROSS(-10,資金進(jìn)出趨勢),資金進(jìn)出趨勢,27); DRAWICON(CROSS(資金進(jìn)出趨勢,散戶) AND 資金進(jìn)出趨勢<-10,資金進(jìn)出趨勢,23); BT:=FILTER(COUNT(BT1 OR BT2,3)>=2,3); STICKLINE(BT,0,50,4,1),COLOR0000FF; DRAWTEXT(BT,50,'大底'),COLOR0000FF; STICKLINE(BT2,0,20,3,0),COLORFF00FF; DRAWTEXT(BT2,20,'博弈'),COLORFF00FF; |
|