周末繼續(xù)給大家分享實(shí)用的干貨,今天分享的是收費(fèi)版軟件博爾量化系統(tǒng)的主打特色指標(biāo)源碼。 指標(biāo)主圖:博爾多空概率 指標(biāo)副圖:博爾主導(dǎo)動(dòng)能、AC加速、AO動(dòng)量、MF視窗等指標(biāo)。 指標(biāo)全圖: 博爾量化交易--主圖(多空概率)源碼: 做空95: HHV((HIGH+LOW+OPEN+2*CLOSE)/5+H-L,5),COLORBLUE; 做空68: HHV((HIGH+LOW+OPEN+2*CLOSE)/5*2-L,5),COLORRED; 平衡點(diǎn): LLV((HIGH+LOW+OPEN+2*CLOSE)/5,3),COLORGRAY,DOTLINE; 做多68: LLV((HIGH+LOW+OPEN+2*CLOSE)/5*2-H,8),COLORGREEN; 做多95: LLV((HIGH+LOW+OPEN+2*CLOSE)/5-H+L,8),COLORFAABEC; F:=100*(C-REF(C,1))/REF(C,1); 博爾:=IF(C<0,1,0); P1:=博爾; 量化:=IF(C<0,1,0); P2:=量化; STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,OPEN,CLOSE,3,0),COLOR0055FF; STICKLINE(P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0,OPEN,CLOSE,3,0),COLORGREEN; 多空概率指標(biāo):藍(lán)線為做空概率為95%,紅線為做空概率為68%,綠線和紫線分別為做多概率為68%和95%,本指標(biāo)從趨勢(shì)上可以將股市歷史運(yùn)行及未來(lái)趨勢(shì)一覽眾山小,真正做到知彼知己百戰(zhàn)不殆。 博爾量化交易--副圖(主動(dòng)導(dǎo)能)源碼: TT:=(2*CLOSE+OPEN+HIGH+LOW); 主導(dǎo)動(dòng)能:TT/EMA(TT,4)-1,COLORSTICK; FF:=主導(dǎo)動(dòng)能; STICKLINE(FF,0,FF,3.2,0),COLOR33CFDD; STICKLINE(FF,0,FF,2.8,0),COLOR33DFDD; STICKLINE(FF,0,FF,2,0),COLOR33EFDD; STICKLINE(FF,0,FF,1,0),COLOR33FFDD; STICKLINE(FF<0,0,FF,3.2,0),COLOR00CC00; STICKLINE(FF<0,0,FF,2.8,0),COLOR00DD00; STICKLINE(FF<0,0,FF,2,0),COLOR00EE00; STICKLINE(FF<0,0,FF,1,0),COLOR00FF00; STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,3.2,0),COLORFF9900; STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,2.8,0),COLORFFAA00; STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,2,0),COLORFFBB00; STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,1,0),COLORFFCC00; STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,3.2,0),COLOR0000CC; STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,2.8,0),COLOR0000DD; STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,2,0),COLOR0000EE; STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,1,0),COLOR0000FF; 主導(dǎo)動(dòng)使用說(shuō)明:紅色柱狀表示資金正在主導(dǎo)價(jià)格上漲或即將主導(dǎo)價(jià)格上漲 核心:資金做多、價(jià)格上漲,持有。 策略:買(mǎi)進(jìn)或持有。 技巧: 1、主導(dǎo)動(dòng)能連續(xù)出現(xiàn)紅色,價(jià)格正在上漲,此刻可持有; 2、主導(dǎo)動(dòng)能連續(xù)出現(xiàn)紅色,價(jià)格尚未上漲,此刻可以適當(dāng)買(mǎi)入; 3、配合多空概率使用時(shí),資金主導(dǎo)價(jià)格上漲,沖破68%概率上限而持續(xù)走強(qiáng),此刻應(yīng)持股; 4、配合多空概率使用時(shí),資金主導(dǎo)價(jià)格上漲,沖破95%概率上限,此刻應(yīng)視主導(dǎo)動(dòng)能具體狀態(tài)酌情減倉(cāng); 黃色柱狀表示獲利資金主導(dǎo)價(jià)格 核心:獲利資金主導(dǎo)價(jià)格通常難以改變價(jià)格上漲趨勢(shì),但如短期漲幅過(guò)大、獲利盤(pán)過(guò)多,則短期價(jià)格出現(xiàn)回落或震蕩的概率增加。 策略:減倉(cāng)或觀望。 技巧: 1、主導(dǎo)動(dòng)能出現(xiàn)黃色,價(jià)格或?qū)⒊霈F(xiàn)回落或震蕩,加倉(cāng)需謹(jǐn)慎; 2、主導(dǎo)動(dòng)能出現(xiàn)黃色,同時(shí)市場(chǎng)整體走勢(shì)偏弱時(shí),可適當(dāng)減倉(cāng); 3、主導(dǎo)動(dòng)能出現(xiàn)黃色,但市場(chǎng)整體走勢(shì)較強(qiáng)、價(jià)格漲幅較小,可繼續(xù)持有; 4、配合多空概率使用時(shí),獲利資金主導(dǎo)價(jià)格,價(jià)格突破68%概率或95%概率上限且漲幅較大,將引發(fā)市場(chǎng)震蕩或回落; 綠色柱狀表示資金主導(dǎo)價(jià)格下跌 核心:資金做空,價(jià)格下跌,遠(yuǎn)離。 策略:離場(chǎng)或觀望。 技巧: 1、主導(dǎo)動(dòng)能出現(xiàn)綠色,價(jià)格正在下跌或是將要下跌,此刻宜觀望; 2、主導(dǎo)動(dòng)能長(zhǎng)期呈現(xiàn)綠色,遠(yuǎn)離此類(lèi)個(gè)股。 博爾量化交易--副圖(AC加速)源碼: AO:=MA((HIGH+LOW)/2,5)-MA((HIGH+LOW)/2,34); AO5:=MA(AO,5); AC:AO-AO5,LINETHICK0; STICKLINE(AC>=REF(AC,1),0,AC,2.2,1),COLORRED; STICKLINE(AC< REF(AC,1),0,AC,2.2,1),COLORGREEN; AC1:=REF(AC,1); BUY1:=REF(AC,3)<REF(AC1,3) AND REF(AC,2)<REF(AC1,2) AND REF(AC,2)<REF(AC,3) AND REF(AC,1)>REF(AC1,1) AND AC>AC1 AND COUNT(AC>0,4)=4; DRAWTEXT(BUY1,AC,'B'),COLORWHITE; DRAWICON(BUY1,AC,1); BUY2:=COUNT(AC<0,4)=4 AND REF(AC,3)<REF(AC1,3) AND COUNT(AC>AC1,3)=3; DRAWTEXT(BUY2,AC, 'B'),COLORWHITE; DRAWICON(BUY2,AC,1); BUY3:=REF(AC,3)<REF(AC1,3) AND REF(AC,2)<REF(AC1,2) AND REF(AC,2)<REF(AC,3) AND COUNT(AC>AC1,2)=2 AND REF(AC,1)<0 AND AC>0; DRAWTEXT(BUY3,AC, 'B'),COLORWHITE; DRAWICON(BUY3,AC,1); BUY4:=REF(AC,4)<REF(AC1,4) AND REF(AC,3)<REF(AC1,3) AND REF(AC,3)<REF(AC,4) AND COUNT(AC>AC1,3)=3 AND REF(AC,1)<0 AND AC>0; DRAWTEXT(BUY4,AC, 'B'),COLORWHITE; DRAWICON(BUY4,AC,1); S1:=REF(AC,3)>REF(AC1,3) AND REF(AC,2)>REF(AC1,2) AND REF(AC,2)>REF(AC,3) AND REF(AC,1)<REF(AC1,1) AND AC<AC1 AND COUNT(AC<0,4)=4; DRAWTEXT(S1,AC,'S'),COLORWHITE; DRAWICON(S1,AC,2); S2:=COUNT(AC>0,4)=4 AND REF(AC,3)>REF(AC1,3) AND COUNT(AC<AC1,3)=3; DRAWTEXT(S2,AC,'S'),COLORWHITE; DRAWICON(S2,AC,2); S3:=REF(AC,3)>REF(AC1,3) AND REF(AC,2)>REF(AC1,2) AND REF(AC,2)>REF(AC,3) AND COUNT(AC<AC1,2)=2 AND REF(AC,1)>0 AND AC<0; DRAWICON(S3,AC,2); 博爾量化交易--副圖(AO動(dòng)量)源碼: VAR1:=(HIGH+LOW)/2; AO:MA(VAR1,5)-MA(VAR1,34),LINETHICK0; STICKLINE(AO>=REF(AO,1),0,AO,2.2,1),COLORRED; STICKLINE(AO<REF(AO,1),0,AO,2.2,1),COLORGREEN; AO5:MA(AO,5),COLORFF6600; S1:=CROSS(0,AO); DRAWTEXT(S1,AO,'S'),COLORWHITE; DRAWICON(S1,AO,2); S2:=AO<0 AND REF(AO,1)>REF(AO,2) AND AO<REF(AO,1); DRAWTEXT(S2,AO,'S'),COLORWHITE; DRAWICON(S2,AO,2); SCOUNT:=BARSLAST(AO<0); SD:=HHV(AO,SCOUNT); SCOUNTD:=HHVBARS(AO,SCOUNT); S3:=AO>0 AND REF(AO,1)>REF(AO,2) AND AO<REF(AO,1); S31:=COUNT(S3,SCOUNTD); DRAWTEXT(S31>=2 AND S3,AO,'S'),COLORWHITE; DRAWICON(S31>=2 AND S3,AO,2); B1:=CROSS(AO,0); DRAWTEXT(B1,AO,'B'),COLORWHITE; DRAWICON(B1,AO,1); B2:=AO>0 AND REF(AO,1)<REF(AO,2) AND AO>REF(AO,1) ; DRAWTEXT(B2,AO,'B'),COLORWHITE; DRAWICON(B2,AO,1); BCOUNT:=BARSLAST(AO>0); BD:=LLV(AO,BCOUNT); BCOUNTD:=LLVBARS(AO,BCOUNT); B3:=AO<0 AND REF(AO,1)<REF(AO,2) AND AO>REF(AO,1); B31:=COUNT(B3,BCOUNTD); DRAWTEXT(B31>=2 AND B3,AO,'B'),COLORWHITE; DRAWICON(B31>=2 AND B3,AO,1); AO用法:B信號(hào)買(mǎi)入S信號(hào)賣(mài)出 博爾量化交易--副圖(MF視窗)源碼: MFI:(H-L)*1000000/V,STICK; A1:=MFI>=REF(MFI,1)*1.1 AND V>=REF(V,1)*1.1; A2:=MFI<=REF(MFI,1)*0.9 AND V<=REF(V,1)*0.9; A3:=MFI>=REF(MFI,1)*1.1 AND V<=REF(V,1)*0.9; A4:=MFI<=REF(MFI,1)*0.9 AND V>=REF(V,1)*1.1; STICKLINE(A1,0,MFI,0.1,1),COLORGREEN; STICKLINE(A2,0,MFI,0.1,1),COLORBLUE; STICKLINE(A3,0,MFI,0.1,1),COLORBROWN; STICKLINE(A4,0,MFI,0.1,1),COLORMAGENTA; MA5:MA(MFI,5); 綠燈:IF(A1,MFI,DRAWNULL),STICK,COLORGREEN; 衰退:IF(A2,MFI,DRAWNULL),STICK,COLORBLUE; 偽裝:IF(A3,MFI,DRAWNULL),STICK,COLORBROWN; 蟄伏:IF(A4,MFI,DRAWNULL),STICK,COLORMAGENTA; 留個(gè)思考題,這個(gè)指標(biāo)的用法大家自己參悟,有心得的朋友留言板說(shuō)出來(lái) ,我翻出來(lái)看誰(shuí)說(shuō)的好。 |
|
來(lái)自: 天高云又淡 > 《指標(biāo)公式》