在網(wǎng)上看到一個(gè)不錯(cuò)的飛狐主圖指標(biāo),轉(zhuǎn)過來分享給大家,在此向原作者表示感謝:
DRAWGBK(DATE>900101,COLORRGB(10,200,200),COLORRGB(10,10,100),1); DRAWTEXT(SYSPARAM(2)=BARPOS,HIGH,'所屬板塊:'+BLKNAME),ALIGN4,colorBBFFFF; 指導(dǎo)線:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK1,colorFFFFFF; 強(qiáng)弱分界:MA(CLOSE,27),LINETHICK1,colorFF; EXPLAIN(CROSS(指導(dǎo)線,強(qiáng)弱分界),'進(jìn)入安全贏利區(qū)☆☆☆ '),colorFFFF00; EXPLAINICON(CROSS(指導(dǎo)線,強(qiáng)弱分界),'mmm'); 注意賣:強(qiáng)弱分界+2*STD(CLOSE,27),LINETHICK1,colorFF00FF; DRAWTEXT(CROSS(HIGH,注意賣),HIGH+0.05,'→☆'),ALIGN0,colorFF00FF; DRAWICON(CROSS(CLOSE,注意賣),HIGH+0.09,9),ALIGN1; EXPLAINICON(CROSS(CLOSE,注意賣),3); 上極限:強(qiáng)弱分界+3*STD(CLOSE,27),LINETHICK1,colorFFFF; DRAWICON(CROSS(CLOSE,上極限),HIGH+0.04,5),ALIGN1; EXPLAIN(CROSS(HIGH,上極限),'買出持幣 △△△△ '),colorFFFF00; EXPLAINICON(CROSS(HIGH,上極限),4); DRAWTEXT(CROSS(HIGH,上極限),HIGH+0.08,'→上賣'),colorFFFF; 注意買:強(qiáng)弱分界-2*STD(CLOSE,27),LINETHICK1,colorFF00; DRAWICON(CROSS(注意買,CLOSE),LOW-0.02,12),ALIGN1; DRAWTEXT(CROSS(注意買,CLOSE),LOW-0.02,'→觀注'),colorFF00; 下極限:強(qiáng)弱分界-2.9*STD(CLOSE,27),LINETHICK1,color80FF; DRAWICON(CROSS(下極限,CLOSE),LOW-0.04,10),ALIGN1; DRAWTEXT(CROSS(下極限,LOW),LOW-0.06,'→下△'),color80FF; DRAWTEXT(注意賣/注意買<=1.103,注意買-0.06,'△'),color80FF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),colorAA; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6,0),colorCC; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,4,0),colorDD; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2,0),colorFF; STICKLINE(CLOSE>=OPEN,HIGH,LOW,0,0),colorFF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),colorAA; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6,0),colorCC; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,4,0),colorDD; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2,0),colorFF; STICKLINE(CLOSE>=OPEN,HIGH,LOW,0,0),colorFF; STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,8,0),color7B00; STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,6,0),color9000; STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,4,0),colorA800; STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,2,0),colorFF00; STICKLINE(CLOSE<=OPEN,HIGH,LOW,0,0),colorFFFF00; 多空2:=EMA(CLOSE,148); 多空3:=EMA(CLOSE,250); 出貨:EXPLAIN(CLOSE>=多空2,'股價(jià)在半年線之上'),LINETHICK2,colorFF00; EXPLAIN(CLOSE>=多空3,'股價(jià)在年線之上 '),colorFFFF; EXPLAIN(CLOSE<多空2,'股價(jià)在半年線之下 '),colorFFFF; EXPLAIN(CLOSE<多空3,'股價(jià)在年線之下 '),colorFFFF00; EXPLAIN(多空2>=REF(多空2,1),'半年線趨勢(shì)向上'),colorFFFF00; EXPLAIN(多空3>=REF(多空3,1),'年線趨勢(shì)向上 '),colorFFFF; EXPLAIN(多空2<REF(多空2,1),'半年線趨勢(shì)向下 '),colorFFFF; EXPLAIN(多空3<REF(多空3,1),'年線趨勢(shì)向下 '),colorFFFF00; TR1:=CLOSE*2.5/100+CLOSE; HD:=CLOSE-CLOSE*2.5/100; EXPLAINEX(COST(50),'市場(chǎng)平均成本:',COST(50),2,0),colorFFFF00; EXPLAINEX(COST(4),'主力平均成本:',COST(4),2,0),colorFFFF; EXPLAINEX(COST(30),'控盤平均成本:',COST(30),2,0),colorFF; EXPLAINEX(COST(75),'拉升平均成本:',COST(75),2,0),colorFF; EXPLAINEX(COST(95),'頂部平均成本:',COST(95),2,0),colorFFFF; EXPLAINEX(COST(0.05),'底部平均成本:',COST(0.05),2,0),colorFFFF; EXPLAINEX(TR1,'股道賣出價(jià)預(yù)測(cè):',TR1,2,0),colorFFFF; EXPLAINEX(HD,'股道買入價(jià)預(yù)測(cè):',HD,2,0),color99FF; EXPLAINEX(1,'獲利盤比例=',WINNER(CLOSE)*100,2,0),color99FF; EXPLAINEX(1,'套牢盤比例=',100-WINNER(CLOSE)*100,2,0),colorFF; LD:=MA(VOL/(HIGH-LOW),4); DMP:=ABS(CLOSE-OPEN); DMM:=VOL/(HIGH-LOW); EXPLAIN(DMM<LD AND DMP<MA(DMP,4),'資金無入場(chǎng)意愿,萎縮中'),colorFFFF00; EXPLAIN(DMM<LD AND DMP>MA(DMP,4),'場(chǎng)內(nèi)資金有運(yùn)作行為'),colorFFFF00; EXPLAINICON(DMM<LD AND DMP>MA(DMP,4),1); EXPLAIN(DMM>LD AND DMP<MA(DMP,4),'多空雙方激烈爭(zhēng)奪中'),colorFFFF; EXPLAIN(DMM>LD AND DMP>MA(DMP,4),'場(chǎng)外資金介入(或出局)意愿強(qiáng)烈'),colorFFFF; PSY:=CLOSE-REF(CLOSE,6); 布林1:=MA(PSY,6); EXPLAIN(CROSS(PSY,布林1) AND 布林1<-0.8,'MTM從下向上突破MTMMA,買入信號(hào)'),colorFF00; EXPLAIN(CROSS(布林1,PSY) AND 布林1>0.8,'MTM從上向下跌破MTMMA,賣出信號(hào)'),colorFF00; 布林2:=REF(CLOSE,1); 布林3:=(SMA(MAX(CLOSE-布林2,0),6,1))/(SMA(ABS(CLOSE-布林2),6,1))*100; 布林4:=(SMA(MAX(CLOSE-布林2,0),12,1))/(SMA(ABS(CLOSE-布林2),12,1))*100; EXPLAIN(布林3>85,'6日RSI超買,防止回?fù)?),colorFFFF00; EXPLAIN(布林3>80,'6日RSI向上突破85,超買,考慮賣出'),colorFFFF00; EXPLAIN(布林3<15,'6日RSI超賣,隨時(shí)有可能反彈'),colorFFFF00; EXPLAIN(布林3<15,'6日RSI向下跌破15,超賣,考慮買入'),colorFFFF; EXPLAIN(CROSS(布林3,15),'6日RSI向上突破15,買進(jìn)信號(hào)'),colorFFFF; EXPLAIN(CROSS(布林3,85),'6日RSI向下跌破85,賣出信號(hào)'),colorFF00; 布林5:=(COUNT(CLOSE>REF(CLOSE,1),12))/12*100; 布林6:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; 布林7:=布林6+3*STD(布林6,10); XX:=布林6-3*STD(布林6,10); A001:=(布林7-XX)/布林7<0.03; A002:=(布林7-XX)/布林7>0.18; A003:=(MA(CLOSE,60)-MA(CLOSE,5))/MA(CLOSE,60)>0.15; A004:=(MA(CLOSE,5)-MA(CLOSE,60))/MA(CLOSE,5)>0.15; EXPLAIN(A001,'多空布林收斂中,有變盤的可能,上下自己分析'),colorFFFF00; EXPLAIN(A003 AND A002 AND CLOSE>OPEN,'布林上下乖離太大,有反彈的可能'),colorFFFF; EXPLAIN(A004 AND A002 AND CLOSE<OPEN,'布林上下乖離太大,有回落的可能'),colorFF00; EXPLAIN(HIGH>=HHV(HIGH,20),'創(chuàng)20天新高'),colorFFFF00; EXPLAIN(VOL/CAPITAL>0.075,'換手過大,小心主力出逃,短期頭部'),colorFFFF00; RSI2:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)); EXPLAIN(RSI2>-20,'W&R超買,短線即將見頂,應(yīng)及時(shí)賣出'),colorFFFF00; EXPLAIN(RSI2<-80,'W&R超賣,短線即將見底,應(yīng)伺機(jī)買進(jìn)'),colorFFFF00; |
|