股董班长的另类K线加料,本指标为飞狐源码,在股董班长的基础上有所改动,并加了三日前的收盘价与三日内的最高收盘价作了一根最后日的大K线.大K线的上沿为压力,下沿为支撑.关注色带的变化,
源码
STICKLINE(ISLASTBAR=1 AND C>ref(c,1),ref(c,3),hhv(C,3),60,1),COLORYELLOW,LINEDOT;
STICKLINE(ISLASTBAR=1 AND C=ref(c,1),ref(c,3),hhv(C,3),60,1),COLORGRAY,LINEDOT;
STICKLINE(ISLASTBAR=1 AND C<ref(c,1),ref(c,3),hhv(C,3),60,1),COLORGREEN,LINEDOT;
wc:=wMA(c,5);wo:=wMA(o,5);wh:=wMA(h,5);wl:=wMA(l,5);
MJ:=(wC+wo+WH+wl)/4;
FILLRGN(ma(C,2)>=MJ,MJ,ma(C,2)),COLOR00AA99;
FILLRGN(MJ>ma(C,2),MJ,ma(C,2)),COLORAAAA00;
KLINE(wo,wh,wl,wc,0);
WM:mj;
wm10:wma(mj,10),COLORMAGENTA;