本指標(biāo)適用于文華財經(jīng),和博易大師軟件
結(jié)合KDJ指標(biāo)進(jìn)行操作效果更佳。
效果圖,為股指三分鐘圖。
嚴(yán)跟3分鐘進(jìn)行操作。
源碼免費(fèi)分享
KAVEN1:=IFELSE(HIGH <REF(HIGH,2)&&REF(HIGH,1)<REF(HIGH,2),REF(HIGH,2),0);
KAVEN2:=IFELSE(LOW >REF(LOW,2)&&REF(LOW,1)>REF(LOW,2),REF(LOW,2),0);
KAVEN3:=VALUEWHEN(KAVEN1>0,KAVEN1);
KAVEN4:=VALUEWHEN(KAVEN2>0,KAVEN2);
KAVEN5:=IFELSE(CLOSE>KAVEN3,-3,IFELSE(CLOSE<KAVEN4,1,0));
KAVEN6:=VALUEWHEN(KAVEN5<>0,KAVEN5);
KAVEN7:=IFELSE(KAVEN6=1,KAVEN3,KAVEN4);
TJ:KAVEN7,COLORMAGENTA;
KAVEN8:=VALUEWHEN(ISLASTBAR,KAVEN7);
DRAWNUMBER(L>0,KAVEN8,KAVEN8,0,COLORCYAN);
KAVEN9:=IFELSE(C>KAVEN7,-3,1);
KAVEN10:=OPEN-CLOSE;
KAVEN11:=IFELSE(OPEN>CLOSE,OPEN,CLOSE);
KAVEN12:=IFELSE(OPEN<CLOSE,OPEN,CLOSE);
DRAWLINE(KAVEN9=1,HIGH,KAVEN9=1,KAVEN11,COLORCYAN);
DRAWLINE(KAVEN9=1,LOW,KAVEN9=1,KAVEN12,COLORCYAN);
DRAWLINE(KAVEN9=-3,HIGH,KAVEN9=-3,KAVEN11,COLORRED);
DRAWLINE(KAVEN9=-3,LOW,KAVEN9=-3,KAVEN12,COLORRED);
STICKLINE(KAVEN9>0,OPEN,CLOSE,COLORCYAN,1);
STICKLINE(KAVEN9<=0,OPEN,CLOSE,COLORRED,1);
STICKLINE(KAVEN10>0&&KAVEN9<=0,OPEN,CLOSE,COLORRED,0);
STICKLINE(KAVEN10>0&&KAVEN9>0,OPEN,CLOSE,COLORCYAN,0);
MA5:MA(C,5);
EMA60:EMA(C,60);
復(fù)制進(jìn)文華指標(biāo)編輯里保存后疊加在主圖就行了。
經(jīng)過測試,盈虧比統(tǒng)計過后,賺錢概率很大。初用者,先用模擬股指單嚴(yán)跟系統(tǒng)信號操作。自己驗(yàn)證后再用于實(shí)盤,僅供指標(biāo)愛好者交流。
下面為此指標(biāo)交易模型,復(fù)制進(jìn)去保存后疊加到K線界面就OK
KAVEN1:=IFELSE(HIGH <REF(HIGH,2)&&REF(HIGH,1)<REF(HIGH,2),REF(HIGH,2),0);
KAVEN2:=IFELSE(LOW >REF(LOW,2)&&REF(LOW,1)>REF(LOW,2),REF(LOW,2),0);
KAVEN3:=VALUEWHEN(KAVEN1>0,KAVEN1);
KAVEN4:=VALUEWHEN(KAVEN2>0,KAVEN2);
KAVEN5:=IFELSE(CLOSE>KAVEN3,-3,IFELSE(CLOSE<KAVEN4,1,0));
KAVEN6:=VALUEWHEN(KAVEN5<>0,KAVEN5);
KAVEN7:=IFELSE(KAVEN6=1,KAVEN3,KAVEN4);
C<KAVEN7,SPK;
C>KAVEN7,BPK;
下面為博易大師用源碼。
KAVEN1:=IF(HIGH<REF(HIGH,2) AND REF(HIGH,1)<REF(HIGH,2),REF(HIGH,2),0);
KAVEN2:=IF(LOW>REF(LOW,2) AND REF(LOW,1)>REF(LOW,2),REF(LOW,2),0);
KAVEN3:=VALUEWHEN(KAVEN1>0,KAVEN1);
KAVEN4:=VALUEWHEN(KAVEN2>0,KAVEN2);
KAVEN5:=IF(CLOSE>KAVEN3,-3,IF(CLOSE<KAVEN4,1,0));
KAVEN6:=VALUEWHEN(KAVEN5<>0,KAVEN5);
KAVEN7:=IF(KAVEN6=1,KAVEN3,KAVEN4);
TJ:KAVEN7,COLORMAGENTA,PRECIS2;
KAVEN8:=VALUEWHEN(ISLASTBAR,KAVEN7);
KAVEN9:=IF(C>KAVEN7,-3,1);
KAVEN10:=OPEN-CLOSE;
KAVEN11:=IF(OPEN>CLOSE,OPEN,CLOSE);
KAVEN12:=IF(OPEN<CLOSE,OPEN,CLOSE);
MA5:MA(C,5),PRECIS2;
EMA60:EMA(C,60),PRECIS2;
STICKLINE(TJ<C ,O,C,4,0),COLORRED;
STICKLINE(TJ<C ,H,L,0,0),COLORRED;
STICKLINE(TJ>=C ,O,C,4,0),COLORGREEN;
STICKLINE(TJ>=C ,H,L,0,0),COLORGREEN;
DRAWTEXT(CROSS(C,TJ),LOW*0.998,'注▲意'),COLORRED;
DRAWTEXT(CROSS(TJ,C),H*1.002,'注▼意'),COLORGREEN;
復(fù)制進(jìn)博易指標(biāo)管理里命名保存,看下圖,可選主圖疊加或副圖顯示。
歡迎加QQ群80314000交流,拒絕股票期貨忽悠進(jìn)群拉客做廣告。