有一段時(shí)間沒有分享指標(biāo)了,今天跟大家分享一款準(zhǔn)確率特別高的主圖指標(biāo)。該指標(biāo)集:【持倉】、【空倉】、【獲利盤比例】、【止損價(jià)位】【今日阻力】、【今日支撐】等六個(gè)指標(biāo)。該指標(biāo)簡潔精煉,信號(hào)不漂移,極具實(shí)盤操作參考價(jià)值。
精準(zhǔn)波段主圖指標(biāo)源碼:
N:=4;N1:=2;N2:=20;
持倉:IF(CLOSE>=SAR(N,N1,N2),SAR(N,N1,N2),
DRAWNULL),COLORRED,LINETHICK5;
空倉:IF(CLOSE<=SAR(N,N1,N2),SAR(N,N1,N2),
DRAWNULL),COLORGREEN,LINETHICK5;
獲利%:WINNER(CLOSE)*100,NODRAW,COLORYELLOW;
HSB:=REF(CLOSE,1);
止損價(jià)位:(HSB*1.0035*97+0.2)/99.65,COLORGREEN,NODRAW;HSC:=HHV(HIGH,13)=HIGH AND HIGH>REF(HIGH,1);
HSD:=FILTER(HSC,12);
HSE:=LLV(LOW,13)=LOW AND LOW<REF(LOW,1);
HSF:=FILTER(HSE,12);
HSG:=BARSLAST(HSD);
箱頂:=REF(HIGH,HSG) ,COLORFF00FF,NODRAW;
STICKLINE(1,箱頂,箱頂,3,0),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=1,箱頂,'■箱頂■'),COLORFF00FF;
HSH:=BARSLAST(HSF);
箱底:=REF(LOW,HSH) ,COLOR009900,NODRAW;
STICKLINE(1,箱底,箱底,3,0),COLOR009900;
DRAWTEXT(CURRBARSCOUNT=1,箱底,'■箱底■'),COLOR009900;
中樞:=(箱頂+箱底)/2;
STICKLINE(1,中樞,中樞,3,0),COLOR0099FF;
DRAWTEXT(CURRBARSCOUNT=1,中樞,'■中樞■'),COLOR0099FF;
HSI:=(HIGH+LOW+OPEN+2*CLOSE)/5;
明日阻力:=2*HSI-LOW;
明日支撐:=2*HSI-HIGH;
今日阻力:REF(明日阻力,1)NODRAW,COLORGREEN;
今日支撐:REF(明日支撐,1)NODRAW,COLORRED;
DRAWTEXT(ISLASTBAR,今日阻力,'←■今日阻力■'),COLORGREEN;
DRAWTEXT(ISLASTBAR,今日支撐,'←■今日支撐■'),COLORRED;
準(zhǔn)確率極高的波段主圖指標(biāo)(附源碼)