选取指标:WR(威廉指标)、KDJ的D值、多空强弱RSI、BIAS(乖离率)、顺势指标CCI。
指标共性:常用,经典,都存在超买超卖现象。
指标取值;WR(13日值)、KDJ(9,3,3)、RSI(6日值)、BIAS(6日值)、CCI(14日值)。
说明:指标取值均为短线周期值,利用各指标的超买超卖现象,提醒入市者操作。每个指标的超买超卖都使用同一种颜色,超买为(√),超卖为(×)。坐标左侧为超买、超卖值提示。坐标上正中为各指标当日数值提示,供参考。超卖出现时(√)越多,胜算越大,超买时,(×)越多,风险越大。
红心黑板(大智慧L2)源码:
顶部:30,linethick0,colorblack;
底部:0,linethick0,colorblack;
中轴:15,linethick0,colorblack;
REFLINE: 0,15,30;
LC:= REF(CLOSE,1);
RSI:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,linethick0,colorblue;
WR:100*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13)),linethick0,colorred;
BIAS:(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100,colorgreen,linethick0;
TYP := (HIGH + LOW + CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),colorwhite,linethick0;
RSV:=(c-LLV(l,9))/(HHV(h,9)-LLV(l,9))*100;
K:=SMA(RSV,3,1);
D:SMA(K,3,1),linethick0,colormagenta;
drawtextrel(5,10,'WR>80超卖'),linethick2,colorred;
drawtext(wr>80,29.8,'(√)'),linethick2,colorred,ALIGN1;
drawtextrel(5,100,'D<20超卖'),linethick2,colormagenta;
drawtext(D<20,27,'(√)'),linethick2,colormagenta,ALIGN1;
drawtextrel(5,200,'RSI<30超卖'),linethick2,colorblue;
drawtext(rsi<30,24,'(√)'),linethick2,colorblue,ALIGN1;
drawtextrel(5,300,'BIAS<-3超卖'),linethick2,colorgreen;
drawtext(bias<-3,21,'(√)'),linethick2,colorgreen,ALIGN1;
drawtextrel(5,400,'CCI<-200超卖'),linethick2,colorwhite;
drawtext(cci<-200,18,'(√)'),linethick2,colorwhite,ALIGN1;
drawtextrel(5,500,'CCI>200超买'),linethick2,colorwhite;
drawtext(CCI>200,15,'(×)'),linethick2,colorwhite,ALIGN1;
drawtextrel(5,600,'BIAS>3.5超买'),linethick2,colorgreen;
drawtext(bias>3.7,12,'(×)'),linethick2,colorgreen,ALIGN1;
drawtextrel(5,700,'RSI>70超买'),linethick2,colorblue;
drawtext(rsi>70,9,'(×)'),linethick2,colorblue,ALIGN1;
drawtextrel(5,800,'D>80超买'),linethick2,colormagenta;
drawtext(D>80,6,'(×)'),linethick2,colormagenta,ALIGN1;
drawtextrel(5,910,'WR<20超买'),linethick2,colorred;
drawtext(WR<20,3,'(×)'),linethick2,colorred,ALIGN1;
202108211315.png
|